Commit 8019454b by huangxin

静态交易cty修改

parent de97550f
<template>
<div class="eibs-tab">
<c-table :list="model.actList" :columnsConfig="columns"></c-table>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: "typ", prop: "typ", width: "auto" },
{ label: "cur", prop: "cur", width: "auto" },
{ label: "extkey", prop: "extkey", width: "auto" },
{ label: "trmtyp", prop: "trmtyp", width: "auto" },
{ label: "nam", prop: "nam", width: "auto" },
],
};
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inrBopcty" prop="inrBopcty">
<c-input
v-model="model.inrBopcty"
placeholder="请输入inrBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="codBopcty" prop="codBopcty">
<c-input
v-model="model.codBopcty"
placeholder="请输入codBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="numcodBopcty" prop="numcodBopcty">
<c-input
v-model="model.numcodBopcty"
placeholder="请输入numcodBopcty"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="txtBopcty" prop="txtBopcty">
<c-input
v-model="model.txtBopcty"
placeholder="请输入txtBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="fultxtBopcty" prop="fultxtBopcty">
<c-input
v-model="model.fultxtBopcty"
placeholder="请输入fultxtBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="verBopcty" prop="verBopcty">
<c-input
v-model="model.verBopcty"
placeholder="请输入verBopcty"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="cod" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入cod"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="cur" prop="cur">
<c-input
v-model="model.cur"
placeholder="请输入cur"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reg" prop="reg">
<c-input
v-model="model.reg"
placeholder="请输入reg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="fmtdomadrtyp" prop="fmtdomadrtyp">
<c-input
v-model="model.fmtdomadrtyp"
placeholder="请输入fmtdomadrtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="fmtintadrtyp" prop="fmtintadrtyp">
<c-input
v-model="model.fmtintadrtyp"
placeholder="请输入fmtintadrtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dhlreg" prop="dhlreg">
<c-input
v-model="model.dhlreg"
placeholder="请输入dhlreg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bopcod" prop="bopcod">
<c-input
v-model="model.bopcod"
placeholder="请输入bopcod"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
...@@ -12,29 +12,14 @@ ...@@ -12,29 +12,14 @@
:disabled="isDisabled" :disabled="isDisabled"
> >
<c-tabs v-model="tabVal" ref="elment" type="card"> <c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="pty"> <el-tab-pane label="基本信息" name="cty">
<c-content> <c-content>
<m-pty-info :model="model" /> <m-cty-info :model="model" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="地址信息" name="pta,adr"> <el-tab-pane label="???" name="bopcty">
<c-content> <c-content>
<m-adr-list :model="model" /> <m-bopcty-list :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账号信息" name="act">
<c-content>
<m-act-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="联系人信息" name="ptc">
<c-content>
<m-ptc-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="汇率/费率信息" name="ptyrat,fec,fee">
<c-content>
<m-rat-info :model="model" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
...@@ -71,14 +56,16 @@ ...@@ -71,14 +56,16 @@
import Utils from "~/utils"; import Utils from "~/utils";
import Cty, { Pattern } from "./Cty.js"; import Cty, { Pattern } from "./Cty.js";
import ActInfo from "./ActInfo.vue"; import CtyInfo from "./CtyInfo.vue";
import BopctyInfo from "./BopctyInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/cty.js"; import { queryById, add, edit, deleteById } from "~/service/test/cty.js";
export default { export default {
name: "StaticsDbicty", name: "StaticsDbicty",
components: { components: {
"m-act-info": ActInfo, "m-cty-info":CtyInfo,
"m-bopcty-list":BopctyInfo,
}, },
provide() { provide() {
return { return {
...@@ -114,7 +101,7 @@ export default { ...@@ -114,7 +101,7 @@ export default {
if (res.inr) { if (res.inr) {
this.model = res; this.model = res;
} else { } else {
this.$message.error("客户不存在") this.$message.error("国家代码不存在")
} }
}); });
} }
...@@ -176,7 +163,7 @@ export default { ...@@ -176,7 +163,7 @@ export default {
}); });
}, },
/** /**
* update 是否更新infpty的查询列表 * update 是否更新infcty的查询列表
*/ */
goBack(update) { goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route); this.$store.dispatch("TagsView/delView", this.$route);
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12"> <c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Country or region Code" prop="cod"> <el-form-item label="Country or region Code" prop="cod">
<c-input disabled v-model="model.cod" placeholder=""></c-input> <c-input v-model="model.cod" placeholder=""></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="Name" prop="nam"> <el-form-item label="Name" prop="nam">
<c-input disabled v-model="model.nam" placeholder=""></c-input> <c-input v-model="model.nam" placeholder=""></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12" style="text-align: left"> <c-col :span="12" style="text-align: left">
...@@ -28,7 +33,9 @@ ...@@ -28,7 +33,9 @@
</el-button> </el-button>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="24">
<c-col :span="24">
<c-paging-table <c-paging-table
:data="ctyData" :data="ctyData"
:columns="ctyColumns" :columns="ctyColumns"
...@@ -59,7 +66,7 @@ ...@@ -59,7 +66,7 @@
@click="ctyDelete(scope.$index, scope.row)" @click="ctyDelete(scope.$index, scope.row)"
>删除</c-button >删除</c-button
> >
<el-popover placement="top-start" width="50" trigger="click"> <!-- <el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list"> <ul class="table-button-item-list">
<li> <li>
<c-button size="small" style="margin-left: 0">指派</c-button> <c-button size="small" style="margin-left: 0">指派</c-button>
...@@ -75,11 +82,11 @@ ...@@ -75,11 +82,11 @@
> >
<i class="el-icon-more"></i> <i class="el-icon-more"></i>
</a> </a>
</el-popover> </el-popover> -->
</template> </template>
</c-table-column> </c-table-column>
</c-paging-table> </c-paging-table>
</c-col> --> </c-col>
</div> </div>
</template> </template>
...@@ -89,18 +96,18 @@ import codes from "~/config/CodeTable"; ...@@ -89,18 +96,18 @@ import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/cty.js"; import { queryByPage } from "~/service/test/cty.js";
export default { export default {
name: "", name: "infsea",
props: ["model"], props: ["model"],
inject: ["root"], inject: ["root"],
data() { data() {
return { return {
ctyData: [], ctyData: [],
// ctyColumns: [ ctyColumns: [
// { label: 'Country or region', prop: 'extkey', width: 'auto' }, { label: 'Country or region', prop: '', width: 'auto' },
// { label: 'Description', prop: '', width: 'auto' }, { label: 'Description', prop: '', width: 'auto' },
// { label: 'Currency', prop: 'nam', width: 'auto' }, { label: 'Currency', prop: '', width: 'auto' },
// { label: 'Region', prop: 'idtype', width: 'auto' }, { label: 'Region', prop: '', width: 'auto' },
// ], ],
}; };
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment