Commit 38417b33 by wangna

bctdav修改(#596)

parent 1324c63b
......@@ -134,7 +134,7 @@ export default class Bctdav{
setmod:new Pub().data.Setmod,
liaall:new Pub().data.Liaall,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
trnmod:new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -31,10 +31,15 @@
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes"/>
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
......@@ -42,7 +47,11 @@
</c-content>
</el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
......@@ -58,7 +67,6 @@
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
......@@ -89,11 +97,12 @@ import Default from "~/model/Bctdav/Default";
import Pattern from "~/model/Bctdav/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp"
import Ptyp from "./Ptyp";
import Srmp from "./Srmp";
import Cnyp from "./Cnyp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
......@@ -103,9 +112,10 @@ export default {
components: {
"m-ovwp": Ovwp,
"m-detp": Detp,
'm-ptyp': Ptyp,
"m-ptyp": Ptyp,
"m-setpan": Setpan,
"m-engp": Engp,
"m-glepan": Glepan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
......@@ -117,7 +127,7 @@ export default {
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
......@@ -127,23 +137,20 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
codes: { ...CodeTable },
};
},
methods: {},
created: async function () {
console.log("进入bctdav交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{ //TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
......
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