Commit 700500ff by Wuyuqiu

bctxxx交易添加待复核内功能

parent 5d9aacfd
<template> <template>
<c-page title="进口代收修改"> <c-page title="进口代收修改">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--Amendment --> ref="modelForm"
<el-tab-pane label="Amendment" name="amep"> label-width="150px"
<c-content> label-position="left"
<m-amep :model="model" :codes="codes"/> size="small"
</c-content> :validate-on-rule-change="false"
</el-tab-pane> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Overview --> <!--Amendment -->
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Amendment" name="amep">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-amep :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Instructions --> <!--Overview -->
<el-tab-pane label="Instructions" name="detp"> <el-tab-pane label="Overview" name="ovwp">
<m-detp :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp"> <!--账务 -->
<c-content> <el-tab-pane label="Settlement" name="setpan">
<m-ptyp :model="model" :codes="codes"/> <c-content>
</c-content> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Bookings" name="glepan">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--账务 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan"> <!--附言 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="Completion" name="coninfp">
</el-tab-pane> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--附言 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--报文及面函 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog> <!--报文及面函 -->
</div> <el-tab-pane label="Messages" name="docpan">
</c-page> <m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bctame from "~/model/Bctame" import Bctame from "~/model/Bctame";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctame/Check" import Check from "~/model/Bctame/Check";
import Default from "~/model/Bctame/Default" import Default from "~/model/Bctame/Default";
import Pattern from "~/model/Bctame/Pattern" import Pattern from "~/model/Bctame/Pattern";
import Amep from "./Amep" import Amep from "./Amep";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp";
import Detp from "./Detp" import Detp from "./Detp";
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp";
//import Setpan from "./Setpan" //import Setpan from "./Setpan"
//import Coninfp from "./Coninfp" //import Coninfp from "./Coninfp"
//import Docpan from "./Docpan" //import Docpan from "./Docpan"
// import Doctre from "./Doctre" // import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Glepan from "~/views/Public/Glepan" import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
export default { export default {
name:"Bctame", name: "Bctame",
components:{ components: {
"m-amep" : Amep, "m-amep": Amep,
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-engp" : Engp, "m-engp": Engp,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-glepan" : Glepan, "m-glepan": Glepan,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "amep", tabVal: "amep",
trnName: "bctame", trnName: "bctame",
model: new Bctame().data, model: new Bctame().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes:{...CodeTable}, codes: { ...CodeTable },
} };
}, },
methods:{ methods: {
tabClick(){ tabClick() {},
} },
}, created: async function () {
created:async function(){ console.log("进入bctame交易");
console.log("进入bctame交易"); let rtnmsg = await this.init({});
let rtnmsg = await this.init({}) if (rtnmsg.respCode == SUCCESS) {
if(rtnmsg.respCode == SUCCESS) //TODO 处理数据逻辑
{ //更新数据
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data);
//更新数据 if (this.isInDisplay) {
this.updateModel(rtnmsg.data); this.restoreDisplay();
}
} } else {
else this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<c-page title="进口代收注销"> <c-page title="进口代收注销">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--Cancelation --> ref="modelForm"
<el-tab-pane label="Cancelation" name="canp"> label-width="150px"
<m-canp :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
:validate-on-rule-change="false"
<!--Liability --> >
<el-tab-pane label="Liability" name="engp"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-engp :model="model" :codes="codes"/> <!--Cancelation -->
</el-tab-pane> <el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <!--Liability -->
<c-content> <el-tab-pane label="Liability" name="engp">
<m-setpan :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</c-content> </el-tab-pane>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--Bookings --> <!--Messages -->
<el-tab-pane label="Bookings" name="glepan"> <el-tab-pane label="Messages" name="docpan">
<m-glepan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp"> <!--Attachments -->
<m-coninfp :model="model" :codes="codes"/> <el-tab-pane label="Attachments" name="doctre">
</el-tab-pane> <m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages --> </c-tabs>
<el-tab-pane label="Messages" name="docpan"> </el-form>
<m-docpan :model="model" :codes="codes"/> </div>
</el-tab-pane> </c-page>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bctcan from "~/model/Bctcan" import Bctcan from "~/model/Bctcan";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctcan/Check" import Check from "~/model/Bctcan/Check";
import Default from "~/model/Bctcan/Default" import Default from "~/model/Bctcan/Default";
import Pattern from "~/model/Bctcan/Pattern" import Pattern from "~/model/Bctcan/Pattern";
import Canp from "./Canp" import Canp from "./Canp";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan" import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Bctcan", name: "Bctcan",
components:{ components: {
"m-canp" : Canp, "m-canp": Canp,
"m-engp" : Engp, "m-engp": Engp,
"m-glepan" : Glepan, "m-glepan": Glepan,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "canp", tabVal: "canp",
trnName: "bctcan", trnName: "bctcan",
model: new Bctcan().data, model: new Bctcan().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {},
}, };
} },
}, methods: {
methods:{ tabClick() {},
tabClick(){ },
} created: async function () {
}, console.log("进入bctcan交易");
created:async function(){ let rtnmsg = await this.init({});
console.log("进入bctcan交易"); if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.init({}) //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS) //更新数据
{
//TODO 处理数据逻辑
//更新数据
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
} this.restoreDisplay();
else }
{ } else {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -148,6 +148,9 @@ export default { ...@@ -148,6 +148,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
if(this.isInDisplay){
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
<template> <template>
<c-page title="进口代收拒付"> <c-page title="进口代收拒付">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000025 -->
<el-tab-pane label="Reject Documents" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000260 -->
<!--PD000025 --> <el-tab-pane label="Parties" name="ptyp">
<el-tab-pane label="Reject Documents" name="ovwp"> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000260 --> <el-tab-pane label="Liability" name="engp">
<el-tab-pane label="Parties" name="ptyp"> <m-engp :model="model" :codes="codes" />
<c-content> </el-tab-pane>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp"> <!--PD000000 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="Settlement" name="setpan">
</el-tab-pane> <m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bctdor from "~/model/Bctdor"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bctdor/Check"
import Default from "~/model/Bctdor/Default"
import Pattern from "~/model/Bctdor/Pattern"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
<!--PD000027 -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bctdor from "~/model/Bctdor";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctdor/Check";
import Default from "~/model/Bctdor/Default";
import Pattern from "~/model/Bctdor/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Bctdor", name: "Bctdor",
components:{ components: {
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-engp" : Engp, "m-engp": Engp,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-glepan" : Glepan, "m-glepan": Glepan,
"m-doctre" :Doctre "m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "bctdor", trnName: "bctdor",
model: new Bctdor().data, model: new Bctdor().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable codes: { ...CodeTable },
}, };
} },
}, methods: {},
methods:{ created: async function () {
console.log("进入bctdor交易");
}, let rtnmsg = await this.init({});
created:async function(){ if (rtnmsg.respCode == SUCCESS) {
console.log("进入bctdor交易"); //TODO 处理数据逻辑
let rtnmsg = await this.init({}) this.updateModel(rtnmsg.data);
if(rtnmsg.respCode == SUCCESS) if (this.isInDisplay) {
{ this.restoreDisplay();
//TODO 处理数据逻辑 }
this.updateModel(rtnmsg.data); } else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
:rules="rules"
<!--PD000028 --> ref="modelForm"
<el-tab-pane label="Menu" name="sel"> label-width="150px"
<m-sel :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
</c-tabs> :validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000028 -->
<el-tab-pane label="Menu" name="sel">
<m-sel :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bctsel from "~/model/Bctsel" import Bctsel from "~/model/Bctsel";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bctsel/Check" import Check from "~/model/Bctsel/Check";
import Default from "~/model/Bctsel/Default" import Default from "~/model/Bctsel/Default";
import Pattern from "~/model/Bctsel/Pattern" import Pattern from "~/model/Bctsel/Pattern";
import Sel from "./Sel" import Sel from "./Sel";
import Regp from "./Regp" import Regp from "./Regp";
import Syswrndisplay from "./Syswrndisplay" import Syswrndisplay from "./Syswrndisplay";
export default { export default {
name: "Bctsel", name: "Bctsel",
components:{ components: {
"m-sel" : Sel, "m-sel": Sel,
"m-regp" : Regp, "m-regp": Regp,
"m-syswrndisplay" : Syswrndisplay, "m-syswrndisplay": Syswrndisplay,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "sel", tabVal: "sel",
trnName: "bctsel", trnName: "bctsel",
model: new Bctsel().data, model: new Bctsel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable codes: { ...CodeTable },
}, };
} },
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bctsel交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, if (this.isInDisplay) {
created:async function(){ this.restoreDisplay();
console.log("进入bctsel交易"); }
let rtnmsg = await this.init({}) } else {
if(rtnmsg.respCode == SUCCESS) this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template>
<ReviewWrapper>
<Bctacc></Bctacc>
</ReviewWrapper>
</template>
<script>
import Bctacc from "~/views/Business/Bctacc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctacc",
components: { ReviewWrapper, Bctacc },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctame></Bctame>
</ReviewWrapper>
</template>
<script>
import Bctame from "~/views/Business/Bctame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctame",
components: { ReviewWrapper, Bctame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctcan></Bctcan>
</ReviewWrapper>
</template>
<script>
import Bctcan from "~/views/Business/Bctcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctcan",
components: { ReviewWrapper, Bctcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctdav></Bctdav>
</ReviewWrapper>
</template>
<script>
import Bctdav from "~/views/Business/Bctdav";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctdav",
components: { ReviewWrapper, Bctdav },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctdor></Bctdor>
</ReviewWrapper>
</template>
<script>
import Bctdor from "~/views/Business/Bctdor";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctdor",
components: { ReviewWrapper, Bctdor },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctrad></Bctrad>
</ReviewWrapper>
</template>
<script>
import Bctrad from "~/views/Business/Bctrad";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctrad",
components: { ReviewWrapper, Bctrad },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctsel></Bctsel>
</ReviewWrapper>
</template>
<script>
import Bctsel from "~/views/Business/Bctsel";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctsel",
components: { ReviewWrapper, Bctsel },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctset></Bctset>
</ReviewWrapper>
</template>
<script>
import Bctset from "~/views/Business/Bctset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctset",
components: { ReviewWrapper, Bctset },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
...@@ -52,7 +52,14 @@ import ReviewDitdav from "./Business/ReviewDitdav.vue"; ...@@ -52,7 +52,14 @@ import ReviewDitdav from "./Business/ReviewDitdav.vue";
import ReviewDitdla from "./Business/ReviewDitdla.vue"; import ReviewDitdla from "./Business/ReviewDitdla.vue";
import ReviewBdtcan from "./Business/ReviewBdtcan.vue"; import ReviewBdtcan from "./Business/ReviewBdtcan.vue";
import ReviewBftacc from "./Business/ReviewBftacc.vue"; import ReviewBftacc from "./Business/ReviewBftacc.vue";
import ReviewBctacc from "./Business/ReviewBctacc.vue";
import ReviewBctame from "./Business/ReviewBctame.vue";
import ReviewBctcan from "./Business/ReviewBctcan.vue";
import ReviewBctdav from "./Business/ReviewBctdav.vue";
import ReviewBctdor from "./Business/ReviewBctdor.vue";
import ReviewBctrad from "./Business/ReviewBctrad.vue";
import ReviewBctsel from "./Business/ReviewBctsel.vue";
import ReviewBctset from "./Business/ReviewBctset.vue";
const ReviewRouter = [ const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } }, { path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
...@@ -123,7 +130,14 @@ const ReviewRouter = [ ...@@ -123,7 +130,14 @@ const ReviewRouter = [
{ path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } }, { path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } },
{ path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } }, { path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } },
{ path: "bftacc", component: ReviewBftacc, name: "ReviewBftacc", meta: { title: "复核-Bftacc" } }, { path: "bftacc", component: ReviewBftacc, name: "ReviewBftacc", meta: { title: "复核-Bftacc" } },
{ path: "bctacc", component: ReviewBctacc, name: "ReviewBctacc", meta: { title: "复核-Bctacc" } },
{ path: "bctame", component: ReviewBctame, name: "ReviewBctame", meta: { title: "复核-Bctame" } },
{ path: "bctcan", component: ReviewBctcan, name: "ReviewBctcan", meta: { title: "复核-Bctcan" } },
{ path: "bctdav", component: ReviewBctdav, name: "ReviewBctdav", meta: { title: "复核-Bctdav" } },
{ path: "bctdor", component: ReviewBctdor, name: "ReviewBctdor", meta: { title: "复核-Bctdor" } },
{ path: "bctrad", component: ReviewBctrad, name: "ReviewBctrad", meta: { title: "复核-Bctrad" } },
{ path: "bctsel", component: ReviewBctsel, name: "ReviewBctsel", meta: { title: "复核-Bctsel" } },
{ path: "bctset", component: ReviewBctset, name: "ReviewBctset", meta: { title: "复核-Bctset" } },
]; ];
export default ReviewRouter; export default ReviewRouter;
\ No newline at end of file
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