diff --git a/src/components/EditTable.vue b/src/components/EditTable.vue index 1eeab46..b2799c9 100644 --- a/src/components/EditTable.vue +++ b/src/components/EditTable.vue @@ -24,11 +24,13 @@ v-if="item.show === 'select'" v-model="scope.row[item.dataIndex]" :code="item.code" + :disabled="disabledAll" ></el-select> <el-input v-else-if="item.show === 'input'" v-model="scope.row[item.dataIndex]" :placeholder="`请输入${item.title}`" + :disabled="disabledAll" ></el-input> <span v-else>{{ scope.row[item.dataIndex] }}</span> </template> @@ -38,9 +40,9 @@ </c-table> </c-col> <c-col v-if="isAdd" :span="1"> - <div class="button_contains"> - <span class="add_del_button add_button" @click="handleAdd">+</span> - <span class="add_del_button" @click="handleDelete">-</span> + <div class="button_contains" > + <span class="add_del_button add_button" @click="handleAdd" >+</span> + <span class="add_del_button" @click="handleDelete" >-</span> </div> </c-col> </div> @@ -83,6 +85,11 @@ export default { type: Boolean, default: false, }, + disabledAll:{ + //是否全部灰显 + type: Boolean, + default: false, + }, border: { //是否有边框 diff --git a/src/config/CodeTable/index.js b/src/config/CodeTable/index.js index 1d2ccfc..d13dd3b 100644 --- a/src/config/CodeTable/index.js +++ b/src/config/CodeTable/index.js @@ -6547,6 +6547,13 @@ const CodeTable = { { label: "Remitted", value: "REM" }, { label: "See72", value: "SEE" }, ], + purpos:[ + {label:"Advice of the credit amendment",value:"ADVI" }, + {label:"Advice and confirmation of the credit amendment",value:"ACNF" }, + {label:"Issuance of the credit amendment",value:"ISSU" }, + {label:"ISCO Issuance of counter-undertaking",value:"ISCO" }, + {label:"ICCO Issuance of counter-counter-undert.",value:"ICCO" }, + ], // purpos:[ // {label:"Advice and confirmation of the credit amendment", value:"ACNF"}, // {label:"Advice of the credit amendment", value:"ADVI"}, @@ -17572,16 +17579,18 @@ const CodeTable = { {label:"ISAB Issue undert. (named advising bank)",value:"ISAB" }, {label:"ISCO Issuance of counter-undertaking",value:"ISCO" }, ], - purpos:[ + purpos:[ {label:"Advice of the credit amendment",value:"ADVI" }, {label:"Advice and confirmation of the credit amendment",value:"ACNF" }, {label:"Issuance of the credit amendment",value:"ISSU" }, + {label:"ISCO Issuance of counter-undertaking",value:"ISCO" }, + {label:"ICCO Issuance of counter-counter-undert.",value:"ICCO" }, ], // purpos:[ // {label:"Advice of the credit amendment",value:"ADVI" }, // {label:"Advice and confirmation of the credit amendment",value:"ACNF" }, // {label:"Issuance of the credit amendment",value:"ISSU" }, - // ], + // ] purtyp:[ {label:"合格押汇",value:"NB0" }, {label:"不合格押汇",value:"DSB" }, diff --git a/src/model/Botame/index.js b/src/model/Botame/index.js index 1e2c5fe..be7341a 100644 --- a/src/model/Botame/index.js +++ b/src/model/Botame/index.js @@ -1,5 +1,6 @@ import Api from "~/service/Api" import Pts from "../Common/Pts" +import Pub from "../Public" export default class Botame{ constructor () { @@ -215,6 +216,10 @@ export default class Botame{ }, }, }, + setmod: new Pub().data.Setmod, + mtabut: new Pub().data.Mtabut, + trnmod: new Pub().data.Trnmod, + liaall: new Pub().data.Liaall, pageId: "" // ctx的key } } diff --git a/src/model/Botdcr/Pattern.js b/src/model/Botdcr/Pattern.js index 23c126b..12bb7d5 100644 --- a/src/model/Botdcr/Pattern.js +++ b/src/model/Botdcr/Pattern.js @@ -17,7 +17,7 @@ export default { ], "bodgrp.cbs.max.amt":[ - {type: "number", required: false, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 18,message:"整数位不能超过14位"}, {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], @@ -27,7 +27,7 @@ export default { ], "bodgrp.cbs.opn1.amt":[ - {type: "number", required: false, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 18,message:"整数位不能超过14位"}, {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], @@ -53,8 +53,7 @@ export default { {type: "date", required: false, message: "输入正确的日期"} ], "bodgrp.rec.matpercnt":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + {type: "number", required: false, message: "必输项"}, ], "bodgrp.dre.pts.ref":[ @@ -233,13 +232,13 @@ export default { "mtabut.coninf.oitinf.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 60,message:"长度不能超过60"} ], "mtabut.coninf.oitset.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 60,message:"长度不能超过60"} ], diff --git a/src/model/Botdcr/index.js b/src/model/Botdcr/index.js index b7076f3..064f48d 100644 --- a/src/model/Botdcr/index.js +++ b/src/model/Botdcr/index.js @@ -1,9 +1,15 @@ import Api from "~/service/Api" import Pts from "../Common/Pts" +import Pub from "../Public" export default class Botdcr{ constructor () { this.data = { + + botdrrl1blk:"", + botdrrl2blk:"", + botcoll1blk:"", + liaall: new Pub().data.Liaall, bodgrp:{ rec:{ matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp @@ -74,6 +80,7 @@ export default class Botdcr{ }, docgrdm:{ docdsclab:"", // Label of document description .botp.docgrdm.docdsclab + docgrd:[], //docgrdm.docgrd }, drrp:{ ptsget:{ @@ -127,38 +134,40 @@ export default class Botdcr{ }, }, }, - setmod:{ - docamttyplab:"", // settled amount description as label .setmod.docamttyplab - retmsg:"", // Label showing Retry overflow condition .setmod.retmsg - ref:"", // our reference .setmod.ref - doccur:"", // document currency .setmod.doccur - docamt:"", // document amount .setmod.docamt - dspflg:"", // Type of settlement .setmod.dspflg - xreflg:"", // Recalculate Rates .setmod.xreflg - setglg:{ - labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg - }, - zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab - zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc - }, - trnmod:{ - trndoc:{ - advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel - amdnam:"", // AMDNAM .trnmod.trndoc.amdnam - advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc - advnam:"", // 国内证落款 .trnmod.trndoc.advnam - amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl - doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl - doctrestm:"", // Document tree .trnmod.trndoc.doctrestm - shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc - shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout - condocstm:"", // Connected Documents .trnmod.trndoc.condocstm - rcvatt:{ - seainf:"", // .trnmod.trndoc.rcvatt.seainf - }, - filrecv:"", // File Receiver .trnmod.trndoc.filrecv - }, - }, + // setmod:{ + // docamttyplab:"", // settled amount description as label .setmod.docamttyplab + // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg + // ref:"", // our reference .setmod.ref + // doccur:"", // document currency .setmod.doccur + // docamt:"", // document amount .setmod.docamt + // dspflg:"", // Type of settlement .setmod.dspflg + // xreflg:"", // Recalculate Rates .setmod.xreflg + // setglg:{ + // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg + // }, + // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab + // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc + // }, + // trnmod:{ + // trndoc:{ + // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel + // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam + // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc + // advnam:"", // 国内证落款 .trnmod.trndoc.advnam + // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl + // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl + // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm + // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc + // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout + // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm + // rcvatt:{ + // seainf:"", // .trnmod.trndoc.rcvatt.seainf + // }, + // filrecv:"", // File Receiver .trnmod.trndoc.filrecv + // }, + // }, + setmod: new Pub().data.Setmod, + trnmod: new Pub().data.Trnmod, pageId: "" // ctx的key } } diff --git a/src/model/Botrad/Check.js b/src/model/Botrad/Check.js new file mode 100644 index 0000000..6c873b0 --- /dev/null +++ b/src/model/Botrad/Check.js @@ -0,0 +1,43 @@ +import Utils from "~/utils" + +/** +* Botrad Check规则 +*/ +let checkObj = { + "bodgrp.blk.setinsbo" :null, + "bodgrp.rec.matperbeg" :null, + "bodgrp.rec.matpertyp" :null, + "bodgrp.blk.proins" :null, + "bodgrp.rec.doctypcod" :null, + "bodgrp.drr.pts.adrblk" :null, + "bodgrp.dre.adrelc" :null, + "bodgrp.cbs.max.amt" :null, + "bodgrp.dre.pts.nam" :null, + "bodgrp.col.adrelc" :null, + "bodgrp.col.pts.adrblk" :null, + "bodgrp.col.pts.extkey" :null, + "bodgrp.blk.dftins" :null, + "botp.usr.extkey" :null, + "bodgrp.blk.delins" :null, + "bodgrp.drr.pts.nam" :null, + "bodgrp.col.namelc" :null, + "bodgrp.rec.stacty" :null, + "bodgrp.drr.adrelc" :null, + "bodgrp.dre.namelc" :null, + "bodgrp.blk.colins" :null, + "bodgrp.drr.namelc" :null, + "bodgrp.col.pts.nam" :null, + "bodgrp.dre.pts.adrblk" :null, + "bodgrp.blk.othins" :null, + "bodgrp.dre.pts.extkey" :null, + "bodgrp.rec.invtyp" :null, + "bodgrp.drr.pts.extkey" :null, +} + +for (const key in checkObj) { + if (Object.hasOwnProperty.call(checkObj, key)) { + checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) + } +} +export default checkObj + diff --git a/src/model/Botrad/Default.js b/src/model/Botrad/Default.js new file mode 100644 index 0000000..52ff065 --- /dev/null +++ b/src/model/Botrad/Default.js @@ -0,0 +1,39 @@ + +/** +* Botrad Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "bodgrp.dre.pts.adrblk" :Utils.defaultFunction, + "bodgrp.cbs.max.cur" :Utils.defaultFunction, + "bodgrp.rec.doctypcod" :Utils.defaultFunction, + "bodgrp.drr.pts.extkey" :Utils.defaultFunction, + "bodgrp.drr.adrelc" :Utils.defaultFunction, + "bodgrp.drr.namelc" :Utils.defaultFunction, + "bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction, + "bodgrp.drr.pts.adrblk" :Utils.defaultFunction, + "bodgrp.cbs.max.amt" :Utils.defaultFunction, + "bodgrp.rec.stacty" :Utils.defaultFunction, + "bodgrp.drr.pts.nam" :Utils.defaultFunction, + "bodgrp.col.pts.extkey" :Utils.defaultFunction, + "bodgrp.col.adrelc" :Utils.defaultFunction, + "bodgrp.col.namelc" :Utils.defaultFunction, + "bodgrp.col.dbfadrblkcn" :Utils.defaultFunction, + "bodgrp.dre.pts.extkey" :Utils.defaultFunction, + "bodgrp.dre.adrelc" :Utils.defaultFunction, + "bodgrp.dre.namelc" :Utils.defaultFunction, + "bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction, + "bodgrp.rec.ownref" :Utils.defaultFunction, + "bodgrp.dre.pts.nam" :Utils.defaultFunction, + "bodgrp.rec.resflg" :Utils.defaultFunction, + "bodgrp.rec.focflg" :Utils.defaultFunction, + "bodgrp.rec.predat" :Utils.defaultFunction, + "bodgrp.col.pts.nam" :Utils.defaultFunction, + "botp.usr.extkey" :Utils.defaultFunction, + "bodgrp.col.pts.adrblk" :Utils.defaultFunction, + "bodgrp.rec.shpdat" :Utils.defaultFunction, + "bodgrp.rec.tradat" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Botrad/Event.js b/src/model/Botrad/Event.js new file mode 100644 index 0000000..9984897 --- /dev/null +++ b/src/model/Botrad/Event.js @@ -0,0 +1,126 @@ +import Api from "~/service/Api" +import Utils from "~/utils" + +export default { + async onColinsButtxmsel(){ + let rtnmsg = await this.executeRule("colins.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDftinsButtxmsel(){ + let rtnmsg = await this.executeRule("dftins.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onProinsButtxmsel(){ + let rtnmsg = await this.executeRule("proins.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onOthins1Buttxmsel(){ + let rtnmsg = await this.executeRule("othins1.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onWhinsButtxmsel(){ + let rtnmsg = await this.executeRule("whins.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onBotpButgetref(){ + let rtnmsg = await this.executeRule("botp.butgetref") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDrrpDet(){ + let rtnmsg = await this.executeRule("drrp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onColpDet(){ + let rtnmsg = await this.executeRule("colp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDrepDet(){ + let rtnmsg = await this.executeRule("drep.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onSetinsButtxmsel(){ + let rtnmsg = await this.executeRule("setins.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + +} \ No newline at end of file diff --git a/src/model/Botrad/Pattern.js b/src/model/Botrad/Pattern.js new file mode 100644 index 0000000..31b098e --- /dev/null +++ b/src/model/Botrad/Pattern.js @@ -0,0 +1,303 @@ +export default { + "botp.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "botp.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bodgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bodgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bodgrp.drr.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bodgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bodgrp.drr.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bodgrp.col.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.col.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.rec.docsta":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bodgrp.rec.matdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.rec.matpercnt":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.dre.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bodgrp.dre.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.rec.rcvdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.rec.predat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.blk.colinssnm":[ + {type: "string", required: true, message: "必输项"}, + {max: 60,message:"长度不能超过60"} + ], + + + "botcoll1blk":[ + {type: "string", required: true, message: "必输项"}, + {max: 200,message:"长度不能超过200"} + ], + "botdrrl1blk":[ + {type: "string", required: true, message: "必输项"}, + {max: 200,message:"长度不能超过200"} + ], + "botcoll2blk":[ + {type: "string", required: true, message: "必输项"}, + {max: 200,message:"长度不能超过200"} + ], + + "bodgrp.rec.trpdocnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.rec.tradat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "bodgrp.blk.vesselnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.rec.shpfro":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.rec.shpto":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.blk.goddes":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "bodgrp.blk.colins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bodgrp.blk.chgtxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bodgrp.blk.dftins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + "bodgrp.blk.proins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bodgrp.blk.othins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bodgrp.rec.lescom":[ + {type: "string", required: false, message: "必输项"}, + {max: 18,message:"长度不能超过18"} + ], + "bodgrp.blk.delins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "botp.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "botp.usrget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + "botp.drrp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.drr.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "botp.drrp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.drr.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.drr.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.drr.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bodgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.drr.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.advdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "botp.colp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.col.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "botp.colp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.rec.matdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "bodgrp.col.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.col.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.col.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.paydocnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.col.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.issdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "bodgrp.blk.bogdet":[ + {type: "string", required: true, message: "必输项"}, + {max: 43,message:"长度不能超过43"} + ], + + "bodgrp.blk.cctinsrcv":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "botp.drep.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.dre.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "botp.drep.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.dre.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.dre.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.dre.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.dre.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.blk.cctinscol":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "bodgrp.blk.intins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "bodgrp.blk.setinsbo":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "bodgrp.blk.agtaut":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], +} \ No newline at end of file diff --git a/src/model/Botrad/index.js b/src/model/Botrad/index.js new file mode 100644 index 0000000..7105eab --- /dev/null +++ b/src/model/Botrad/index.js @@ -0,0 +1,147 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" + +export default class Botrad{ + constructor () { + this.data = { + bodgrp:{ + rec:{ + matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp + ownref:"", // Reference .bodgrp.rec.ownref + nam:"", // Name .bodgrp.rec.nam + doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod + docsta:"", // Document Set Status .bodgrp.rec.docsta + matdat:"", // Maturity Date .bodgrp.rec.matdat + matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt + matperbeg:"", // Starting from .bodgrp.rec.matperbeg + rcvdat:"", // Order Date .bodgrp.rec.rcvdat + predat:"", // Presentation Date .bodgrp.rec.predat + trpdoctyp:"", // Transport Doc. Type .bodgrp.rec.trpdoctyp + trpdocnum:"", // Transport Doc. Ref. .bodgrp.rec.trpdocnum + tradat:"", // Document Dated .bodgrp.rec.tradat + tramod:"", // Mode of Transport .bodgrp.rec.tramod + shpfro:"", // Shipment from .bodgrp.rec.shpfro + shpto:"", // For Transportation to .bodgrp.rec.shpto + chato:"", // Our Charges to .bodgrp.rec.chato + focflg:"", // Free of Payment .bodgrp.rec.focflg + waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod + wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod + othins:"", // Defer Payment until .bodgrp.rec.othins + lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom + dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg + resflg:"", // Reservated Contract .bodgrp.rec.resflg + shpdat:"", // Shipment date .bodgrp.rec.shpdat + advdat:"", // Dispatched on .bodgrp.rec.advdat + stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty + stagod:"", // Goods Code .bodgrp.rec.stagod + invtyp:"", // Maturity Date .bodgrp.rec.invtyp + paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp + paydocnum:"", // Document Number .bodgrp.rec.paydocnum + issdat:"", // Issued on .bodgrp.rec.issdat + ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg + ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg + }, + cbs:{ + max:{ + cur:"", // Document Amount .bodgrp.cbs.max.cur + amt:"", // Document Amount .bodgrp.cbs.max.amt + }, + opn1:{ + cur:"", // Open Amount .bodgrp.cbs.opn1.cur + amt:"", // Open Amount .bodgrp.cbs.opn1.amt + }, + }, + drr:{ + pts:new Pts().data, + namelc:"", // 名称 .bodgrp.drr.namelc + adrelc:"", // 地址 .bodgrp.drr.adrelc + dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn + }, + col:{ + pts:new Pts().data, + namelc:"", // 名称 .bodgrp.col.namelc + adrelc:"", // 地址 .bodgrp.col.adrelc + dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn + }, + dre:{ + pts:new Pts().data, + namelc:"", // 名称 .bodgrp.dre.namelc + adrelc:"", // 地址 .bodgrp.dre.adrelc + dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn + }, + blk:{ + colinssnm:"", // Instructions for Second Mail .bodgrp.blk.colinssnm + vesselnam:"", // Vessel Name .bodgrp.blk.vesselnam + goddes:"", // Description of Goods .bodgrp.blk.goddes + colins:"", // Collection Instructions .bodgrp.blk.colins + colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg + dftins:"", // Draft Instructions .bodgrp.blk.dftins + proins:"", // Protest Instructions .bodgrp.blk.proins + othins:"", // Other Instructions .bodgrp.blk.othins + chgtxt:"", // Charges Text .bodgrp.blk.chgtxt + delins:"", // Delivery instructions .bodgrp.blk.delins + bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet + cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv + cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol + intins:"", // Interest Instructions .bodgrp.blk.intins + setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo + agtaut:"", // Authority of Agent .bodgrp.blk.agtaut + }, + }, + botp:{ + recget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd + seainf:"", // .botp.recget.sdamod.seainf + }, + }, + matp:{ + mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab + }, + docgrdm:{ + docdsclab:"", // Label of document description .botp.docgrdm.docdsclab + }, + usr:{ + extkey:"", // Responsible User .botp.usr.extkey + }, + usrget:{ + sdamod:{ + seainf:"", // .botp.usrget.sdamod.seainf + }, + }, + drrp:{ + ptsget:{ + sdamod:{ + seainf:"", // .botp.drrp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd + }, + }, + }, + colp:{ + ptsget:{ + sdamod:{ + seainf:"", // .botp.colp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd + }, + }, + }, + drep:{ + ptsget:{ + sdamod:{ + seainf:"", // .botp.drep.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd + }, + }, + }, + ptsaddp:{ + ptsaddg:[], // .botp.ptsaddp.ptsaddg + }, + }, + oridre:"", // Original Documents Passed to Drawee .oridre + botcoll1blk:"", // XMLPanel botcoll1的内置block .botcoll1blk + botdrrl1blk:"", // XMLPanel botdrrl1的内置block .botdrrl1blk + botcoll2blk:"", // XMLPanel botcoll2的内置block .botcoll2blk + pageId: "" // ctx的key + } + } +} \ No newline at end of file diff --git a/src/model/Botset/index.js b/src/model/Botset/index.js index e872a24..524aff8 100644 --- a/src/model/Botset/index.js +++ b/src/model/Botset/index.js @@ -1,6 +1,6 @@ import Api from "~/service/Api" import Pts from "../Common/Pts" - +import Pub from "../Public" export default class Botset{ constructor () { this.data = { @@ -232,6 +232,10 @@ export default class Botset{ libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg }, + setmod: new Pub().data.Setmod, + mtabut: new Pub().data.Mtabut, + trnmod: new Pub().data.Trnmod, + liaall: new Pub().data.Liaall, pageId: "" // ctx的key } } diff --git a/src/model/Detopn/Pattern.js b/src/model/Detopn/Pattern.js index a216e9c..75adccf 100644 --- a/src/model/Detopn/Pattern.js +++ b/src/model/Detopn/Pattern.js @@ -335,7 +335,7 @@ export default { ], "dedgrp.rec.fqtime":[ {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + {max: 140,message:"长度不能超过140"} ], "dedgrp.rec.shpto":[ {type: "string", required: false, message: "必输项"}, @@ -345,7 +345,7 @@ export default { "dedgrp.rec.sdsrfs":[ {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + {max: 140,message:"长度不能超过140"} ], "dedgrp.rec.shppro":[ {type: "string", required: false, message: "必输项"}, diff --git a/src/model/Gitcom/Check.js b/src/model/Gitcom/Check.js index 799c7b8..095e24e 100644 --- a/src/model/Gitcom/Check.js +++ b/src/model/Gitcom/Check.js @@ -4,7 +4,6 @@ import Utils from "~/utils" * Gitcom Check规则 */ let checkObj = { - "liaall.misamt" :null, "liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.ownref" :null, "liaall.limmod.ecifno" :null, diff --git a/src/model/Gitcom/Default.js b/src/model/Gitcom/Default.js index a3fce6b..e8c97d6 100644 --- a/src/model/Gitcom/Default.js +++ b/src/model/Gitcom/Default.js @@ -24,7 +24,6 @@ export default { "liaall.limmod.comamt" :Utils.defaultFunction, "liaall.limmod.ccvamt" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, - "setmod.glemod.gleshwstm" :Utils.defaultFunction, "gidgrp.cbs.max.cur" :Utils.defaultFunction, "gidgrp.cbs.max.amt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, @@ -35,7 +34,6 @@ export default { "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, "gidgrp.apl.pts.nam" :Utils.defaultFunction, "gidgrp.ctr.pts.nam" :Utils.defaultFunction, - "liaall.misamt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction, diff --git a/src/model/Gitcom/Event.js b/src/model/Gitcom/Event.js index 5b36144..7f6654b 100644 --- a/src/model/Gitcom/Event.js +++ b/src/model/Gitcom/Event.js @@ -2,31 +2,7 @@ import Api from "~/service/Api" import Utils from "~/utils" export default { - async onLiaallButmisamt(){ - let rtnmsg = await this.executeRule("liaall.butmisamt") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onLiaallButmissig(){ - let rtnmsg = await this.executeRule("liaall.butmissig") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onSetmodDet(){ + async onSetmodDet(){ let rtnmsg = await this.executeRule("setmod.det") if(rtnmsg.respCode == SUCCESS) { diff --git a/src/model/Gitcom/Pattern.js b/src/model/Gitcom/Pattern.js index d8e1d37..2617c39 100644 --- a/src/model/Gitcom/Pattern.js +++ b/src/model/Gitcom/Pattern.js @@ -65,36 +65,6 @@ export default { "setmod.refdat":[ {type: "date", required: false, message: "输入正确的日期"} ], - "liaall.outamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - "liaall.outpct":[ - {type: "string", required: false, message: "必输项"}, - {max: 6,message:"长度不能超过6"} - ], - "liaall.concur":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], - "liaall.misamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - - - "liaall.exttotoldamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - "liaall.exttotamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], "setmod.ref":[ {type: "string", required: false, message: "必输项"}, {max: 16,message:"长度不能超过16"} @@ -116,10 +86,6 @@ export default { ], - "setmod.glemod.gleshwstm":[ - {type: "string", required: false, message: "必输项"}, - {max: 1,message:"长度不能超过1"} - ], "mtabut.coninf.oitinf.oit.inftxt":[ {type: "string", required: true, message: "必输项"}, diff --git a/src/model/Gitcom/index.js b/src/model/Gitcom/index.js index 9182e7b..742d4c2 100644 --- a/src/model/Gitcom/index.js +++ b/src/model/Gitcom/index.js @@ -1,5 +1,6 @@ import Api from "~/service/Api" import Pts from "../Common/Pts" +import Pub from "../Public" export default class Gitcom{ constructor () { @@ -49,112 +50,11 @@ export default class Gitcom{ pts:new Pts().data, }, }, - setmod:{ - refdat:"", // Reference Date .setmod.refdat - docamttyplab:"", // settled amount description as label .setmod.docamttyplab - retmsg:"", // Label showing Retry overflow condition .setmod.retmsg - ref:"", // our reference .setmod.ref - doccur:"", // document currency .setmod.doccur - docamt:"", // document amount .setmod.docamt - dspflg:"", // Type of settlement .setmod.dspflg - xreflg:"", // Recalculate Rates .setmod.xreflg - setglg:{ - labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg - }, - zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab - zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc - glemod:{ - gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm - }, - }, + pageId: "" , // ctx的key setmod: new Pub().data.Setmod, - liaall:{ - misamt:"", // Amount not yet assigned .liaall.misamt - concur:"", // External Booking Amount .liaall.concur - outpct:"", // Sight Amount Percentage .liaall.outpct - outamt:"", // Sight Amount .liaall.outamt - exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt - exttotamt:"", // Total booking amount external assinged .liaall.exttotamt - limmod:{ - limpts:{ - wrklab:"", // Label .liaall.limmod.limpts.wrklab - othlab:"", // Label .liaall.limmod.limpts.othlab - othlabss:"", // Label .liaall.limmod.limpts.othlabss - wrk:{ - pts:new Pts().data, - }, - oth:{ - pts:new Pts().data, - }, - lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh - nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1 - pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1 - nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2 - pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2 - }, - wrkp:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd - seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf - }, - }, - }, - othp:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd - seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf - }, - }, - }, - ownref:"", // 国结业务编号 .liaall.limmod.ownref - comamt:"", // 业务余额 .liaall.limmod.comamt - ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt - ecifno:"", // ECIFNO .liaall.limmod.ecifno - }, - }, - mtabut:{ - coninf:{ - oitinf:{ - labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt - oit:{ - inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt - inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev - }, - }, - oitset:{ - labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt - oit:{ - inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt - inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev - }, - }, - conexedat:"", // 执行日期 .mtabut.coninf.conexedat - usr:{ - extkey:"", // User ID .mtabut.coninf.usr.extkey - }, - }, - }, - trnmod:{ - trndoc:{ - advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel - amdnam:"", // AMDNAM .trnmod.trndoc.amdnam - advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc - advnam:"", // 国内证落款 .trnmod.trndoc.advnam - amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl - doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl - doctrestm:"", // Document tree .trnmod.trndoc.doctrestm - shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc - shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout - condocstm:"", // Connected Documents .trnmod.trndoc.condocstm - rcvatt:{ - seainf:"", // .trnmod.trndoc.rcvatt.seainf - }, - filrecv:"", // File Receiver .trnmod.trndoc.filrecv - }, - }, - pageId: "" // ctx的key + mtabut: new Pub().data.Mtabut, + trnmod: new Pub().data.Trnmod, + liaall: new Pub().data.Liaall, } } } \ No newline at end of file diff --git a/src/model/Gitsel/index.js b/src/model/Gitsel/index.js index d347384..1a6cdd7 100644 --- a/src/model/Gitsel/index.js +++ b/src/model/Gitsel/index.js @@ -95,6 +95,7 @@ export default class Gitsel{ clsflg:"", // which contracts to show .gcdget.clsflg }, cfgfil:{ + btnstm:[], bitmap:"", // Bitmap for folder .cfgfil.bitmap regside1:"", // Regside .cfgfil.regside1 regside2:"", // Regside .cfgfil.regside2 diff --git a/src/model/Infbod/Check.js b/src/model/Infbod/Check.js new file mode 100644 index 0000000..e34d322 --- /dev/null +++ b/src/model/Infbod/Check.js @@ -0,0 +1,40 @@ +import Utils from "~/utils" + +/** +* Infbod Check规则 +*/ +let checkObj = { + "bodgrp.blk.setinsbo" :null, + "bodgrp.rec.matperbeg" :null, + "bodgrp.rec.matpertyp" :null, + "bodgrp.blk.proins" :null, + "bodgrp.drr.pts.adrblk" :null, + "bodgrp.dre.adrelc" :null, + "recpan.usr.extkey" :null, + "bodgrp.col.adrelc" :null, + "bodgrp.col.pts.adrblk" :null, + "bodgrp.col.pts.extkey" :null, + "bodgrp.blk.dftins" :null, + "bodgrp.blk.delins" :null, + "infcon.seaamtto" :null, + "mtabut.coninf.conexedat" :null, + "bodgrp.col.namelc" :null, + "bodgrp.rec.stacty" :null, + "bodgrp.drr.adrelc" :null, + "bodgrp.dre.namelc" :null, + "bodgrp.blk.colins" :null, + "bodgrp.drr.namelc" :null, + "bodgrp.dre.pts.adrblk" :null, + "bodgrp.blk.othins" :null, + "bodgrp.dre.pts.extkey" :null, + "bodgrp.rec.invtyp" :null, + "bodgrp.drr.pts.extkey" :null, +} + +for (const key in checkObj) { + if (Object.hasOwnProperty.call(checkObj, key)) { + checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) + } +} +export default checkObj + diff --git a/src/model/Infbod/Default.js b/src/model/Infbod/Default.js new file mode 100644 index 0000000..f1d0286 --- /dev/null +++ b/src/model/Infbod/Default.js @@ -0,0 +1,72 @@ + +/** +* Infbod Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "infcon.seapty" :Utils.defaultFunction, + "infcon.pty.extkey" :Utils.defaultFunction, + "infcon.usr.extkey" :Utils.defaultFunction, + "bodgrp.dre.pts.adrblk" :Utils.defaultFunction, + "recpan.usr.extkey" :Utils.defaultFunction, + "infcon.trnstm" :Utils.defaultFunction, + "bodgrp.rec.doctypcod" :Utils.defaultFunction, + "bodgrp.drr.pts.extkey" :Utils.defaultFunction, + "bodgrp.drr.adrelc" :Utils.defaultFunction, + "bodgrp.drr.namelc" :Utils.defaultFunction, + "bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction, + "infcon.sepdelflg" :Utils.defaultFunction, + "infcon.setflg" :Utils.defaultFunction, + "infcon.fcpdsp" :Utils.defaultFunction, + "infcon.cbctxt" :Utils.defaultFunction, + "infcon.smhdatfrom" :Utils.defaultFunction, + "infcon.smhdir" :Utils.defaultFunction, + "infcon.chktrn" :Utils.defaultFunction, + "infcon.smhdatto" :Utils.defaultFunction, + "infcon.smhcortyp" :Utils.defaultFunction, + "bodgrp.drr.pts.adrblk" :Utils.defaultFunction, + "bodgrp.cbs.max.amt" :Utils.defaultFunction, + "bodgrp.rec.stacty" :Utils.defaultFunction, + "bodgrp.cbs.max.cur" :Utils.defaultFunction, + "bodgrp.col.pts.extkey" :Utils.defaultFunction, + "bodgrp.col.adrelc" :Utils.defaultFunction, + "bodgrp.col.namelc" :Utils.defaultFunction, + "bodgrp.col.dbfadrblkcn" :Utils.defaultFunction, + "bodgrp.rec.ownref" :Utils.defaultFunction, + "bodgrp.dre.pts.extkey" :Utils.defaultFunction, + "bodgrp.dre.adrelc" :Utils.defaultFunction, + "bodgrp.dre.namelc" :Utils.defaultFunction, + "bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction, + "infcon.seatrninr" :Utils.defaultFunction, + "infcon.seabucdatto" :Utils.defaultFunction, + "infcon.seabucdatfro" :Utils.defaultFunction, + "bodgrp.rec.resflg" :Utils.defaultFunction, + "infcon.sptcor" :Utils.defaultFunction, + "infcon.sptreg" :Utils.defaultFunction, + "infcon.sptdel" :Utils.defaultFunction, + "infcon.sptinc" :Utils.defaultFunction, + "infcon.sptpen" :Utils.defaultFunction, + "bodgrp.rec.focflg" :Utils.defaultFunction, + "bodgrp.rec.predat" :Utils.defaultFunction, + "infcon.chksubcon" :Utils.defaultFunction, + "infcon.chktrnsta" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, + "infcon.fepfeecod" :Utils.defaultFunction, + "infcon.fepdsp" :Utils.defaultFunction, + "bodgrp.col.pts.adrblk" :Utils.defaultFunction, + "infbut.dspstm" :Utils.defaultFunction, + "mtabut.coninf.usr.extkey" :Utils.defaultFunction, + "infcon.diasta" :Utils.defaultFunction, + "infcon.diadatfrom" :Utils.defaultFunction, + "infcon.diadatto" :Utils.defaultFunction, + "bodgrp.rec.nam" :Utils.defaultFunction, + "bodgrp.rec.shpdat" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, + "mtabut.coninf.conexedat" :Utils.defaultFunction, + "infcon.ordstm" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Infbod/Event.js b/src/model/Infbod/Event.js new file mode 100644 index 0000000..ccbfd2b --- /dev/null +++ b/src/model/Infbod/Event.js @@ -0,0 +1,214 @@ +import Api from "~/service/Api" +import Utils from "~/utils" + +export default { + async onInfbutSearow() { + let rtnmsg = await this.executeRule("infbut.searow") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfbutDsp() { + let rtnmsg = await this.executeRule("infbut.dsp") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfbutUserow() { + let rtnmsg = await this.executeRule("infbut.userow") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfbutClr() { + let rtnmsg = await this.executeRule("infbut.clr") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfbutButprt() { + let rtnmsg = await this.executeRule("infbut.butprt") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfbutExi() { + let rtnmsg = await this.executeRule("infbut.exi") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onRecpanButgetref() { + let rtnmsg = await this.executeRule("recpan.butgetref") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onDrrpDet() { + let rtnmsg = await this.executeRule("drrp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onColpDet() { + let rtnmsg = await this.executeRule("colp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onDrepDet() { + let rtnmsg = await this.executeRule("drep.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onSetinsButtxmsel() { + let rtnmsg = await this.executeRule("setins.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onColinsButtxmsel() { + let rtnmsg = await this.executeRule("colins.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onDftinsButtxmsel() { + let rtnmsg = await this.executeRule("dftins.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onProinsButtxmsel() { + let rtnmsg = await this.executeRule("proins.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onOthins1Buttxmsel() { + let rtnmsg = await this.executeRule("othins1.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onWhinsButtxmsel() { + let rtnmsg = await this.executeRule("whins.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfconButshw() { + let rtnmsg = await this.executeRule("infcon.butshw") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInfconButshword() { + let rtnmsg = await this.executeRule("infcon.butshword") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async handleSearch() { + this.stmData.data = []; + let opndatfrom = this.model.infcon.opndatfrom; + if (!opndatfrom || opndatfrom == '') { + this.$notify.error({ title: '错误', message: '查询开始日期必输!' }); + return; + } + let opndatto = this.model.infcon.opndatto; + if (!opndatto || opndatto == '') { + this.$notify.error({ title: '错误', message: '查询结束日期必输!' }); + return; + } + let rtnmsg = await this.executeRule("infbut.searow") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + this.stmData.data = rtnmsg.data.infbut_dspstm.rows; + // this.updateModel(rtnmsg.data); + // this.stmData.data = rtnmsg.data.infbut_dspstm.rows; + //this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async handleReset() { + + + }, + +} \ No newline at end of file diff --git a/src/model/Infbod/Pattern.js b/src/model/Infbod/Pattern.js new file mode 100644 index 0000000..3ec4f44 --- /dev/null +++ b/src/model/Infbod/Pattern.js @@ -0,0 +1,428 @@ +export default { + "infcon.seaownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "infcon.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "infcon.searef":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + + "infcon.pty.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 24,message:"长度不能超过24"} + ], + "infcon.pty.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "infcon.seapty":[ + {type: "string", required: false, message: "必输项"}, + {max: 24,message:"长度不能超过24"} + ], + + + "infcon.opndatfrom":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "infcon.opndatto":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "infcon.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + + + + "infcon.seaamtfr":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "infcon.seaamtto":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + "infbut.dspstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + "recpan.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "recpan.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bodgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "recpan.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "recpan.usrget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.drr.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bodgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "recpan.drrp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.drr.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "recpan.drrp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.drr.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bodgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bodgrp.drr.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.drr.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.rcvdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "bodgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.drr.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.predat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.rec.advdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bodgrp.col.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "recpan.colp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.col.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "recpan.colp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.rec.matdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "bodgrp.col.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.col.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.col.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.matpercnt":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bodgrp.rec.paydocnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bodgrp.col.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bodgrp.rec.issdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "bodgrp.blk.bogdet":[ + {type: "string", required: true, message: "必输项"}, + {max: 43,message:"长度不能超过43"} + ], + "bodgrp.dre.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bodgrp.blk.cctinsrcv":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "recpan.drep.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bodgrp.dre.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "recpan.drep.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bodgrp.dre.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.dre.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.dre.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.dre.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.blk.cctinscol":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "bodgrp.blk.dftins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "bodgrp.blk.intins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "bodgrp.blk.setinsbo":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "bodgrp.blk.agtaut":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bodgrp.rec.shpfro":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.rec.shpto":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bodgrp.blk.goddes":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "bodgrp.blk.colins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bodgrp.blk.chgtxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + + "bodgrp.blk.proins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bodgrp.blk.othins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bodgrp.rec.lescom":[ + {type: "string", required: false, message: "必输项"}, + {max: 18,message:"长度不能超过18"} + ], + "bodgrp.blk.delins":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "mtabut.coninf.oitinf.oit.inftxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 60,message:"长度不能超过60"} + ], + + + "mtabut.coninf.oitset.oit.inftxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 60,message:"长度不能超过60"} + ], + + "mtabut.coninf.conexedat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "mtabut.coninf.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + + + // "infcon.trnstm":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 1,message:"长度不能超过1"} + // ], + + + "infcon.cbbstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "infcon.cbestm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + "infcon.fepstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + "infcon.fcpstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + + "infcon.sepstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "infcon.seabucdatfro":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "infcon.seabucdatto":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "infcon.seatrninr":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "infcon.glestm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + "infcon.smhdatfrom":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "infcon.smhdatto":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "infcon.smhstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + + + + "infcon.sptstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "infcon.diadatfrom":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "infcon.diadatto":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "infcon.diastm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "infcon.liastm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "prtpanblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 200,message:"长度不能超过200"} + ], + "infcon.ordstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + +} \ No newline at end of file diff --git a/src/model/Infbod/index.js b/src/model/Infbod/index.js new file mode 100644 index 0000000..3769690 --- /dev/null +++ b/src/model/Infbod/index.js @@ -0,0 +1,223 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" + +export default class Infbod{ + constructor () { + this.data = { + infcon:{ + seaownref:"", // Own Reference .infcon.seaownref + nam:"", // Name .infcon.nam + searef:"", // Party Reference .infcon.searef + pty:{ + extkey:"", // Select Single Party .infcon.pty.extkey + nam:"", // External Visible Name .infcon.pty.nam + }, + seapty:"", // Party Name/BIC .infcon.seapty + searol:"", // Role .infcon.searol + opndatfrom:"", // Opening between .infcon.opndatfrom + opndatto:"", // Open Date to .infcon.opndatto + usr:{ + extkey:"", // User ID .infcon.usr.extkey + }, + seasta:"", // Status .infcon.seasta + seacur:"", // Currency .infcon.seacur + seaamtfr:"", // Amount between .infcon.seaamtfr + seaamtto:"", // Amount to .infcon.seaamtto + relflg:"", // Release Status .infcon.relflg + cxmflg:"", // 是否显示查询码 .infcon.cxmflg + hndtyp:"", // Handling Type .infcon.hndtyp + chksubcon:"", // incl. all subcontracts .infcon.chksubcon + chktrnsta:"", // only active transactions .infcon.chktrnsta + trnstm:"", // stream for TRN to selected contract .infcon.trnstm + cbctxt:"", // CBS Column .infcon.cbctxt + cbbstm:"", // stream of CBBs .infcon.cbbstm + cbestm:"", // stream of CBEs .infcon.cbestm + feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl + fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl + fepfeecod:"", // Fee Code .infcon.fepfeecod + fepdsp:"", // Disposition .infcon.fepdsp + fepstm:"", // stream for FEPs to selected contract .infcon.fepstm + fcpstm:"", // stream of foreign charges .infcon.fcpstm + fcpdsp:"", // Disposition .infcon.fcpdsp + setflg:"", // show temporary settlement that already settled .infcon.setflg + sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg + sepstm:"", // stream of SEPs .infcon.sepstm + seabucdatfro:"", // Booking date from .infcon.seabucdatfro + seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto + seatrninr:"", // Transaction INR .infcon.seatrninr + glestm:"", // Stream of GLEs .infcon.glestm + smhcortyp:"", // Type of Document .infcon.smhcortyp + smhdatfrom:"", // Created between .infcon.smhdatfrom + smhdatto:"", // created till .infcon.smhdatto + smhdir:"", // Direction .infcon.smhdir + chktrn:"", // Active only .infcon.chktrn + smhstm:"", // stream of documents to selected contract .infcon.smhstm + sptinc:"", // Incoming .infcon.sptinc + sptreg:"", // Registered .infcon.sptreg + sptpen:"", // Pending .infcon.sptpen + sptcor:"", // Correction .infcon.sptcor + sptdel:"", // Deleted .infcon.sptdel + sptstm:"", // stream for SPT to selected contract .infcon.sptstm + diadatfrom:"", // Date from .infcon.diadatfrom + diadatto:"", // date till .infcon.diadatto + diasta:"", // Status .infcon.diasta + diastm:"", // stream for diaries to selected contract .infcon.diastm + liastm:"", // Stream for all engagements to selected contract .infcon.liastm + ordstm:"", // Stream for Orders for Contract .infcon.ordstm + objinr:"", + + }, + seadoctypcod:"", // Payment Condition .seadoctypcod + infbut:{ + dspstm:"", // display stream .infbut.dspstm + }, + bodgrp:{ + rec:{ + matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp + ownref:"", // Reference .bodgrp.rec.ownref + nam:"", // Name .bodgrp.rec.nam + dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg + resflg:"", // Reservated Contract .bodgrp.rec.resflg + rcvdat:"", // Order Date .bodgrp.rec.rcvdat + shpdat:"", // Shipment date .bodgrp.rec.shpdat + predat:"", // Presentation Date .bodgrp.rec.predat + advdat:"", // Dispatched on .bodgrp.rec.advdat + doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod + matdat:"", // Maturity Date .bodgrp.rec.matdat + matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt + matperbeg:"", // Starting from .bodgrp.rec.matperbeg + stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty + stagod:"", // Goods Code .bodgrp.rec.stagod + invtyp:"", // Maturity Date .bodgrp.rec.invtyp + paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp + paydocnum:"", // Document Number .bodgrp.rec.paydocnum + issdat:"", // Issued on .bodgrp.rec.issdat + ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg + ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg + shpfro:"", // Shipment from .bodgrp.rec.shpfro + shpto:"", // For Transportation to .bodgrp.rec.shpto + chato:"", // Our Charges to .bodgrp.rec.chato + focflg:"", // Free of Payment .bodgrp.rec.focflg + waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod + wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod + othins:"", // Defer Payment until .bodgrp.rec.othins + lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom + }, + cbs:{ + max:{ + cur:"", // Document Amount .bodgrp.cbs.max.cur + amt:"", // Document Amount .bodgrp.cbs.max.amt + }, + opn1:{ + cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur + amt:"", // Open Amount .bodgrp.cbs.opn1.amt + }, + }, + blk:{ + bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet + cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv + cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol + dftins:"", // Draft Instructions .bodgrp.blk.dftins + intins:"", // Interest Instructions .bodgrp.blk.intins + setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo + agtaut:"", // Authority of Agent .bodgrp.blk.agtaut + goddes:"", // Description of Goods .bodgrp.blk.goddes + colins:"", // Collection Instructions .bodgrp.blk.colins + colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg + proins:"", // Protest Instructions .bodgrp.blk.proins + othins:"", // Other Instructions .bodgrp.blk.othins + chgtxt:"", // Charges Text .bodgrp.blk.chgtxt + delins:"", // Delivery instructions .bodgrp.blk.delins + }, + drr:{ + pts:new Pts().data, + namelc:"", // 名称 .bodgrp.drr.namelc + adrelc:"", // 地址 .bodgrp.drr.adrelc + dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn + }, + col:{ + pts:new Pts().data, + namelc:"", // 名称 .bodgrp.col.namelc + adrelc:"", // 地址 .bodgrp.col.adrelc + dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn + }, + dre:{ + pts:new Pts().data, + namelc:"", // 名称 .bodgrp.dre.namelc + adrelc:"", // 地址 .bodgrp.dre.adrelc + dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn + }, + }, + recpan:{ + recget:{ + sdamod:{ + seainf:"", // .recpan.recget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd + }, + }, + usr:{ + extkey:"", // Responsible User .recpan.usr.extkey + }, + usrget:{ + sdamod:{ + seainf:"", // .recpan.usrget.sdamod.seainf + }, + }, + docgrdm:{ + docdsclab:"", // Label of document description .recpan.docgrdm.docdsclab + }, + drrp:{ + ptsget:{ + sdamod:{ + seainf:"", // .recpan.drrp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .recpan.drrp.ptsget.sdamod.dadsnd + }, + }, + }, + colp:{ + ptsget:{ + sdamod:{ + seainf:"", // .recpan.colp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .recpan.colp.ptsget.sdamod.dadsnd + }, + }, + }, + drep:{ + ptsget:{ + sdamod:{ + seainf:"", // .recpan.drep.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .recpan.drep.ptsget.sdamod.dadsnd + }, + }, + }, + ptsaddp:{ + ptsaddg:[], // .recpan.ptsaddp.ptsaddg + }, + }, + mtabut:{ + coninf:{ + oitinf:{ + labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt + oit:{ + inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt + inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev + }, + }, + oitset:{ + labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt + oit:{ + inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt + inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev + }, + }, + conexedat:"", // 执行日期 .mtabut.coninf.conexedat + usr:{ + extkey:"", // User ID .mtabut.coninf.usr.extkey + }, + }, + }, + prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk + pageId: "" // ctx的key + } + } +} \ No newline at end of file diff --git a/src/model/Infgid/index.js b/src/model/Infgid/index.js index 6857b11..febfbd6 100644 --- a/src/model/Infgid/index.js +++ b/src/model/Infgid/index.js @@ -75,6 +75,7 @@ export default class Infgid{ }, gidgrp:{ rec:{ + inr:"", ownref:"", // Reference .gidgrp.rec.ownref resflg:"", // Reserved Contract .gidgrp.rec.resflg rejflg:"", // Direct rejection .gidgrp.rec.rejflg diff --git a/src/views/Business/Bdtdck/Docpre.vue b/src/views/Business/Bdtdck/Docpre.vue index 6dc9f07..0e1633e 100644 --- a/src/views/Business/Bdtdck/Docpre.vue +++ b/src/views/Business/Bdtdck/Docpre.vue @@ -1,190 +1,136 @@ <template> - <c-row> - <!-- 左边 --> - <c-col :span="14"> - <c-col :span="20"> - <el-form-item label="不符点"> - <c-input - type="textarea" - :disabled="!model.bddgrp.rec.igndisflg&&model.bddgrp.blk.docdisflg ? false : true" - :rows="6" - v-model="model.bddgrp.blk.docdis" - maxlength="65" - show-word-limit - placeholder="请输入不符点" - ></c-input> - </el-form-item> - </c-col> + <c-row> + <!-- 左边 --> + <c-col :span="14"> + <c-col :span="20"> + <el-form-item label="不符点"> + <c-input type="textarea" :disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true" + :rows="6" v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel" + :disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true"> + ... + </c-button> + </c-col> - <c-col :span="4"> - <c-button - size="small" - type="primary" - icon="el-icon-search" - @click="onDocdisButtxmsel" - :disabled="!model.bddgrp.rec.igndisflg&&model.bddgrp.blk.docdisflg ? false : true" - > - ... - </c-button> - </c-col> + <c-col :span="24"> + <el-form-item label="Comments and Conclusions" prop="bddgrp.blk.comcon"> + <c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit + placeholder="请输入Comments and Conclusions" :rows="12" style="width:95%"></c-input> + </el-form-item> + </c-col> - <c-col :span="24"> - <el-form-item label="Comments and Conclusions" prop="bddgrp.blk.comcon"> - <c-input - type="textarea" - v-model="model.bddgrp.blk.comcon" - maxlength="65" - show-word-limit placeholder="请输入Comments and Conclusions" - :rows="12" - style="width:95%" - ></c-input> - </el-form-item> - </c-col> + <c-col :span="24"> + <el-form-item label="到期付款确认备注" prop="bddgrp.blk.accrmk"> + <c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit + placeholder="请输入到期付款确认备注" style="width:95%"></c-input> + </el-form-item> + </c-col> - <c-col :span="24"> - <el-form-item label="到期付款确认备注" prop="bddgrp.blk.accrmk"> - <c-input - type="textarea" - v-model="model.bddgrp.blk.accrmk" - maxlength="65" - show-word-limit placeholder="请输入到期付款确认备注" - style="width:95%" - ></c-input> - </el-form-item> - </c-col> - - <!-- <c-col :span="24"> + <!-- <c-col :span="24"> <span v-text="model.bdtp.docgrdm.docdsclab" data-path=".bdtp.docgrdm.docdsclab" > </span> </c-col> --> - <c-col :span="24" style="height: 24px; margin-top: -10px"> - <el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel"> - <c-button style="float: right" @click="addTableValue" type="primary" - >新增单据</c-button - > - </el-form-item> + <c-col :span="24" style="height: 24px; margin-top: -10px"> + <el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel"> + <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button> + </el-form-item> + </c-col> + <c-col :span="24" style="margin-bottom: 30px;"> + <c-table height="200px" style="text-align: center" :list="this.model.bdtp.docgrdm.docgrd || []" + :paginationShow="false" :border="true"> + <el-table-column label="1st" width="auto"> + <template slot-scope="scope"> + <c-input v-model="scope.row.cmail1"></c-input> + </template> + + </el-table-column> + <el-table-column label="2st" width="auto"> + <template slot-scope="scope"> + <c-input v-model="scope.row.cmail2"></c-input> + </template> + </el-table-column> + <el-table-column label="Document" prop="docnam" width="auto"> + <template slot-scope="scope"> + <!-- {{scope.row.docnam}} --> + <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam"> + <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value"> + </el-option> + </c-select> + </template> + </el-table-column> + <el-table-column label="操作" width="170px" fixed="right"> + <template slot-scope="scope"> + <c-button @click="deleteTable(scope.row)" type="primary">删除</c-button> + </template> + </el-table-column> + </c-table> + </c-col> </c-col> - <c-col :span="24" style="margin-bottom: 30px;"> - <c-table - height="200px" - style="text-align: center" - :list="this.model.bdtp.docgrdm.docgrd || []" - :paginationShow="false" - :border="true" - > - <el-table-column - label="1st" - width="auto" - > - <template slot-scope="scope"> - <c-input - v-model="scope.row.cmail1" - ></c-input> - </template> - - </el-table-column> - <el-table-column - label="2st" - width="auto" - > - <template slot-scope="scope"> - <c-input - v-model="scope.row.cmail2" - ></c-input> - </template> - </el-table-column> - <el-table-column label="Document" prop="docnam" width="auto"> - <template slot-scope="scope"> - <!-- {{scope.row.docnam}} --> - <c-select - style="width: 100%" - placeholder="请选择" - v-model="scope.row.docnam" - > - <el-option - v-for="item in codeTable" - :key="item.value" - :label="item.label" - :value="item.value" - > - </el-option> - </c-select> - </template> - </el-table-column> - <el-table-column label="操作" width="170px" fixed="right"> - <template slot-scope="scope"> - <c-button @click="deleteTable(scope.row)" type="primary" - >删除</c-button - > - </template> - </el-table-column> - </c-table> + + <!-- 右边 --> + <c-col :span="10"> + <c-row> + <c-col :span="24" :offset="8"> + <c-checkbox v-model="model.bddgrp.rec.igndisflg"> + 忽略不符点 + </c-checkbox> </c-col> + <c-col :span="24" :offset="8"> + <c-checkbox v-model="model.bddgrp.blk.docdisflg" :disabled="model.bddgrp.rec.igndisflg ? true : false"> + 录入不符点 + </c-checkbox> + </c-col> + </c-row> + <br /><br /><br /><br /> + <c-row> + <c-col :span="24"> + <el-form-item label="收到的通知类" prop="bddgrp.rec.advtyp"> + <c-select v-model="model.bddgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received"> + </c-select> + </el-form-item> </c-col> - <!-- 右边 --> - <c-col :span="10"> - <c-row> - <c-col :span="24" :offset="8"> - <c-checkbox - v-model="model.bddgrp.rec.igndisflg" - > - 忽略不符点 - </c-checkbox> - </c-col> - <c-col :span="24" :offset="8"> - <c-checkbox - v-model="model.bddgrp.blk.docdisflg" - :disabled="model.bddgrp.rec.igndisflg ? true : false" - > - 录入不符点 - </c-checkbox> - </c-col> - </c-row> - <br /><br /><br /><br /> - <c-row> - <c-col :span="24"> - <el-form-item label="收到的通知类" prop="bddgrp.rec.advtyp"> - <c-select v-model="model.bddgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received"> - </c-select> - </el-form-item> - </c-col> - - <c-col :span="24"> - <el-form-item label="付款日期" prop="bddgrp.rec.totdat"> - <c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker> - </el-form-item> - </c-col> + <c-col :span="24"> + <el-form-item label="付款日期" prop="bddgrp.rec.totdat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"> + </c-date-picker> + </el-form-item> + </c-col> - <c-col :span="24"> - <el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat"> - <c-date-picker type="date" v-model="model.bddgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期"></c-date-picker> - </el-form-item> - </c-col> + <c-col :span="24"> + <el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期"> + </c-date-picker> + </el-form-item> + </c-col> - <c-col :span="24" :offset="8"> - <c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保议付</c-checkbox> - </c-col> + <c-col :span="24" :offset="8"> + <c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保议付</c-checkbox> + </c-col> - <c-col :span="24" :offset="8"> - <c-checkbox v-model="model.bdtp.cre752flg">Create 752</c-checkbox> - </c-col> + <c-col :span="24" :offset="8"> + <c-checkbox v-model="model.bdtp.cre752flg">Create 752</c-checkbox> + </c-col> - <c-col :span="24"> - <el-form-item label="Further Identification" prop="bdtp.furide"> - <c-select v-model="model.bdtp.furide" style="width:100%" placeholder="请选择Further Identification"> - </c-select> - </el-form-item> - </c-col> + <c-col :span="24"> + <el-form-item label="Further Identification" prop="bdtp.furide"> + <c-select v-model="model.bdtp.furide" style="width:100%" placeholder="请选择Further Identification"> + </c-select> + </el-form-item> + </c-col> - <c-col :span="24" :offset="8"> - <c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox> - </c-col> - </c-row> + <c-col :span="24" :offset="8"> + <c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox> </c-col> - - <!-- <c-col :span="12"> + </c-row> + </c-col> + + <!-- <c-col :span="12"> <c-checkbox v-model="model.bddgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox> </c-col> @@ -257,7 +203,7 @@ <c-col :span="12"> <span v-text="model.bdtp.docgrdm.docdsclab" data-path=".bdtp.docgrdm.docdsclab" > </span> </c-col> --> - </c-row> + </c-row> </template> <script> import Api from "~/service/Api" @@ -266,12 +212,12 @@ import CodeTable from "~/config/CodeTable" import Event from "~/model/Bdtdck/Event" export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - TableValue: [ + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + TableValue: [ { id: 0, cmail1: "1", @@ -296,11 +242,11 @@ export default { { label: "邮政收据", value: "8" }, ], - } - }, - methods:{ - ...Event, - addTableValue() { + } + }, + methods: { + ...Event, + addTableValue() { var index = this.TableValue.length; var newTableValue = this.newValue; if (index > 0) { @@ -316,16 +262,16 @@ export default { } } }, - }, - - created:function(){ - + }, - } + created: function () { + + + } } </script> <style> -.messageLabel >>> .el-form-item__label { +.messageLabel>>>.el-form-item__label { text-align: left; font-weight: bold; font-size: 12px; diff --git a/src/views/Business/Botame/Doctre.vue b/src/views/Business/Botame/Doctre.vue index 58cce83..02526ed 100644 --- a/src/views/Business/Botame/Doctre.vue +++ b/src/views/Business/Botame/Doctre.vue @@ -1,100 +1,240 @@ <template> <div class="eibs-tab"> - - <c-col :span="12"> - <el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv"> - <c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm"> - <c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButshw"> - Sho&w - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButadd"> - D&etails - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButnew"> - &Add New - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButattto"> + <!-- <c-col :span="19"> + <c-col> + <el-form-item label="File Receiver"> + <c-input + type="textarea" + v-model="model.trnmod.trndoc.filrecv" + placeholder="请输入File Receiver" + :rows="10" + ></c-input> + </el-form-item> + </c-col> + + <c-col> + <el-form-item label="Document tree"> + <c-input + type="textarea" + :rows="10" + v-model="model.trnmod.trndoc.doctrestm" + placeholder="请输入Document tree" + ></c-input> + </el-form-item> </c-col + ></c-col> --> + + <c-col :span="24"> + <el-form-item + class="formItemLabel" + label="Outgoing Correspondence,Attachments and other Documents" + label-width="100%" + > + </el-form-item> + </c-col> + + <c-col :span="24"> + <!-- ========================左====================== --> + <c-col :span="14"> + <c-col :span="24"> + <div style="height: 300px; width: 100%; border: 1px #ebeef5 solid"> + <el-tree + :data="data" + :props="defaultProps" + @node-click="handleNodeClick" + ></el-tree> + </div> + </c-col> + + <c-col :span="24" style="margin-top: 10px"> + <c-col :span="4"> + <el-form-item + label="Connected Ducuments" + v-show="isShow1 || isShow2" + ></el-form-item> + <el-form-item + label="" + v-show="!(isShow1 || isShow2)" + ></el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item label=""> + <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> + </el-form-item> + <!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> --> + </c-col> + <c-col :span="8" :offset="2"> + <el-form-item label=""> + <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> + </el-form-item> + <!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> --> + </c-col> + </c-col> + <c-col :span="22" :offset="1"> + <c-table + :border="true" + :list="data1" + style="width:80%,text-align:center" + v-show="isShow1 || isShow2" + > + <el-table-column label="Type" width="auto"></el-table-column> + <el-table-column label="Document" width="auto"></el-table-column> + <el-table-column label="Cre.TRN" width="auto"></el-table-column> + <el-table-column label="Date" width="auto"></el-table-column> + <el-table-column label="" width="auto"></el-table-column> + <el-table-column label="" width="auto"></el-table-column> + </c-table> + </c-col> + </c-col> + + <!-- ==============右============= --> + <c-col :span="6" :offset="1"> + <c-col :span="24"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButadd"> + 详情 + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 40px"> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButattto"> Attach to - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButdel"> Delete - </c-button> - </c-col> - - <c-col :span="12"> - <span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span> - </c-col> - - <c-col :span="12"> - <c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox> - </c-col> - - <c-col :span="12"> - <c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButatt"> + </c-button> + </c-col> + <c-col :span="24" style="margin-top: 80px"> + <c-button size="small" type="primary" @click="onTrndocButatt"> Attach - </c-button> - </c-col> - - <c-col :span="12"> - <el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm"> - <c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf"> - <c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input> - </el-form-item> - </c-col> + </c-button> + </c-col> + <c-col :span="24" style="margin-top: 150px"> + <c-button size="small" type="primary" @click="onTrndocButatt"> + i + </c-button> + </c-col> + </c-col> + </c-col> + + <!-- <c-col :offset="1" :span="4"> + <c-col> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButnew" > + Add New + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButattto" disabled> + Attach to + </c-button> + </c-col> + + <c-col> + <c-button type="primary" size="small" @click="onTrndocButdel" disabled> + Delete + </c-button> + </c-col> + <c-col> + <c-button size="small" type="primary" @click="onTrndocButatt" disabled> + Attach + </c-button> + </c-col> + </c-col> --> + + <!-- <c-col :span="12"> + <span + v-text="model.trnmod.trndoc.doclbl" + data-path=".trnmod.trndoc.doclbl" + > + </span> + </c-col> --> + + <!-- <c-col :offset="8" :span="4"> + <c-checkbox v-model="model.trnmod.trndoc.shwinc" + >Show Incoming Messages</c-checkbox + > + </c-col> + + <c-col :span="4"> + <c-checkbox v-model="model.trnmod.trndoc.shwout" + >Show Outgoing Messages</c-checkbox + > + </c-col> --> + + <!-- <c-col :span="12"> + <el-form-item label="Connected Documents"> + <c-input + v-model="model.trnmod.trndoc.condocstm" + placeholder="请输入Connected Documents" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label=""> + <c-input + v-model="model.trnmod.trndoc.rcvatt.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> </div> </template> <script> -import Api from "~/service/Api" +import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botame/Event" +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditame/Event"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ - - } -} + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + data1: [], + isShow1: false, + isShow2: false, + }; + }, + methods: { ...Event, + handleNodeClick(){} , + defaultProps(){} + }, + created: function () {}, +}; </script> -<style> - +<style scoped> +/* .c-col button { + margin: 20px; +} */ +.formItemLabel >>> .el-form-item__label{ + text-align: left; +} </style> diff --git a/src/views/Business/Botame/Inst.vue b/src/views/Business/Botame/Inst.vue index 61df3eb..e1694b7 100644 --- a/src/views/Business/Botame/Inst.vue +++ b/src/views/Business/Botame/Inst.vue @@ -1,23 +1,34 @@ <template> <c-row> - <!-- ====================左边======================= --> - <c-col :span="14"> - <c-col :span="24"> - <c-col :span="4"> - <el-form-item label="Delivery of Documents "> - </el-form-item> - </c-col> - <c-col :span="12"> - <el-form-item label=" Instructions"> + <!-- ====================左边======================= --> + <c-col :span="12" :width="30"> + <c-col :span="23"> + <el-form-item label="Delivery of Documents Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit + placeholder="请输入Collection Instructions" > + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> </el-form-item> - </c-col> - </c-col> + </c-col> + + <!-- <c-col span="24"> + Delivery of Documents Instructions + </c-col> --> - <c-col :span="24"> - <c-col :span="20"> + + <!-- <el-form-item label="Delivery of Documents Instructions" prop="bodgrp.blk.colins" > + + <c-col :span="24" style="width:100%"> + <c-col :span="20" > <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" > </c-input> - </c-col> + </c-col> <c-col :span="4"> <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> @@ -26,188 +37,337 @@ </c-col> </c-col> - <c-col :span="24"> - <c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox> - </c-col> + </el-form-item> --> - - <c-col :span="12"> + + + + + <c-col :span="24"> + <el-form-item label="" prop="bodgrp.blk.colinsflg"> + <c-checkbox v-model="colinsflg">Collection instructions modified</c-checkbox> + </el-form-item> + </c-col> + + + <!-- <c-col :span="12"> <el-form-item label="Draft Instructions"> </el-form-item> - </c-col> + </c-col> <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit + placeholder="请输入Draft Instructions"></c-input> </c-col> - - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> + + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> + </c-button> + </c-col> + </c-col> --> + <c-col :span="23"> + <el-form-item label="Draft Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit + placeholder="请输入Draft Instructions"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> - <c-col :span="24"> + <!-- <c-col :span="24"> <el-form-item label="Protest Instructions"> </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit + placeholder="请输入Protest Instructions"></c-input> </c-col> - - <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input> - </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> - - <c-col :span="24"> + </c-button> + </c-col> + </c-col> --> + + <c-col :span="23"> + <el-form-item label="Protest Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit + placeholder="请输入Protest Instructions"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + + + <!-- <c-col :span="24"> <el-form-item label="Other Instructions"> </el-form-item> - </c-col> + </c-col> <c-col :span="24"> <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit + placeholder="请输入Other Instructions"></c-input> </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> ... - </c-button> - </c-col> + </c-button> + </c-col> + </c-col> --> + + <c-col :span="23"> + <el-form-item label="Other Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit + placeholder="请输入Other Instructions"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> </c-col> - <c-col :span="24"> - <el-form-item label="Delivery instructions" > - </el-form-item> - </c-col> - <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input> + <!-- <c-col :span="24"> + <el-form-item label="Delivery instructions"> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit + placeholder="请输入Delivery instructions"></c-input> </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> - </c-col> - <!-- ====================右边======================= --> - <c-col :span="10"> + </c-button> + </c-col> + </c-col> --> + <c-col :span="23"> + <el-form-item label="Warehouse/Insurance instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit + placeholder="请输入Warehouse/Insurance instruction"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + </c-col> + + + + + <!-- ====================右边======================= --> + <c-col :span="12"> + <c-col :span="24" style="width:100%"> + <el-form-item label="Changes Condition" prop="bodgrp.rec.chato" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" + :code="codes.chato"> + </c-select> + - <c-col :span="24"> - <el-form-item label="Our Charges to"> </el-form-item> - </c-col> + </c-col> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> - </c-select> - </c-col> - - - <c-col :span="24"> - <el-form-item label="Charges Text"> + + <!-- <c-col :span="24"> + <el-form-item label="Our Charges to"> </el-form-item> - </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" + :code="codes.chato"> + </c-select> + </c-col> --> + <c-col :span="24" style="width:100%"> + <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt" style="padding-top:15px"> + + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit + placeholder="请输入Charges Text"></c-input> + - <c-col :span="24"> - <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input> - </c-col> - - <c-col :span="24"> - <c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox> - </c-col> - - <c-col :span="24"> - <c-col :span="5"> - <el-form-item label="Waive Collecting"> </el-form-item> - </c-col> - <c-col :span="4"> - <el-form-item label="Bank Charges"> + </c-col> + + + <!-- <c-col :span="24"> + <el-form-item label="Charges Text"> </el-form-item> - </c-col> - </c-col> + </c-col> + + <c-col :span="24"> + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit + placeholder="请输入Charges Text"></c-input> + </c-col> --> + + <c-col :span="22"> + <c-checkbox v-model="model.bodgrp.rec.focflg" style="padding-left:10px">Free of Payment</c-checkbox> + </c-col> + <c-col :span="24" style="width:100%"> + <el-form-item label="Waive Collecting Bank Charges" prop="bodgrp.rec.waicolcod" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" + :code="codes.waicolcod"> + </c-select> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"> - </c-select> - </c-col> - - <c-col :span="24"> - <c-col :span="4"> - <el-form-item label="Waive Remitting"> </el-form-item> - </c-col> + </c-col> + <!-- <c-col :span="24"> + <c-col :span="5"> + <el-form-item label="Waive Collecting"> + </el-form-item> + </c-col> <c-col :span="4"> - <el-form-item label="Bank Charges"> + <el-form-item label="Bank Charges"> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" + :code="codes.waicolcod"> + </c-select> + </c-col> --> + + <c-col :span="24" style="width:100%"> + <el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" + placeholder="请选择Waive Remitting Bank Charges" :code="codes.wairmtcod"> + </c-select> + </el-form-item> - </c-col> + </c-col> - </c-col> + <!-- <c-col :span="24"> + <c-col :span="4"> + <el-form-item label="Waive Remitting"> + </el-form-item> + </c-col> + <c-col :span="4"> + <el-form-item label="Bank Charges"> + </el-form-item> + </c-col> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> - </c-select> - </c-col> - - <c-col :span="24"> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges" + :code="codes.wairmtcod"> + </c-select> + </c-col> --> + <c-col :span="24" style="width:100%"> + <el-form-item label="Defer Payment until" prop="bodgrp.rec.othins" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" + :code="codes.othins"> + </c-select> + </el-form-item> + </c-col> + <!-- <c-col :span="24"> <el-form-item label="Defer Payment until"> </el-form-item> - </c-col> - - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> - </c-select> - </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" + :code="codes.othins"> + </c-select> + </c-col> --> + <c-col :span="12"> + <el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px"> - <c-col :span="24"> + <c-select disabled v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" + :code="codes.cur"> + </c-select> + + </el-form-item> + </c-col> + <c-col :span="12"> + <c-input style="padding-top:15px" v-model="model.bodgrp.rec.lescom" placeholder="请输入Document Amount"></c-input> + </c-col> + <!-- <c-col :span="24"> <el-form-item label="less comm"> - </el-form-item> - </c-col> + </el-form-item> + </c-col> - <c-col :span="24"> + <c-col :span="24"> <c-col :span="12"> - <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Document Amount"> - </c-select> - </c-col> + <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" + :code="codes.cur"> + </c-select> + </c-col> <c-col :span="12"> - <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> - </c-col> - </c-col> - + <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> + </c-col> + </c-col> --> + </c-col> - </c-row> + </c-row> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botame/Event" +import Event from "~/model/Botdav/Event" export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { } + }, + methods: { ...Event }, + created: function () { + + }, + computed:{ + colinsflg:{ + get(){ + return this.model.bodgrp.blk.colinsflg ==="X"; + }, + set(val){ + this.model.bodgrp.blk.colinsflg=val ? "X":""; + }, + }, + } } + </script> <style> - </style> diff --git a/src/views/Business/Botame/Instrecp.vue b/src/views/Business/Botame/Instrecp.vue index 6d3703a..083c6d0 100644 --- a/src/views/Business/Botame/Instrecp.vue +++ b/src/views/Business/Botame/Instrecp.vue @@ -1,69 +1,81 @@ <template> - <c-row> - + <div class="eibs-tab"> <c-col :span="24"> - <el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins"> - <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> - </el-form-item> - </c-col> + <el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins" label-width="180px"> + <c-input type="textarea" :autosize="{ minRows: 4, maxRows: 6}" + v-model="model.bodgrp.blk.dftins" style="width:70%;margin-right:20px;" + maxlength="390" show-word-limit placeholder="请输入Draft Instructions" + ></c-input> + </el-form-item> + </c-col> + - <c-col :span="24"> - <el-form-item label="Interest Instructions" prop="bodgrp.blk.intins"> - <c-input type="textarea" v-model="model.bodgrp.blk.intins" maxlength="65" show-word-limit placeholder="请输入Interest Instructions" ></c-input> - </el-form-item> - </c-col> - <c-col :span="24"> - <c-col :span="22"> - <el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo"> - <c-input type="textarea" v-model="model.bodgrp.blk.setinsbo" maxlength="65" show-word-limit placeholder="请输入Settlement insrtrctions" ></c-input> - </el-form-item> - </c-col> - - <c-col :span="2"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> - ... - </c-button> + <el-form-item label="Interest Instructions" prop="bodgrp.blk.intins" label-width="180px"> + <c-input type="textarea" :autosize="{ minRows: 4, maxRows: 5}" + v-model="model.bodgrp.blk.intins" style="width:70%;margin-right:20px;" + maxlength="325" show-word-limit placeholder="请输入Interest Instructions" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="18"> + <el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo" label-width="180px"> + <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" + v-model="model.bodgrp.blk.setinsbo" style="width:98%;margin-right:20px;" + maxlength="390" show-word-limit placeholder="请输入Settlement insrtrctions" + ></c-input> + </el-form-item> </c-col> - </c-col> - + <c-col :span="6"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> + ... + </c-button> + </c-col> <c-col :span="24"> - <el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut"> - <c-input type="textarea" v-model="model.bodgrp.blk.agtaut" maxlength="35" show-word-limit placeholder="请输入Authority of Agent" ></c-input> - </el-form-item> - </c-col> - + <el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut" label-width="180px"> + <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 6}" + v-model="model.bodgrp.blk.agtaut" style="width:40%;margin-right:20px;" + maxlength="210" show-word-limit placeholder="请输入Authority of Agent" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> - <el-form-item label="Shipment from" prop="bodgrp.rec.shpfro"> - <c-input v-model="model.bodgrp.rec.shpfro" maxlength="40" placeholder="请输入Shipment from"></c-input> + <el-form-item label="Shipment from" prop="bodgrp.rec.shpfro" label-width="180px"> + <c-input v-model="model.bodgrp.rec.shpfro" style="width:40%;margin-right:20px;" + maxlength="40" placeholder="请输入Shipment from"></c-input> </el-form-item> </c-col> <c-col :span="24"> - <el-form-item label="For Transportation to" prop="bodgrp.rec.shpto"> - <c-input v-model="model.bodgrp.rec.shpto" maxlength="40" placeholder="请输入For Transportation to"></c-input> + <el-form-item label="For Transportation to" prop="bodgrp.rec.shpto" label-width="180px"> + <c-input v-model="model.bodgrp.rec.shpto" style="width:40%;margin-right:20px;" + maxlength="40" placeholder="请输入For Transportation to"></c-input> </el-form-item> </c-col> - <c-col :span="24"> - <el-form-item label="Shipment date" prop="bodgrp.rec.shpdat"> - <c-date-picker type="date" v-model="model.bodgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment date"></c-date-picker> + <el-form-item label="Shipment date" prop="bodgrp.rec.shpdat" label-width="180px"> + <c-date-picker type="date" v-model="model.bodgrp.rec.shpdat" style="width:40%;margin-right:20px;" + placeholder="请选择Shipment date"></c-date-picker> </el-form-item> - </c-col> + </c-col> - <c-col :span="24"> - <el-form-item label="Description of Goods" prop="bodgrp.blk.goddes"> - <c-input type="textarea" v-model="model.bodgrp.blk.goddes" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input> - </el-form-item> - </c-col> - </c-row> + <el-form-item label="Description of Goods" prop="bodgrp.blk.goddes" label-width="180px"> + <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" + v-model="model.bodgrp.blk.goddes" style="width:70%;margin-right:20px;" + maxlength="325" show-word-limit placeholder="请输入Description of Goods" + ></c-input> + </el-form-item> + </c-col> + + </div> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botame/Event" +import Event from "~/model/Botdav/Event" export default { inject: ['root'], diff --git a/src/views/Business/Botame/Ovwp.vue b/src/views/Business/Botame/Ovwp.vue index 71b2c30..1ba14af 100644 --- a/src/views/Business/Botame/Ovwp.vue +++ b/src/views/Business/Botame/Ovwp.vue @@ -226,6 +226,10 @@ <c-input disabled v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input> </el-form-item> </c-col> + <c-col :span="1"> + <el-form-item label="Days" label-width="5px" > + </el-form-item> + </c-col> <c-col :span="24"> <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> @@ -246,13 +250,43 @@ <c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit placeholder="请输入Tenor Details Text" ></c-input> </el-form-item> </c-col> - <c-col :span="24"> - <c-istream-table - :list="model.botp.docgrdm.docgrd" - :columns="columns" - > - </c-istream-table> - </c-col> + + + <c-col :span="24" style="height: 24px; margin-top: -10px"> + <el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel"> + <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button> + </el-form-item> + </c-col> + <c-col :span="24" style="margin-bottom: 30px;"> + <c-table height="200px" style="text-align: center" :list="this.model.botp.docgrdm.docgrd || []" + :paginationShow="false" :border="true"> + <el-table-column label="1st" width="auto"> + <template slot-scope="scope"> + <c-input v-model="scope.row.cmail1"></c-input> + </template> + + </el-table-column> + <el-table-column label="2st" width="auto"> + <template slot-scope="scope"> + <c-input v-model="scope.row.cmail2"></c-input> + </template> + </el-table-column> + <el-table-column label="Document" prop="docnam" width="auto"> + <template slot-scope="scope"> + <!-- {{scope.row.docnam}} --> + <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam"> + <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value"> + </el-option> + </c-select> + </template> + </el-table-column> + <el-table-column label="操作" width="170px" fixed="right"> + <template slot-scope="scope"> + <c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button> + </template> + </el-table-column> + </c-table> + </c-col> </c-col> <!-- ====================右边======================= --> @@ -338,13 +372,57 @@ import Event from "~/model/Botame/Event" mixins: [commonProcess], data() { return { - columns: ['0 0 "lst1" 80 ', '1 1 "lst2" 80', '2 2 "document" 450'], + codeTable: [ + { label: "Airway Bills", value: "Airway Bills" }, + { label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" }, + { label: "Bill of Lading Copies", value: "Bill of Lading Copies" }, + { label: "Bill of Lading Originals", value: "Bill of Lading Originals" }, + { label: "Certificate", value: "Certificate" }, + { label: "Certificate of Analysis", value: "Certificate of Analysis" }, + { label: "Certificate of Origin", value: "Certificate of Origin" }, + { label: "Certificate of Quality", value: "Certificate of Quality" }, + { label: "Certificate of Quantity", value: "Certificate of Quantity" }, + { label: "Commercial Invoice", value: "Commercial Invoice" }, + { label: "Courier Receipt", value: "Courier Receipt" }, + { label: "Draft", value: "Draft" }, + { label: "Export Licence", value: "Export Licence" }, + { label: "Fax Report", value: "Fax Report" }, + { label: "Inspection Cert", value: "Inspection Cert" }, + { label: "Insurance Policy", value: "Insurance Policy" }, + { label: "Packing List", value: "Packing List" }, + { label: "Shipment Advice", value: "Shipment Advice" }, + { label: "Weight List", value: "Weight List" }, + ], + newValue: { + id: 0, + cmail1: "", + cmail2: "", + docnam: "", + description: "", + serialNum: "", + tableName: "", + tcddoc: "", + }, + columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'], }; }, methods: { - ...Event - + ...Event, + addTableValue(index) { + var newTableValue = Object.assign({}, this.newValue); + const serial = Utils.generateUUID(); + newTableValue.serialNum = serial; + this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue); + }, + deleteTable(index) { + this.model.botp.docgrdm.docgrd.splice(index, 1); + }, }, + computed: { + flag() { + return this.model.bodgrp.drr.pts.adrelc == ""; + }, + }, created: function () { console.log(this.root); }, diff --git a/src/views/Business/Botame/index.vue b/src/views/Business/Botame/index.vue index cec3a1d..9be8e23 100644 --- a/src/views/Business/Botame/index.vue +++ b/src/views/Business/Botame/index.vue @@ -51,6 +51,12 @@ <m-instrecp :model="model" :codes="codes"/> </c-content> </el-tab-pane> + + <!--Liability --> + <!-- 或有 --> + <el-tab-pane label="Liability" name="engp"> + <m-engp :model="model" :codes="codes" /> + </el-tab-pane> <!--Settlement --> <el-tab-pane label="Settlement" name="setpan"> @@ -105,6 +111,7 @@ import Glepan from "~/views/Public/Glepan"; import Coninfp from "~/views/Public/Coninfp" import Docpan from "~/views/Public/Docpan" import Doctre from "./Doctre" +import Engp from "~/views/Public/Engp" export default { @@ -119,6 +126,7 @@ export default { "m-coninfp" : Coninfp, "m-docpan" : Docpan, "m-doctre" : Doctre, + "m-engp": Engp, }, provide() { return { diff --git a/src/views/Business/Botcan/Canp.vue b/src/views/Business/Botcan/Canp.vue index 3bb6071..c0846da 100644 --- a/src/views/Business/Botcan/Canp.vue +++ b/src/views/Business/Botcan/Canp.vue @@ -2,7 +2,7 @@ <div class="eibs-tab"> <!-- =================顶部====================== --> <c-col :span="24"> - <c-col :span="8"> + <c-col :span="10"> <el-form-item label="Reference" prop="bodgrp.rec.ownref"> <c-input disabled @@ -12,13 +12,21 @@ ></c-input> </el-form-item> </c-col> - <c-col :span="4"> - <el-form-item label="" label-width="15px"> - <c-button size="small" type="primary;width:10%" @click="onSeainf" - >i</c-button + <c-col :span="2"> + <el-form-item label="" label-width="20px"> + <c-button + style="margin: 0 10px 0 0; padding: 0 12px" + size="small" + type="primary" + @click="onSeainf" > - </el-form-item> - </c-col> + <span + style="font-size: 15px; font-family: '宋体'; font-weight: bold" + >i</span + > + </c-button> + </el-form-item> + </c-col> <c-col :span="12"> <el-form-item label="Name" prop="bodgrp.rec.nam"> <c-input @@ -38,6 +46,7 @@ <c-col :span="12"> <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur"> <c-select + disabled v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="CUR" @@ -55,10 +64,11 @@ <el-form-item label="" style="text-align: left" - label-width="20px" + label-width="5px" prop="bodgrp.cbs.max.amt" > <c-input + disabled v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" ></c-input @@ -70,6 +80,7 @@ <c-col :span="12"> <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur"> <c-select + disabled v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="CUR" @@ -87,10 +98,11 @@ <el-form-item label="" style="text-align: left" - label-width="20px" + label-width="5px" prop="bodgrp.cbs.opn1.amt" > <c-input + disabled v-model="model.bodgrp.cbs.opn1.amt" placeholder="请输入Open Amount" ></c-input> @@ -104,6 +116,7 @@ prop="bodgrp.rec.doctypcod" > <c-select + disabled v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" @@ -121,6 +134,7 @@ <c-col :span="24"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <c-input + disabled v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" @@ -129,9 +143,10 @@ </c-col> <c-col :span="24"> - <c-col :span="16"> + <c-col :span="18"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat"> <c-date-picker + disabled type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" @@ -140,24 +155,31 @@ </el-form-item> </c-col> - <c-col :span="4"> + <c-col :span="5"> <el-form-item label="" style="text-align: left" - label-width="6px" + label-width="5px" prop="bodgrp.rec.matpercnt" > <c-input + disabled v-model="model.bodgrp.rec.matpercnt" placeholder="0" ></c-input> </el-form-item> </c-col> + + <c-col :span="1"> + <el-form-item label="Days" label-width="5px" > + </el-form-item> + </c-col> </c-col> <c-col :span="24"> <el-form-item label="" prop="bodgrp.rec.matperbeg"> <c-select + disabled v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG" @@ -172,26 +194,21 @@ </el-form-item> </c-col> - <c-col :span="24"> + <c-col :span="12"> <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat"> <c-date-picker + disabled type="date" v-model="model.bodgrp.rec.rcvdat" - style="width:50%" + style="width:100%" placeholder="请选择Order Date" ></c-date-picker> </el-form-item> </c-col> - <c-col :span="24"> - <el-form-item label="Narrative" prop="strinf"> - <c-input - type="textarea" - v-model="model.strinf" - maxlength="50" - show-word-limit - placeholder="请输入Narrative" - ></c-input> + <c-col :span="12"> + <el-form-item label="Presentation Date" prop="bodgrp.rec.predat"> + <c-date-picker type="date" disabled v-model="model.bodgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker> </el-form-item> </c-col> </c-col> @@ -201,9 +218,10 @@ <c-col :span="24"> <el-form-item label="Drawer.Ref" prop="bodgrp.drr.pts.ref"> <c-input + disabled v-model="model.bodgrp.drr.pts.ref" maxlength="16" - style="width:50%" + style="width:100%" placeholder="请输入Drawer" ></c-input> </el-form-item> @@ -212,6 +230,7 @@ <c-col :span="24"> <el-form-item label="Drawer.Name" prop="bodgrp.drr.pts.nam"> <c-input + disabled v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Name of Party" @@ -222,9 +241,10 @@ <c-col :span="24"> <el-form-item label="Collecting Bank.Ref" prop="bodgrp.col.pts.ref"> <c-input + disabled v-model="model.bodgrp.col.pts.ref" maxlength="16" - style="width:50%" + style="width:100%" placeholder="请输入Collecting Bank" ></c-input> </el-form-item> @@ -233,6 +253,7 @@ <c-col :span="24"> <el-form-item label="Collecting Bank.Name" prop="bodgrp.col.pts.nam"> <c-input + disabled v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party" @@ -243,9 +264,10 @@ <c-col :span="24"> <el-form-item label="Drawee.Ref" prop="bodgrp.dre.pts.ref"> <c-input + disabled v-model="model.bodgrp.dre.pts.ref" maxlength="16" - style="width:50%" + style="width:100%" placeholder="请输入Drawee" ></c-input> </el-form-item> @@ -254,28 +276,38 @@ <c-col :span="24"> <el-form-item label="Drawee.Name" prop="bodgrp.dre.pts.nam"> <c-input + disabled v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party" ></c-input> </el-form-item> </c-col> + </c-col> + </c-row> - <c-col :span="24"> - <el-form-item label="Presentation Date" prop="bodgrp.rec.predat"> - <c-date-picker - type="date" - v-model="model.bodgrp.rec.predat" - style="width:50%" - placeholder="请选择Presentation Date" - ></c-date-picker> + + <c-row> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="Narrative" prop="strinf"> + <c-input + type="textarea" + v-model="model.strinf" + maxlength="50" + show-word-limit + placeholder="请输入Narrative" + ></c-input> </el-form-item> </c-col> + </c-col> + <c-col :span="11" :offset="1"> <c-col :span="24"> <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox> </c-col> - </c-col> + </c-col> + </c-row> <!--<c-col :span="12"> <span v-text="model.botp0.matp.mattxtlab" data-path=".botp0.matp.mattxtlab" > </span> @@ -283,7 +315,6 @@ <c-col :span="12"> <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp" > </span> </c-col> --> - </c-row> </div> </template> <script> diff --git a/src/views/Business/Botcan/Doctre.vue b/src/views/Business/Botcan/Doctre.vue index 6489b76..02526ed 100644 --- a/src/views/Business/Botcan/Doctre.vue +++ b/src/views/Business/Botcan/Doctre.vue @@ -1,100 +1,240 @@ <template> <div class="eibs-tab"> - - <c-col :span="12"> - <el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv"> - <c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm"> - <c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButshw"> - Sho&w - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButadd"> - D&etails - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButnew"> - &Add New - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButattto"> + <!-- <c-col :span="19"> + <c-col> + <el-form-item label="File Receiver"> + <c-input + type="textarea" + v-model="model.trnmod.trndoc.filrecv" + placeholder="请输入File Receiver" + :rows="10" + ></c-input> + </el-form-item> + </c-col> + + <c-col> + <el-form-item label="Document tree"> + <c-input + type="textarea" + :rows="10" + v-model="model.trnmod.trndoc.doctrestm" + placeholder="请输入Document tree" + ></c-input> + </el-form-item> </c-col + ></c-col> --> + + <c-col :span="24"> + <el-form-item + class="formItemLabel" + label="Outgoing Correspondence,Attachments and other Documents" + label-width="100%" + > + </el-form-item> + </c-col> + + <c-col :span="24"> + <!-- ========================左====================== --> + <c-col :span="14"> + <c-col :span="24"> + <div style="height: 300px; width: 100%; border: 1px #ebeef5 solid"> + <el-tree + :data="data" + :props="defaultProps" + @node-click="handleNodeClick" + ></el-tree> + </div> + </c-col> + + <c-col :span="24" style="margin-top: 10px"> + <c-col :span="4"> + <el-form-item + label="Connected Ducuments" + v-show="isShow1 || isShow2" + ></el-form-item> + <el-form-item + label="" + v-show="!(isShow1 || isShow2)" + ></el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item label=""> + <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> + </el-form-item> + <!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> --> + </c-col> + <c-col :span="8" :offset="2"> + <el-form-item label=""> + <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> + </el-form-item> + <!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> --> + </c-col> + </c-col> + <c-col :span="22" :offset="1"> + <c-table + :border="true" + :list="data1" + style="width:80%,text-align:center" + v-show="isShow1 || isShow2" + > + <el-table-column label="Type" width="auto"></el-table-column> + <el-table-column label="Document" width="auto"></el-table-column> + <el-table-column label="Cre.TRN" width="auto"></el-table-column> + <el-table-column label="Date" width="auto"></el-table-column> + <el-table-column label="" width="auto"></el-table-column> + <el-table-column label="" width="auto"></el-table-column> + </c-table> + </c-col> + </c-col> + + <!-- ==============右============= --> + <c-col :span="6" :offset="1"> + <c-col :span="24"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButadd"> + 详情 + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 40px"> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButattto"> Attach to - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButdel"> Delete - </c-button> - </c-col> - - <c-col :span="12"> - <span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span> - </c-col> - - <c-col :span="12"> - <c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox> - </c-col> - - <c-col :span="12"> - <c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButatt"> + </c-button> + </c-col> + <c-col :span="24" style="margin-top: 80px"> + <c-button size="small" type="primary" @click="onTrndocButatt"> Attach - </c-button> - </c-col> - - <c-col :span="12"> - <el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm"> - <c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf"> - <c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input> - </el-form-item> - </c-col> + </c-button> + </c-col> + <c-col :span="24" style="margin-top: 150px"> + <c-button size="small" type="primary" @click="onTrndocButatt"> + i + </c-button> + </c-col> + </c-col> + </c-col> + + <!-- <c-col :offset="1" :span="4"> + <c-col> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButnew" > + Add New + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButattto" disabled> + Attach to + </c-button> + </c-col> + + <c-col> + <c-button type="primary" size="small" @click="onTrndocButdel" disabled> + Delete + </c-button> + </c-col> + <c-col> + <c-button size="small" type="primary" @click="onTrndocButatt" disabled> + Attach + </c-button> + </c-col> + </c-col> --> + + <!-- <c-col :span="12"> + <span + v-text="model.trnmod.trndoc.doclbl" + data-path=".trnmod.trndoc.doclbl" + > + </span> + </c-col> --> + + <!-- <c-col :offset="8" :span="4"> + <c-checkbox v-model="model.trnmod.trndoc.shwinc" + >Show Incoming Messages</c-checkbox + > + </c-col> + + <c-col :span="4"> + <c-checkbox v-model="model.trnmod.trndoc.shwout" + >Show Outgoing Messages</c-checkbox + > + </c-col> --> + + <!-- <c-col :span="12"> + <el-form-item label="Connected Documents"> + <c-input + v-model="model.trnmod.trndoc.condocstm" + placeholder="请输入Connected Documents" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label=""> + <c-input + v-model="model.trnmod.trndoc.rcvatt.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> </div> </template> <script> -import Api from "~/service/Api" +import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botcan/Event" +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditame/Event"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ - - } -} + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + data1: [], + isShow1: false, + isShow2: false, + }; + }, + methods: { ...Event, + handleNodeClick(){} , + defaultProps(){} + }, + created: function () {}, +}; </script> -<style> - +<style scoped> +/* .c-col button { + margin: 20px; +} */ +.formItemLabel >>> .el-form-item__label{ + text-align: left; +} </style> diff --git a/src/views/Business/Botdav/Ovwp.vue b/src/views/Business/Botdav/Ovwp.vue index b9af8bf..e4dcff7 100644 --- a/src/views/Business/Botdav/Ovwp.vue +++ b/src/views/Business/Botdav/Ovwp.vue @@ -10,8 +10,6 @@ </el-form-item> </c-col> <c-col :span="1"> - <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search" - ></c-button> </c-col> <c-col :span="3" style="text-align: right"> <c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref"> @@ -36,8 +34,8 @@ </el-form-item> </c-col> <c-col :span="4"> - <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary" - ></c-button> + <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"> + </c-button> </c-col> <c-col :span="8"> <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox> @@ -111,29 +109,28 @@ <c-col :span="12"> <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" - placeholder="请选择Maturity Date"></c-date-picker> + :disabled="model.bodgrp.rec.doctypcod === 'P'" placeholder="请选择Maturity Date"></c-date-picker> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="发票类型" prop="bodgrp.rec.invtyp"> - <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%"> - <el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value"> - </el-option> + <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" :code="invtyp"> </c-select> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> - <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input> + <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" + :disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from" - :code="codes.matperbeg"> + :code="codes.matperbeg" :disabled="model.bodgrp.rec.doctypcod === 'P'"> </c-select> </el-form-item> </c-col> @@ -141,7 +138,7 @@ <c-col :span="24"> <el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet"> <c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit - placeholder="请输入Tenor Details Text"></c-input> + :disabled="model.bodgrp.rec.doctypcod === 'P'" placeholder="请输入Tenor Details Text"></c-input> </el-form-item> </c-col> @@ -199,19 +196,19 @@ title: 'Drawer', grp: 'bodgrp', rol: 'drr', - }" :isAdrblk="true" :disabled="false" > + }" :isAdrblk="true" :disabled="false"> </c-ptap> <c-ptap :model="model" :argadr="{ title: 'Collecting Bank', grp: 'bodgrp', rol: 'col', - }" :disabled="false" > + }" :disabled="false"> </c-ptap> <c-ptap :model="model" :argadr="{ title: 'Drawee', grp: 'bodgrp', rol: 'dre', - }" :disabled="false" > + }" :disabled="false"> </c-ptap> <c-col :span="24"> <el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty"> @@ -302,6 +299,9 @@ export default { tableName: "", tcddoc: "", }, + invtyp: [ + { label: "type1", value: "1" } + ], }; }, methods: { diff --git a/src/views/Business/Botdav/Srmp.vue b/src/views/Business/Botdav/Srmp.vue index 6efce3c..98ef306 100644 --- a/src/views/Business/Botdav/Srmp.vue +++ b/src/views/Business/Botdav/Srmp.vue @@ -10,19 +10,19 @@ <c-col :span="24"> <el-form-item label="单据出具人" prop="bodgrp.srm.djuusr"> - <c-input v-model="model.bodgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人"></c-input> + <c-input v-model="model.bodgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="单据出具日期" prop="bodgrp.srm.djudat"> - <c-date-picker type="date" v-model="model.bodgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期"></c-date-picker> + <c-date-picker type="date" v-model="model.bodgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期" :disabled="model.bodgrp.srm.djutyp=='D'"></c-date-picker> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="货权单据编号" prop="bodgrp.srm.djuref"> - <c-input v-model="model.bodgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input> + <c-input v-model="model.bodgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input> </el-form-item> </c-col> </c-col> diff --git a/src/views/Business/Botdcr/Botdcrp1.vue b/src/views/Business/Botdcr/Botdcrp1.vue index db40f77..50d57c0 100644 --- a/src/views/Business/Botdcr/Botdcrp1.vue +++ b/src/views/Business/Botdcr/Botdcrp1.vue @@ -1,240 +1,318 @@ <template> - <c-row> - <!-- =================顶部====================== --> - <c-col :span="24"> - <c-col :span="11"> + <c-row> + <!-- =================顶部====================== --> + <c-col :span="24"> + <c-col :span="11"> <c-col :span="20"> - <el-form-item - label="Reference" - prop="bodgrp.rec.ownref" - style="width: 100%" - > - <c-input - v-model="model.bodgrp.rec.ownref" - maxlength="16" - placeholder="请输入Reference" - style="width: 95%" - disabled - ></c-input> + <el-form-item label="Reference" prop="bodgrp.rec.ownref" style="width: 100%"> + <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%" + disabled></c-input> </el-form-item> </c-col> - <c-col :span="4"> - <c-button - style="margin:0 10px 0 0;padding: 0 10px;" - size="small" - type="primary" - icon="el-icon-search" - @click="onSeainf" - ></c-button> - </c-col> - </c-col> - <c-col :span="11" :offset="1"> + <c-col :span="4"> + <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"></c-button> + </c-button> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> <el-form-item label="摘要" prop="bodgrp.rec.nam"> - <c-input - align="middle" - v-model="model.bodgrp.rec.nam" - maxlength="40" - disabled - placeholder="请输入Externally Displayed Name to Identify the Contract" - ></c-input> + <c-input text-align="middle" v-model="model.bodgrp.rec.nam" maxlength="40" disabled + placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input> </el-form-item> + </c-col> </c-col> - </c-col> - <!-- ====================左边======================= --> - <c-col :span="11"> - <c-col :span="12"> + <!-- ====================左边======================= --> + <c-col :span="11"> + <c-col :span="12"> <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur"> - <c-select - disabled - v-model="model.bodgrp.cbs.max.cur" - style="width: 100%" - placeholder="请选择Currency" - - > - <el-option - v-for="item in codes.cur" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select disabled v-model="model.bodgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency"> + <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"> </el-option> </c-select> </el-form-item> - </c-col> - <c-col :span="12"> - <el-form-item - style="text-align: left" - label-width="20px" - prop="bodgrp.cbs.max.amt" - > - <c-input-currency - v-model="model.bodgrp.cbs.max.amt" - style="text-align: left; width: 100%" - placeholder="请输入Document Amount" - @keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)" - ></c-input-currency> + </c-col> + <c-col :span="12"> + <el-form-item style="text-align: left" label-width="20px" prop="bodgrp.cbs.max.amt"> + <c-input-currency v-model="model.bodgrp.cbs.max.amt" style="text-align: left; width: 100%" + placeholder="请输入Document Amount" disabled + @keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)"></c-input-currency> </el-form-item> - </c-col> - <c-col :span="12"> + </c-col> + <c-col :span="12"> <el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur"> - <c-select - disabled - v-model="model.bodgrp.cbs.opn1.cur" - style="width: 100%" - placeholder="请选择Currency" - > - <el-option - v-for="item in codes.cur" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select disabled v-model="model.bodgrp.cbs.opn1.cur" style="width: 100%" placeholder="请选择Currency"> + <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"> </el-option> </c-select> </el-form-item> - </c-col> - <c-col :span="12"> - <el-form-item - style="text-align: left" - label-width="20px" - prop="bodgrp.cbs.opn1.amt" - > - <c-input-currency - v-model="model.bodgrp.cbs.opn1.amt" - style="text-align: left; width: 100%" - placeholder="请输入Warehouse/Insurance" - @keyup.enter.native="defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)" - ></c-input-currency> + </c-col> + <c-col :span="12"> + <el-form-item style="text-align: left" label-width="20px" prop="bodgrp.cbs.opn1.amt"> + <c-input-currency v-model="model.bodgrp.cbs.opn1.amt" style="text-align: left; width: 100%" + placeholder="请输入Warehouse/Insurance" disabled + @keyup.enter.native="defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)"></c-input-currency> </el-form-item> - </c-col> + </c-col> - <c-col :span="24"> + <c-col :span="24"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> - <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"> - </c-select> + <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" + disabled> + </c-select> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + <c-col :span="24"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> - <c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input> + <c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled> + </c-input> </el-form-item> - </c-col> - <c-col :span="12"> + </c-col> + <c-col :span="12"> <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> - <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> + <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date" + disabled></c-date-picker> </el-form-item> - </c-col> - <c-col :span="12"> + </c-col> + <c-col :span="12"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> - <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input> + <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled></c-input> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + <c-col :span="24"> <el-form-item label=" " prop="bodgrp.rec.matperbeg"> - <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG"> - </c-select> + <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" + placeholder="请选择Start of Maturity Period MATBEG" disabled> + </c-select> </el-form-item> - </c-col> - <c-col :span="12"> + </c-col> + <c-col :span="12"> <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat"> - <c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%" placeholder="请选择Order Date"></c-date-picker> + <c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%" placeholder="请选择Order Date" + disabled></c-date-picker> </el-form-item> - </c-col> - <c-col :span="12"> + </c-col> + <c-col :span="12"> <el-form-item label="Presentation Date" prop="bodgrp.rec.predat"> - <c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker> + <c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%" + placeholder="请选择Presentation Date" disabled></c-date-picker> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + + + + <!-- <c-col :span="24"> <el-form-item label="" prop="rejtypsel"> - <c-input v-model="model.rejtypsel" maxlength="1" placeholder="请输入"></c-input> + <c-input v-model="model.rejtypsel" maxlength="1" placeholder="请输入"></c-input> + <el-select> + + </el-select> </el-form-item> - </c-col> - <c-col :span="24"> - <c-checkbox v-model="model.mtabut.clsflg" >Close Flag</c-checkbox> - </c-col> - <c-col :span="21"> - <el-form-item label="Reason for Non-Payment/Non-Acceptance" prop="bodgrp.blk.resrej" > - <c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20}" - v-model="model.bodgrp.blk.resrej" maxlength="700" show-word-limit placeholder="请输入Reason for Non-Payment/Non-Acceptance" ></c-input> + </c-col> --> + <c-col :span="24"> + <el-form-item label="Select Rejtypsel Type" prop="rejtypsel"> + <c-select v-model="model.rejtypsel" style="width:100%" placeholder="Select Rejtypsel Type" + :code="codes.rejtypsel"> + </c-select> </el-form-item> - </c-col> - <c-col :span="3"> + </c-col> + + + + + <c-col :span="24"> + <el-form-item label="" prop="clsflg"> + <c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Flag</c-checkbox> + </el-form-item> + </c-col> + <c-col :span="21"> + <el-form-item label="Reason for Non-Payment/Non-Acceptance" prop="bodgrp.blk.resrej"> + <c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20 }" v-model="model.bodgrp.blk.resrej" + maxlength="700" show-word-limit placeholder="请输入Reason for Non-Payment/Non-Acceptance"></c-input> + </el-form-item> + </c-col> + <c-col :span="3"> <c-button size="small" type="primary" icon="el-icon-search" @click="onResrejButtxmsel"> - ... + ... </c-button> + </c-col> </c-col> - </c-col> - <!-- ====================右边======================= --> - <c-col :span="11" :offset="1"> - <c-col :span="24"> + <!-- ====================右边======================= --> + <c-col :span="11" :offset="1"> + + <c-col :span="24"> <el-form-item label="Drawer" prop="bodgrp.drr.pts.ref"> - <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input> + <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer" disabled></c-input> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + <c-col :span="24"> <el-form-item label="Name of Party" prop="bodgrp.drr.pts.nam"> - <c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + <c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + <c-col :span="24"> <el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref"> - <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input> + <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled></c-input> </el-form-item> - </c-col> - - <c-col :span="24"> + </c-col> + + <c-col :span="24"> <el-form-item label="Name of Party" prop="bodgrp.col.pts.nam"> - <c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + <c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + <c-col :span="24"> <el-form-item label="Drawee" prop="bodgrp.dre.pts.ref"> - <c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input> + <c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee" disabled></c-input> </el-form-item> - </c-col> - <c-col :span="24"> + </c-col> + <c-col :span="24"> <el-form-item label="Name of Party" prop="bodgrp.dre.pts.nam"> - <c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + <c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input> </el-form-item> - </c-col> - <c-col :span="24"> - <c-istream-table - :list="model.botp.docgrdm.docgrd" - :columns="columns" - > - </c-istream-table> - </c-col> + </c-col> + <c-col :span="24" style="height: 24px; margin-top: -10px"> + <el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel"> + <div v-if="model.rejtypsel == 'R'"> + <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button> + </div> + </el-form-item> + </c-col> + <c-col :span="24" style="margin-bottom: 30px;"> + <c-table height="200px" style="text-align: center" :list="this.model.botp.docgrdm.docgrd || []" + :paginationShow="false" :border="true" :disabled="model.rejtypsel != 'R'"> + <el-table-column label="1st" width="auto" prop="cmail1"> + <template slot-scope="scope"> + <c-input v-model="scope.row.cmail1" :disabled="model.rejtypsel != 'R'"></c-input> + </template> - </c-col> + </el-table-column> + <el-table-column label="2st" width="auto" prop="cmail2"> + <template slot-scope="scope"> + <c-input v-model="scope.row.cmail2" :disabled="model.rejtypsel != 'R'"></c-input> + </template> + </el-table-column> + <el-table-column label="Document" prop="docnam" width="auto"> + <template slot-scope="scope"> + <!-- {{scope.row.docnam}} --> + <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" :disabled="model.rejtypsel != 'R'"> + <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value"> + </el-option> + </c-select> + </template> + </el-table-column> + <el-table-column label="操作" width="170px" fixed="right"> + <template slot-scope="scope"> + <div v-if="model.rejtypsel == 'R'"> + <c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button> + </div> + </template> + </el-table-column> + </c-table> + </c-col> + + + </c-col> - </c-row> + </c-row> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Botdcr/Event" +import Utils from "~/utils"; +import Ptap from "~/views/Public/Ptap"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'], - } - }, - methods:{...Event}, - created:function(){ + components: { "c-ptap": Ptap }, + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'], + codeTable: [ + { label: "Airway Bills", value: "Airway Bills" }, + { label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" }, + { label: "Bill of Lading Copies", value: "Bill of Lading Copies" }, + { label: "Bill of Lading Originals", value: "Bill of Lading Originals" }, + { label: "Certificate", value: "Certificate" }, + { label: "Certificate of Analysis", value: "Certificate of Analysis" }, + { label: "Certificate of Origin", value: "Certificate of Origin" }, + { label: "Certificate of Quality", value: "Certificate of Quality" }, + { label: "Certificate of Quantity", value: "Certificate of Quantity" }, + { label: "Commercial Invoice", value: "Commercial Invoice" }, + { label: "Courier Receipt", value: "Courier Receipt" }, + { label: "Draft", value: "Draft" }, + { label: "Export Licence", value: "Export Licence" }, + { label: "Fax Report", value: "Fax Report" }, + { label: "Inspection Cert", value: "Inspection Cert" }, + { label: "Insurance Policy", value: "Insurance Policy" }, + { label: "Packing List", value: "Packing List" }, + { label: "Shipment Advice", value: "Shipment Advice" }, + { label: "Weight List", value: "Weight List" }, + ], + TableValue: [ + { + id: 0, + cmail1: "", + cmail2: "", + docnam: "", + description: "", + serialNum: "", + tableName: "", + tcddoc: "", + }, + ], + newValue: { + id: 0, + cmail1: "", + cmail2: "", + docnam: "", + description: "", + serialNum: "", + tableName: "", + tcddoc: "", + }, } + }, + computed: { + clsflg: { + get() { + return this.model.rejtypsel == "R"; + }, + set(val) { + this.model.mtabut.clsflg = val ? "C" : "O"; + }, + } + }, + methods: { + ...Event, + addTableValue(index) { + var newTableValue = Object.assign({}, this.newValue); + const serial = Utils.generateUUID(); + newTableValue.serialNum = serial; + this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue); + }, + deleteTable(index) { + this.model.botp.docgrdm.docgrd.splice(index, 1); + }, + }, + + created: function () { + console.log(this.root); + } } </script> <style> - +.messageLabel>>>.el-form-item__label { + text-align: left; + font-weight: bold; + font-size: 12px; +} </style> diff --git a/src/views/Business/Botdcr/Inst.vue b/src/views/Business/Botdcr/Inst.vue index 1da3213..9f7cad8 100644 --- a/src/views/Business/Botdcr/Inst.vue +++ b/src/views/Business/Botdcr/Inst.vue @@ -1,23 +1,34 @@ <template> <c-row> - <!-- ====================左边======================= --> - <c-col :span="14"> - <c-col :span="24"> - <c-col :span="4"> - <el-form-item label="Delivery of Documents "> - </el-form-item> - </c-col> - <c-col :span="12"> - <el-form-item label=" Instructions"> + <!-- ====================左边======================= --> + <c-col :span="12" :width="30"> + <c-col :span="23"> + <el-form-item label="Delivery of Documents Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit + placeholder="请输入Collection Instructions" disabled> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary" disabled> + ... + </c-button> + </template> + </c-fullbox> </el-form-item> - </c-col> - </c-col> + </c-col> + + <!-- <c-col span="24"> + Delivery of Documents Instructions + </c-col> --> - <c-col :span="24"> - <c-col :span="20"> + + <!-- <el-form-item label="Delivery of Documents Instructions" prop="bodgrp.blk.colins" > + + <c-col :span="24" style="width:100%"> + <c-col :span="20" > <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" > </c-input> - </c-col> + </c-col> <c-col :span="4"> <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> @@ -26,188 +37,337 @@ </c-col> </c-col> - <c-col :span="24"> - <c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox> - </c-col> + </el-form-item> --> - - <c-col :span="12"> + + + + + <c-col :span="24"> + <el-form-item label="" prop="bodgrp.blk.colinsflg"> + <c-checkbox v-model="colinsflg" disabled>Collection instructions modified</c-checkbox> + </el-form-item> + </c-col> + + + <!-- <c-col :span="12"> <el-form-item label="Draft Instructions"> </el-form-item> - </c-col> + </c-col> <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit + placeholder="请输入Draft Instructions"></c-input> </c-col> - - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> + + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> + </c-button> + </c-col> + </c-col> --> + <c-col :span="23"> + <el-form-item label="Draft Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit + placeholder="请输入Draft Instructions" disabled> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary" disabled> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> - <c-col :span="24"> + <!-- <c-col :span="24"> <el-form-item label="Protest Instructions"> </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit + placeholder="请输入Protest Instructions"></c-input> </c-col> - - <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input> - </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> - - <c-col :span="24"> + </c-button> + </c-col> + </c-col> --> + + <c-col :span="23"> + <el-form-item label="Protest Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit + placeholder="请输入Protest Instructions" disabled> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary" disabled> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + + + <!-- <c-col :span="24"> <el-form-item label="Other Instructions"> </el-form-item> - </c-col> + </c-col> <c-col :span="24"> <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit + placeholder="请输入Other Instructions"></c-input> </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> ... - </c-button> - </c-col> + </c-button> + </c-col> + </c-col> --> + + <c-col :span="23"> + <el-form-item label="Other Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit + placeholder="请输入Other Instructions" disabled> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary" disabled> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> </c-col> - <c-col :span="24"> - <el-form-item label="Delivery instructions" > - </el-form-item> - </c-col> - <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input> + <!-- <c-col :span="24"> + <el-form-item label="Delivery instructions"> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit + placeholder="请输入Delivery instructions"></c-input> </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> - </c-col> - <!-- ====================右边======================= --> - <c-col :span="10"> + </c-button> + </c-col> + </c-col> --> + <c-col :span="23"> + <el-form-item label="Warehouse/Insurance instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit + placeholder="请输入Warehouse/Insurance instruction" disabled> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary" disabled> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + </c-col> + + + + + <!-- ====================右边======================= --> + <c-col :span="12"> + <c-col :span="24" style="width:100%"> + <el-form-item label="Changes Condition" prop="bodgrp.rec.chato" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" + :code="codes.chato" disabled> + </c-select> + - <c-col :span="24"> - <el-form-item label="Our Charges to"> </el-form-item> - </c-col> + </c-col> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> - </c-select> - </c-col> - - - <c-col :span="24"> - <el-form-item label="Charges Text"> + + <!-- <c-col :span="24"> + <el-form-item label="Our Charges to"> </el-form-item> - </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" + :code="codes.chato"> + </c-select> + </c-col> --> + <c-col :span="24" style="width:100%"> + <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt" style="padding-top:15px"> + + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit + placeholder="请输入Charges Text"></c-input disabled> + - <c-col :span="24"> - <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input> - </c-col> - - <c-col :span="24"> - <c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox> - </c-col> - - <c-col :span="24"> - <c-col :span="5"> - <el-form-item label="Waive Collecting"> </el-form-item> - </c-col> - <c-col :span="4"> - <el-form-item label="Bank Charges"> + </c-col> + + + <!-- <c-col :span="24"> + <el-form-item label="Charges Text"> </el-form-item> - </c-col> - </c-col> + </c-col> + + <c-col :span="24"> + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit + placeholder="请输入Charges Text"></c-input> + </c-col> --> + + <c-col :span="22"> + <c-checkbox v-model="model.bodgrp.rec.focflg" style="padding-left:10px" disabled>Free of Payment</c-checkbox> + </c-col> + <c-col :span="24" style="width:100%"> + <el-form-item label="Waive Collecting Bank Charges" prop="bodgrp.rec.waicolcod" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" disabled + :code="codes.waicolcod"> + </c-select> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"> - </c-select> - </c-col> - - <c-col :span="24"> - <c-col :span="4"> - <el-form-item label="Waive Remitting"> </el-form-item> - </c-col> + </c-col> + <!-- <c-col :span="24"> + <c-col :span="5"> + <el-form-item label="Waive Collecting"> + </el-form-item> + </c-col> <c-col :span="4"> - <el-form-item label="Bank Charges"> + <el-form-item label="Bank Charges"> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" + :code="codes.waicolcod"> + </c-select> + </c-col> --> + + <c-col :span="24" style="width:100%"> + <el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" disabled + placeholder="请选择Waive Remitting Bank Charges" :code="codes.wairmtcod"> + </c-select> + </el-form-item> - </c-col> + </c-col> - </c-col> + <!-- <c-col :span="24"> + <c-col :span="4"> + <el-form-item label="Waive Remitting"> + </el-form-item> + </c-col> + <c-col :span="4"> + <el-form-item label="Bank Charges"> + </el-form-item> + </c-col> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> - </c-select> - </c-col> - - <c-col :span="24"> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges" + :code="codes.wairmtcod"> + </c-select> + </c-col> --> + <c-col :span="24" style="width:100%"> + <el-form-item label="Defer Payment until" prop="bodgrp.rec.othins" style="padding-top:15px"> + + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" disabled + :code="codes.othins"> + </c-select> + </el-form-item> + </c-col> + <!-- <c-col :span="24"> <el-form-item label="Defer Payment until"> </el-form-item> - </c-col> - - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> - </c-select> - </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" + :code="codes.othins"> + </c-select> + </c-col> --> + <c-col :span="12"> + <el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px" disabled> - <c-col :span="24"> + <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" disabled + :code="codes.cur"> + </c-select> + + </el-form-item> + </c-col> + <c-col :span="12"> + <c-input style="padding-top:15px" v-model="model.bodgrp.rec.lescom" placeholder="请输入Document Amount" disabled></c-input> + </c-col> + <!-- <c-col :span="24"> <el-form-item label="less comm"> - </el-form-item> - </c-col> + </el-form-item> + </c-col> - <c-col :span="24"> + <c-col :span="24"> <c-col :span="12"> - <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount"> - </c-select> - </c-col> + <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" + :code="codes.cur"> + </c-select> + </c-col> <c-col :span="12"> - <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> - </c-col> - </c-col> - + <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> + </c-col> + </c-col> --> + </c-col> - </c-row> + </c-row> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botdcr/Event" +import Event from "~/model/Botdav/Event" export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { } + }, + methods: { ...Event }, + created: function () { + + }, + computed:{ + colinsflg:{ + get(){ + return this.model.bodgrp.blk.colinsflg ==="X"; + }, + set(val){ + this.model.bodgrp.blk.colinsflg=val ? "X":""; + }, + }, + } } + </script> <style> - </style> diff --git a/src/views/Business/Botdcr/Ptyp.vue b/src/views/Business/Botdcr/Ptyp.vue index 8914274..0bec899 100644 --- a/src/views/Business/Botdcr/Ptyp.vue +++ b/src/views/Business/Botdcr/Ptyp.vue @@ -8,6 +8,8 @@ grp: 'bodgrp', rol: 'drr', }" + :disabledRef="true" + :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet" @@ -21,6 +23,8 @@ grp: 'bodgrp', rol: 'dre', }" + :disabledRef="true" + :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet" @@ -35,6 +39,8 @@ grp: 'bodgrp', rol: 'col', }" + :disabledRef="true" + :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet" @@ -43,10 +49,11 @@ </c-col> <c-col :span="24"> - <c-edit-table :model="model" v-bind="ptsaddg"> - <el-table-column label="操作" align="center"> + <c-edit-table :model="model" v-bind="ptsaddg" :disabledAll="true" :isAdd="false"> + <el-table-column label="操作" text-align="center"> <template slot-scope="scope"> <el-button + size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary" diff --git a/src/views/Business/Botdcr/index.vue b/src/views/Business/Botdcr/index.vue index 16817ef..68037c4 100644 --- a/src/views/Business/Botdcr/index.vue +++ b/src/views/Business/Botdcr/index.vue @@ -1,102 +1,106 @@ <template> -<c-page title="出口托收拒付/不符点"> - <div class="eContainer"> - <c-function-btn - :handleSubmit="handleSubmit" - :handleCheck="handleCheck" - :handleStash="handleStash" - > - <el-button size="small">备忘录</el-button> - <el-button size="small">影像信息</el-button> - <el-button size="small">保存模板</el-button> - <el-button size="small">使用模板</el-button> - <el-button size="small">制裁信息</el-button> - <el-button size="small">拆分报文</el-button> - <el-button size="small">智能提示</el-button> - </c-function-btn> - <el-form :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"> - - <!--PD000005 --> - <el-tab-pane label="Rejection" name="botdcrp1"> - <c-content> - <m-botdcrp1 :model="model" :codes="codes"/> - </c-content> - </el-tab-pane> - - <!--PD000049 --> - <el-tab-pane label="Instruction" name="inst"> - <c-content> - <m-inst :model="model" :codes="codes"/> - </c-content> - </el-tab-pane> - - <!--PD000266 --> - <el-tab-pane label="Party" name="ptyp"> - <c-content> - <m-ptyp :model="model" :codes="codes"/> - </c-content> - </el-tab-pane> - - <!--PD000000 --> - <el-tab-pane label="Settlement" name="setpan"> - <m-setpan :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> - - <!--PD000546 --> - <el-tab-pane label="Attachments" name="doctre"> - <m-doctre :model="model" :codes="codes"/> - </el-tab-pane> - </c-tabs> - </el-form> - </div> - </c-page> + <c-page title="出口托收拒付/不符点"> + <div class="eContainer"> + <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> + <el-button size="small">备忘录</el-button> + <el-button size="small">影像信息</el-button> + <el-button size="small">保存模板</el-button> + <el-button size="small">使用模板</el-button> + <el-button size="small">制裁信息</el-button> + <el-button size="small">拆分报文</el-button> + <el-button size="small">智能提示</el-button> + </c-function-btn> + <el-form :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"> + + <!--PD000005 --> + <el-tab-pane label="Rejection" name="botdcrp1"> + <c-content> + <m-botdcrp1 :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + + <!--PD000049 --> + <el-tab-pane label="Instruction" name="inst"> + <c-content> + <m-inst :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + + <!--PD000266 --> + <el-tab-pane label="Party" 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> + + <!--PD000000 --> + <el-tab-pane label="Settlement" name="setpan"> + <m-setpan :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> + + <!--PD000546 --> + <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 Botdcr from "~/model/Botdcr" import commonProcess from "~/mixin/commonProcess" +import commonFuncs from "~/mixin/commonFuncs"; import Check from "~/model/Botdcr/Check" import Default from "~/model/Botdcr/Default" import Pattern from "~/model/Botdcr/Pattern" import Botdcrp1 from "./Botdcrp1" +import Engp from "~/views/Public/Engp" import Inst from "./Inst" import Ptyp from "./Ptyp" -import Setpan from "./Setpan" -import Coninfp from "./Coninfp" -import Docpan from "./Docpan" -import Doctre from "./Doctre" +import Setpan from "~/views/Public/Setpan" +import Coninfp from "~/views/Public/Coninfp" +import Docpan from "~/views/Public/Docpan" +import Doctre from "~/views/Public/Doctre" export default { name: "Botdcr", - components:{ - "m-botdcrp1" : Botdcrp1, - "m-inst" : Inst, - "m-ptyp" : Ptyp, - "m-setpan" : Setpan, - "m-coninfp" : Coninfp, - "m-docpan" : Docpan, - "m-doctre" : Doctre, + components: { + "m-botdcrp1": Botdcrp1, + "m-inst": Inst, + "m-ptyp": Ptyp, + "m-setpan": Setpan, + "m-coninfp": Coninfp, + "m-engp": Engp, + "m-docpan": Docpan, + "m-doctre": Doctre, }, provide() { return { root: this } }, - mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 - data(){ + mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 + data() { return { tabVal: "botdcrp1", trnName: "botdcr", @@ -106,28 +110,30 @@ export default { pattern: Pattern, rules: null, codes: { + ...CodeTable }, } }, - methods:{ - tabClick(){ - } + methods: { + // tabClick() { + // } }, - created:async function(){ + created: async function () { console.log("进入botdcr交易"); let rtnmsg = await this.init({}) - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + this.updateModel(rtnmsg.data) + if (this.isInDisplay) { + this.restoreDisplay(); + } } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); } } } </script> <style> - </style> diff --git a/src/views/Business/Gitcom/Glepan.vue b/src/views/Business/Botrad/Botcoll1.vue similarity index 86% rename from src/views/Business/Gitcom/Glepan.vue rename to src/views/Business/Botrad/Botcoll1.vue index 6649407..e024b92 100644 --- a/src/views/Business/Gitcom/Glepan.vue +++ b/src/views/Business/Botrad/Botcoll1.vue @@ -2,17 +2,17 @@ <div class="eibs-tab"> <c-col :span="12"> - <el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm"> - <c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input> + <el-form-item label="XMLPanel botcoll1的内置block" prop="botcoll1blk"> + <c-input type="textarea" v-model="model.botcoll1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll1的内置block" ></c-input> </el-form-item> - </c-col> + </c-col> </div> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Gitcom/Event" +import Event from "~/model/Botrad/Event" export default { inject: ['root'], diff --git a/src/views/Business/Botrad/Botcoll2.vue b/src/views/Business/Botrad/Botcoll2.vue new file mode 100644 index 0000000..393b420 --- /dev/null +++ b/src/views/Business/Botrad/Botcoll2.vue @@ -0,0 +1,34 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="XMLPanel botcoll2的内置block" prop="botcoll2blk"> + <c-input type="textarea" v-model="model.botcoll2blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll2的内置block" ></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Botdrrl1.vue b/src/views/Business/Botrad/Botdrrl1.vue new file mode 100644 index 0000000..9192a37 --- /dev/null +++ b/src/views/Business/Botrad/Botdrrl1.vue @@ -0,0 +1,34 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="XMLPanel botdrrl1的内置block" prop="botdrrl1blk"> + <c-input type="textarea" v-model="model.botdrrl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botdrrl1的内置block" ></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Botrad.vue b/src/views/Business/Botrad/Botrad.vue new file mode 100644 index 0000000..5762cfe --- /dev/null +++ b/src/views/Business/Botrad/Botrad.vue @@ -0,0 +1,180 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="botp.recget.sdamod.dadsnd"> + <c-input v-model="model.botp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Reference" prop="bodgrp.rec.ownref"> + <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="botp.recget.sdamod.seainf"> + <c-input v-model="model.botp.recget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Name" prop="bodgrp.rec.nam"> + <c-input v-model="model.bodgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur"> + <c-select v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt"> + <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drawer" prop="bodgrp.drr.pts.ref"> + <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur"> + <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.amt"> + <c-input v-model="model.bodgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Open Amount" prop="bodgrp.drr.pts.nam"> + <c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Open Amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> + <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref"> + <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Name of Party" prop="bodgrp.col.pts.nam"> + <c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> + <c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> + <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drawee" prop="bodgrp.dre.pts.ref"> + <c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> + <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Name of Party" prop="bodgrp.dre.pts.nam"> + <c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%" placeholder="请选择Order Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Presentation Date" prop="bodgrp.rec.predat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Instructions for Second Mail" prop="bodgrp.blk.colinssnm"> + <c-input type="textarea" v-model="model.bodgrp.blk.colinssnm" maxlength="60" show-word-limit placeholder="请输入Instructions for Second Mail" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.oridre">Original Documents Passed to Drawee</c-checkbox> + </c-col> + + <c-col :span="12"> + <span v-text="model.botp.docgrdm.docdsclab" data-path=".botp.docgrdm.docdsclab" > </span> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Detp.vue b/src/views/Business/Botrad/Detp.vue new file mode 100644 index 0000000..43c9d45 --- /dev/null +++ b/src/views/Business/Botrad/Detp.vue @@ -0,0 +1,78 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Transport Doc. Type" prop="bodgrp.rec.trpdoctyp"> + <c-select v-model="model.bodgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Transport Doc. Ref." prop="bodgrp.rec.trpdocnum"> + <c-input v-model="model.bodgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. Ref."></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Document Dated" prop="bodgrp.rec.tradat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.tradat" style="width:100%" placeholder="请选择Document Dated"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Mode of Transport" prop="bodgrp.rec.tramod"> + <c-select v-model="model.bodgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Vessel Name" prop="bodgrp.blk.vesselnam"> + <c-input v-model="model.bodgrp.blk.vesselnam" maxlength="40" placeholder="请输入Vessel Name"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Shipment from" prop="bodgrp.rec.shpfro"> + <c-input v-model="model.bodgrp.rec.shpfro" maxlength="40" placeholder="请输入Shipment from"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="For Transportation to" prop="bodgrp.rec.shpto"> + <c-input v-model="model.bodgrp.rec.shpto" maxlength="40" placeholder="请输入For Transportation to"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Description of Goods" prop="bodgrp.blk.goddes"> + <c-input type="textarea" v-model="model.bodgrp.blk.goddes" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Inst.vue b/src/views/Business/Botrad/Inst.vue new file mode 100644 index 0000000..6310c1d --- /dev/null +++ b/src/views/Business/Botrad/Inst.vue @@ -0,0 +1,136 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Collection Instructions" prop="bodgrp.blk.colins"> + <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Our Charges to" prop="bodgrp.rec.chato"> + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt"> + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins"> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Protest Instructions" prop="bodgrp.rec.waicolcod"> + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Protest Instructions" prop="bodgrp.blk.proins"> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod"> + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Other Instructions" prop="bodgrp.blk.othins"> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Defer Payment until" prop="bodgrp.rec.othins"> + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Warehouse/Insurance" prop="bodgrp.rec.lescom"> + <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Delivery instructions" prop="bodgrp.blk.delins"> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> + ... + </c-button> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Instrecp.vue b/src/views/Business/Botrad/Instrecp.vue new file mode 100644 index 0000000..253a8f7 --- /dev/null +++ b/src/views/Business/Botrad/Instrecp.vue @@ -0,0 +1,52 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Interest Instructions" prop="bodgrp.blk.intins"> + <c-input type="textarea" v-model="model.bodgrp.blk.intins" maxlength="65" show-word-limit placeholder="请输入Interest Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo"> + <c-input type="textarea" v-model="model.bodgrp.blk.setinsbo" maxlength="65" show-word-limit placeholder="请输入Settlement insrtrctions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut"> + <c-input type="textarea" v-model="model.bodgrp.blk.agtaut" maxlength="35" show-word-limit placeholder="请输入Authority of Agent" ></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Ovwp.vue b/src/views/Business/Botrad/Ovwp.vue new file mode 100644 index 0000000..dbeae98 --- /dev/null +++ b/src/views/Business/Botrad/Ovwp.vue @@ -0,0 +1,282 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onBotpButgetref"> + Get Ref + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Responsible User" prop="botp.usr.extkey"> + <c-input v-model="model.botp.usr.extkey" maxlength="8" placeholder="请输入Responsible User"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="botp.usrget.sdamod.seainf"> + <c-input v-model="model.botp.usrget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.resflg">Reservated Contract</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="botp.drrp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.botp.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey"> + <c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="botp.drrp.ptsget.sdamod.seainf"> + <c-input v-model="model.botp.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onDrrpDet"> + Details + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="名称" prop="bodgrp.drr.namelc"> + <c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk"> + <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn"> + <c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Financial Document" prop="bodgrp.rec.paydoctyp"> + <c-select v-model="model.bodgrp.rec.paydoctyp" style="width:100%" placeholder="请选择Financial Document"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Shipment date" prop="bodgrp.rec.shpdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="地址" prop="bodgrp.drr.adrelc"> + <c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Dispatched on" prop="bodgrp.rec.advdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.advdat" style="width:100%" placeholder="请选择Dispatched on"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="botp.colp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.botp.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="External Key of Address" prop="bodgrp.col.pts.extkey"> + <c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="botp.colp.ptsget.sdamod.seainf"> + <c-input v-model="model.botp.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onColpDet"> + Details + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Maturity Date" prop="bodgrp.rec.invtyp"> + <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" placeholder="请选择Maturity Date"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="名称" prop="bodgrp.col.namelc"> + <c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk"> + <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn"> + <c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Document Number" prop="bodgrp.rec.paydocnum"> + <c-input v-model="model.bodgrp.rec.paydocnum" maxlength="16" placeholder="请输入Document Number"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="地址" prop="bodgrp.col.adrelc"> + <c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Issued on" prop="bodgrp.rec.issdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.issdat" style="width:100%" placeholder="请选择Issued on"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.ccdndrflg">Truncation - Physical Document Kept w OWN</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet"> + <c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit placeholder="请输入Tenor Details Text" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.ccdpurflg">Payment Under Reserve</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Instructions Received" prop="bodgrp.blk.cctinsrcv"> + <c-input type="textarea" v-model="model.bodgrp.blk.cctinsrcv" maxlength="35" show-word-limit placeholder="请输入Instructions Received" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="botp.drep.ptsget.sdamod.dadsnd"> + <c-input v-model="model.botp.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="External Key of Address" prop="bodgrp.dre.pts.extkey"> + <c-input v-model="model.bodgrp.dre.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="botp.drep.ptsget.sdamod.seainf"> + <c-input v-model="model.botp.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onDrepDet"> + Details + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="名称" prop="bodgrp.dre.namelc"> + <c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk"> + <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn"> + <c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="地址" prop="bodgrp.dre.adrelc"> + <c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Collection Instruction" prop="bodgrp.blk.cctinscol"> + <c-input type="textarea" v-model="model.bodgrp.blk.cctinscol" maxlength="35" show-word-limit placeholder="请输入Collection Instruction" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty"> + <c-select v-model="model.bodgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country!"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Goods Code" prop="bodgrp.rec.stagod"> + <c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code"> + </c-select> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Ptsp150.vue b/src/views/Business/Botrad/Ptsp150.vue new file mode 100644 index 0000000..0d57c92 --- /dev/null +++ b/src/views/Business/Botrad/Ptsp150.vue @@ -0,0 +1,28 @@ +<template> + <div class="eibs-tab"> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/Ptyp.vue b/src/views/Business/Botrad/Ptyp.vue new file mode 100644 index 0000000..983c90e --- /dev/null +++ b/src/views/Business/Botrad/Ptyp.vue @@ -0,0 +1,66 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="24"> + <div class="e-table-wrapper"> + <el-table + :data="model.botp.ptsaddp.ptsaddg" + style="width: 100%" + > + <el-table-column + prop="rol" + label="角色" + sortable + width="100"> + </el-table-column> + <el-table-column + prop="ptyextkey" + label="机构" + sortable + width="100"> + </el-table-column> + <el-table-column + prop="nam" + label="" + sortable + width="100"> + </el-table-column> + <el-table-column + prop="ref" + label="名称" + sortable + width="100"> + </el-table-column> + </el-table> + <el-pagination + layout="prev, pager, next" + :total="pager.botp_ptsaddp_ptsaddg.total"> + </el-pagination> + </div> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Botrad/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botrad/index.vue b/src/views/Business/Botrad/index.vue new file mode 100644 index 0000000..5838f8a --- /dev/null +++ b/src/views/Business/Botrad/index.vue @@ -0,0 +1,138 @@ +<template> + <div class="eContainer"> + <el-form :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="myTabClick"> + + <!--PD000015 --> + <el-tab-pane label="PD000015" name="botrad"> + <m-botrad :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000018 --> + <el-tab-pane label="PD000018" name="botcoll1"> + <m-botcoll1 :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000019 --> + <el-tab-pane label="PD000019" name="botdrrl1"> + <m-botdrrl1 :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000021 --> + <el-tab-pane label="PD000021" name="botcoll2"> + <m-botcoll2 :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000015 --> + <el-tab-pane label="PD000015" name="detp"> + <m-detp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000049 --> + <el-tab-pane label="PD000049" name="inst"> + <m-inst :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000262 --> + <el-tab-pane label="PD000262" name="ovwp"> + <m-ovwp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000266 --> + <el-tab-pane label="PD000266" name="ptyp"> + <m-ptyp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000280 --> + <el-tab-pane label="PD000280" name="instrecp"> + <m-instrecp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000059 --> + <el-tab-pane label="PD000059" name="ptsp150"> + <m-ptsp150 :model="model" :codes="codes"/> + </el-tab-pane> + </c-tabs> + </el-form> + </div> +</template> +<script> +import Api from "~/service/Api" +import CodeTable from "~/config/CodeTable" +// import Botrad from "~/model/Botrad" +import commonProcess from "~/mixin/commonProcess" +import Check from "~/model/Botrad/Check" +import Default from "~/model/Botrad/Default" +import Pattern from "~/model/Botrad/Pattern" +import Botrad from "./Botrad" +import Botcoll1 from "./Botcoll1" +import Botdrrl1 from "./Botdrrl1" +import Botcoll2 from "./Botcoll2" +import Detp from "./Detp" +import Inst from "./Inst" +import Ovwp from "./Ovwp" +import Ptyp from "./Ptyp" +import Instrecp from "./Instrecp" +import Ptsp150 from "./Ptsp150" + + +export default { + name: "Botrad", + components:{ + "m-botrad" : Botrad, + "m-botcoll1" : Botcoll1, + "m-botdrrl1" : Botdrrl1, + "m-botcoll2" : Botcoll2, + "m-detp" : Detp, + "m-inst" : Inst, + "m-ovwp" : Ovwp, + "m-ptyp" : Ptyp, + "m-instrecp" : Instrecp, + "m-ptsp150" : Ptsp150, + }, + provide() { + return { + root: this + } + }, + mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 + data(){ + return { + tabVal: "", + trnName: "botrad", + model: new Botrad().data, + checkRules: Check, + defaultRules: Default, + pattern: Pattern, + rules: null, + codes: { + }, + } + }, + methods:{ + myTabClick(tab){ + this.tabClick(tab) + /** + * do it yourself + **/ + } + }, + created:async function(){ + console.log("进入botrad交易"); + let rtnmsg = await this.init({}) + if(rtnmsg.respCode == SUCCESS) + { + this.updateModel(rtnmsg.data) + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Botset/Cnyp.vue b/src/views/Business/Botset/Cnyp.vue index 606f46e..9ee8e8a 100644 --- a/src/views/Business/Botset/Cnyp.vue +++ b/src/views/Business/Botset/Cnyp.vue @@ -1,63 +1,72 @@ <template> <div class="eibs-tab"> - - <c-col :span="12"> - <el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg"> - <c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表"> - </c-select> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg"> + <c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表" + :code="codes.cnyflg" :disabled="true"> + </c-select> </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg"> - <c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表"> - </c-select> + </c-col> + + <c-col :span="24"> + <el-form-item label="是否报送跨境人民币2107表" label-width="30%" prop="cnybop.traflg"> + <c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表" + :code="codes.traflg" :disabled="true"> + </c-select> </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg"> - <c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表"> - </c-select> + </c-col> + + <c-col :span="24"> + <el-form-item label="是否报送跨境人民币2111表" label-width="30%" prop="cnybop.outflg"> + <c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表" + :code="codes.outflg" :disabled="true"> + </c-select> </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg"> - <c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表"> - </c-select> + </c-col> + + <c-col :span="24"> + <el-form-item label="是否报送跨境人民币2106表" label-width="30%" prop="cnybop.libflg"> + <c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表" + :code="codes.libflg" :disabled="true"> + </c-select> </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg"> - <c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表"> - </c-select> + </c-col> + + <c-col :span="24"> + <el-form-item label="是否报送跨境人民币2122表" label-width="30%" prop="cnybop.vouflg"> + <c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表" + :code="codes.vouflg" :disabled="true"> + </c-select> </el-form-item> - </c-col> + </c-col> + </c-col> </div> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botset/Event" +import Event from "~/model/Botdav/Event" export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { } + }, + methods: { ...Event }, + created: function () { + this.model.cnybop.cnyflg = '2'; + this.model.cnybop.traflg = '2'; + this.model.cnybop.outflg = '2'; + this.model.cnybop.libflg = '2'; + this.model.cnybop.vouflg = '2'; + } } </script> <style> - </style> diff --git a/src/views/Business/Botset/Docpan1.vue b/src/views/Business/Botset/Docpan1.vue new file mode 100644 index 0000000..02969be --- /dev/null +++ b/src/views/Business/Botset/Docpan1.vue @@ -0,0 +1,106 @@ +<template> + <div class="eibs-tab"> + <!-- left --> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item + label="Verification Certificate Number" + prop="lendoc.vercerref" + > + <c-input + type="textarea" + v-model="model.lendoc.vercerref" + maxlength="20" + show-word-limit + placeholder="Please input Verification Certificate Number" + ></c-input> + </el-form-item> + </c-col> + </c-col> + + <!-- right --> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label="ACT" prop="lendoc.account"> + <c-fullbox> + <c-input + v-model="model.lendoc.account" + maxlength="3" + style="width: 100%" + placeholder="Please input Input Amount" + :disabled="!actflg" + ></c-input> + <template slot="footer"> + <el-form-item label="" prop="lendoc.actflg"> + <c-checkbox v-model="actflg" style="margin-left: 10px" + >Input Amount</c-checkbox + > + </el-form-item> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Declaration Number" prop="lendoc.decnum"> + <c-input + v-model="model.lendoc.decnum" + maxlength="22" + placeholder="Please input Declaration Number" + ></c-input> + </el-form-item> + </c-col> + </c-col> + + <!-- <c-col :span="12"> + <el-form-item label="ACT" prop="lendoc.account"> + <c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Verification Certificate Number" prop="lendoc.vercerref"> + <c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Declaration Number" prop="lendoc.decnum"> + <c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入Declaration Number"></c-input> + </el-form-item> + </c-col> --> + </div> +</template> +<script> +import Api from "~/service/Api"; +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Betset/Event"; + +export default { + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return {}; + }, + computed: { + actflg: { + get() { + return this.model.lendoc.actflg === "X"; + }, + set(val) { + this.model.lendoc.actflg = val ? "X" : ""; + }, + }, + }, + methods: { ...Event }, + created: function () {}, +}; +</script> +<style> +</style> diff --git a/src/views/Business/Botset/Doctre.vue b/src/views/Business/Botset/Doctre.vue index 06a8df0..02526ed 100644 --- a/src/views/Business/Botset/Doctre.vue +++ b/src/views/Business/Botset/Doctre.vue @@ -1,100 +1,240 @@ <template> <div class="eibs-tab"> - - <c-col :span="12"> - <el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv"> - <c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm"> - <c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButshw"> - Sho&w - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButadd"> - D&etails - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButnew"> - &Add New - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButattto"> + <!-- <c-col :span="19"> + <c-col> + <el-form-item label="File Receiver"> + <c-input + type="textarea" + v-model="model.trnmod.trndoc.filrecv" + placeholder="请输入File Receiver" + :rows="10" + ></c-input> + </el-form-item> + </c-col> + + <c-col> + <el-form-item label="Document tree"> + <c-input + type="textarea" + :rows="10" + v-model="model.trnmod.trndoc.doctrestm" + placeholder="请输入Document tree" + ></c-input> + </el-form-item> </c-col + ></c-col> --> + + <c-col :span="24"> + <el-form-item + class="formItemLabel" + label="Outgoing Correspondence,Attachments and other Documents" + label-width="100%" + > + </el-form-item> + </c-col> + + <c-col :span="24"> + <!-- ========================左====================== --> + <c-col :span="14"> + <c-col :span="24"> + <div style="height: 300px; width: 100%; border: 1px #ebeef5 solid"> + <el-tree + :data="data" + :props="defaultProps" + @node-click="handleNodeClick" + ></el-tree> + </div> + </c-col> + + <c-col :span="24" style="margin-top: 10px"> + <c-col :span="4"> + <el-form-item + label="Connected Ducuments" + v-show="isShow1 || isShow2" + ></el-form-item> + <el-form-item + label="" + v-show="!(isShow1 || isShow2)" + ></el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item label=""> + <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> + </el-form-item> + <!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> --> + </c-col> + <c-col :span="8" :offset="2"> + <el-form-item label=""> + <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> + </el-form-item> + <!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> --> + </c-col> + </c-col> + <c-col :span="22" :offset="1"> + <c-table + :border="true" + :list="data1" + style="width:80%,text-align:center" + v-show="isShow1 || isShow2" + > + <el-table-column label="Type" width="auto"></el-table-column> + <el-table-column label="Document" width="auto"></el-table-column> + <el-table-column label="Cre.TRN" width="auto"></el-table-column> + <el-table-column label="Date" width="auto"></el-table-column> + <el-table-column label="" width="auto"></el-table-column> + <el-table-column label="" width="auto"></el-table-column> + </c-table> + </c-col> + </c-col> + + <!-- ==============右============= --> + <c-col :span="6" :offset="1"> + <c-col :span="24"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButadd"> + 详情 + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 40px"> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButattto"> Attach to - </c-button> - </c-col> - - <c-col :span="12"> - <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + </c-button> + </c-col> + + <c-col :span="24" style="margin-top: 15px"> + <c-button size="small" type="primary" @click="onTrndocButdel"> Delete - </c-button> - </c-col> - - <c-col :span="12"> - <span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span> - </c-col> - - <c-col :span="12"> - <c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox> - </c-col> - - <c-col :span="12"> - <c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrndocButatt"> + </c-button> + </c-col> + <c-col :span="24" style="margin-top: 80px"> + <c-button size="small" type="primary" @click="onTrndocButatt"> Attach - </c-button> - </c-col> - - <c-col :span="12"> - <el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm"> - <c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf"> - <c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input> - </el-form-item> - </c-col> + </c-button> + </c-col> + <c-col :span="24" style="margin-top: 150px"> + <c-button size="small" type="primary" @click="onTrndocButatt"> + i + </c-button> + </c-col> + </c-col> + </c-col> + + <!-- <c-col :offset="1" :span="4"> + <c-col> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButnew" > + Add New + </c-button> + </c-col> + + <c-col> + <c-button size="small" type="primary" @click="onTrndocButattto" disabled> + Attach to + </c-button> + </c-col> + + <c-col> + <c-button type="primary" size="small" @click="onTrndocButdel" disabled> + Delete + </c-button> + </c-col> + <c-col> + <c-button size="small" type="primary" @click="onTrndocButatt" disabled> + Attach + </c-button> + </c-col> + </c-col> --> + + <!-- <c-col :span="12"> + <span + v-text="model.trnmod.trndoc.doclbl" + data-path=".trnmod.trndoc.doclbl" + > + </span> + </c-col> --> + + <!-- <c-col :offset="8" :span="4"> + <c-checkbox v-model="model.trnmod.trndoc.shwinc" + >Show Incoming Messages</c-checkbox + > + </c-col> + + <c-col :span="4"> + <c-checkbox v-model="model.trnmod.trndoc.shwout" + >Show Outgoing Messages</c-checkbox + > + </c-col> --> + + <!-- <c-col :span="12"> + <el-form-item label="Connected Documents"> + <c-input + v-model="model.trnmod.trndoc.condocstm" + placeholder="请输入Connected Documents" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label=""> + <c-input + v-model="model.trnmod.trndoc.rcvatt.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> </div> </template> <script> -import Api from "~/service/Api" +import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botset/Event" +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditame/Event"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ - - } -} + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + data1: [], + isShow1: false, + isShow2: false, + }; + }, + methods: { ...Event, + handleNodeClick(){} , + defaultProps(){} + }, + created: function () {}, +}; </script> -<style> - +<style scoped> +/* .c-col button { + margin: 20px; +} */ +.formItemLabel >>> .el-form-item__label{ + text-align: left; +} </style> diff --git a/src/views/Business/Botset/Inst.vue b/src/views/Business/Botset/Inst.vue index 8a6bf83..796bb4a 100644 --- a/src/views/Business/Botset/Inst.vue +++ b/src/views/Business/Botset/Inst.vue @@ -1,23 +1,34 @@ <template> - <c-row> - <!-- ====================左边======================= --> - <c-col :span="14"> - <c-col :span="24"> - <c-col :span="4"> - <el-form-item label="Delivery of Documents "> - </el-form-item> - </c-col> - <c-col :span="12"> - <el-form-item label=" Instructions"> + <c-row> + <!-- ====================左边======================= --> + <c-col :span="12" :width="30"> + <c-col :span="23"> + <el-form-item label="Delivery of Documents Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit + placeholder="请输入Collection Instructions" :disabled="model.bodgrp.blk.colinsflg !='X'"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> </el-form-item> - </c-col> - </c-col> + </c-col> + + <!-- <c-col span="24"> + Delivery of Documents Instructions + </c-col> --> - <c-col :span="24"> - <c-col :span="20"> + + <!-- <el-form-item label="Delivery of Documents Instructions" prop="bodgrp.blk.colins" > + + <c-col :span="24" style="width:100%"> + <c-col :span="20" > <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" > </c-input> - </c-col> + </c-col> <c-col :span="4"> <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> @@ -26,188 +37,337 @@ </c-col> </c-col> - <c-col :span="24"> - <c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox> - </c-col> + </el-form-item> --> - - <c-col :span="12"> + + + + + <c-col :span="24"> + <el-form-item label="" prop="bodgrp.blk.colinsflg"> + <c-checkbox disabled v-model="colinsflg">Collection instructions modified</c-checkbox> + </el-form-item> + </c-col> + + + <!-- <c-col :span="12"> <el-form-item label="Draft Instructions"> </el-form-item> - </c-col> + </c-col> <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit + placeholder="请输入Draft Instructions"></c-input> </c-col> - - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> + + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> + </c-button> + </c-col> + </c-col> --> + <c-col :span="23"> + <el-form-item label="Draft Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" disabled v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit + placeholder="请输入Draft Instructions"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> - <c-col :span="24"> + <!-- <c-col :span="24"> <el-form-item label="Protest Instructions"> </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit + placeholder="请输入Protest Instructions"></c-input> </c-col> - - <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input> - </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> - - <c-col :span="24"> + </c-button> + </c-col> + </c-col> --> + + <c-col :span="23"> + <el-form-item label="Protest Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" disabled v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit + placeholder="请输入Protest Instructions"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + + + <!-- <c-col :span="24"> <el-form-item label="Other Instructions"> </el-form-item> - </c-col> + </c-col> <c-col :span="24"> <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit + placeholder="请输入Other Instructions"></c-input> </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> ... - </c-button> - </c-col> + </c-button> + </c-col> + </c-col> --> + + <c-col :span="23"> + <el-form-item label="Other Instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" disabled v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit + placeholder="请输入Other Instructions"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> </c-col> - <c-col :span="24"> - <el-form-item label="Delivery instructions" > - </el-form-item> - </c-col> - <c-col :span="24"> - <c-col :span="20"> - <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input> + <!-- <c-col :span="24"> + <el-form-item label="Delivery instructions"> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit + placeholder="请输入Delivery instructions"></c-input> </c-col> - - <c-col :span="4"> - <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> + + <c-col :span="4"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> ... - </c-button> - </c-col> - </c-col> - </c-col> - <!-- ====================右边======================= --> - <c-col :span="10"> + </c-button> + </c-col> + </c-col> --> + <c-col :span="23"> + <el-form-item label="Warehouse/Insurance instructions" style="padding-top:15px"> + <c-fullbox> + <c-input type="textarea" disabled v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit + placeholder="请输入Warehouse/Insurance instruction"> + </c-input> + <template slot="footer"> + <c-button size="small" type="primary"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + </c-col> + + + + + <!-- ====================右边======================= --> + <c-col :span="12"> + <c-col :span="24" style="width:100%"> + <el-form-item label="Changes Condition" prop="bodgrp.rec.chato" style="padding-top:15px"> + + <c-select disabled v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" + :code="codes.chato"> + </c-select> + - <c-col :span="24"> - <el-form-item label="Our Charges to"> </el-form-item> - </c-col> + </c-col> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> - </c-select> - </c-col> - - - <c-col :span="24"> - <el-form-item label="Charges Text"> + + <!-- <c-col :span="24"> + <el-form-item label="Our Charges to"> </el-form-item> - </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" + :code="codes.chato"> + </c-select> + </c-col> --> + <c-col :span="24" style="width:100%"> + <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt" style="padding-top:15px"> + + <c-input type="textarea" disabled v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit + placeholder="请输入Charges Text"></c-input> + - <c-col :span="24"> - <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input> - </c-col> - - <c-col :span="24"> - <c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox> - </c-col> - - <c-col :span="24"> - <c-col :span="5"> - <el-form-item label="Waive Collecting"> </el-form-item> - </c-col> - <c-col :span="4"> - <el-form-item label="Bank Charges"> + </c-col> + + + <!-- <c-col :span="24"> + <el-form-item label="Charges Text"> </el-form-item> - </c-col> - </c-col> + </c-col> + + <c-col :span="24"> + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit + placeholder="请输入Charges Text"></c-input> + </c-col> --> + + <c-col :span="22"> + <c-checkbox disabled v-model="model.bodgrp.rec.focflg" style="padding-left:10px">Free of Payment</c-checkbox> + </c-col> + <c-col :span="24" style="width:100%"> + <el-form-item label="Waive Collecting Bank Charges" prop="bodgrp.rec.waicolcod" style="padding-top:15px"> + + <c-select disabled v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" + :code="codes.waicolcod"> + </c-select> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"> - </c-select> - </c-col> - - <c-col :span="24"> - <c-col :span="4"> - <el-form-item label="Waive Remitting"> </el-form-item> - </c-col> + </c-col> + <!-- <c-col :span="24"> + <c-col :span="5"> + <el-form-item label="Waive Collecting"> + </el-form-item> + </c-col> <c-col :span="4"> - <el-form-item label="Bank Charges"> + <el-form-item label="Bank Charges"> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" + :code="codes.waicolcod"> + </c-select> + </c-col> --> + + <c-col :span="24" style="width:100%"> + <el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod" style="padding-top:15px"> + + <c-select disabled v-model="model.bodgrp.rec.wairmtcod" style="width:100%" + placeholder="请选择Waive Remitting Bank Charges" :code="codes.wairmtcod"> + </c-select> + </el-form-item> - </c-col> + </c-col> - </c-col> + <!-- <c-col :span="24"> + <c-col :span="4"> + <el-form-item label="Waive Remitting"> + </el-form-item> + </c-col> + <c-col :span="4"> + <el-form-item label="Bank Charges"> + </el-form-item> + </c-col> - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> - </c-select> - </c-col> - - <c-col :span="24"> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges" + :code="codes.wairmtcod"> + </c-select> + </c-col> --> + <c-col :span="24" style="width:100%"> + <el-form-item label="Defer Payment until" prop="bodgrp.rec.othins" style="padding-top:15px"> + + <c-select disabled v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" + :code="codes.othins"> + </c-select> + </el-form-item> + </c-col> + <!-- <c-col :span="24"> <el-form-item label="Defer Payment until"> </el-form-item> - </c-col> - - <c-col :span="24"> - <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> - </c-select> - </c-col> + </c-col> + + <c-col :span="24"> + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" + :code="codes.othins"> + </c-select> + </c-col> --> + <c-col :span="12"> + <el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px"> - <c-col :span="24"> + <c-select disabled v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" + :code="codes.cur"> + </c-select> + + </el-form-item> + </c-col> + <c-col :span="12"> + <c-input style="padding-top:15px" disabled v-model="model.bodgrp.rec.lescom" placeholder="请输入Document Amount"></c-input> + </c-col> + <!-- <c-col :span="24"> <el-form-item label="less comm"> - </el-form-item> - </c-col> + </el-form-item> + </c-col> - <c-col :span="24"> + <c-col :span="24"> <c-col :span="12"> - <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Document Amount"> - </c-select> - </c-col> + <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" + :code="codes.cur"> + </c-select> + </c-col> <c-col :span="12"> - <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> - </c-col> - </c-col> - + <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> + </c-col> + </c-col> --> + </c-col> - </c-row> + </c-row> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botset/Event" +import Event from "~/model/Botdav/Event" export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { } + }, + methods: { ...Event }, + created: function () { + + }, + computed:{ + colinsflg:{ + get(){ + return this.model.bodgrp.blk.colinsflg ==="X"; + }, + set(val){ + this.model.bodgrp.blk.colinsflg=val ? "X":""; + }, + }, + } } + </script> <style> - </style> diff --git a/src/views/Business/Botset/Setp.vue b/src/views/Business/Botset/Setp.vue index 8d4376e..8e0049d 100644 --- a/src/views/Business/Botset/Setp.vue +++ b/src/views/Business/Botset/Setp.vue @@ -122,12 +122,12 @@ <c-input disabled v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input> </el-form-item> </c-col> - <c-col :span="15"> + <c-col :span="18"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat" > <c-date-picker type="date" disabled v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> </el-form-item> </c-col> - <c-col :span="8"> + <c-col :span="5"> <el-form-item label="" label-width="5px" > <c-input disabled v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" ></c-input> </el-form-item> diff --git a/src/views/Business/Botset/Wg.vue b/src/views/Business/Botset/Wg.vue index 6209a5a..49cf3c6 100644 --- a/src/views/Business/Botset/Wg.vue +++ b/src/views/Business/Botset/Wg.vue @@ -1,7 +1,101 @@ <template> <div class="eibs-tab"> - - <c-col :span="12"> + <!-- left --> + <c-col :span="11"> + <c-col :span="24"> + <c-fullbox> + <el-form-item label="申报类型" prop="bopmod.szflg"> + <c-select + v-model="model.bopmod.szflg" + style="width: 100%" + placeholder="请选择申报类型" + > + <el-option + v-for="item in codes.szflg1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + <template slot="footer"> + <el-form-item label="" prop="lendoc.actflg"> + <c-checkbox + v-model="model.lendoc.actflg" + style="margin-left: 10px" + disabled + >基础数据</c-checkbox + > + </el-form-item> + </template> + </c-fullbox> + </c-col> + + <c-col :span="24"> + <el-form-item label="款项来源" prop="bopmod.acttyp"> + <c-select + v-model="model.bopmod.acttyp" + style="width: 100%" + placeholder="请选择款项来源" + disabled + > + <el-option + v-for="item in codes.acttyp" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + </c-col> + <!-- right --> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="地区机构号" prop="bopmod.ownextkey"> + <c-select + v-model="model.bopmod.ownextkey" + style="width: 100%" + placeholder="请选择地区机构号" + disabled + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy"> + <c-select + v-model="model.bopmod.outchargeccy" + placeholder="请选择国外银行扣费(涉外收入申报专用)" + disabled + style="width: 100%" + > + <el-option + v-for="item in codes.curtxt1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="" label-width="5px" prop="bopmod.outchargeamt"> + <c-input + v-model="model.bopmod.outchargeamt" + placeholder="请输入国外银行扣费(涉外收入申报专用)" + disabled + ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + <!-- <c-col :span="12"> <c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> </c-col> @@ -45,30 +139,25 @@ <el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt"> <c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input> </el-form-item> - </c-col> + </c-col> --> </div> </template> <script> -import Api from "~/service/Api" +import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botset/Event" +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Betset/Event"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ - - } -} + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return {}; + }, + methods: { ...Event }, + created: function () {}, +}; </script> <style> - </style> diff --git a/src/views/Business/Botset/index.vue b/src/views/Business/Botset/index.vue index ae07a9c..829a85e 100644 --- a/src/views/Business/Botset/index.vue +++ b/src/views/Business/Botset/index.vue @@ -70,7 +70,7 @@ <!--收账通知(LENDOC\DOCPAN) --> <el-tab-pane label="收账通知" name="docpan1"> - <m-docpan :model="model" :codes="codes"/> + <m-docpan1 :model="model" :codes="codes"/> </el-tab-pane> <!--外管信息 --> @@ -109,16 +109,16 @@ import Pattern from "~/model/Botset/Pattern" import Setp from "./Setp" import Inst from "./Inst" import Ptyp from "./Ptyp" -import Engp from "./Engp" +import Engp from "~/views/Public/Engp" import Setpan from "~/views/Public/Setpan" -import Glepan from "./Glepan" +import Glepan from "~/views/Public/Glepan" import Coninfp from "~/views/Public/Coninfp" import Docpan from "~/views/Public/Docpan" import Doctre from "./Doctre" -import Docpan1 from "./Docpan" +import Docpan1 from "./Docpan1" import Wg from "./Wg" import Cnyp from "./Cnyp" -import Limitbody from "./Limitbody" +import Limitbody from "~/views/Public/Limitbody"; export default { @@ -137,6 +137,7 @@ export default { "m-wg" : Wg, "m-cnyp" : Cnyp, "m-limitbody" : Limitbody, + "m-docpan1" : Docpan1, }, provide() { return { diff --git a/src/views/Business/BusRouter.js b/src/views/Business/BusRouter.js index 1e41529..da90887 100644 --- a/src/views/Business/BusRouter.js +++ b/src/views/Business/BusRouter.js @@ -1,4 +1,7 @@ import Cptadv from "./Cptadv" + +import Botrad from "./Botrad" + import Cptopn from "./Cptopn" import Cptati from "./Cptati" import Cptato from "./Cptato" @@ -169,18 +172,15 @@ import Litame from "./Litame" import Brtdcr from "./Brtdcr" import Brtacp from "./Brtacp" import Brtame from "./Brtame" - import Litrog from "./Litrog" import Litacp from "./Litacp" import Litdla from "./Litdla" import Bctsel from "./Bctsel" - - - /** * 带有name的才会被添加进顶部的标签页里 */ const BusRouter = [ + { path: 'botrad', component: Botrad, name: 'Botrad', meta: { title: '出口托收二次寄单' } }, { path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } }, { path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } }, { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } }, diff --git a/src/views/Business/Detopn/Ovwp.vue b/src/views/Business/Detopn/Ovwp.vue index f944550..c57c121 100644 --- a/src/views/Business/Detopn/Ovwp.vue +++ b/src/views/Business/Detopn/Ovwp.vue @@ -241,22 +241,6 @@ <c-col :span="24"> <el-form-item label="贸易类型" prop="dedgrp.rec.mytype"> <c-select - v-if="model.dedgrp.rec.elcflg == 'N'" - v-model="model.dedgrp.rec.mytype" - style="width: 100%" - placeholder="请选择贸易类型" - @change="mytypeChange" - > - <el-option - v-for="item in codes.mylx" - :key="item.value" - :label="item.label" - :value="item.value" - > - </el-option> - </c-select> - <c-select - v-else v-model="model.dedgrp.rec.mytype" style="width: 100%" placeholder="请选择贸易类型" diff --git a/src/views/Business/Gitcom/Gitsetp1.vue b/src/views/Business/Gitcom/Gitsetp1.vue index 8b955e2..e2b72da 100644 --- a/src/views/Business/Gitcom/Gitsetp1.vue +++ b/src/views/Business/Gitcom/Gitsetp1.vue @@ -196,7 +196,7 @@ </c-col> <c-col :span="24"> - <el-form-item label="" style="margin-left:150px;" prop="model.gitp0.gitp0s20"> + <el-form-item label="" prop="model.gitp0.gitp0s20"> <c-checkbox v-model="model.gitp0.gitp0s20">Add.Amount</c-checkbox> </el-form-item> </c-col> diff --git a/src/views/Business/Gitcom/index.vue b/src/views/Business/Gitcom/index.vue index 3df29ee..9997858 100644 --- a/src/views/Business/Gitcom/index.vue +++ b/src/views/Business/Gitcom/index.vue @@ -24,21 +24,11 @@ <m-gitsetp1 :model="model" :codes="codes"/> </el-tab-pane> - <!--PD000027 --> - <el-tab-pane label="Liability" name="engp"> - <m-engp :model="model" :codes="codes"/> - </el-tab-pane> - <!--PD000000 --> <el-tab-pane label="Settlement" name="setpan"> <m-setpan :model="model" :codes="codes"/> </el-tab-pane> - <!--PD000001 --> - <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"/> @@ -72,17 +62,9 @@ import Check from "~/model/Gitcom/Check" import Default from "~/model/Gitcom/Default" import Pattern from "~/model/Gitcom/Pattern" import Gitsetp1 from "./Gitsetp1" -// import Engp from "./Engp" -// import Setpan from "./Setpan" -// import Glepan from "./Glepan" -// import Coninfp from "./Coninfp" -// import Docpan from "./Docpan" -// import Doctre from "./Doctre" -// import Limitbody from "./Limitbody" -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"; @@ -93,9 +75,7 @@ export default { name: "Gitcom", components:{ "m-gitsetp1" : Gitsetp1, - "m-engp" : Engp, "m-setpan" : Setpan, - "m-glepan" : Glepan, "m-coninfp" : Coninfp, "m-docpan" : Docpan, "m-doctre" : Doctre, diff --git a/src/views/Business/Gitpop/Detpc.vue b/src/views/Business/Gitpop/Detpc.vue index 4534f26..91f2ba8 100644 --- a/src/views/Business/Gitpop/Detpc.vue +++ b/src/views/Business/Gitpop/Detpc.vue @@ -1,7 +1,123 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc"> + <c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc"> + <c-date-picker type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc"> + <c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item label="Object of Contract" prop="gidgrp.blk.covgodsrvc"> + <c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="35" show-word-limit placeholder="请输入Object of Contract" ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodc.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox> + <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrvc"> + vs.&System + </c-button> + <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrvc"> + vs.&History + </c-button> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc"> + <c-input v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc"> + <c-select v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount "> + <el-option + v-for="item in codes.curtxt" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="11" :offset="1"> + <c-input v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplcc"> + <c-input type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input> + </el-form-item> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.accc"> + <c-input v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc"> + <c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law"> + <el-option + v-for="item in codes.ctytxt" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="11" :offset="1"> + <c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc"> + <c-input v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc"> + <c-input v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Tender Date" prop="gidgrp.rec.tendatc"> + <c-date-picker type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdatc"> + <c-date-picker type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Additional Info" prop="gidgrp.blk.addinfc"> + <c-input type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc"> <c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input> </el-form-item> @@ -127,7 +243,7 @@ <c-col :span="12"> <span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitpop/Gidtxtp.vue b/src/views/Business/Gitpop/Gidtxtp.vue index 3467300..dcd8c02 100644 --- a/src/views/Business/Gitpop/Gidtxtp.vue +++ b/src/views/Business/Gitpop/Gidtxtp.vue @@ -4,8 +4,8 @@ <c-col :span="24"> <c-col :span="16"> <c-col :span="24"> - <el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> - <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> + <el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt"> + <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> </el-form-item> </c-col> </c-col> @@ -37,7 +37,25 @@ </c-col> </template> - + <c-col :span="24"> + <c-input + style="margin:5px 0 0 10px;width:50%" + v-model="model.gidgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </c-col> + <c-col :span="24"> + <c-button + disabled + style="margin:5px 0 0 10px" + size="small" + type="primary" + @click="onGitpButgetref" + > + 获取 + </c-button> + </c-col> <c-col :span="24"> <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod"> 修改中文保函文本 @@ -104,7 +122,7 @@ export default { mixins: [commonProcess], data(){ return { - + gidtxt:JSON.stringify("'model.gidgrp.blk.gidtxt'"), } }, methods:{...Event}, diff --git a/src/views/Business/Gitpop/Gidtxtpc.vue b/src/views/Business/Gitpop/Gidtxtpc.vue index 543c8b7..84d06ee 100644 --- a/src/views/Business/Gitpop/Gidtxtpc.vue +++ b/src/views/Business/Gitpop/Gidtxtpc.vue @@ -1,7 +1,71 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="16"> + <c-col :span="24"> + <el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> + <c-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> + </el-form-item> + </c-col> + </c-col> + <c-col :span="6"> + <c-col :span="24"> + <c-input + style="margin:5px 0 0 10px;width:50%" + v-model="model.gidgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </c-col> + <c-col :span="24"> + <c-button + style="margin:5px 0 0 10px" + size="small" + type="primary" + @click="onGitpButgetref" + > + 获取 + </c-button> + </c-col> + <c-col :span="24"> + <c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> + </c-col> + <c-col :span="24"> + <c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox> + </c-col> + + <c-col :span="24"> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc"> + vs. &System + </c-button> + </c-col> + + <c-col :span="24"> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc"> + vs. &History + </c-button> + </c-col> + + <template v-if="model.gitp.gidtxtmodflgc=='X'"> + <c-col :span="24"> + <c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc"> + Show&Text + </c-button> + </c-col> + </template> + + + <c-col :span="24"> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc"> + 修改中文保函文本 + </c-button> + </c-col> + </c-col> + </c-col> + </c-row> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc"> <c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text local undertaking" ></c-input> </el-form-item> @@ -49,7 +113,7 @@ <c-button size="small" type="primary" @click="onGitpGidtxtmodc"> 修改中文保函文本 </c-button> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitpop/Ovwp.vue b/src/views/Business/Gitpop/Ovwp.vue index 6ab698f..7633a5d 100644 --- a/src/views/Business/Gitpop/Ovwp.vue +++ b/src/views/Business/Gitpop/Ovwp.vue @@ -471,8 +471,7 @@ <c-select v-model="model.gidgrp.gidcxm.cxmflg" style="width: 100%" - placeholder="请选择是否显示查询码" - > + placeholder="请选择是否显示查询码"> <el-option v-for="item in codes.cxmflg" :key="item.value" @@ -495,19 +494,56 @@ ></c-input> </el-form-item> </c-col> --> - <c-col :span="24"> - <c-ptap + + <c-col :span="24"> + <el-form-item label="申请人" prop="gidgrp.apl.pts.ref"> + <c-input :disabled="model.gidgrp.ghd.segtyp=='02'" v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="申请人" prop="gidgrp.apl.pts.extkey"> + <c-fullbox> + <c-input :disabled="model.gidgrp.ghd.segtyp=='02'" v-model="model.gidgrp.apl.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.apl.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button size="small" type="primary" @click="onAplpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> + <c-input :disabled="model.gidgrp.ghd.segtyp=='02'" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + + <!-- <c-col :span="24"> + <c-ptap :disabled="model.gidgrp.ghd.segtyp=='02'" :model="model" :argadr="{ title: '申请人', grp: 'gidgrp', rol: 'apl', }" - :disabled="true" @onAplpDet="onAplpDet" > </c-ptap> - </c-col> + </c-col> --> <c-col :span="24"> <c-ptap :model="model" :argadr="{ diff --git a/src/views/Business/Gitpop/Ovwp20.vue b/src/views/Business/Gitpop/Ovwp20.vue index b25c68b..d700418 100644 --- a/src/views/Business/Gitpop/Ovwp20.vue +++ b/src/views/Business/Gitpop/Ovwp20.vue @@ -74,9 +74,9 @@ placeholder="请输入Guarantee Amount" ></c-input> </c-col> - <c-col :span="4" class="centerLable"> + <!-- <c-col :span="4" class="centerLable"> <c-checkbox v-model="model.gidgrp.rec.rejflg">Direct rejection</c-checkbox> - </c-col> + </c-col> --> </c-col> <c-col :span="24"> @@ -98,11 +98,11 @@ ></c-input> <!-- </el-form-item> --> </c-col> - <c-col :span="4" class="centerLable"> + <!-- <c-col :span="4" class="centerLable"> <c-checkbox v-model="model.gitp.aamp.aammod.addamtflg" >Add. Amount</c-checkbox > - </c-col> + </c-col> --> </c-col> <c-col :span="24"> @@ -151,9 +151,9 @@ </c-select> </el-form-item> </c-col> - <c-col :span="4" class="centerLable"> + <!-- <c-col :span="4" class="centerLable"> <c-checkbox v-model="model.gidgrp.rec.revflg">Declaration of Indemnity</c-checkbox> - </c-col> + </c-col> --> </c-col> <c-col :span="24"> @@ -174,9 +174,9 @@ </c-select> </el-form-item> </c-col> - <c-col :span="4" class="centerLable"> + <!-- <c-col :span="4" class="centerLable"> <c-checkbox v-model="model.gidgrp.rec.autrnwflg">Auto-Renewal</c-checkbox> - </c-col> + </c-col> --> </c-col> <c-col :span="24"> @@ -211,9 +211,9 @@ </c-select> </el-form-item> </c-col> - <c-col :span="4" class="centerLable"> + <!-- <c-col :span="4" class="centerLable"> <c-checkbox v-model="model.gidgrp.rec.rmbflg">Reimbursement Information</c-checkbox> - </c-col> + </c-col> --> </c-col> <c-col :span="24"> @@ -251,9 +251,9 @@ </c-select> </el-form-item> </c-col> - <c-col :span="4" class="centerLable"> + <!-- <c-col :span="4" class="centerLable"> <c-checkbox v-model="model.gidgrp.rec.secuilflg">Bilingual Guarantee</c-checkbox> - </c-col> + </c-col> --> </c-col> <c-col :span="24"> @@ -283,7 +283,7 @@ placeholder="请选择Applicable Rules" > <el-option - v-for="item in codes.apprul" + v-for="item in codes.apprulc" :key="item.value" :label="item.label" :value="item.value" @@ -359,9 +359,9 @@ ></c-date-picker> </el-form-item> </c-col> - <c-col :span="6" class="centerLable"> + <!-- <c-col :span="6" class="centerLable"> <c-checkbox v-model="model.gitp.inccormsgflg">Incoming corporate order</c-checkbox> - </c-col> + </c-col> --> </c-col> <c-col :span="24"> diff --git a/src/views/Business/Gitpop/Preperpc.vue b/src/views/Business/Gitpop/Preperpc.vue index 3706603..b362e69 100644 --- a/src/views/Business/Gitpop/Preperpc.vue +++ b/src/views/Business/Gitpop/Preperpc.vue @@ -1,7 +1,88 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric"> + <c-fullbox> + <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak."> + <el-option + v-for="item in codes.deloric" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + <template slot="footer" > + <c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc"> + <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By"> + <el-option + v-for="item in codes.deltoc" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc"> + <c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc"> + <c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc"> + vs. S&ystem + </c-button> + <c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc"> + vs. &History + </c-button> + </c-col> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc"> + <c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel"> + ... + </c-button> + + <c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox> + </c-col> + + </c-col> + <c-col :span="24"> + <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc"> + <c-input aria-disabled="" rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric"> <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak."> </c-select> @@ -83,7 +164,7 @@ <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc"> <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> </el-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitpop/Ptyp.vue b/src/views/Business/Gitpop/Ptyp.vue index c95ef96..afe626a 100644 --- a/src/views/Business/Gitpop/Ptyp.vue +++ b/src/views/Business/Gitpop/Ptyp.vue @@ -3,7 +3,43 @@ <c-row> <c-col :span="24"> <c-col :span="11"> - <c-col :span="24"> + <c-col :span="24"> + <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref"> + <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.apl.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.apl.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button size="small" type="primary" @click="onAplpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <!--@click="onSeainf(`gidgrp.apl.ptsget.sdamod`)" <c-col :span="24"> <c-ptap :model="model" :argadr="{ @@ -15,7 +51,44 @@ @onAplpDet="onAplpDet" > </c-ptap> - </c-col> + </c-col> --> + + + <!-- <c-col :span="24"> + <el-form-item label="Accountee/ObI .ref" prop="gidgrp.ctr.pts.ref"> + <c-input v-model="model.gidgrp.ctr.pts.ref" maxlength="16" placeholder="请输入Reference for Address Optional"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Accountee/ObI" prop="gidgrp.ctr.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.ctr.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.ctr.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button size="small" type="primary" @click="onConpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="地址名称" prop="gidgrp.ctr.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> --> <c-col :span="24"> <c-ptap v-if="model.gitp.swiftflg=='Y'" @@ -58,7 +131,7 @@ </c-ptap> </c-col> - <c-col :span="24"> + <!-- <c-col :span="24"> <c-ptap :model="model" :argadr="{ title: '受益人', grp: 'gidgrp', @@ -68,7 +141,7 @@ :isAdrblk="false" @onAplpDet="onBenpDet"> </c-ptap> - </c-col> + </c-col> --> <c-col :span="24"> <c-ptap v-if="model.gitp.swiftflg=='Y'" diff --git a/src/views/Business/Gitpop/Ptypc.vue b/src/views/Business/Gitpop/Ptypc.vue index 9060c35..4342079 100644 --- a/src/views/Business/Gitpop/Ptypc.vue +++ b/src/views/Business/Gitpop/Ptypc.vue @@ -4,14 +4,49 @@ <c-col :span="24"> <c-col :span="12"> + <!-- <c-col :span="24"> + <el-form-item label="Applicant Ref." prop="gidgrp.apc.pts.ref"> + <c-input v-model="model.gidgrp.apc.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Applicant" prop="gidgrp.apc.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.apc.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.apc.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + @click="onSeainf(`gidgrp.apc.pts.extkey`)" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button size="small" type="primary" @click="onApcpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Name of Party" prop="gidgrp.apc.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.apc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </c-col> --> + <c-col :span="24"> <c-ptap :model="model" :argadr="{ title: 'Applicant', grp: 'gidgrp', rol: 'apc', }" - :disabled="false" - @onAplpDet="onApcpDet"> + :disabled="false"> </c-ptap> </c-col> @@ -33,7 +68,7 @@ rol: 'bec', }" :disabled="false" - @onAplpDet="onCtcpDet"> + @onAplpDet="onBecpDet"> </c-ptap> </c-col> </c-col> @@ -51,7 +86,7 @@ <c-col :span="24"> <c-ptap :model="model" :argadr="{ - title: 'Issuing Bank', + title: 'Ultimate Ben Bank', grp: 'gidgrp', rol: 'ben', }" @@ -59,6 +94,37 @@ @onAplpDet="onCtcpDet"> </c-ptap> </c-col> + + <c-col :span="24"> + <el-form-item label="Avail. with Bank Ref." prop="gidgrp.avc.pts.ref"> + <c-input disabled v-model="model.gidgrp.avc.pts.ref" maxlength="16" placeholder="请输入Avail. with Bank Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="External Key of Address" prop="gidgrp.avc.pts.extkey"> + <c-fullbox> + <c-input disabled v-model="model.gidgrp.avc.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + icon="el-icon-search" + @click="onSeainf(`gidgrp.avc.pts.extkey`)" + > + </c-button> + <c-button size="small" type="primary" @click="onAvcpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam"> + <c-input disabled v-model="model.gidgrp.avc.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </c-col> </c-col> </c-col> </c-row> @@ -286,11 +352,10 @@ import commonFuncs from "~/mixin/commonFuncs"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Gitpop/Event" import Ptap from "~/views/Public/Ptap"; -import PtapDome from "~/views/Public/PtapDome"; + export default { components: { "c-ptap": Ptap, - "c-ptapdome": PtapDome, }, inject: ['root'], props:["model","codes"], diff --git a/src/views/Business/Gitpop/index.vue b/src/views/Business/Gitpop/index.vue index 6c3dbdf..72d03c7 100644 --- a/src/views/Business/Gitpop/index.vue +++ b/src/views/Business/Gitpop/index.vue @@ -143,17 +143,33 @@ </c-content> </el-tab-pane> - <el-tab-pane label="Seq C : Overview" name="ovwpc"> + <el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Overview" name="ovwpc"> <c-content> <m-ovwpc :model="model" :codes="codes"/> </c-content> </el-tab-pane> - <el-tab-pane label="Seq C : Parties" name="ptypc"> + <el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Parties" name="ptypc"> <c-content> <m-ptypc :model="model" :codes="codes"/> </c-content> </el-tab-pane> + + <el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='iCCO'" label="Seq C : Presentation/Delivery" name="preperpc"> + <c-content> + <m-preperpc :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + <el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Details" name="detpc"> + <c-content> + <m-detpc :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + <el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Undertaking Text" name="gidtxtpc"> + <c-content> + <m-gidtxtpc :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> </c-tabs> </el-form> @@ -183,6 +199,9 @@ import Decrea from "./Decrea" import Detpp from "./Detpp" import Ovwpc from "./Ovwpc" import Ptypc from "./Ptypc" +import Preperpc from "./Preperpc" +import Detpc from "./Detpc" +import Gidtxtpc from "./Gidtxtpc" import Setpan from "~/views/Public/Setpan"; import Coninfp from "~/views/Public/Coninfp"; @@ -212,6 +231,9 @@ export default { "m-detpp" :Detpp, "m-ovwpc" :Ovwpc, "m-ptypc" : Ptypc, + "m-preperpc" :Preperpc, + "m-detpc" :Detpc, + "m-gidtxtpc" :Gidtxtpc, }, provide() { return { diff --git a/src/views/Business/Gitsel/index.vue b/src/views/Business/Gitsel/index.vue index 2391ead..2047c3c 100644 --- a/src/views/Business/Gitsel/index.vue +++ b/src/views/Business/Gitsel/index.vue @@ -4,7 +4,7 @@ <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <!--PD000126 --> - <el-tab-pane label="Menu" name="sel"> + <el-tab-pane label="PD000126" name="sel"> <m-sel :model="model" :codes="codes"/> </el-tab-pane> </c-tabs> @@ -35,14 +35,15 @@ export default { mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 data(){ return { - tabVal: "sel", + tabVal: "", trnName: "gitsel", model: new Gitsel().data, checkRules: Check, defaultRules: Default, pattern: Pattern, rules: null, - codes: {...CodeTable}, + codes: { + }, } }, methods:{ diff --git a/src/views/Business/Infbod/BusNavbar.vue b/src/views/Business/Infbod/BusNavbar.vue new file mode 100644 index 0000000..32e8180 --- /dev/null +++ b/src/views/Business/Infbod/BusNavbar.vue @@ -0,0 +1,126 @@ +<template> + <div class="busnavbar"> + <div class="busnavbar-items"> + <c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button> + </div> + </div> +</template> +<script> +import Api from "~/service/Api" +import CodeTable from "~/config/CodeTable" +import Litsel from "~/model/Ditsel" +import commonProcess from "~/mixin/commonProcess" + + +export default { + props:["ownref"], + components:{ + + }, + mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 + data(){ + return { + trnName:'ditsel', + model:new Litsel().data, + navcode:[ + // {code:"",label:"",isDis:"",title:""}, + ], + } + }, + methods:{ + //各入口按钮请求 + async onNarBtnClick(code,i){ + this.model.cfgfil.subtrn1= code + let rtnmsg = await this.executeRule("cfgfil.hotsub1") + console.log("cfgfil.code:" + this.model.cfgfil.subtrn1); + if(rtnmsg.respCode == SUCCESS){ + this.navcode = [] + this.$emit("onChoose",code.toLowerCase()); + }else{ + this.$notify.error({ title: "错误", message: "服务请求失败!" }); + } + + }, + + }, + computed:{ + codeList(){ + //将model中的数据映射成数组 + return this.navcode.map(item=>{ + let entireItem = {...item} + this.navcode = []; + //TODO 根据数据判断当前的code,是否可以继续 + // entireItem.enable = item.isDis + return entireItem + }) + } + }, + watch:{ + "ownref":async function(n, o){ + if(!this.ownref){ + console.log("11111") + // onTigger() + return; + } + } + }, + + mounted(){ + this.$nextTick(function(){ + this.$on('childmethods',async function(){ + this.navcode = [] + //请求按钮数据 + this.model.didgrp.rec.ownref = this.ownref + console.log("ownref:" + this.ownref ); + + let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref + if(rtnmsg.respCode == SUCCESS){ + //重置数组 + this.navcode = [] + this.updateModel(rtnmsg.data) + //this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows + //给inr赋值,后面弹窗里面的按钮请求会用到 + //this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr + const length = this.model.cfgfil.btnstm.rows.length + let btnStr = this.model.cfgfil.btnstm.rows + let j = 0; + let m = 0; + const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行'] + for(let i=0; i < length; i++){ + //获取数组中每行的数据 + if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){ + let arr = btnStr[i].split("\t"); + let newList = { + code:arr[0], + label:arr[1], + isDis:arr[2], + title:arr[3] + } + m++; + j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, "")); + if(j<0){ + j = m; + } + //添加到navcode数组中 + this.navcode.splice(j,0,newList) + } + + } + + + }else{ + this.navcode = [] + this.$notify.error({ title: "错误", message: "服务请求失败!" }); + } + + }) + }) + } + + +} +</script> +<style> + + +</style> diff --git a/src/views/Business/Infbod/Cbeinfp.vue b/src/views/Business/Infbod/Cbeinfp.vue new file mode 100644 index 0000000..af91096 --- /dev/null +++ b/src/views/Business/Infbod/Cbeinfp.vue @@ -0,0 +1,34 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="stream of CBEs" prop="infcon.cbestm"> + <c-input v-model="model.infcon.cbestm" placeholder="请输入stream of CBEs"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Cbsinfp.vue b/src/views/Business/Infbod/Cbsinfp.vue new file mode 100644 index 0000000..fdb7961 --- /dev/null +++ b/src/views/Business/Infbod/Cbsinfp.vue @@ -0,0 +1,41 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="CBS Column" prop="infcon.cbctxt"> + <c-select v-model="model.infcon.cbctxt" style="width:100%" placeholder="请选择CBS Column"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream of CBBs" prop="infcon.cbbstm"> + <c-input v-model="model.infcon.cbbstm" placeholder="请输入stream of CBBs"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Coninfp.vue b/src/views/Business/Infbod/Coninfp.vue new file mode 100644 index 0000000..7644897 --- /dev/null +++ b/src/views/Business/Infbod/Coninfp.vue @@ -0,0 +1,74 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt"> + <c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev"> + <c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt"> + <c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev"> + <c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="执行日期" prop="mtabut.coninf.conexedat"> + <c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="User ID" prop="mtabut.coninf.usr.extkey"> + <c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Fepinfp.vue b/src/views/Business/Infbod/Fepinfp.vue new file mode 100644 index 0000000..d13e96b --- /dev/null +++ b/src/views/Business/Infbod/Fepinfp.vue @@ -0,0 +1,69 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Fee Code" prop="infcon.fepfeecod"> + <c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Disposition" prop="infcon.fepdsp"> + <c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm"> + <c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="Disposition" prop="infcon.fcpdsp"> + <c-select v-model="model.infcon.fcpdsp" style="width:100%" placeholder="请选择Disposition"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream of foreign charges" prop="infcon.fcpstm"> + <c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl" > </span> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Gleinfp.vue b/src/views/Business/Infbod/Gleinfp.vue new file mode 100644 index 0000000..24859d7 --- /dev/null +++ b/src/views/Business/Infbod/Gleinfp.vue @@ -0,0 +1,52 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Booking date from" prop="infcon.seabucdatfro"> + <c-date-picker type="date" v-model="model.infcon.seabucdatfro" style="width:100%" placeholder="请选择Booking date from"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Booking date till used on GLEINFP" prop="infcon.seabucdatto"> + <c-date-picker type="date" v-model="model.infcon.seabucdatto" style="width:100%" placeholder="请选择Booking date till used on GLEINFP"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Transaction INR" prop="infcon.seatrninr"> + <c-input v-model="model.infcon.seatrninr" maxlength="8" placeholder="请输入Transaction INR"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Stream of GLEs" prop="infcon.glestm"> + <c-input v-model="model.infcon.glestm" placeholder="请输入Stream of GLEs"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Infsea.vue b/src/views/Business/Infbod/Infsea.vue new file mode 100644 index 0000000..e509af2 --- /dev/null +++ b/src/views/Business/Infbod/Infsea.vue @@ -0,0 +1,363 @@ +<template> + <div class="eibs-tab"> + <c-list-search @form-reset="handleReset" @form-search="handleSearch"> + <!-- 持续展示区 --> + <template v-slot="searchSlot"> + <el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right" label-width="110px" + size="small"> + <c-row> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="业务编号" prop="infcon.seaownref" style="width: 100%"> + <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"> + </c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <c-col :span="12"> + <el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%"> + <c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%" + placeholder="请选择Opening between"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="Open Date to" prop="infcon.opndatto" style="width: 100%"> + <c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%" + placeholder="请选择Open Date to"></c-date-picker> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="8"> + <el-form-item label="Party Reference" prop="infcon.searef" style="width: 100%"> + <c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference"></c-input> + </el-form-item> + </c-col> + </c-col> + </c-row> + + <c-row v-show="searchSlot.searchToggle"> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="Release Status" prop="infcon.relflg" style="width: 100%"> + <c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择Release Status"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="Handling Type" prop="infcon.hndtyp" style="width: 100%"> + <c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择Handling Type"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="Select Single Party" prop="infcon.pty.extkey" style="width: 100%"> + <c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party"> + </c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="External Visible Name" prop="infcon.pty.nam" style="width: 100%"> + <c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入External Visible Name"> + </c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%"> + <c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="Role" prop="infcon.searol" style="width: 100%"> + <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role"> + </c-select> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="名称" prop="infcon.nam" style="width: 100%"> + <c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="User ID" prop="infcon.usr.extkey" style="width: 100%"> + <c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="Status" prop="infcon.seasta" style="width: 100%"> + <c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status"> + </c-select> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="Currency" prop="infcon.seacur" style="width: 100%"> + <c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择Currency"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="是否显示查询码" prop="infcon.cxmflg" style="width: 100%"> + <c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="8"> + <c-col :span="12"> + <el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%"> + <c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between"></c-input> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="Amount to" prop="infcon.seaamtto" style="width: 100%"> + <c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + + <!-- <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="display stream" prop="infbut.dspstm" style="width: 100%"> + <c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input> + </el-form-item> + </c-col> + </c-col> --> + </c-row> + </el-form> + </template> + </c-list-search> + + + + + + <!-- <c-col :span="2"> + <c-button size="small" type="primary" @click="onInfbutDsp" class="btn"> + Display + </c-button> + </c-col> --> + <!-- <c-col :span="2"> + <c-button size="small" type="primary" @click="onInfbutUserow" class="btn"> + Use + </c-button> + </c-col> --> + <!-- <c-col :span="2"> + <c-button size="small" type="primary" @click="onInfbutClr" class="btn"> + Clear + </c-button> + </c-col> --> + <!-- <c-col :span="2"> + <c-button size="small" type="primary" @click="onInfbutButprt" class="btn"> + 导Excel + </c-button> + </c-col> --> + <!-- <c-col :span="2"> + <c-button size="small" type="primary" @click="onInfbutSearow" class="btn"> + Search + </c-button> + </c-col> --> + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onInfbutExi"> + E&xit + </c-button> + </c-col> --> + + + <c-col :span="8" style="margin-top:15px"> + <el-form-item label="Payment Condition" prop="seadoctypcod" style="width: 100%"> + <c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24" style="margin-top: 10px"> + <c-button class="medium_bcs" size="medium" style="margin-left: 0px" type="primary" @click="toBotdav">寄单</c-button> + </c-col> + + <c-col :span="24"> + <c-istream-table :list="stmData.data" :columns="stmData.columns"> + <el-table-column fixed="right" prop="op" label="操作" width="150px"> + <template slot="header"> + <c-col :span="11" style="text-align: left"><span>操作</span></c-col> + <c-col :span="12" style="text-align: right"> + <c-button icon="el-icon-s-tools"></c-button> + </c-col> + </template> + <template slot-scope="scope"> + <el-popover placement="top-start" title="历史信息" width="800" trigger="click" + :ref="'popover_' + scope.row.IDX"> + <div style=" text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;"> + <span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" /> + </div> + <c-istream-table :list="trnData.data" :columns="trnData.columns"> + <el-table-column prop="op" label="操作" width="0"> + <template slot-scope="scope"> + <c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])">详情</c-button> + </template> + </el-table-column> + </c-istream-table> + <c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)" + slot="reference">详情</c-button> + </el-popover> + <c-button style="margin-left: 0" size="small" type="primary" @click="getButtons(scope.row['Reference'])">处理 + </c-button> + </template> + </el-table-column> + </c-istream-table> + </c-col> + + <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> + <div class="m-list-btns"> + <m-busbtn ref="childs" :ownref="ownref" :model="infbodModel" trnCode="infbod" @onChoose="onChoose">11</m-busbtn> + </div> + </el-dialog> + </div> +</template> +<script> +import Utils from "~/utils/index"; +import Api from "~/service/Api"; +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Infbod/Event"; + +import InfbodModel from "~/model/Infbod" +import BusNavbar from "~/BusNavbar.vue"; + +export default { + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + components: { "m-busbtn": BusNavbar }, + data() { + return { + infbodModel: new InfbodModel().data, + ownref: "", + initdialog: false, + dialogTableVisible: false, + trnData: { + columns: [ + '1 1 "编号" 200', + '2 2 "交易名称" 120', + // '3 3 "日期" 200', + { index: 3, position: 3, width: 110, pattern: 'date', label: '日期' }, + // '4 4 "状态" 50', + { index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN }, + '5 5 "币种" 80', + '6 6 "金额" 110', + ], + data: [], + }, + stmData: { + columns: [ + '1 1 "Reference" 150', + '2 2 "Resp. User" 100', + '3 3 "Opened" 200 4 7', + '4 4 "Closed" 200 4 7', + '5 5 "分行名称" 200', + '6 6 "Party Number" 150', + '7 7 "Drawee" 133', + '8 8 "PTA NO." 100', + '9 9 "Party Number" 150', + '10 10 "Drawer" 300', + '11 11 "Invoice No." 133', + '12 12 "Drawer CN" 150', + '13 13 "Party Number" 150', + '14 14 "Collecting Bank" 200', + '15 15 "Cur" 50', + '16 16 "Doc.Amount" 150 2 8 1 15', + '17 17 "Cur" 50', + ], + data: [], + }, + }; + }, + methods: { + ...Event, + async getButtons(ownref) { + this.initdialog = true; + this.ownref = ownref + console.log("ownref:" + ownref); + setTimeout(() => { + this.$refs.childs.$emit("childmethods") + }, 10) + }, + async onChoose(code) { + //跳转交易 + this.$router.history.push("/business/" + code) + this.initdialog = false; + }, + closeTrn(refId) { + this.$refs[refId].doClose(); + }, + async getTrnInfo(idx, row) { + + this.model.infcon.objinr = row["INR"]; + this.model.bodgrp.rec.inr = row["INR"]; + this.model.infcon.chksubcon = "X"; + + this.dialogTableVisible = true; + + let rtnmsg = await this.executeDefault("infcon.chksubcon"); + console.log(rtnmsg); + console.log(this.model.infcon.chksubcon); + + if ((rtnmsg.respCode = SUCCESS)) { + this.trnData.data = rtnmsg.data.infcon_trnstm.rows; + console.log(this.trnData.data); + } + }, + async getDitSelInfo(idx, row) { + //TD中选中行触发 + var params = { selDst: "infbut.dspstm", selIds: [idx + 1] } + let rtnmsg = await this.executeRule("infbut.dspstm", params); + if (rtnmsg.respCode = SUCCESS) { + this.updateModel(rtnmsg.data); + // Utils.copyValueFromVO(this.model, rtnmsg.data); + //TD中点击display时触发 + params = { selDst: "infbut.dsp", selIds: [idx + 1] } + let rtnmsgNew = await this.executeRule("infbut.dsp", params); + + if (rtnmsgNew.respCode = SUCCESS) { + console.log(rtnmsgNew); + this.updateModel(rtnmsgNew.data); + + let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit"); + + if (rtnmsgOitset.respCode = SUCCESS) { + Utils.copyValueFromVO(this.model, rtnmsgOitset.data); + + } + + } + } + //触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏 + this.$emit('updateShowPanel', true) + + }, + toBotdav() { + this.$router.history.push("/business/botdav") + } + }, + created: function () { }, +}; +</script> +<style> +</style> diff --git a/src/views/Business/Infbod/Inst.vue b/src/views/Business/Infbod/Inst.vue new file mode 100644 index 0000000..f3825e2 --- /dev/null +++ b/src/views/Business/Infbod/Inst.vue @@ -0,0 +1,130 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Collection Instructions" prop="bodgrp.blk.colins"> + <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Our Charges to" prop="bodgrp.rec.chato"> + <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt"> + <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Protest Instructions" prop="bodgrp.rec.waicolcod"> + <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Protest Instructions" prop="bodgrp.blk.proins"> + <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod"> + <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Other Instructions" prop="bodgrp.blk.othins"> + <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> + ... + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Defer Payment until" prop="bodgrp.rec.othins"> + <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Warehouse/Insurance" prop="bodgrp.rec.lescom"> + <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Delivery instructions" prop="bodgrp.blk.delins"> + <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel"> + ... + </c-button> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Gitcom/Engp.vue b/src/views/Business/Infbod/Instrecp.vue similarity index 64% rename from src/views/Business/Gitcom/Engp.vue rename to src/views/Business/Infbod/Instrecp.vue index f26a9de..61edb56 100644 --- a/src/views/Business/Gitcom/Engp.vue +++ b/src/views/Business/Infbod/Instrecp.vue @@ -1,60 +1,60 @@ <template> <div class="eibs-tab"> - + <c-col :span="12"> - <el-form-item label="Sight Amount" prop="liaall.outamt"> - <c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input> + <el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins"> + <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> </el-form-item> - </c-col> - + </c-col> + <c-col :span="12"> - <el-form-item label="Sight Amount Percentage" prop="liaall.outpct"> - <c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input> + <el-form-item label="Interest Instructions" prop="bodgrp.blk.intins"> + <c-input type="textarea" v-model="model.bodgrp.blk.intins" maxlength="65" show-word-limit placeholder="请输入Interest Instructions" ></c-input> </el-form-item> - </c-col> - + </c-col> + <c-col :span="12"> - <el-form-item label="External Booking Amount" prop="liaall.concur"> - <c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input> + <el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo"> + <c-input type="textarea" v-model="model.bodgrp.blk.setinsbo" maxlength="65" show-word-limit placeholder="请输入Settlement insrtrctions" ></c-input> </el-form-item> - </c-col> + </c-col> <c-col :span="12"> - <el-form-item label="Amount not yet assigned" prop="liaall.misamt"> - <c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onLiaallButmisamt"> - Add to Current Line + <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> + ... </c-button> </c-col> - + <c-col :span="12"> - <c-button size="small" type="primary" @click="onLiaallButmissig"> - Add to Sight Amount - </c-button> - </c-col> + <el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut"> + <c-input type="textarea" v-model="model.bodgrp.blk.agtaut" maxlength="35" show-word-limit placeholder="请输入Authority of Agent" ></c-input> + </el-form-item> + </c-col> <c-col :span="12"> - <el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt"> - <c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input> + <el-form-item label="Shipment from" prop="bodgrp.rec.shpfro"> + <c-input v-model="model.bodgrp.rec.shpfro" maxlength="40" placeholder="请输入Shipment from"></c-input> </el-form-item> </c-col> <c-col :span="12"> - <el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt"> - <c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input> + <el-form-item label="For Transportation to" prop="bodgrp.rec.shpto"> + <c-input v-model="model.bodgrp.rec.shpto" maxlength="40" placeholder="请输入For Transportation to"></c-input> </el-form-item> </c-col> - </div> + + <c-col :span="12"> + <el-form-item label="Description of Goods" prop="bodgrp.blk.goddes"> + <c-input type="textarea" v-model="model.bodgrp.blk.goddes" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input> + </el-form-item> + </c-col> + </div> </template> <script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" -import Event from "~/model/Gitcom/Event" +import Event from "~/model/Infbod/Event" export default { inject: ['root'], diff --git a/src/views/Business/Infbod/Liainfp.vue b/src/views/Business/Infbod/Liainfp.vue new file mode 100644 index 0000000..2bc9bdc --- /dev/null +++ b/src/views/Business/Infbod/Liainfp.vue @@ -0,0 +1,34 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Stream for all engagements to selected contract" prop="infcon.liastm"> + <c-input v-model="model.infcon.liastm" placeholder="请输入Stream for all engagements to selected contract"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Ordpan.vue b/src/views/Business/Infbod/Ordpan.vue new file mode 100644 index 0000000..6030809 --- /dev/null +++ b/src/views/Business/Infbod/Ordpan.vue @@ -0,0 +1,40 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Stream for Orders for Contract" prop="infcon.ordstm"> + <c-input v-model="model.infcon.ordstm" placeholder="请输入Stream for Orders for Contract"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onInfconButshword"> + &Display + </c-button> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Ovwp.vue b/src/views/Business/Infbod/Ovwp.vue new file mode 100644 index 0000000..10bd240 --- /dev/null +++ b/src/views/Business/Infbod/Ovwp.vue @@ -0,0 +1,436 @@ +<template> + <div class="eibs-tab"> + + <!-- <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="recpan.recget.sdamod.dadsnd"> + <c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> --> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Reference" prop="bodgrp.rec.ownref"> + <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="Name" prop="bodgrp.rec.nam"> + <c-input v-model="model.bodgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> + </el-form-item> + </c-col> + </c-col> + + <!-- <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary"<c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + @click="onSeainf" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + @click="onSeainf" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> --> + + <!-- <c-col :span="12"> + <el-form-item label="" prop="recpan.recget.sdamod.seainf"> + <c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> --> + + + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onRecpanButgetref"> + Get Ref + </c-button> + </c-col> --> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="Responsible User" prop="recpan.usr.extkey"> + <c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入Responsible User"> + </c-input> + </el-form-item> + </c-col> + <c-col :span="3" :offset="1"> + <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox> + </c-col> + <c-col :span="12"> + <el-form-item label="Drawer ref" prop="recpan.usrget.sdamod.seainf"> + <c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Drawer" prop="bodgrp.drr.pts.ref"> + <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input> + </el-form-item> + </c-col> + + <c-col :span="5"> + <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur"> + <c-select v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="7"> + <el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt"> + <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="8"> + <el-form-item label="Drag Drop Sender" prop="recpan.drrp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.recpan.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"> + </c-input> + </el-form-item> + </c-col> + <c-col :span="3" :offset="1"> + <c-checkbox v-model="model.bodgrp.rec.resflg">Reservated Contract</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey"> + <c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16" + placeholder="请输入External Key of Address"> + </c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="12"> + <el-form-item label="sdamod.seainf" prop="recpan.drrp.ptsget.sdamod.seainf"> + <c-input v-model="model.recpan.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onDrrpDet"> + Details + </c-button> + </c-col> --> + + <c-col :span="12"> + <el-form-item label="名称" prop="bodgrp.drr.namelc"> + <c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit + placeholder="请输入名称"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur"> + <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Warehouse/Insurance"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.amt"> + <c-input v-model="model.bodgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk"> + <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" show-word-limit + placeholder="请输入Address Block"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn"> + <c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit + placeholder="请输入Chinese address"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%" + placeholder="请选择Order Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Financial Document" prop="bodgrp.rec.paydoctyp"> + <c-select v-model="model.bodgrp.rec.paydoctyp" style="width:100%" placeholder="请选择Financial Document"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Shipment date" prop="bodgrp.rec.shpdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.shpdat" style="width:100%" + placeholder="请选择Shipment date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="地址" prop="bodgrp.drr.adrelc"> + <c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit + placeholder="请输入地址"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Presentation Date" prop="bodgrp.rec.predat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%" + placeholder="请选择Presentation Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Dispatched on" prop="bodgrp.rec.advdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.advdat" style="width:100%" + placeholder="请选择Dispatched on"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref"> + <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> + <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="recpan.colp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.recpan.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="External Key of Address" prop="bodgrp.col.pts.extkey"> + <c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"> + </c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="recpan.colp.ptsget.sdamod.seainf"> + <c-input v-model="model.recpan.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onColpDet"> + Details + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" + placeholder="请选择Maturity Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Maturity Date" prop="bodgrp.rec.invtyp"> + <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" placeholder="请选择Maturity Date"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="名称" prop="bodgrp.col.namelc"> + <c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit + placeholder="请输入名称"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk"> + <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" show-word-limit + placeholder="请输入Address Block"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn"> + <c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit + placeholder="请输入Chinese address"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> + <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Document Number" prop="bodgrp.rec.paydocnum"> + <c-input v-model="model.bodgrp.rec.paydocnum" maxlength="16" placeholder="请输入Document Number"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="地址" prop="bodgrp.col.adrelc"> + <c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit + placeholder="请输入地址"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> + <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Issued on" prop="bodgrp.rec.issdat"> + <c-date-picker type="date" v-model="model.bodgrp.rec.issdat" style="width:100%" + placeholder="请选择Issued on"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.ccdndrflg">Truncation - Physical Document Kept w OWN</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet"> + <c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit + placeholder="请输入Tenor Details Text"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drawee" prop="bodgrp.dre.pts.ref"> + <c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bodgrp.rec.ccdpurflg">Payment Under Reserve</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Instructions Received" prop="bodgrp.blk.cctinsrcv"> + <c-input type="textarea" v-model="model.bodgrp.blk.cctinsrcv" maxlength="35" show-word-limit + placeholder="请输入Instructions Received"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.recpan.docgrdm.docdsclab" data-path=".recpan.docgrdm.docdsclab"> </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="recpan.drep.ptsget.sdamod.dadsnd"> + <c-input v-model="model.recpan.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="External Key of Address" prop="bodgrp.dre.pts.extkey"> + <c-input v-model="model.bodgrp.dre.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"> + </c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="recpan.drep.ptsget.sdamod.seainf"> + <c-input v-model="model.recpan.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onDrepDet"> + Details + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="名称" prop="bodgrp.dre.namelc"> + <c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit + placeholder="请输入名称"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk"> + <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit + placeholder="请输入Address Block"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn"> + <c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit + placeholder="请输入Chinese address"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="地址" prop="bodgrp.dre.adrelc"> + <c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit + placeholder="请输入地址"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Collection Instruction" prop="bodgrp.blk.cctinscol"> + <c-input type="textarea" v-model="model.bodgrp.blk.cctinscol" maxlength="35" show-word-limit + placeholder="请输入Collection Instruction"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty"> + <c-select v-model="model.bodgrp.rec.stacty" style="width:100%" + placeholder="请选择Country Code Risk Country!"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Goods Code" prop="bodgrp.rec.stagod"> + <c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code"> + </c-select> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + + } + }, + methods: { ...Event }, + created: function () { + + } +} +</script> +<style> +</style> diff --git a/src/views/Business/Infbod/Peninfp.vue b/src/views/Business/Infbod/Peninfp.vue new file mode 100644 index 0000000..319a8a5 --- /dev/null +++ b/src/views/Business/Infbod/Peninfp.vue @@ -0,0 +1,79 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.sptinc">Incoming</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.sptreg">Registered</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.sptpen">Pending</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.sptcor">Correction</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.sptdel">Deleted</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream for SPT to selected contract" prop="infcon.sptstm"> + <c-input v-model="model.infcon.sptstm" placeholder="请输入stream for SPT to selected contract"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Date from" prop="infcon.diadatfrom"> + <c-date-picker type="date" v-model="model.infcon.diadatfrom" style="width:100%" placeholder="请选择Date from"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="date till" prop="infcon.diadatto"> + <c-date-picker type="date" v-model="model.infcon.diadatto" style="width:100%" placeholder="请选择date till"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Status" prop="infcon.diasta"> + <c-select v-model="model.infcon.diasta" style="width:100%" placeholder="请选择Status"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream for diaries to selected contract" prop="infcon.diastm"> + <c-input v-model="model.infcon.diastm" placeholder="请输入stream for diaries to selected contract"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Prtpan.vue b/src/views/Business/Infbod/Prtpan.vue new file mode 100644 index 0000000..534fcfe --- /dev/null +++ b/src/views/Business/Infbod/Prtpan.vue @@ -0,0 +1,34 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="XMLPanel prtpan的内置block" prop="prtpanblk"> + <c-input type="textarea" v-model="model.prtpanblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtpan的内置block" ></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Ptyp.vue b/src/views/Business/Infbod/Ptyp.vue new file mode 100644 index 0000000..2a1ed3b --- /dev/null +++ b/src/views/Business/Infbod/Ptyp.vue @@ -0,0 +1,66 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="24"> + <div class="e-table-wrapper"> + <el-table + :data="model.recpan.ptsaddp.ptsaddg" + style="width: 100%" + > + <el-table-column + prop="rol" + label="角色" + sortable + width="100"> + </el-table-column> + <el-table-column + prop="ptyextkey" + label="机构" + sortable + width="100"> + </el-table-column> + <el-table-column + prop="nam" + label="" + sortable + width="100"> + </el-table-column> + <el-table-column + prop="ref" + label="名称" + sortable + width="100"> + </el-table-column> + </el-table> + <!-- <el-pagination + layout="prev, pager, next" + :total="pager.recpan_ptsaddp_ptsaddg.total"> + </el-pagination> --> + </div> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Sepinfp.vue b/src/views/Business/Infbod/Sepinfp.vue new file mode 100644 index 0000000..1a3d412 --- /dev/null +++ b/src/views/Business/Infbod/Sepinfp.vue @@ -0,0 +1,42 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.setflg">show temporary settlement that already settled</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.sepdelflg">show temporary settlement that already deleted</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream of SEPs" prop="infcon.sepstm"> + <c-input v-model="model.infcon.sepstm" placeholder="请输入stream of SEPs"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Smhinfp.vue b/src/views/Business/Infbod/Smhinfp.vue new file mode 100644 index 0000000..c06a09b --- /dev/null +++ b/src/views/Business/Infbod/Smhinfp.vue @@ -0,0 +1,64 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="Type of Document" prop="infcon.smhcortyp"> + <c-select v-model="model.infcon.smhcortyp" style="width:100%" placeholder="请选择Type of Document"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Created between " prop="infcon.smhdatfrom"> + <c-date-picker type="date" v-model="model.infcon.smhdatfrom" style="width:100%" placeholder="请选择Created between "></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="created till" prop="infcon.smhdatto"> + <c-date-picker type="date" v-model="model.infcon.smhdatto" style="width:100%" placeholder="请选择created till"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Direction" prop="infcon.smhdir"> + <c-select v-model="model.infcon.smhdir" style="width:100%" placeholder="请选择Direction"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="stream of documents to selected contract" prop="infcon.smhstm"> + <c-input v-model="model.infcon.smhstm" placeholder="请输入stream of documents to selected contract"></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/Trnpan.vue b/src/views/Business/Infbod/Trnpan.vue new file mode 100644 index 0000000..e438f87 --- /dev/null +++ b/src/views/Business/Infbod/Trnpan.vue @@ -0,0 +1,48 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.chksubcon">incl. all subcontracts</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.infcon.chktrnsta">only active transactions</c-checkbox> + </c-col> + + <c-col :span="12"> + <!-- <el-form-item label="stream for TRN to selected contract" prop="infcon.trnstm"> + <c-input v-model="model.infcon.trnstm" placeholder="请输入stream for TRN to selected contract"></c-input> + </el-form-item> --> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onInfconButshw"> + &Display + </c-button> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Infbod/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infbod/index.vue b/src/views/Business/Infbod/index.vue new file mode 100644 index 0000000..b498b63 --- /dev/null +++ b/src/views/Business/Infbod/index.vue @@ -0,0 +1,187 @@ +<template> + <div class="eContainer"> + <el-form :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="myTabClick"> + + <!--PD000006 --> + <el-tab-pane label="infsea" name="infsea"> + <m-infsea :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000262 --> + <el-tab-pane label="ovwp" name="ovwp"> + <m-ovwp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000266 --> + <el-tab-pane label="ptyp" name="ptyp"> + <m-ptyp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000280 --> + <el-tab-pane label="instrecp" name="instrecp"> + <m-instrecp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000049 --> + <el-tab-pane label="inst" name="inst"> + <m-inst :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000000 --> + <el-tab-pane label="coninfp" name="coninfp"> + <m-coninfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000013 --> + <el-tab-pane label="trnpan" name="trnpan"> + <m-trnpan :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000019 --> + <el-tab-pane label="cbsinfp" name="cbsinfp"> + <m-cbsinfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000028 --> + <el-tab-pane label="cbeinfp" name="cbeinfp"> + <m-cbeinfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000111 --> + <el-tab-pane label="fepinfp" name="fepinfp"> + <m-fepinfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000162 --> + <el-tab-pane label="sepinfp" name="sepinfp"> + <m-sepinfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000177 --> + <el-tab-pane label="gleinfp" name="gleinfp"> + <m-gleinfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000119 --> + <el-tab-pane label="smhinfp" name="smhinfp"> + <m-smhinfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000130 --> + <el-tab-pane label="peninfp" name="peninfp"> + <m-peninfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000147 --> + <el-tab-pane label="liainfp" name="liainfp"> + <m-liainfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000005 --> + <el-tab-pane label="prtpan" name="prtpan"> + <m-prtpan :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000185 --> + <el-tab-pane label="ordpan" name="ordpan"> + <m-ordpan :model="model" :codes="codes"/> + </el-tab-pane> + </c-tabs> + </el-form> + </div> +</template> +<script> +import Api from "~/service/Api" +import CodeTable from "~/config/CodeTable" +import Infbod from "~/model/Infbod" +import commonProcess from "~/mixin/commonProcess" +import Check from "~/model/Infbod/Check" +import Default from "~/model/Infbod/Default" +import Pattern from "~/model/Infbod/Pattern" +import Infsea from "./Infsea" +import Ovwp from "./Ovwp" +import Ptyp from "./Ptyp" +import Instrecp from "./Instrecp" +import Inst from "./Inst" +import Coninfp from "./Coninfp" +import Trnpan from "./Trnpan" +import Cbsinfp from "./Cbsinfp" +import Cbeinfp from "./Cbeinfp" +import Fepinfp from "./Fepinfp" +import Sepinfp from "./Sepinfp" +import Gleinfp from "./Gleinfp" +import Smhinfp from "./Smhinfp" +import Peninfp from "./Peninfp" +import Liainfp from "./Liainfp" +import Prtpan from "./Prtpan" +import Ordpan from "./Ordpan" + + +export default { + name: "Infbod", + components:{ + "m-infsea" : Infsea, + "m-ovwp" : Ovwp, + "m-ptyp" : Ptyp, + "m-instrecp" : Instrecp, + "m-inst" : Inst, + "m-coninfp" : Coninfp, + "m-trnpan" : Trnpan, + "m-cbsinfp" : Cbsinfp, + "m-cbeinfp" : Cbeinfp, + "m-fepinfp" : Fepinfp, + "m-sepinfp" : Sepinfp, + "m-gleinfp" : Gleinfp, + "m-smhinfp" : Smhinfp, + "m-peninfp" : Peninfp, + "m-liainfp" : Liainfp, + "m-prtpan" : Prtpan, + "m-ordpan" : Ordpan, + }, + provide() { + return { + root: this + } + }, + mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 + data(){ + return { + tabVal: "infsea", + trnName: "infbod", + model: new Infbod().data, + checkRules: Check, + defaultRules: Default, + pattern: Pattern, + rules: null, + codes: { + }, + } + }, + methods:{ + myTabClick(tab){ + this.tabClick(tab) + /** + * do it yourself + **/ + } + }, + created:async function(){ + console.log("进入infbod交易"); + let rtnmsg = await this.init({}) + if(rtnmsg.respCode == SUCCESS) + { + this.updateModel(rtnmsg.data) + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Infdid/Infsea.vue b/src/views/Business/Infdid/Infsea.vue index 0509ddc..e3aedba 100644 --- a/src/views/Business/Infdid/Infsea.vue +++ b/src/views/Business/Infdid/Infsea.vue @@ -641,11 +641,11 @@ export default { ...Event, async getButtons(ownref){ this.initdialog = true - this.ownref = ownref - console.log("ownref:" +ownref); - setTimeout(()=>{ - this.$refs.childs.$emit("childmethods") - },10) + // this.ownref = ownref + // console.log("ownref:" +ownref); + // setTimeout(()=>{ + // this.$refs.childs.$emit("childmethods") + // },10) }, async onChoose(code){ //跳转交易 diff --git a/src/views/Business/Infgid/BusNavbar.vue b/src/views/Business/Infgid/BusNavbar.vue index c36028a..a33aecf 100644 --- a/src/views/Business/Infgid/BusNavbar.vue +++ b/src/views/Business/Infgid/BusNavbar.vue @@ -1,17 +1,7 @@ <template> <div class="busnavbar"> <div class="busnavbar-items"> - <c-button - style="margin-left:7px;" - size="medium" - type="primary" - class="medium_bcs" - v-for="(item,index) in codeList" - v-bind:key="index" - @click.native="onNarBtnClick(item.code,index)" - :title="item.title" - :disabled="item.isDis==='N'" - >{{item.label}}</c-button> + <c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button> </div> </div> </template> @@ -83,20 +73,20 @@ export default { this.model.gidgrp.rec.ownref = this.ownref console.log("ownref:" + this.ownref ); - let rtnmsg = await this.executeRule("gidgrp.rec.ownref");// gidgrp_rec_ownref + let rtnmsg = await this.executeRule("gidgrp.rec.ownref");//gidgrp_rec_ownref if(rtnmsg.respCode == SUCCESS){ //重置数组 this.navcode = [] this.updateModel(rtnmsg.data) //this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows //给inr赋值,后面弹窗里面的按钮请求会用到 - //this.model. gidgrp.rec.inr = rtnmsg.data. gidgrp_rec_inr - console.log("ownref:" + this.ownref ); + //this.model.gidgrp.rec.inr = rtnmsg.data.gidgrp_rec_inr const length = this.model.cfgfil.btnstm.rows.length let btnStr = this.model.cfgfil.btnstm.rows let j = 0; let m = 0; - const buttonIndex = ['国内证通知','国内证修改通知','收单'] + // const buttonIndex = ['保证金收取','保证金注销','保证金调整','开立信用证','信用证修改','减额修改接受','修改通知行','到单'] + const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行'] for(let i=0; i < length; i++){ //获取数组中每行的数据 if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){ @@ -116,7 +106,9 @@ export default { this.navcode.splice(j,0,newList) } - } + } + + }else{ this.navcode = [] this.$notify.error({ title: "错误", message: "服务请求失败!" }); diff --git a/src/views/Business/Infgid/Cbeinfp.vue b/src/views/Business/Infgid/Cbeinfp.vue index 953bac6..6127707 100644 --- a/src/views/Business/Infgid/Cbeinfp.vue +++ b/src/views/Business/Infgid/Cbeinfp.vue @@ -1,6 +1,5 @@ <template> - <div class="eibs-tab"> - + <div class="eibs-tab"> <c-col :span="12"> <el-form-item label="stream of CBEs" prop="infcon.cbestm"> <c-input v-model="model.infcon.cbestm" placeholder="请输入stream of CBEs"></c-input> @@ -13,9 +12,7 @@ import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Infgid/Event" - export default { - inject: ['root'], props:["model","codes"], mixins: [commonProcess], data(){ diff --git a/src/views/Business/Infgid/Infsea.vue b/src/views/Business/Infgid/Infsea.vue index bd1f0f1..f004820 100644 --- a/src/views/Business/Infgid/Infsea.vue +++ b/src/views/Business/Infgid/Infsea.vue @@ -11,510 +11,514 @@ label-width="110px" size="small" > - <c-row> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="Own Reference" - prop="infcon.seaownref" - style="width: 100%" - > - <c-input - v-model="model.infcon.seaownref" - maxlength="16" - placeholder="请输入Own Reference" - ></c-input> - </el-form-item> - </c-col> + <c-row> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Own Reference" + prop="infcon.seaownref" + style="width: 100%" + > + <c-input + v-model="model.infcon.seaownref" + maxlength="16" + placeholder="请输入Own Reference" + ></c-input> + </el-form-item> + </c-col> - <c-col :span="8"> - <el-form-item - label="Opening between" - prop="infcon.opndatfrom" - style="width: 100%" - > - <c-col :span="11"> - <c-date-picker - type="date" - v-model="model.infcon.opndatfrom" - style="width: 100%" - placeholder="请选择Opening between" - value-format="yyyy-MM-dd" - ></c-date-picker> - </c-col> - <c-col :span="2" style="text-align: center"> - <label style="display: inline-block; width: 100%">-</label> - </c-col> - <c-col :span="11"> - <c-date-picker - type="date" - v-model="model.infcon.opndatto" - style="width: 100%" - placeholder="请选择Open Date to" - value-format="yyyy-MM-dd" - ></c-date-picker> - </c-col> - </el-form-item> - </c-col> + <c-col :span="8"> + <el-form-item + label="Opening between" + prop="infcon.opndatfrom" + style="width: 100%" + > + <c-col :span="11"> + <c-date-picker + type="date" + v-model="model.infcon.opndatfrom" + style="width: 100%" + placeholder="请选择Opening between" + value-format="yyyy-MM-dd" + ></c-date-picker> + </c-col> + <c-col :span="2" style="text-align: center"> + <label style="display: inline-block; width: 100%">-</label> + </c-col> + <c-col :span="11"> + <c-date-picker + type="date" + v-model="model.infcon.opndatto" + style="width: 100%" + placeholder="请选择Open Date to" + value-format="yyyy-MM-dd" + ></c-date-picker> + </c-col> + </el-form-item> + </c-col> - <c-col :span="8"> - <el-form-item - label="Party Reference" - prop="infcon.searef" - style="width: 100%" - > - <c-input - v-model="model.infcon.searef" - maxlength="16" - placeholder="请输入Party Reference" - ></c-input> - </el-form-item> - </c-col> - </c-col> - </c-row> + <c-col :span="8"> + <el-form-item + label="Party Reference" + prop="infcon.searef" + style="width: 100%" + > + <c-input + v-model="model.infcon.searef" + maxlength="16" + placeholder="请输入Party Reference" + ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-row> - <!-- 可控展示区 --> - <c-row v-show="searchSlot.searchToggle"> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="Name" - prop="infcon.nam" - style="width: 100%" - > - <c-input - v-model="model.infcon.nam" - maxlength="40" - placeholder="请输入Name" - ></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Sel Single Party" - prop="infcon.pty.extkey" - style="width: 100%" - > - <c-input - v-model="model.infcon.pty.extkey" - maxlength="16" - placeholder="请输入Select Single Party" - ></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Party Name/BIC" - prop="infcon.seapty" - style="width: 100%" - > - <c-input - v-model="model.infcon.seapty" - maxlength="24" - placeholder="请输入Party Name/BIC" - ></c-input> - </el-form-item> - </c-col> - </c-col> + <!-- 可控展示区 --> + <c-row v-show="searchSlot.searchToggle"> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Name" + prop="infcon.nam" + style="width: 100%" + > + <c-input + v-model="model.infcon.nam" + maxlength="40" + placeholder="请输入Name" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Sel Single Party" + prop="infcon.pty.extkey" + style="width: 100%" + > + <c-input + v-model="model.infcon.pty.extkey" + maxlength="16" + placeholder="请输入Select Single Party" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Party Name/BIC" + prop="infcon.seapty" + style="width: 100%" + > + <c-input + v-model="model.infcon.seapty" + maxlength="24" + placeholder="请输入Party Name/BIC" + ></c-input> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="Party Name" - prop="infcon.pty.nam" - style="width: 100%" - > - <c-input - v-model="model.infcon.pty.nam" - maxlength="40" - placeholder="请输入Party Name" - ></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Release Status" - prop="infcon.relflg" - style="width: 100%" - > - <c-select - v-model="model.infcon.relflg" - style="width:100%" - placeholder="请选择Release Status" - > - <el-option - v-for="item in codes.relflg" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Handling Type" - prop="infcon.hndtyp" - style="width: 100%" - > - <c-select - v-model="model.infcon.hndtyp" - style="width:100%" - placeholder="请选择Handling Type" - > - <el-option - v-for="item in codes.hndtyp" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Party Name" + prop="infcon.pty.nam" + style="width: 100%" + > + <c-input + v-model="model.infcon.pty.nam" + maxlength="40" + placeholder="请输入Party Name" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Release Status" + prop="infcon.relflg" + style="width: 100%" + > + <c-select + v-model="model.infcon.relflg" + style="width: 100%" + placeholder="请选择Release Status" + > + <el-option + v-for="item in codes.relflg" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Handling Type" + prop="infcon.hndtyp" + style="width: 100%" + > + <c-select + v-model="model.infcon.hndtyp" + style="width: 100%" + placeholder="请选择Handling Type" + > + <el-option + v-for="item in codes.hndtyp" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="Role" - prop="infcon.searol" - style="width: 100%" - > - <c-select - v-model="model.infcon.searol" - style="width:100%" - placeholder="请选择Role" - > - <el-option - v-for="item in codes.payrol" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Resp.User" - prop="infcon.usr.extkey" - style="width: 100%" - > - <c-input - v-model="model.infcon.usr.extkey" - maxlength="24" - placeholder="请输入Resp.User" - ></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Status" - prop="infcon.seasta" - style="width: 100%" - > - <c-select - v-model="model.infcon.seasta" - style="width:100%" - placeholder="请选择Status" - > - <el-option - v-for="item in codes.seasta" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Role" + prop="infcon.searol" + style="width: 100%" + > + <c-select + v-model="model.infcon.searol" + style="width: 100%" + placeholder="请选择Role" + > + <el-option + v-for="item in codes.payrol" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Resp.User" + prop="infcon.usr.extkey" + style="width: 100%" + > + <c-input + v-model="model.infcon.usr.extkey" + maxlength="24" + placeholder="请输入Resp.User" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Status" + prop="infcon.seasta" + style="width: 100%" + > + <c-select + v-model="model.infcon.seasta" + style="width: 100%" + placeholder="请选择Status" + > + <el-option + v-for="item in codes.seasta" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="Currency" - prop="infcon.seacur" - style="width: 100%" - > - <c-select - v-model="model.infcon.seacur" - style="width: 100%" - placeholder="请选择Currency" - > - <el-option - v-for="item in codes.cur" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="是否显示查询码" - prop="infcon.cxmflg" - style="width: 100%" - > - <c-select - v-model="model.infcon.cxmflg" - style="width:100%" - placeholder="请选择是否显示查询码" - > - <el-option - v-for="item in codes.cxmflg" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Amount between" - prop="infcon.seaamtfr" - style="width: 100%" - > - <c-col :span="11"> - <c-input - v-model="model.infcon.seaamtfr" - style="width: 100%" - placeholder="请输入Amount between" - ></c-input> - </c-col> - <c-col :span="2" style="text-align: center"> - <label style="display: inline-block; width: 100%">-</label> - </c-col> - <c-col :span="11"> - <c-input - v-model="model.infcon.seaamtto" - style="width: 100%" - placeholder="请输入Amount to" - ></c-input> - </c-col> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Currency" + prop="infcon.seacur" + style="width: 100%" + > + <c-select + v-model="model.infcon.seacur" + style="width: 100%" + placeholder="请选择Currency" + > + <el-option + v-for="item in codes.cur" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="是否显示查询码" + prop="infcon.cxmflg" + style="width: 100%" + > + <c-select + v-model="model.infcon.cxmflg" + style="width: 100%" + placeholder="请选择是否显示查询码" + > + <el-option + v-for="item in codes.cxmflg" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Amount between" + prop="infcon.seaamtfr" + style="width: 100%" + > + <c-col :span="11"> + <c-input + v-model="model.infcon.seaamtfr" + style="width: 100%" + placeholder="请输入Amount between" + ></c-input> + </c-col> + <c-col :span="2" style="text-align: center"> + <label style="display: inline-block; width: 100%">-</label> + </c-col> + <c-col :span="11"> + <c-input + v-model="model.infcon.seaamtto" + style="width: 100%" + placeholder="请输入Amount to" + ></c-input> + </c-col> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="Purpose of Mess." - prop="seapurpos" - style="width: 100%" - > - <c-select - v-model="model.seapurpos" - style="width: 100%" - placeholder="请选择Purpose of Mess." - > - <el-option - v-for="item in codes.purposin" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Handling Type" - prop="seahndtyp" - style="width: 100%" - > - <c-select - v-model="model.seahndtyp" - style="width:100%" - placeholder="请选择Handling Type" - > - <el-option - v-for="item in codes.seahndtyp" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="Undertaking Type" - prop="seagtyp" - style="width: 100%" - > - <c-select - v-model="model.seagtyp" - style="width:100%" - placeholder="请选择Undertaking Type" - > - </c-select> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Purpose of Mess." + prop="seapurpos" + style="width: 100%" + > + <c-select + v-model="model.seapurpos" + style="width: 100%" + placeholder="请选择Purpose of Mess." + > + <el-option + v-for="item in codes.purposin" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Handling Type" + prop="seahndtyp" + style="width: 100%" + > + <c-select + v-model="model.seahndtyp" + style="width: 100%" + placeholder="请选择Handling Type" + > + <el-option + v-for="item in codes.seahndtyp" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Undertaking Type" + prop="seagtyp" + style="width: 100%" + > + <c-select + v-model="model.seagtyp" + style="width: 100%" + placeholder="请选择Undertaking Type" + > + </c-select> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="特殊保函类型" - prop="infcon.segtyp" - style="width: 100%" - > - <c-select - v-model="model.infcon.segtyp" - style="width:100%" - placeholder="请选择特殊保函类型" - > - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="电子渠道类型" - prop="fromflg" - style="width: 100%" - > - <c-select - v-model="model.fromflg" - style="width:100%" - placeholder="请选择电子渠道类型" - > - <el-option - v-for="item in codes.fromflg" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="是否分离式保函" - prop="fenlishi" - style="width: 100%" - > - <c-select - v-model="model.fenlishi" - style="width:100%" - placeholder="请选择是否分离式保函" - > - <el-option - v-for="item in codes.fenlishi" - :key="item.value" - :label="item.label" - :value="item.value" - ></el-option> - </c-select> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="特殊保函类型" + prop="infcon.segtyp" + style="width: 100%" + > + <c-select + v-model="model.infcon.segtyp" + style="width: 100%" + placeholder="请选择特殊保函类型" + > + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="电子渠道类型" + prop="fromflg" + style="width: 100%" + > + <c-select + v-model="model.fromflg" + style="width: 100%" + placeholder="请选择电子渠道类型" + > + <el-option + v-for="item in codes.fromflg" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="是否分离式保函" + prop="fenlishi" + style="width: 100%" + > + <c-select + v-model="model.fenlishi" + style="width: 100%" + placeholder="请选择是否分离式保函" + > + <el-option + v-for="item in codes.fenlishi" + :key="item.value" + :label="item.label" + :value="item.value" + ></el-option> + </c-select> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item - label="" - style="margin-left:110px;" - prop="model.cmtflg" - > - <c-checkbox - v-model="model.cmtflg" - >跨境人民币保函</c-checkbox> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item - label="" - style="margin-left:110px;" - prop="model.fingua" - > - <c-checkbox - v-model="model.fingua" - >融资性对外担保</c-checkbox> - </el-form-item> - </c-col> - </c-col> - </c-row> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="" + style="margin-left: 110px" + prop="model.cmtflg" + > + <c-checkbox v-model="model.cmtflg">跨境人民币保函</c-checkbox> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="" + style="margin-left: 110px" + prop="model.fingua" + > + <c-checkbox v-model="model.fingua">融资性对外担保</c-checkbox> + </el-form-item> + </c-col> + </c-col> + </c-row> </el-form> </template> </c-list-search> + <el-row> <c-col :span="24" style="margin-top: 10px"> - <c-button - class="medium_bcs" - size="medium" - type="primary" - @click="toGitopn" - >开立进口保函</c-button> + <c-button + class="medium_bcs" + size="medium" + type="primary" + @click="toGitopn" + >开立进口保函</c-button + > </c-col> <c-col :span="24" style="text-align: right; height: 100px"> - <c-istream-table :list="stmData.data" :columns="stmData.columns"> - <el-table-column fixed="right" prop="op" label="操作" width="140px"> - <template slot="header"> - <c-col :span="11" style="text-align: left"> - <span>操作</span> - </c-col> - <c-col :span="12" style="text-align: right"> - <c-button icon="el-icon-s-tools"></c-button> - </c-col> - </template> - <template slot-scope="scope"> - <el-popover - placement="top-start" - title="历史信息" - width="800" - trigger="click" - :ref="'popover_' + scope.row.IDX" - > - <div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;"> - <span - class="el-icon-close" - @click="closeTrn('popover_' + scope.row.IDX)" - /> - </div> - <c-istream-table :list="trnData.data" :columns="trnData.columns"> - <el-table-column prop="op" label="操作" width="0"> - <template slot-scope="scope"> - <c-button - style="margin-left: 0" - size="small" - @click="display(scope.row['INR'])" - >详情</c-button> - </template> - </el-table-column> - </c-istream-table> - <c-button - style="margin-left: 0" - size="small" - @click="getTrnInfo(scope.$index, scope.row)" - slot="reference" - >详情</c-button> - </el-popover> + <c-istream-table :list="stmData.data" :columns="stmData.columns"> + <el-table-column fixed="right" prop="op" label="操作" width="140px"> + <template slot="header"> + <c-col :span="11" style="text-align: left"> + <span>操作</span> + </c-col> + <c-col :span="12" style="text-align: right"> + <c-button icon="el-icon-s-tools"></c-button> + </c-col> + </template> + <template slot-scope="scope"> + <el-popover + placement="top-start" + title="历史信息" + width="800" + trigger="click" + :ref="'popover_' + scope.row.IDX" + > + <div + style=" + text-align: right; + margin-top: -30px; + margin-right: 5px; + font-size: 16px; + " + > + <span + class="el-icon-close" + @click="closeTrn('popover_' + scope.row.IDX)" + /> + </div> + <c-istream-table :list="trnData.data" :columns="trnData.columns"> + <el-table-column prop="op" label="操作" width="0"> + <template slot-scope="scope"> <c-button - style="margin-left: 0" - size="small" - type="primary" - @click="getButtons(scope.row['Reference'])" - >处理</c-button> - </template> - </el-table-column> - </c-istream-table> + style="margin-left: 0" + size="small" + @click="display(scope.row['INR'])" + >详情</c-button + > + </template> + </el-table-column> + </c-istream-table> + <c-button + style="margin-left: 0" + size="small" + @click="getTrnInfo(scope.$index, scope.row)" + slot="reference" + >详情</c-button + > + </el-popover> + <c-button + style="margin-left: 0" + size="small" + type="primary" + @click="getButtons(scope.row['Reference'])" + >处理</c-button + > + </template> + </el-table-column> + </c-istream-table> </c-col> - + </el-row> + <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <div class="m-list-btns"> - <m-busbtn - ref="childs" - :ownref="ownref" - @onChoose="onChoose" - >11</m-busbtn> + <m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" @onChoose="onChoose">11</m-busbtn> </div> </el-dialog> - - <!-- <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Own Reference" prop="infcon.seaownref"> <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"></c-input> </el-form-item> @@ -689,101 +693,109 @@ </div> </template> <script> + import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "~/model/Infgid/Event"; -//交易跳转逻辑 -import BusNavbar from "~/views/Business/Infgid/BusNavbar"; + +import GitselModel from "~/model/Gitsel"; +import BusNavbar from "~/views/Public/BusNavbar"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - components: { "m-busbtn": BusNavbar }, - data(){ - return { - ownref:"", - initdialog: false, - dialogTableVisible: false, - trnData: { - columns: [ - '1 1 "编号" 200', - '2 2 "交易名称" 100', - '3 3 "日期" 200', - '4 4 "状态" 50', - '5 5 "币种" 80', - '6 6 "金额" 80', - ], - data: [], - }, - stmData: { - columns: [ - '1 1 "Reference" 150', - '2 2 "Resp. User" 150', - '3 10 "Opened" 150', - '4 13 "Validity" 150', - '5 14 "Liability" 150', - '6 21"电子渠道类型" 150', - '7 22"OTHERSNO" 150', - '8 3 "保函品种" 150', - '9 20 "Handling Type" 150', - '10 11 "分行名称" 150', - '11 4 "Party Number" 150', - '12 5 "Applicant" 150', - '13 7 "Party Number" 150', - '14 8 "Beneficiary" 150', - '15 6 "Cur" 150', - '16 18 "Guar. Amount" 150', - '17 12 "Cur" 150', - '18 9 "Guarantee Amount(RMB)" 150', - '19 16 "Cur" 150', - '20 19 "Open Amount" 150', - '21 17 "Cur" 150', - '22 15 "Open Amount(RMB)" 150' - ], - data: [], - }, - }; + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + components: { "m-busbtn": BusNavbar }, + data() { + return { + gitselModel: new GitselModel().data, + ownref: "", + initdialog: false, + dialogTableVisible: false, + trnData: { + columns: [ + '1 1 "编号" 200', + '2 2 "交易名称" 100', + '3 3 "日期" 200', + '4 4 "状态" 50', + '5 5 "币种" 80', + '6 6 "金额" 80', + ], + data: [], + }, + stmData: { + columns: [ + '1 1 "Reference" 150', + '2 2 "Resp. User" 150', + '3 10 "Opened" 150', + '4 13 "Validity" 150', + '5 14 "Liability" 150', + '6 21"电子渠道类型" 150', + '7 22"OTHERSNO" 150', + '8 3 "保函品种" 150', + '9 20 "Handling Type" 150', + '10 11 "分行名称" 150', + '11 4 "Party Number" 150', + '12 5 "Applicant" 150', + '13 7 "Party Number" 150', + '14 8 "Beneficiary" 150', + '15 6 "Cur" 150', + '16 18 "Guar. Amount" 150', + '17 12 "Cur" 150', + '18 9 "Guarantee Amount(RMB)" 150', + '19 16 "Cur" 150', + '20 19 "Open Amount" 150', + '21 17 "Cur" 150', + '22 15 "Open Amount(RMB)" 150', + ], + data: [], + }, + }; + }, + methods: { + ...Event, + async getButtons(ownref) { + this.initdialog = true; + this.ownref = ownref; + console.log("ownref:" + ownref); + setTimeout(() => { + this.$refs.childs.$emit("childmethods") + }, 10) + }, + async onChoose(code) { + //跳转交易 + this.$router.history.push("/business/" + code); + this.initdialog = false; }, - methods:{ - ...Event, - async getButtons(ownref){ - this.initdialog = true; - this.ownref = ownref; - console.log("ownref:" +ownref); - setTimeout(()=>{ - this.$refs.childs.$emit("childmethods") - },10); - }, - async onChoose(code){ - //跳转交易 - this.$router.history.push("/business/" + code); - this.initdialog = false; - }, - - async getTrnInfo(idx, row) { - this.model.infcon.objinr = row["INR"]; - this.model.gidgrp.rec.inr = row["INR"]; - this.model.infcon.chksubcon = "X"; + async getTrnInfo(idx, row) { + this.model.infcon.objinr = row["INR"]; + this.model.gidgrp.rec.inr = row["INR"]; + this.model.infcon.chksubcon = "X"; - this.dialogTableVisible = true; - let rtnmsg = await this.executeDefault("infcon.chksubcon"); + this.dialogTableVisible = true; + let rtnmsg = await this.executeDefault("infcon.chksubcon"); - if ((rtnmsg.respCode = SUCCESS)) { - this.trnData.data = rtnmsg.data.infcon_trnstm.rows; - } - }, - closeTrn(refId) { - this.$refs[refId].doClose(); - }, - toGitopn() { - this.$router.history.push("/business/gitopn"); - }, + if ((rtnmsg.respCode = SUCCESS)) { + this.trnData.data = rtnmsg.data.infcon_trnstm.rows; + } }, - created:function() {}, -} + closeTrn(refId) { + this.$refs[refId].doClose(); + }, + toGitopn() { + this.$router.history.push("/business/gitopn"); + }, + handleReset: function () { + this.model = { + instNo: "", + instName: "", + }; + }, + }, + created: function () {}, +}; </script> <style> .el-dialog__body { diff --git a/src/views/Layout/SideMenu.vue b/src/views/Layout/SideMenu.vue index a4296a8..397ee75 100644 --- a/src/views/Layout/SideMenu.vue +++ b/src/views/Layout/SideMenu.vue @@ -135,9 +135,10 @@ export default { { inifrm: "examRule", ininam: "智能审单规则配置", pntmiu: "12" }, //进口保函 { inifrm: "13", ininam: "进口保函", pntmiu: "" }, - { inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" }, - { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" }, - { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" }, + { inifrm: "infgid", ininam: "进口保函入口交易", pntmiu: "13" }, + // { inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" }, + // { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" }, + // { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" }, { inifrm: "14", ininam: "服务管理", pntmiu: "" }, { inifrm: "switsk", ininam: "Switsk", pntmiu: "14" }, { inifrm: "mgrtsk", ininam: "Mgrtsk", pntmiu: "14" }, diff --git a/src/views/Public/BusNavbar.vue b/src/views/Public/BusNavbar.vue index 5ecf2e6..96f8a28 100644 --- a/src/views/Public/BusNavbar.vue +++ b/src/views/Public/BusNavbar.vue @@ -21,7 +21,21 @@ import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; export default { - props: ["ownref", "trnCode", "model"], + props: { + "ownref": { + required: true, + }, + "trnCode": { + required: true, + }, + "model": { + required: true, + }, + "ownrefPath": { + required: false, + default: "didgrp" + } + }, components: {}, mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 data() { @@ -59,10 +73,10 @@ export default { this.$on("childmethods", async function () { this.navcode = []; //请求按钮数据 - this.model.didgrp.rec.ownref = this.ownref; + this.model[this.ownrefPath].rec.ownref = this.ownref; // console.log("ownref:" + this.ownref); - let rtnmsg = await this.executeRule("didgrp.rec.ownref"); //didgrp_rec_ownref + let rtnmsg = await this.executeRule(this.ownrefPath+".rec.ownref"); //didgrp_rec_ownref if (rtnmsg.respCode == SUCCESS) { //重置数组 this.navcode = []; diff --git a/src/views/Public/Docpan.vue b/src/views/Public/Docpan.vue index c0739ad..570cd11 100644 --- a/src/views/Public/Docpan.vue +++ b/src/views/Public/Docpan.vue @@ -2,7 +2,7 @@ <div class="eibs-tab"> <c-col :span="24" style=""> <c-istream-table-docpan :list="stmData.data" :columns="stmData.columns"> - <el-table-column label="报文格式"> + <el-table-column label="Medium"> <template slot-scope="scope"> <c-select v-model=" @@ -362,16 +362,23 @@ ? 'Sender to Rec. information' : 'Remark' " - ><el-input - type="textarea" - :rows="10" - :disabled="title == 'MT799'" - :v-model=" - title == 'MT799' - ? dialog.addtxt - : dialog.remark - " - /></el-form-item> + > + <div v-if="title == 'MT799'"> + <el-input + type="textarea" + :rows="10" + disabled + v-model="dialog.remark" + /> + </div> + <div v-else> + <el-input + type="textarea" + :rows="10" + v-model="dialog.addtxt" + /> + </div> + </el-form-item> </c-col> <c-col :span="2"> <c-button size="mini">... </c-button> @@ -444,10 +451,9 @@ export default { methods: { saveDialog() { this.centerDialogVisible = false; - console.log(this.model); this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog); this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => { - if(res.data.respCode==SUCCESS){ + if(res.respCode==SUCCESS){ //TODO }else{ @@ -528,7 +534,8 @@ export default { if (rtnmsg.respCode == SUCCESS) { this.title = row.pandsc this.centerDialogVisible = true, - this.dialog = rtnmsg.data.trnmod_trndoc_doceot[index] + this.updateModel(rtnmsg.data); + this.dialog = this.model.trnmod.trndoc.doceot[index] this.index = index } } diff --git a/src/views/Public/Ptap.vue b/src/views/Public/Ptap.vue index e8a196b..18a773d 100644 --- a/src/views/Public/Ptap.vue +++ b/src/views/Public/Ptap.vue @@ -1,47 +1,25 @@ <template> <div> <c-col v-if="!noRef" :span="24"> - <c-form-item - :label="`${argadr.title}参考号`" - :prop="`${argadr.grp}.${argadr.rol}.pts.ref`" - > - <c-input - v-model="model[argadr.grp][argadr.rol].pts.ref" - :placeholder="'请输入' + argadr.title + '参考号'" - ></c-input> + <c-form-item :label="`${argadr.title}参考号`" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`"> + <c-input :disabled="disabledRef" v-model="model[argadr.grp][argadr.rol].pts.ref" :placeholder="'请输入' + argadr.title + '参考号'" + ></c-input> </c-form-item> </c-col> <c-col :span="24" v-if="!editExtLabel"> - <el-form-item - :label="`${argadr.title}ID`" - :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" - style="width: 100%" - > + <el-form-item :label="`${argadr.title}ID`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" style="width: 100%" + :disabled="disabledExtkey"> <c-fullbox> - <c-input - v-model="model[argadr.grp][argadr.rol].pts.extkey" - :placeholder="'请输入' + argadr.title + 'Extkey'" - @keyup.enter.native=" + <c-input v-model="model[argadr.grp][argadr.rol].pts.extkey" :placeholder="'请输入' + argadr.title + 'Extkey'" + :disabled="disabledExtkey" @keyup.enter.native=" showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`) - " - @change="valueChange" - ></c-input> + " @change="valueChange"></c-input> <template slot="footer"> - <c-button - style="margin:0 10px 0 10px;padding: 0 12px;" - size="small" - type="primary" - icon="el-icon-search" - @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)" - > + <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" + :disabled="disabledExtkey" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"> </c-button> - <c-button - style="margin:0 0" - size="small" - type="primary" - @click="onAplpDet" - > + <c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet" :disabled="disabledExtkey"> {{ $t('buttons.details') }} </c-button> </template> @@ -50,35 +28,17 @@ </c-col> <c-col :span="24" v-else> - <el-form-item - :label="`${argadr.title}`" - :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" - style="width: 100%" - > + <el-form-item :label="`${argadr.title}`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" style="width: 100%"> <c-fullbox> - <c-input - v-model="model[argadr.grp][argadr.rol].pts.extkey" - :placeholder="'请输入' + argadr.title + 'Extkey'" - @keyup.enter.native=" + <c-input :disabled="disabledExtkey" v-model="model[argadr.grp][argadr.rol].pts.extkey" + :placeholder="'请输入' + argadr.title + 'Extkey'" @keyup.enter.native=" showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`) - " - @change="valueChange" - ></c-input> + " @change="valueChange"></c-input> <template slot="footer"> - <c-button - style="margin:0 10px 0 10px;padding: 0 12px;" - size="small" - type="primary" - icon="el-icon-search" - @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)" - > + <c-button :disabled="disabledExtkey" style="margin:0 10px 0 10px;padding: 0 12px;" size="small" + type="primary" icon="el-icon-search" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"> </c-button> - <c-button - style="margin:0 0" - size="small" - type="primary" - @click="onAplpDet" - > + <c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet"> {{ $t('buttons.details') }} </c-button> </template> @@ -88,69 +48,30 @@ <template v-if="!onlySearch"> <c-col v-if="isAdrblk" :span="24"> - <el-form-item - label="名称地址" - :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`" - > - <c-input - type="textarea" - :rows="4" - v-model="model[argadr.grp][argadr.rol].pts.adrblk" - maxlength="150" - show-word-limit - placeholder="请输入名称地址" - :disabled="disabled" - ></c-input> + <el-form-item label="名称地址" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"> + <c-input type="textarea" :rows="4" v-model="model[argadr.grp][argadr.rol].pts.adrblk" maxlength="150" + show-word-limit placeholder="请输入名称地址" :disabled="disabled"></c-input> </el-form-item> </c-col> <c-col v-else-if="!haveAdrLabel" :span="24"> - <el-form-item - label="" - :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`" - > - <c-input - type="textarea" - :rows="4" - v-model="model[argadr.grp][argadr.rol].pts.adrblk" - maxlength="150" - show-word-limit - placeholder="请输入名称地址" - :disabled="disabled" - ></c-input> + <el-form-item label="" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"> + <c-input type="textarea" :rows="4" v-model="model[argadr.grp][argadr.rol].pts.adrblk" maxlength="150" + show-word-limit placeholder="请输入名称地址" :disabled="disabled"></c-input> </el-form-item> </c-col> <template v-else> <c-col :span="24"> - <el-form-item - :label="`${argadr.title}名称`" - :prop="`${argadr.grp}.${argadr.rol}.namelc`" - > - <c-input - type="textarea" - v-model="model[argadr.grp][argadr.rol].namelc" - :placeholder="'请输入' + argadr.title + '名称'" - :disabled="disabled" - :rows="2" - maxlength="35" - show-word-limit - ></c-input> + <el-form-item :label="`${argadr.title}名称`" :prop="`${argadr.grp}.${argadr.rol}.namelc`"> + <c-input type="textarea" v-model="model[argadr.grp][argadr.rol].namelc" + :placeholder="'请输入' + argadr.title + '名称'" :disabled="disabled" :rows="2" maxlength="35" show-word-limit> + </c-input> </el-form-item> </c-col> <c-col :span="24"> - <el-form-item - :label="`${argadr.title}地址`" - :prop="`${argadr.grp}.${argadr.rol}.adrelc`" - > - <c-input - type="textarea" - :rows="2" - v-model="model[argadr.grp][argadr.rol].adrelc" - :placeholder="'请输入' + argadr.title + '地址'" - :disabled="disabled" - maxlength="35" - show-word-limit - ></c-input> + <el-form-item :label="`${argadr.title}地址`" :prop="`${argadr.grp}.${argadr.rol}.adrelc`"> + <c-input type="textarea" :rows="2" v-model="model[argadr.grp][argadr.rol].adrelc" + :placeholder="'请输入' + argadr.title + '地址'" :disabled="disabled" maxlength="35" show-word-limit></c-input> </el-form-item> </c-col> </template> @@ -185,6 +106,16 @@ export default { type: Boolean, default: false, }, + disabledRef: { + //ref是否灰显 + type: Boolean, + default: false, + }, + disabledExtkey: { + //extkey是否灰显 + type: Boolean, + default: false, + }, isAdrblk: { //名称地址是否为大字段 @@ -235,7 +166,7 @@ export default { }, }, - created: function () {}, + created: function () { }, }; </script> <style> diff --git a/src/views/Review/Business/ReviewBotdav.vue b/src/views/Review/Business/ReviewBotdav.vue new file mode 100644 index 0000000..f19be9f --- /dev/null +++ b/src/views/Review/Business/ReviewBotdav.vue @@ -0,0 +1,19 @@ +<template> + <ReviewWrapper> + <Botdav></Botdav> + </ReviewWrapper> +</template> + +<script> +import Botdav from "~/views/Business/Botdav"; +import { ReviewWrapper } from "~/components/gj-common.min.js"; + +export default { + name: "ReviewBotdav", + components: { ReviewWrapper, Botdav }, + created() {}, + mounted() {}, +}; +</script> + +<style></style> diff --git a/src/views/Review/ReviewRouter.js b/src/views/Review/ReviewRouter.js index d214394..b666e46 100644 --- a/src/views/Review/ReviewRouter.js +++ b/src/views/Review/ReviewRouter.js @@ -7,6 +7,7 @@ import ReviewGetset from "./Business/ReviewGetset.vue"; import ReviewDetopn from "./Business/ReviewDetopn.vue"; import ReviewDetdrv from "./Business/ReviewDetdrv.vue"; import ReviewBdtdck from "./Business/ReviewBdtdck.vue"; +import ReviewBotdav from "./Business/ReviewBotdav.vue"; import ReviewLetnot from "./Business/ReviewLetnot.vue"; const ReviewRouter = [ @@ -19,6 +20,7 @@ const ReviewRouter = [ { path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } }, { path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } }, { path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } }, + { path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } }, { path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } }, ];