From 0c2cba34d0e4c13622e23cadf3d426cb534d3e73 Mon Sep 17 00:00:00 2001 From: zhengxiaokui <350280179@qq.com> Date: Mon, 1 Nov 2021 16:56:09 +0800 Subject: [PATCH] 菜单调整bdtudp --- src/model/Bdtudp/Check.js | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Bdtudp/Default.js | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Bdtudp/Event.js | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Bdtudp/Pattern.js | 421 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Bdtudp/index.js | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Trnrel/index.js | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------- src/views/Business/Bdtudp/Brlip.vue | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Docpre.vue | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Mt750p.vue | 38 ++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Mt754p.vue | 221 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Othadvtypp.vue | 28 ++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Ovwp.vue | 28 ++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Payp.vue | 323 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtudp/Shpdet.vue | 205 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtudp/index.vue | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/BusRouter.js | 2 ++ src/views/Business/Trnrel/Inftrnps.vue | 401 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------- src/views/Layout/SideMenu.vue | 202 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------- 18 files changed, 2428 insertions(+), 353 deletions(-) create mode 100644 src/model/Bdtudp/Check.js create mode 100644 src/model/Bdtudp/Default.js create mode 100644 src/model/Bdtudp/Event.js create mode 100644 src/model/Bdtudp/Pattern.js create mode 100644 src/model/Bdtudp/index.js create mode 100644 src/views/Business/Bdtudp/Brlip.vue create mode 100644 src/views/Business/Bdtudp/Docpre.vue create mode 100644 src/views/Business/Bdtudp/Mt750p.vue create mode 100644 src/views/Business/Bdtudp/Mt754p.vue create mode 100644 src/views/Business/Bdtudp/Othadvtypp.vue create mode 100644 src/views/Business/Bdtudp/Ovwp.vue create mode 100644 src/views/Business/Bdtudp/Payp.vue create mode 100644 src/views/Business/Bdtudp/Shpdet.vue create mode 100644 src/views/Business/Bdtudp/index.vue diff --git a/src/model/Bdtudp/Check.js b/src/model/Bdtudp/Check.js new file mode 100644 index 0000000..2197158 --- /dev/null +++ b/src/model/Bdtudp/Check.js @@ -0,0 +1,56 @@ +import Utils from "~/utils" + +/** +* Bdtudp Check规则 +*/ +let checkObj = { + "bddgrp.tag72add" :null, + "bddgrp.acb.adrelc" :null, + "bddgrp.rmb.pts.extkey" :null, + "bddgrp.rec.disdat" :null, + "bdtp.oth.pts.extkey" :null, + "bddgrp.beb.pts.extkey" :null, + "bddgrp.rmb.pts.adrblk" :null, + "bddgrp.beb.pts.adrblk" :null, + "bddgrp.rec.docflg" :null, + "bdtp.furide" :null, + "bddgrp.blk.docdis" :null, + "bddgrp.prb.pts.ref" :null, + "bddgrp.acb.pts.extkey" :null, + "bddgrp.blk.accrmk" :null, + "bddgrp.prb.pts.extkey" :null, + "bddgrp.rec.expdat" :null, + "bddgrp.beb.adrelc" :null, + "bddgrp.shp.namelc" :null, + "aamset.utlamt2" :null, + "bddgrp.acb.pts.adrblk" :null, + "bddgrp.acb.namelc" :null, + "bddgrp.beb.namelc" :null, + "bddgrp.rec.rcvdat" :null, + "bddgrp.shp.pts.adrblk" :null, + "bdtp.acbp.ptsget.sdamod.dadsnd" :null, + "bddgrp.blk.comcon" :null, + "bddgrp.prb.pts.bankno" :null, + "bddgrp.rmb.namelc" :null, + "bdtp.rmbp.ptsget.sdamod.dadsnd" :null, + "bddgrp.rec.reltyp" :null, + "bddgrp.rec.relgodflg" :null, + "bdtp.shpp.ptsget.sdamod.dadsnd" :null, + "bdtp.recget.sdamod.dadsnd" :null, + "bddgrp.shp.adrelc" :null, + "bddgrp.rmb.adrelc" :null, + "setmod.docamt" :null, + "bdtp.bebp.ptsget.sdamod.dadsnd" :null, + "bdtp.oth.pts.bankno" :null, + "bdtp.didget.sdamod.dadsnd" :null, + "bddgrp.shp.pts.extkey" :null, + "bddgrp.rec.trpdocnum" :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/Bdtudp/Default.js b/src/model/Bdtudp/Default.js new file mode 100644 index 0000000..43074a2 --- /dev/null +++ b/src/model/Bdtudp/Default.js @@ -0,0 +1,66 @@ + +/** +* Bdtudp Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "bddgrp.acb.pts.extkey" :Utils.defaultFunction, + "bddgrp.blk.docdisflg" :Utils.defaultFunction, + "bddgrp.blk.docdis" :Utils.defaultFunction, + "setmod.doccur" :Utils.defaultFunction, + "setmod.docamt" :Utils.defaultFunction, + "bddgrp.ben.pts.nam" :Utils.defaultFunction, + "bdtp.oth.pts.extkey" :Utils.defaultFunction, + "bddgrp.prb.pts.extkey" :Utils.defaultFunction, + "bddgrp.rmb.pts.extkey" :Utils.defaultFunction, + "bddgrp.rmb.adrelc" :Utils.defaultFunction, + "bddgrp.rmb.namelc" :Utils.defaultFunction, + "bddgrp.rmb.dbfadrblkcn" :Utils.defaultFunction, + "bddgrp.shp.pts.extkey" :Utils.defaultFunction, + "bddgrp.shp.adrelc" :Utils.defaultFunction, + "bddgrp.shp.namelc" :Utils.defaultFunction, + "bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction, + "bddgrp.rec.stadat" :Utils.defaultFunction, + "bddgrp.beb.pts.extkey" :Utils.defaultFunction, + "bddgrp.acb.adrelc" :Utils.defaultFunction, + "bddgrp.acb.namelc" :Utils.defaultFunction, + "bddgrp.acb.dbfadrblkcn" :Utils.defaultFunction, + "sftmt" :Utils.defaultFunction, + "bdtp.cre752flg" :Utils.defaultFunction, + "didgrp.cbs.nom1.cur" :Utils.defaultFunction, + "bddgrp.beb.adrelc" :Utils.defaultFunction, + "bddgrp.beb.namelc" :Utils.defaultFunction, + "bddgrp.beb.dbfadrblkcn" :Utils.defaultFunction, + "bddgrp.rec.docflg" :Utils.defaultFunction, + "didgrp.rec.avbby" :Utils.defaultFunction, + "bddgrp.shp.pts.adrblk" :Utils.defaultFunction, + "didgrp.rec.ownref" :Utils.defaultFunction, + "bddgrp.rec.rtoaplflg" :Utils.defaultFunction, + "bddgrp.rec.ownref" :Utils.defaultFunction, + "bddgrp.rmb.pts.adrblk" :Utils.defaultFunction, + "bddgrp.beb.pts.adrblk" :Utils.defaultFunction, + "bddgrp.rec.advtyp" :Utils.defaultFunction, + "bddgrp.cbs.max2.amt" :Utils.defaultFunction, + "bddgrp.rec.docprbrol" :Utils.defaultFunction, + "bddgrp.acb.pts.adrblk" :Utils.defaultFunction, + "bddgrp.rec.relgoddat" :Utils.defaultFunction, + "bddgrp.cbs.max.amt" :Utils.defaultFunction, + "bddgrp.rec.predat" :Utils.defaultFunction, + "bddgrp.cbs.max.cur" :Utils.defaultFunction, + "didgrp.rec.expdat" :Utils.defaultFunction, + "didgrp.cbs.opn1.amt" :Utils.defaultFunction, + "didgrp.rec.shpdat" :Utils.defaultFunction, + "bddgrp.rec.reltyp" :Utils.defaultFunction, + "bddgrp.apl.pts.nam" :Utils.defaultFunction, + "aamset.utlamt" :Utils.defaultFunction, + "bddgrp.cbs.opn2.cur" :Utils.defaultFunction, + "aamset.utlamt2" :Utils.defaultFunction, + "bddgrp.cbs.opn1.amt" :Utils.defaultFunction, + "bddgrp.rec.disdat" :Utils.defaultFunction, + "bddgrp.rec.approvcod" :Utils.defaultFunction, + "bddgrp.rec.payrol" :Utils.defaultFunction, + "bddgrp.prb.pts.nam" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Bdtudp/Event.js b/src/model/Bdtudp/Event.js new file mode 100644 index 0000000..62c7703 --- /dev/null +++ b/src/model/Bdtudp/Event.js @@ -0,0 +1,78 @@ +import Api from "~/service/Api" +import Utils from "~/utils" + +export default { + async onAcctagButtxmsel(){ + let rtnmsg = await this.executeRule("acctag_buttxmsel") + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onRmbpDet(){ + let rtnmsg = await this.executeRule("rmbp_det") + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onAcbpDet(){ + let rtnmsg = await this.executeRule("acbp_det") + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onBebpDet(){ + let rtnmsg = await this.executeRule("bebp_det") + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDocdisButtxmsel(){ + let rtnmsg = await this.executeRule("docdis_buttxmsel") + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onShppDet(){ + let rtnmsg = await this.executeRule("shpp_det") + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + +} \ No newline at end of file diff --git a/src/model/Bdtudp/Pattern.js b/src/model/Bdtudp/Pattern.js new file mode 100644 index 0000000..7926f3c --- /dev/null +++ b/src/model/Bdtudp/Pattern.js @@ -0,0 +1,421 @@ +export default { + "bdtp.didget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.didget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "didgrp.rec.expdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.cbs.opn1.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "didgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bdtp.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bddgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bddgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bddgrp.apl.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.cbs.opn1.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bddgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bddgrp.apl.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bddgrp.rec.rcvdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.rec.stadat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.ben.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bddgrp.rec.matdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.rec.tenmaxday":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bddgrp.ben.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bddgrp.prb.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bddgrp.prb.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + + "bddgrp.prb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.rec.rcvdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.rec.predat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.prb.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + "setmod.docamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bddgrp.prb.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "aamset.utlamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bddgrp.prb.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "aamset.utlamt2":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "bdtp.oth.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bdtp.oth.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "bddgrp.tag72add":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "bdtp.oth.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bdtp.oth.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.blk.nartxt77a":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bddgrp.cbs.max2.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bddgrp.blk.chaded":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.blk.chaadd":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.rec.totcur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bddgrp.rec.totamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bdtp.rmbp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.rmb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.rmbp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bddgrp.rmb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.rmb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.rmb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.rmb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bdtp.acbp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.bebp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.acb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.acbp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bddgrp.beb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.bebp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bddgrp.acb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.beb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.acb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.acb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.beb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.beb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.acb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.beb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.rec.totdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.blk.docdis":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + + + + "bddgrp.rec.disdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.blk.comcon":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + "bddgrp.blk.accrmk":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bdtp.connum":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bddgrp.rec.relgoddat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.rec.expdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.blk.carnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bddgrp.rec.blnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "bddgrp.rec.trpdocnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bddgrp.rec.tradat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bddgrp.blk.relstoadr":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "bddgrp.blk.vesnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bddgrp.blk.pordis":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bdtp.shpp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.blk.delplc":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bddgrp.shp.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp.shpp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bddgrp.shp.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.blk.roggod":[ + {type: "string", required: true, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bddgrp.shp.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.shp.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.shp.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.blk.notpty":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bddgrp.blk.porlod":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bddgrp.blk.voynum":[ + {type: "string", required: false, message: "必输项"}, + {max: 30,message:"长度不能超过30"} + ], + + "didgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "didgrp.cbs.nom1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "didgrp.avbnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + + "didgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.rec.opndat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.rec.expplc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + +} \ No newline at end of file diff --git a/src/model/Bdtudp/index.js b/src/model/Bdtudp/index.js new file mode 100644 index 0000000..be11206 --- /dev/null +++ b/src/model/Bdtudp/index.js @@ -0,0 +1,202 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" + +export default class Bdtudp{ + constructor () { + this.data = { + bddgrp:{ + rec:{ + docflg:"", // 单据类型 .bddgrp.rec.docflg + rcvdat:"", // 到单日期 .bddgrp.rec.rcvdat + predat:"", // 到单日期 .bddgrp.rec.predat + docprbrol:"", // 单据类型 .bddgrp.rec.docprbrol + payrol:"", // 发送承付电 .bddgrp.rec.payrol + ownref:"", // 单据参考号 .bddgrp.rec.ownref + nam:"", // Name of Bill Contract .bddgrp.rec.nam + docsta:"", // 单据状态 .bddgrp.rec.docsta + matdat:"", // Maturity Date .bddgrp.rec.matdat + tenmaxday:"", // 单据到期日 .bddgrp.rec.tenmaxday + stadat:"", // Start Date .bddgrp.rec.stadat + totcur:"", // Total Amount Claimed .bddgrp.rec.totcur + totamt:"", // Total Amount to be Paid .bddgrp.rec.totamt + totdat:"", // 付款日期 .bddgrp.rec.totdat + igndisflg:"", // Ignore Discrepancies .bddgrp.rec.igndisflg + advtyp:"", // Type of Advice Received .bddgrp.rec.advtyp + disdat:"", // 不符点通知日期 .bddgrp.rec.disdat + approvcod:"", // Documents on Approval Basis .bddgrp.rec.approvcod + relgodflg:"", // Release of Goods .bddgrp.rec.relgodflg + reltyp:"", // Release Type .bddgrp.rec.reltyp + relgoddat:"", // issue date .bddgrp.rec.relgoddat + expdat:"", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat + trpdoctyp:"", // Transport Doc. Type .bddgrp.rec.trpdoctyp + trpdocnum:"", // Transport Doc. No. .bddgrp.rec.trpdocnum + tradat:"", // shipment date .bddgrp.rec.tradat + tramod:"", // Mode of Transport .bddgrp.rec.tramod + rtoaplflg:"", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg + ngrcod:"", // Goods code .bddgrp.rec.ngrcod + blnum:"", // B/L Number .bddgrp.rec.blnum + }, + cbs:{ + opn2:{ + cur:"", // 附加金额 .bddgrp.cbs.opn2.cur + }, + max:{ + cur:"", // 单据金额 .bddgrp.cbs.max.cur + amt:"", // Balance .bddgrp.cbs.max.amt + }, + opn1:{ + cur:"", // 单据余额 .bddgrp.cbs.opn1.cur + amt:"", // Balance .bddgrp.cbs.opn1.amt + }, + max2:{ + amt:"", // 附加金额 .bddgrp.cbs.max2.amt + }, + }, + apl:{ + pts:new Pts().data, + }, + ben:{ + pts:new Pts().data, + }, + prb:{ + pts:new Pts().data, + }, + tag72add:"", // TAG72 .bddgrp.tag72add + blk:{ + chaded:"", // Charges Deducted .bddgrp.blk.chaded + chaadd:"", // Charges .bddgrp.blk.chaadd + nartxt77a:"", // Narrative TAG 77A of MT754 .bddgrp.blk.nartxt77a + docdis:"", // Discrepancies .bddgrp.blk.docdis + docdisflg:"", // discrepancies modified .bddgrp.blk.docdisflg + comcon:"", // Comments and Conclusions .bddgrp.blk.comcon + accrmk:"", // 到期付款确认备注 .bddgrp.blk.accrmk + vesnam:"", // Vessel Name .bddgrp.blk.vesnam + pordis:"", // Port of Discharge .bddgrp.blk.pordis + delplc:"", // Place of Delivery .bddgrp.blk.delplc + roggod:"", // Covered Goods .bddgrp.blk.roggod + relstoadr:"", // Release to Address .bddgrp.blk.relstoadr + porlod:"", // Port of loading .bddgrp.blk.porlod + voynum:"", // Voyage numer .bddgrp.blk.voynum + notpty:"", // Notify Party .bddgrp.blk.notpty + carnam:"", // Carrier .bddgrp.blk.carnam + }, + rmb:{ + pts:new Pts().data, + namelc:"", // 名称 .bddgrp.rmb.namelc + adrelc:"", // 地址 .bddgrp.rmb.adrelc + dbfadrblkcn:"", // Chinese address .bddgrp.rmb.dbfadrblkcn + }, + acb:{ + pts:new Pts().data, + namelc:"", // 名称 .bddgrp.acb.namelc + adrelc:"", // 地址 .bddgrp.acb.adrelc + dbfadrblkcn:"", // Chinese address .bddgrp.acb.dbfadrblkcn + }, + beb:{ + pts:new Pts().data, + namelc:"", // 名称 .bddgrp.beb.namelc + adrelc:"", // 地址 .bddgrp.beb.adrelc + dbfadrblkcn:"", // Chinese address .bddgrp.beb.dbfadrblkcn + }, + shp:{ + pts:new Pts().data, + namelc:"", // 名称 .bddgrp.shp.namelc + adrelc:"", // 地址 .bddgrp.shp.adrelc + dbfadrblkcn:"", // Chinese address .bddgrp.shp.dbfadrblkcn + }, + }, + aamset:{ + utlamt:"", // 单据金额 .aamset.utlamt + utlamt2:"", // 附加金额 .aamset.utlamt2 + }, + setmod:{ + docamt:"", // 承兑金额 .setmod.docamt + doccur:"", // 承兑金额 .setmod.doccur + }, + didgrp:{ + rec:{ + ownref:"", // 参考号 .didgrp.rec.ownref + expdat:"", // 到期日/到期地点 .didgrp.rec.expdat + nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam + avbby:"", // 兑付方式 .didgrp.rec.avbby + opndat:"", // 开证日期 .didgrp.rec.opndat + shpdat:"", // Shipment Date .didgrp.rec.shpdat + lcrtyp:"", // 信用证类型 .didgrp.rec.lcrtyp + expplc:"", // 到期日/到期地点 .didgrp.rec.expplc + }, + cbs:{ + opn1:{ + cur:"", // 单据余额 .didgrp.cbs.opn1.cur + amt:"", // Balance .didgrp.cbs.opn1.amt + }, + nom1:{ + cur:"", // 信用证金额 .didgrp.cbs.nom1.cur + amt:"", // 信用证金额 .didgrp.cbs.nom1.amt + }, + }, + avbnam:"", // 指定银行 .didgrp.avbnam + }, + bdtp:{ + didget:{ + sdamod:{ + seainf:"", // .bdtp.didget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd + }, + }, + recget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd + seainf:"", // .bdtp.recget.sdamod.seainf + }, + }, + matp:{ + mattxtlab:"", // Label for MATTXT .bdtp.matp.mattxtlab + }, + oth:{ + pts:new Pts().data, + }, + rmbp:{ + ptsget:{ + sdamod:{ + seainf:"", // .bdtp.rmbp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .bdtp.rmbp.ptsget.sdamod.dadsnd + }, + }, + }, + acbp:{ + ptsget:{ + sdamod:{ + seainf:"", // .bdtp.acbp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .bdtp.acbp.ptsget.sdamod.dadsnd + }, + }, + }, + bebp:{ + ptsget:{ + sdamod:{ + seainf:"", // .bdtp.bebp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .bdtp.bebp.ptsget.sdamod.dadsnd + }, + }, + }, + docgrdm:{ + docdsclab:"", // Label of document description .bdtp.docgrdm.docdsclab + }, + cre752flg:"", // Create 752 .bdtp.cre752flg + furide:"", // Further Identification .bdtp.furide + cre732flg:"", // Create MT 732 .bdtp.cre732flg + shpp:{ + ptsget:{ + sdamod:{ + seainf:"", // .bdtp.shpp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .bdtp.shpp.ptsget.sdamod.dadsnd + }, + }, + }, + connum:"", // Contract Number .bdtp.connum + zchday:"", // 最迟装运/服务提供日 .bdtp.zchday + }, + sftmt:"", // Which MT .sftmt + } + } +} \ No newline at end of file diff --git a/src/model/Trnrel/index.js b/src/model/Trnrel/index.js index a7ebb4e..c5e7257 100644 --- a/src/model/Trnrel/index.js +++ b/src/model/Trnrel/index.js @@ -1,113 +1,113 @@ import Api from "~/service/Api"; -export default class Trnrel{ - constructor () { - this.data = { - trncorco:{ - ownref:"", // Reference .trncorco.ownref - relflg:"", // Status .trncorco.relflg - inidatfro:"", // Date of entry of Transaction .trncorco.inidatfro - inidattil:"", // Date of entry of Transaction until .trncorco.inidattil - trnstm:"", // List of transaction sfor display .trncorco.trnstm - dflg:"", // 国内证标志 .trncorco.dflg - selinr: {}, - }, - atp:{ - cod:"", // Transaction Type .atp.cod - }, - atpget:{ - sdamod:{ - seainf:"", // .atpget.sdamod.seainf - dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd - }, - }, - atptxt:"", // Transaction Text .atptxt - numtrn:"", // # of transactions .numtrn - orddsp:"", // >> .orddsp - bchcon:"", // Branch .bchcon - usrcon:"", // User .usrcon - recpan:{ - cpltxt:"", // Completion text .recpan.cpltxt - spt:{ - sta:"", // Status .recpan.spt.sta - }, - ord:{ - sta:"", // Status .recpan.ord.sta - }, - recget:{ - sdamod:{ - seainf:"", // Ident No. .recpan.recget.sdamod.seainf - dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd - }, - }, - atp:{ - cod:"", // Transaction ID .recpan.atp.cod - }, - atpget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd - seainf:"", // Transaction .recpan.atpget.sdamod.seainf - }, - }, - smhstm:"", // Documents .recpan.smhstm - usr:{ - extkey:"", // User ID .recpan.usr.extkey - }, - usrget:{ - sdamod:{ - seainf:"", // .recpan.usrget.sdamod.seainf - }, - }, - trsstm:"", // Signatures .recpan.trsstm - con:"", // Reference .recpan.con - cretrs:{ - usr:"", // Entered by .recpan.cretrs.usr - dattim:"", // Timestamp .recpan.cretrs.dattim - }, - ackgrp:{ - rec:{ - sndref:"", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref - }, - }, - wfestm:"", // WFEs for transaction for display .recpan.wfestm - evthisstm:"", // stream of history of transactions .recpan.evthisstm - evtstm:"", // stream of events .recpan.evtstm - ackstm:"", // ACKs for transaction .recpan.ackstm - trostm:"", // TROs for transaction for display .recpan.trostm - prtgleblk:"", // XMLPanel prtgle的内置block .recpan.prtgleblk - prtpanblk:"", // XMLPanel prtpan的内置block .recpan.prtpanblk - }, - trn:{ - ownref:"", // Reference .trn.ownref - inr:"", // Transaction Key .trn.inr - objnam:"", // External Readable Object Identification .trn.objnam - reloricur:"", // Relevant Amount .trn.reloricur - reloriamt:"", // Relevant Amount for Release in Original Currency .trn.reloriamt - relflg:"", // Release Status of Transaction .trn.relflg - usr:"", // Responsible .trn.usr - usg:"", // Responsible Group .trn.usg - relreq:"", // Signatures Required/Obtained .trn.relreq - relres:"", // Applied Signatures .trn.relres - cortrninr:"", // Based on Ident No. .trn.cortrninr - exedat:"", // Execution Date .trn.exedat - inftxt:"", // Infotext .trn.inftxt - infdsp:"", // Infoflag .trn.infdsp - }, - wfmmod:{ - wfs:{ - objnam:"", // External Readable Object Identification .wfmmod.wfs.objnam - objtyp:"", // Table Used to Store Associated Object .wfmmod.wfs.objtyp - objinr:"", // Object .wfmmod.wfs.objinr - }, - }, - docimm:{ - prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk - xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk - prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk - docbol:{ - prtpblk:"", // XMLPanel prtp的内置block .docimm.docbol.prtpblk - }, - }, - pageId: "" // ctx的key - } - } +export default class Trnrel { + constructor() { + this.data = { + trncorco: { + ownref: "", // Reference .trncorco.ownref + relflg: "", // Status .trncorco.relflg + inidatfro: "", // Date of entry of Transaction .trncorco.inidatfro + inidattil: "", // Date of entry of Transaction until .trncorco.inidattil + trnstm: "", // List of transaction sfor display .trncorco.trnstm + dflg: "", // 国内证标志 .trncorco.dflg + selinr: {}, + }, + atp: { + cod: "", // Transaction Type .atp.cod + }, + atpget: { + sdamod: { + seainf: "", // .atpget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .atpget.sdamod.dadsnd + }, + }, + atptxt: "", // Transaction Text .atptxt + numtrn: "", // # of transactions .numtrn + orddsp: "", // >> .orddsp + bchcon: "", // Branch .bchcon + usrcon: "", // User .usrcon + recpan: { + cpltxt: "", // Completion text .recpan.cpltxt + spt: { + sta: "", // Status .recpan.spt.sta + }, + ord: { + sta: "", // Status .recpan.ord.sta + }, + recget: { + sdamod: { + seainf: "", // Ident No. .recpan.recget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .recpan.recget.sdamod.dadsnd + }, + }, + atp: { + cod: "", // Transaction ID .recpan.atp.cod + }, + atpget: { + sdamod: { + dadsnd: "", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd + seainf: "", // Transaction .recpan.atpget.sdamod.seainf + }, + }, + smhstm: "", // Documents .recpan.smhstm + usr: { + extkey: "", // User ID .recpan.usr.extkey + }, + usrget: { + sdamod: { + seainf: "", // .recpan.usrget.sdamod.seainf + }, + }, + trsstm: "", // Signatures .recpan.trsstm + con: "", // Reference .recpan.con + cretrs: { + usr: "", // Entered by .recpan.cretrs.usr + dattim: "", // Timestamp .recpan.cretrs.dattim + }, + ackgrp: { + rec: { + sndref: "", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref + }, + }, + wfestm: "", // WFEs for transaction for display .recpan.wfestm + evthisstm: "", // stream of history of transactions .recpan.evthisstm + evtstm: "", // stream of events .recpan.evtstm + ackstm: "", // ACKs for transaction .recpan.ackstm + trostm: "", // TROs for transaction for display .recpan.trostm + prtgleblk: "", // XMLPanel prtgle的内置block .recpan.prtgleblk + prtpanblk: "", // XMLPanel prtpan的内置block .recpan.prtpanblk + }, + trn: { + ownref: "", // Reference .trn.ownref + inr: "", // Transaction Key .trn.inr + objnam: "", // External Readable Object Identification .trn.objnam + reloricur: "", // Relevant Amount .trn.reloricur + reloriamt: "", // Relevant Amount for Release in Original Currency .trn.reloriamt + relflg: "", // Release Status of Transaction .trn.relflg + usr: "", // Responsible .trn.usr + usg: "", // Responsible Group .trn.usg + relreq: "", // Signatures Required/Obtained .trn.relreq + relres: "", // Applied Signatures .trn.relres + cortrninr: "", // Based on Ident No. .trn.cortrninr + exedat: "", // Execution Date .trn.exedat + inftxt: "", // Infotext .trn.inftxt + infdsp: "", // Infoflag .trn.infdsp + }, + wfmmod: { + wfs: { + objnam: "", // External Readable Object Identification .wfmmod.wfs.objnam + objtyp: "", // Table Used to Store Associated Object .wfmmod.wfs.objtyp + objinr: "", // Object .wfmmod.wfs.objinr + }, + }, + docimm: { + prtswtpblk: "", // XMLPanel prtswtp的内置block .docimm.prtswtpblk + xmldocblk: "", // XMLPanel xmldoc的内置block .docimm.xmldocblk + prtswtrpblk: "", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk + docbol: { + prtpblk: "", // XMLPanel prtp的内置block .docimm.docbol.prtpblk + }, + }, + pageId: "" // ctx的key + } + } } \ No newline at end of file diff --git a/src/views/Business/Bdtudp/Brlip.vue b/src/views/Business/Bdtudp/Brlip.vue new file mode 100644 index 0000000..de8c138 --- /dev/null +++ b/src/views/Business/Bdtudp/Brlip.vue @@ -0,0 +1,89 @@ +<template> + <div class="eibs-tab"> + + <el-col :span="12"> + <el-form-item label="Externally Displayed Name to Identify the Contract" prop="didgrp.rec.nam"> + <c-input v-model="model.didgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> + <c-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择信用证金额"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.amt"> + <c-input v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="指定银行" prop="didgrp.avbnam"> + <c-input v-model="model.didgrp.avbnam" maxlength="40" placeholder="请输入指定银行"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="兑付方式" prop="didgrp.rec.avbby"> + <c-select v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <span v-text="model.bdtp.zchday" data-path=".bdtp.zchday" > </span> + </el-col> + + <el-col :span="12"> + <el-form-item label="Shipment Date" prop="didgrp.rec.shpdat"> + <c-date-picker type="date" v-model="model.didgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="开证日期" prop="didgrp.rec.opndat"> + <c-date-picker type="date" v-model="model.didgrp.rec.opndat" style="width:100%" placeholder="请选择开证日期"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="到期日/到期地点"> + <c-input type="textarea" v-model="model.didgrp.rec.expplc" maxlength="35" show-word-limit placeholder="请输入到期日/到期地点" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp"> + <c-select v-model="model.didgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> + </c-select> + </el-form-item> + </el-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtudp/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/Bdtudp/Docpre.vue b/src/views/Business/Bdtudp/Docpre.vue new file mode 100644 index 0000000..516327b --- /dev/null +++ b/src/views/Business/Bdtudp/Docpre.vue @@ -0,0 +1,86 @@ +<template> + <div class="eibs-tab"> + + <el-col :span="12"> + <c-checkbox v-model="model.bddgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox> + </el-col> + + <el-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> + ... + </c-button> + </el-col> + + <el-col :span="12"> + <el-form-item label="Type of Advice Received" 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> + </el-col> + + <el-col :span="12"> + <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> + </el-col> + + <el-col :span="12"> + <el-form-item label="Comments and Conclusions"> + <c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-checkbox v-model="model.bddgrp.rec.approvcod">Documents on Approval Basis</c-checkbox> + </el-col> + + <el-col :span="12"> + <c-checkbox v-model="model.bdtp.cre752flg">Create 752</c-checkbox> + </el-col> + + <el-col :span="12"> + <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> + </el-col> + + <el-col :span="12"> + <c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox> + </el-col> + + <el-col :span="12"> + <el-form-item label="到期付款确认备注"> + <c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit placeholder="请输入到期付款确认备注" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <span v-text="model.bdtp.docgrdm.docdsclab" data-path=".bdtp.docgrdm.docdsclab" > </span> + </el-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtudp/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/Bdtudp/Mt750p.vue b/src/views/Business/Bdtudp/Mt750p.vue new file mode 100644 index 0000000..c1cc673 --- /dev/null +++ b/src/views/Business/Bdtudp/Mt750p.vue @@ -0,0 +1,38 @@ +<template> + <div class="eibs-tab"> + + <el-col :span="12"> + <el-form-item label="Discrepancies"> + <c-input type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-checkbox v-model="model.bddgrp.blk.docdisflg">discrepancies modified</c-checkbox> + </el-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtudp/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/Bdtudp/Mt754p.vue b/src/views/Business/Bdtudp/Mt754p.vue new file mode 100644 index 0000000..07f06aa --- /dev/null +++ b/src/views/Business/Bdtudp/Mt754p.vue @@ -0,0 +1,221 @@ +<template> + <div class="eibs-tab"> + + <el-col :span="12"> + <el-form-item label="Narrative TAG 77A of MT754"> + <c-input type="textarea" v-model="model.bddgrp.blk.nartxt77a" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of MT754" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur"> + <c-select v-model="model.bddgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="附加金额" prop="bddgrp.cbs.max2.amt"> + <c-input v-model="model.bddgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Charges Deducted"> + <c-input type="textarea" v-model="model.bddgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Charges"> + <c-input type="textarea" v-model="model.bddgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur"> + <c-input v-model="model.bddgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt"> + <c-input v-model="model.bddgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp.rmbp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.bdtp.rmbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="External Key of Address" prop="bddgrp.rmb.pts.extkey"> + <c-input v-model="model.bddgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="" prop="bdtp.rmbp.ptsget.sdamod.seainf"> + <c-input v-model="model.bdtp.rmbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-button size="small" type="primary" @click="onRmbpDet"> + Details + </c-button> + </el-col> + + <el-col :span="12"> + <el-form-item label="名称"> + <c-input type="textarea" v-model="model.bddgrp.rmb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Address Block"> + <c-input type="textarea" v-model="model.bddgrp.rmb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Chinese address"> + <c-input type="textarea" v-model="model.bddgrp.rmb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="地址"> + <c-input type="textarea" v-model="model.bddgrp.rmb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp.acbp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.bdtp.acbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp.bebp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.bdtp.bebp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="External Key of Address" prop="bddgrp.acb.pts.extkey"> + <c-input v-model="model.bddgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="" prop="bdtp.acbp.ptsget.sdamod.seainf"> + <c-input v-model="model.bdtp.acbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-button size="small" type="primary" @click="onAcbpDet"> + Details + </c-button> + </el-col> + + <el-col :span="12"> + <el-form-item label="External Key of Address" prop="bddgrp.beb.pts.extkey"> + <c-input v-model="model.bddgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="" prop="bdtp.bebp.ptsget.sdamod.seainf"> + <c-input v-model="model.bdtp.bebp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-button size="small" type="primary" @click="onBebpDet"> + Details + </c-button> + </el-col> + + <el-col :span="12"> + <el-form-item label="名称"> + <c-input type="textarea" v-model="model.bddgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="名称"> + <c-input type="textarea" v-model="model.bddgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Address Block"> + <c-input type="textarea" v-model="model.bddgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Chinese address"> + <c-input type="textarea" v-model="model.bddgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Address Block"> + <c-input type="textarea" v-model="model.bddgrp.beb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Chinese address"> + <c-input type="textarea" v-model="model.bddgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="地址"> + <c-input type="textarea" v-model="model.bddgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="地址"> + <c-input type="textarea" v-model="model.bddgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <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> + </el-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtudp/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/Bdtudp/Othadvtypp.vue b/src/views/Business/Bdtudp/Othadvtypp.vue new file mode 100644 index 0000000..2633f51 --- /dev/null +++ b/src/views/Business/Bdtudp/Othadvtypp.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/Bdtudp/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/Bdtudp/Ovwp.vue b/src/views/Business/Bdtudp/Ovwp.vue new file mode 100644 index 0000000..4ebbcb8 --- /dev/null +++ b/src/views/Business/Bdtudp/Ovwp.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/Bdtudp/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/Bdtudp/Payp.vue b/src/views/Business/Bdtudp/Payp.vue new file mode 100644 index 0000000..c27e063 --- /dev/null +++ b/src/views/Business/Bdtudp/Payp.vue @@ -0,0 +1,323 @@ +<template> + <div class="eibs-tab"> + + <el-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp.didget.sdamod.dadsnd"> + <c-input v-model="model.bdtp.didget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="参考号" prop="didgrp.rec.ownref"> + <c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入参考号"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="" prop="bdtp.didget.sdamod.seainf"> + <c-input v-model="model.bdtp.didget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="到期日/到期地点" prop="didgrp.rec.expdat"> + <c-date-picker type="date" v-model="model.didgrp.rec.expdat" style="width:100%" placeholder="请选择到期日/到期地点"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据余额" prop="didgrp.cbs.opn1.cur"> + <c-input v-model="model.didgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Balance" prop="didgrp.cbs.opn1.amt"> + <c-input v-model="model.didgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp.recget.sdamod.dadsnd"> + <c-input v-model="model.bdtp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据参考号" prop="bddgrp.rec.ownref"> + <c-input v-model="model.bddgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="" prop="bdtp.recget.sdamod.seainf"> + <c-input v-model="model.bdtp.recget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Name of Bill Contract" prop="bddgrp.rec.nam"> + <c-input v-model="model.bddgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur"> + <c-select v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Balance" prop="bddgrp.cbs.max.amt"> + <c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入Balance"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="申请人" prop="bddgrp.apl.pts.ref"> + <c-input v-model="model.bddgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur"> + <c-input v-model="model.bddgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Balance" prop="bddgrp.cbs.opn1.amt"> + <c-input v-model="model.bddgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Name of Party" prop="bddgrp.apl.pts.nam"> + <c-input v-model="model.bddgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Start Date" prop="bddgrp.rec.stadat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.stadat" style="width:100%" placeholder="请选择Start Date"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="受益人" prop="bddgrp.ben.pts.ref"> + <c-input v-model="model.bddgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <span v-text="model.bdtp.matp.mattxtlab" data-path=".bdtp.matp.mattxtlab" > </span> + </el-col> + + <el-col :span="12"> + <el-form-item label="Maturity Date" prop="bddgrp.rec.matdat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据到期日" prop="bddgrp.rec.tenmaxday"> + <c-input v-model="model.bddgrp.rec.tenmaxday" placeholder="请输入单据到期日"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Name of Party" prop="bddgrp.ben.pts.nam"> + <c-input v-model="model.bddgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据类型" prop="bddgrp.rec.docflg"> + <c-select v-model="model.bddgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="交单行" prop="bddgrp.prb.pts.ref"> + <c-input v-model="model.bddgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据状态" prop="bddgrp.rec.docsta"> + <c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Name of Party" prop="bddgrp.prb.pts.nam"> + <c-input v-model="model.bddgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据类型" prop="bddgrp.rec.docprbrol"> + <c-select v-model="model.bddgrp.rec.docprbrol" style="width:100%" placeholder="请选择单据类型"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据类型" prop="bddgrp.rec.docflg"> + <c-select v-model="model.bddgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="External Key of Address" prop="bddgrp.prb.pts.extkey"> + <c-input v-model="model.bddgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="到单日期" prop="bddgrp.rec.predat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.predat" style="width:100%" placeholder="请选择到单日期"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Number of bank" prop="bddgrp.prb.pts.bankno"> + <c-input v-model="model.bddgrp.prb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="承兑金额" prop="setmod.doccur"> + <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择承兑金额"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="承兑金额" prop="setmod.docamt"> + <c-input v-model="model.setmod.docamt" placeholder="请输入承兑金额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="联行名称 电证用"> + <c-input type="textarea" v-model="model.bddgrp.prb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur"> + <c-select v-model="model.bddgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="单据金额" prop="aamset.utlamt"> + <c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="地址 电证用"> + <c-input type="textarea" v-model="model.bddgrp.prb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="附加金额" prop="aamset.utlamt2"> + <c-input v-model="model.aamset.utlamt2" placeholder="请输入附加金额"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="发送承付电" prop="bddgrp.rec.payrol"> + <c-select v-model="model.bddgrp.rec.payrol" style="width:100%" placeholder="请选择发送承付电"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="External Key of Address" prop="bdtp.oth.pts.extkey"> + <c-input v-model="model.bdtp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Which MT" prop="sftmt"> + <c-select v-model="model.sftmt" style="width:100%" placeholder="请选择Which MT"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Number of bank" prop="bdtp.oth.pts.bankno"> + <c-input v-model="model.bdtp.oth.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="TAG72"> + <c-input type="textarea" v-model="model.bddgrp.tag72add" maxlength="50" show-word-limit placeholder="请输入TAG72" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onAcctagButtxmsel"> + ... + </c-button> + </el-col> + + <el-col :span="12"> + <el-form-item label="联行名称 电证用"> + <c-input type="textarea" v-model="model.bdtp.oth.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="地址 电证用"> + <c-input type="textarea" v-model="model.bdtp.oth.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input> + </el-form-item> + </el-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtudp/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/Bdtudp/Shpdet.vue b/src/views/Business/Bdtudp/Shpdet.vue new file mode 100644 index 0000000..882007f --- /dev/null +++ b/src/views/Business/Bdtudp/Shpdet.vue @@ -0,0 +1,205 @@ +<template> + <div class="eibs-tab"> + + <el-col :span="12"> + <el-form-item label="Release of Goods" prop="bddgrp.rec.relgodflg"> + <c-select v-model="model.bddgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Contract Number" prop="bdtp.connum"> + <c-input v-model="model.bdtp.connum" maxlength="35" placeholder="请输入Contract Number"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Release Type" prop="bddgrp.rec.reltyp"> + <c-select v-model="model.bddgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="issue date" prop="bddgrp.rec.relgoddat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Expiry Date of Shipping Guarantee" prop="bddgrp.rec.expdat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Carrier" prop="bddgrp.blk.carnam"> + <c-input v-model="model.bddgrp.blk.carnam" maxlength="35" placeholder="请输入Carrier"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Transport Doc. Type" prop="bddgrp.rec.trpdoctyp"> + <c-select v-model="model.bddgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="B/L Number" prop="bddgrp.rec.blnum"> + <c-input v-model="model.bddgrp.rec.blnum" maxlength="20" placeholder="请输入B/L Number"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Transport Doc. No." prop="bddgrp.rec.trpdocnum"> + <c-input v-model="model.bddgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. No."></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-checkbox v-model="model.bddgrp.rec.rtoaplflg">Release Goods to Applicant ?</c-checkbox> + </el-col> + + <el-col :span="12"> + <el-form-item label="shipment date" prop="bddgrp.rec.tradat"> + <c-date-picker type="date" v-model="model.bddgrp.rec.tradat" style="width:100%" placeholder="请选择shipment date"></c-date-picker> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Release to Address"> + <c-input type="textarea" v-model="model.bddgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Mode of Transport" prop="bddgrp.rec.tramod"> + <c-select v-model="model.bddgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport"> + </c-select> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Vessel Name" prop="bddgrp.blk.vesnam"> + <c-input v-model="model.bddgrp.blk.vesnam" maxlength="40" placeholder="请输入Vessel Name"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Port of Discharge" prop="bddgrp.blk.pordis"> + <c-input v-model="model.bddgrp.blk.pordis" maxlength="40" placeholder="请输入Port of Discharge"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp.shpp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.bdtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Place of Delivery" prop="bddgrp.blk.delplc"> + <c-input v-model="model.bddgrp.blk.delplc" maxlength="40" placeholder="请输入Place of Delivery"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="External Key of Address" prop="bddgrp.shp.pts.extkey"> + <c-input v-model="model.bddgrp.shp.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="" prop="bdtp.shpp.ptsget.sdamod.seainf"> + <c-input v-model="model.bdtp.shpp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <c-button size="small" type="primary" @click="onShppDet"> + Details + </c-button> + </el-col> + + <el-col :span="12"> + <el-form-item label="名称"> + <c-input type="textarea" v-model="model.bddgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Covered Goods"> + <c-input type="textarea" v-model="model.bddgrp.blk.roggod" maxlength="40" show-word-limit placeholder="请输入Covered Goods" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Address Block"> + <c-input type="textarea" v-model="model.bddgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Chinese address"> + <c-input type="textarea" v-model="model.bddgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="地址"> + <c-input type="textarea" v-model="model.bddgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Notify Party"> + <c-input type="textarea" v-model="model.bddgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入Notify Party" ></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Port of loading" prop="bddgrp.blk.porlod"> + <c-input v-model="model.bddgrp.blk.porlod" maxlength="40" placeholder="请输入Port of loading"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Voyage numer" prop="bddgrp.blk.voynum"> + <c-input v-model="model.bddgrp.blk.voynum" maxlength="30" placeholder="请输入Voyage numer"></c-input> + </el-form-item> + </el-col> + + <el-col :span="12"> + <el-form-item label="Goods code" prop="bddgrp.rec.ngrcod"> + <c-select v-model="model.bddgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code"> + </c-select> + </el-form-item> + </el-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtudp/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/Bdtudp/index.vue b/src/views/Business/Bdtudp/index.vue new file mode 100644 index 0000000..453109a --- /dev/null +++ b/src/views/Business/Bdtudp/index.vue @@ -0,0 +1,113 @@ +<template> + <div class="eContainer"> + <el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small"> + <c-tabs ref="elment" type="card" @tab-click="tabClick"> + + <!--PD000032 --> + <el-tab-pane label="PD000032" name="payp"> + <m-payp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000147 --> + <el-tab-pane label="PD000147" name="mt754p"> + <m-mt754p :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000139 --> + <el-tab-pane label="PD000139" name="mt750p"> + <m-mt750p :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000137 --> + <el-tab-pane label="PD000137" name="ovwp"> + <m-ovwp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000062 --> + <el-tab-pane label="PD000062" name="docpre"> + <m-docpre :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000079 --> + <el-tab-pane label="PD000079" name="shpdet"> + <m-shpdet :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000168 --> + <el-tab-pane label="PD000168" name="brlip"> + <m-brlip :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000213 --> + <el-tab-pane label="PD000213" name="othadvtypp"> + <m-othadvtypp :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 Bdtudp from "~/model/Bdtudp" +import CommonProcess from "~/mixin/CommonProcess" +import Pattern from "~/model/Bdtudp/Pattern" +import Payp from "./Payp" +import Mt754p from "./Mt754p" +import Mt750p from "./Mt750p" +import Ovwp from "./Ovwp" +import Docpre from "./Docpre" +import Shpdet from "./Shpdet" +import Brlip from "./Brlip" +import Othadvtypp from "./Othadvtypp" + + +export default { + components:{ + "m-payp" : Payp, + "m-mt754p" : Mt754p, + "m-mt750p" : Mt750p, + "m-ovwp" : Ovwp, + "m-docpre" : Docpre, + "m-shpdet" : Shpdet, + "m-brlip" : Brlip, + "m-othadvtypp" : Othadvtypp, + }, + provide() { + return { + root: this + } + }, + mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 + data(){ + return { + model:new Bdtudp().data, + // defaultRule:Default, + // rules:this.mergeRules(Pattern,Check), + rules:Pattern, + codes:{ + }, + } + }, + methods:{ + tabClick(){ + } + }, + created:async function(){ + console.log("进入bdtudp交易"); + let rtnmsg = await Api.post("bdtudp/init",{params:{}}) + if(rtnmsg.retcod == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/BusRouter.js b/src/views/Business/BusRouter.js index e6d62fa..6e73135 100644 --- a/src/views/Business/BusRouter.js +++ b/src/views/Business/BusRouter.js @@ -7,10 +7,12 @@ import Office from "./Office" import Sptsel from "./Sptsel" import Trnrel from "./Trnrel" import Tstopn from "./Tstopn" +import Bdtudp from "./Bdtudp" import Trndtl from "./Trnrel/Trndtl" const BusRouter = [ + {path:'bdtudp',component:Bdtudp}, {path:'cptadv',component:Cptadv}, {path:'cptopn',component:Cptopn}, {path:'ditame',component:Ditame}, diff --git a/src/views/Business/Trnrel/Inftrnps.vue b/src/views/Business/Trnrel/Inftrnps.vue index 844dcf0..5329103 100644 --- a/src/views/Business/Trnrel/Inftrnps.vue +++ b/src/views/Business/Trnrel/Inftrnps.vue @@ -1,37 +1,56 @@ <template> - <div class="eibs-tab"> + <div class="eibs-tab"> + <c-col :span="12"> + <el-form-item label="Branch" prop="bchcon"> + <c-select + v-model="model.bchcon" + style="width: 100%" + placeholder="请选择Branch" + > + </c-select> + </el-form-item> + </c-col> - <c-col :span="12"> - <el-form-item label="Branch" prop="bchcon"> - <c-select v-model="model.bchcon" style="width:100%" placeholder="请选择Branch"> - </c-select> - </el-form-item> - </c-col> + <c-col :span="12"> + <el-form-item label="Reference" prop="trncorco.ownref"> + <c-input + v-model="model.trncorco.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </el-form-item> + </c-col> - <c-col :span="12"> - <el-form-item label="Reference" prop="trncorco.ownref"> - <c-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入Reference"></c-input> - </el-form-item> - </c-col> + <c-col :span="12"> + <el-form-item label="Status" prop="trncorco.relflg"> + <c-select + v-model="model.trncorco.relflg" + style="width: 100%" + placeholder="请选择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="12"> - <el-form-item label="Status" prop="trncorco.relflg"> - <c-select v-model="model.trncorco.relflg" style="width:100%" placeholder="请选择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="12"> + <el-form-item label="User" prop="usrcon"> + <c-select + v-model="model.usrcon" + style="width: 100%" + placeholder="请选择User" + > + </c-select> + </el-form-item> + </c-col> - <c-col :span="12"> - <el-form-item label="User" prop="usrcon"> - <c-select v-model="model.usrcon" style="width:100%" placeholder="请选择User"> - </c-select> - </el-form-item> - </c-col> - - <!-- + <!-- <c-col :span="12"> <el-form-item label="Drag Drop Sender"> <c-input v-model="model.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> @@ -39,46 +58,76 @@ </c-col> --> - <c-col :span="12"> - <el-form-item label="Between"> - <el-date-picker type="date" v-model="model.trncorco.inidatfro" style="width:45%" placeholder="请选择Date of entry of Transaction"></el-date-picker> - - - <el-date-picker type="date" v-model="model.trncorco.inidattil" style="width:45%" placeholder="请选择Date of entry of Transaction until"></el-date-picker> - </el-form-item> - </c-col> + <c-col :span="12"> + <el-form-item label="Between"> + <el-date-picker + type="date" + v-model="model.trncorco.inidatfro" + style="width: 45%" + placeholder="请选择Date of entry of Transaction" + ></el-date-picker> + - + <el-date-picker + type="date" + v-model="model.trncorco.inidattil" + style="width: 45%" + placeholder="请选择Date of entry of Transaction until" + ></el-date-picker> + </el-form-item> + </c-col> - <!-- + <!-- <c-col :span="12"> <el-form-item label="and"> </el-form-item> </c-col> --> - <c-col :span="12"> - <el-form-item label="Transaction Type " prop="atp.cod"> - <c-input v-model="model.atp.cod" maxlength="6" style="width:50%" placeholder="请输入Transaction Type "></c-input> - <!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> --> - <c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button> - </el-form-item> - </c-col> + <c-col :span="12"> + <el-form-item label="Transaction Type " prop="atp.cod"> + <c-input + v-model="model.atp.cod" + maxlength="6" + style="width: 50%" + placeholder="请输入Transaction Type " + ></c-input> + <!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> --> + <c-button size="small" type="primary;width:10%" @click="onSeainf" + >i</c-button + > + </el-form-item> + </c-col> - <c-col :span="12"> - <el-form-item label="信用证标志" prop="trncorco.dflg"> - <c-select v-model="model.trncorco.dflg" style="width:100%" placeholder="请选择信用证标志"> - <el-option v-for="item in codes.dflg" :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="信用证标志" prop="trncorco.dflg"> + <c-select + v-model="model.trncorco.dflg" + style="width: 100%" + placeholder="请选择信用证标志" + > + <el-option + v-for="item in codes.dflg" + :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="Transaction Text" prop="atptxt"> - <c-input v-model="model.atptxt" maxlength="37" :readonly="true" placeholder="请输入Transaction Text"></c-input> - </el-form-item> - </c-col> + <c-col :span="12"> + <el-form-item label="Transaction Text" prop="atptxt"> + <c-input + v-model="model.atptxt" + maxlength="37" + :readonly="true" + placeholder="请输入Transaction Text" + ></c-input> + </el-form-item> + </c-col> - <!-- + <!-- <c-col :span="12"> <el-form-item label="List of transaction sfor display"> <c-input v-model="model.trncorco.trnstm" placeholder="请输入List of transaction sfor display"></c-input> @@ -92,42 +141,75 @@ </c-col> --> - <c-col :span="24" style="text-align:center"> - <c-button size="small" type="primary" @click="onSeaown"> - Search Own - </c-button> + <c-col :span="24" style="text-align: center"> + <c-button size="small" type="primary" @click="onSeaown"> + Search Own + </c-button> - <c-button size="small" type="primary" @click="onSeajbh"> - Search All - </c-button> + <c-button size="small" type="primary" @click="onSeajbh"> + Search All + </c-button> - <c-button size="small" type="primary" disabled="disabled" @click="onImgmodNewimg"> - Img - </c-button> - <c-button size="small" type="primary" disabled="disabled" @click="onImgmodNewhisimg"> - His.img - </c-button> - <c-button size="small" type="primary" disabled="disabled" @click="onDiaconButdia"> - Diaries - </c-button> - <c-button size="small" type="primary" disabled="disabled" @click="onImgmodHisimg"> - Old.img - </c-button> - <c-button size="small" type="primary" :disabled="relrowDisabled" @click="onRelrow"> - Release - </c-button> - <c-button size="small" type="primary" disabled="disabled" @click="onReprow"> - Repair - </c-button> - <c-button size="small" type="primary" :disabled="relrowDisabled" @click="onRejrow"> - Reject - </c-button> - <c-button size="small" type="primary" @click="onExi"> - Exit - </c-button> - </c-col> + <c-button + size="small" + type="primary" + disabled="disabled" + @click="onImgmodNewimg" + > + Img + </c-button> + <c-button + size="small" + type="primary" + disabled="disabled" + @click="onImgmodNewhisimg" + > + His.img + </c-button> + <c-button + size="small" + type="primary" + disabled="disabled" + @click="onDiaconButdia" + > + Diaries + </c-button> + <c-button + size="small" + type="primary" + disabled="disabled" + @click="onImgmodHisimg" + > + Old.img + </c-button> + <c-button + size="small" + type="primary" + :disabled="relrowDisabled" + @click="onRelrow" + > + Release + </c-button> + <c-button + size="small" + type="primary" + disabled="disabled" + @click="onReprow" + > + Repair + </c-button> + <c-button + size="small" + type="primary" + :disabled="relrowDisabled" + @click="onRejrow" + > + Reject + </c-button> + <c-button size="small" type="primary" @click="onExi"> Exit </c-button> + </c-col> - <!-- + <!-- <c-col :span="12"> <c-button size="small" type="primary" @click="onSeajbh"> Search All @@ -207,7 +289,7 @@ </c-col> --> - <!-- + <!-- <c-col :span="12"> <el-form-item label=">>"> <c-input v-model="model.orddsp" placeholder="请输入>>"></c-input> @@ -219,81 +301,78 @@ Exit </c-button> </c-col> --> - <!--<p>{{model.trncorco.trnstm}}</p>--> - - <c-istream-table :list="stmData.data" :columns="stmData.columns" :showSelection="true" v-on:multipleSelect="multipleSelect"> - <el-table-column - prop="display" - label="Display" - width="100"> - <template slot-scope="scope"> -<!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>--> - <a href="javascript:void(0)" @click="display(scope.$index, scope.row)">显示快照</a> - - </template> - </el-table-column> - </c-istream-table> - </div> + <!--<p>{{model.trncorco.trnstm}}</p>--> + <c-istream-table + :list="stmData.data" + :columns="stmData.columns" + :showSelection="true" + v-on:multipleSelect="multipleSelect" + > + <el-table-column prop="display" label="Display" width="100"> + <template slot-scope="scope"> + <!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>--> + <a href="javascript:void(0)" @click="display(scope.$index, scope.row)" + >显示快照</a + > + </template> + </el-table-column> + </c-istream-table> + </div> </template> <script> -import Api from "~/service/Api" -import CommonProcess from "~/mixin/CommonProcess" -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Trnrel/Event" +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Trnrel/Event"; export default { - inject: ['root'], - props:["model","codes"], - components: { - - }, - data(){ - return { - stmData: { - columns: [ - "10 1 \"TRN\" 50 1 tdViewTypeEdit:0 3 ATPTXT", - "11 2:1 \"Own Reference\" 112", - "17 2:2 \"Addtional Text\" 112", - "12 3 \"Cur\" 37", - "13 4 \"Relevant Amount\" 101 2 8:1 2 5", - "14 5 \"Entry\" 104 20 DateTime 1", - "9 6:1 \"Req\" 39", - "2 6:2 \"Sig\" 35", - "6 8:1 \"Rq0\" 40", - "3 8:2 \"Rel0\" 40", - "7 9:1 \"Rq1\" 40", - "4 9:2 \"Rel1\" 40", - "8 10:1 \"Rq2\" 40", - "5 10:2 \"Rel2\" 40", - "15 13 \"Branch\" 142", - "16 11:1 \"User\" 62", - "18 11:2 \"\" 62", - "0 12 \"Status\" 54 1 tdViewTypeEdit:0 1 RELSTA", - ], - data: [ - ] - }, - relrowDisabled: true, - multipleSelection: [] - } - }, - methods:{ - multipleSelect(val) { - // TODO 根据Status判断按钮是否禁用 - this.relrowDisabled = !(val.length > 0); - this.multipleSelection = val; - }, - getSelectedData() { - return this.multipleSelection.map(idx => this.stmData.data[idx]) - }, - ...Event + inject: ["root"], + props: ["model", "codes"], + components: {}, + data() { + return { + stmData: { + columns: [ + '10 1 "TRN" 50 1 tdViewTypeEdit:0 3 ATPTXT', + '11 2:1 "Own Reference" 112', + '17 2:2 "Addtional Text" 112', + '12 3 "Cur" 37', + '13 4 "Relevant Amount" 101 2 8:1 2 5', + '14 5 "Entry" 104 20 DateTime 1', + '9 6:1 "Req" 39', + '2 6:2 "Sig" 35', + '6 8:1 "Rq0" 40', + '3 8:2 "Rel0" 40', + '7 9:1 "Rq1" 40', + '4 9:2 "Rel1" 40', + '8 10:1 "Rq2" 40', + '5 10:2 "Rel2" 40', + '15 13 "Branch" 142', + '16 11:1 "User" 62', + '18 11:2 "" 62', + '0 12 "Status" 54 1 tdViewTypeEdit:0 1 RELSTA', + ], + data: [], + }, + relrowDisabled: true, + multipleSelection: [], + }; + }, + methods: { + multipleSelect(val) { + // TODO 根据Status判断按钮是否禁用 + this.relrowDisabled = !(val.length > 0); + this.multipleSelection = val; }, - created:function(){ + getSelectedData() { + return this.multipleSelection.map((idx) => this.stmData.data[idx]); }, - computed:{ - } -} + ...Event, + }, + created: function () {}, + computed: {}, +}; </script> <style> </style> diff --git a/src/views/Layout/SideMenu.vue b/src/views/Layout/SideMenu.vue index 3856932..2dfefe5 100644 --- a/src/views/Layout/SideMenu.vue +++ b/src/views/Layout/SideMenu.vue @@ -1,87 +1,127 @@ -<template> - <c-row> - <c-col :span="24"> - <img src="../../assets/menu_bottom.png" style="position: fixed; width: 200px; bottom: 0;" /> - <el-menu - default-active="2" - class="el-menu-vertical-demo" - v-bind:router="true" - @open="handleOpen" - @close="handleClose"> +<template id='SideMenu'> + <c-row> + <c-col :span="24"> + <img + src="../../assets/menu_bottom.png" + style="position: fixed; width: 200px; bottom: 0" + /> + <el-menu + default-active="2" + class="el-menu-vertical-demo" + v-bind:router="true" + :unique-opened="true" + @open="handleOpen" + @close="handleClose" + > + <el-menu-item index="/business/office"> + <i class="el-icon-menu"></i> + <span slot="title">主页</span> + </el-menu-item> + <el-submenu + v-for="item in selPntMinu()" + :key="item.inifrm" + :index="item.inifrm" + > + <template slot="title"> + <span>{{ item.ininam }}</span> + </template> - <el-menu-item index="/business/office"> - <i class="el-icon-menu"></i> - <span slot="title">主页</span> - </el-menu-item> - <el-submenu index="0"> - <template slot="title"> - <span>公共夹</span> - </template> - <el-menu-item index="/business/sptsel"> - <i class="el-icon-document"></i> - <span slot="title">待办任务</span> - </el-menu-item> - <el-menu-item index="/business/trnrel"> - <i class="el-icon-document"></i> - <span slot="title">复核任务</span> - </el-menu-item> - </el-submenu> - <!-- <el-menu-item index="/business/tstopn"> - <i class="el-icon-document"></i> - <span slot="title">测试页</span> - </el-menu-item> --> - <el-submenu index="1"> - <template slot="title"> - <span>汇款</span> - </template> - <el-menu-item index="/business/cptopn"> - <i class="el-icon-document"></i> - <span slot="title">汇出汇款</span> - </el-menu-item> - <el-menu-item index="/business/cptadv"> - <i class="el-icon-document"></i> - <span slot="title">汇入汇款</span> - </el-menu-item> - </el-submenu> - - <el-submenu index="2"> - <template slot="title"> - <span>国内证</span> - </template> - <el-menu-item index="/business/ditopn"> - <i class="el-icon-document"></i> - <span slot="title">买方信用证开立</span> - </el-menu-item> - <el-menu-item index="/business/ditame"> - <i class="el-icon-document"></i> - <span slot="title">信用证修改</span> - </el-menu-item> - <el-menu-item index="/business/ditsel"> - <i class="el-icon-document"></i> - <span slot="title">信用证查询</span> - </el-menu-item> - </el-submenu> - - <!-- <el-menu-item index="4"> - <i class="el-icon-setting"></i> - <span slot="title">导航四</span> - </el-menu-item> --> - </el-menu> - </c-col> - </c-row> + <el-menu-item + v-for="it in selMinu(item.inifrm)" + :key="it.inifrm" + :index="'/business/' + it.inifrm" + > + <i class="el-icon-document"></i> + <span slot="title">{{ it.ininam }}</span> + </el-menu-item> + </el-submenu> + <!-- <el-submenu index="0"> + <template slot="title"> + <span>公共夹</span> + </template> + <el-menu-item index="/business/sptsel"> + <i class="el-icon-document"></i> + <span slot="title">待办任务</span> + </el-menu-item> + <el-menu-item index="/business/trnrel"> + <i class="el-icon-document"></i> + <span slot="title">复核任务</span> + </el-menu-item> + </el-submenu> + + <el-submenu index="1"> + <template slot="title"> + <span>汇款</span> + </template> + <el-menu-item index="/business/cptopn"> + <i class="el-icon-document"></i> + <span slot="title">汇出汇款</span> + </el-menu-item> + <el-menu-item index="/business/cptadv"> + <i class="el-icon-document"></i> + <span slot="title">汇入汇款</span> + </el-menu-item> + </el-submenu> + + <el-submenu index="2"> + <template slot="title"> + <span>国内证</span> + </template> + <el-menu-item index="/business/ditopn"> + <i class="el-icon-document"></i> + <span slot="title">买方信用证开立</span> + </el-menu-item> + <el-menu-item index="/business/ditame"> + <i class="el-icon-document"></i> + <span slot="title">信用证修改</span> + </el-menu-item> + <el-menu-item index="/business/ditsel"> + <i class="el-icon-document"></i> + <span slot="title">信用证查询</span> + </el-menu-item> + </el-submenu> --> + </el-menu> + </c-col> + </c-row> </template> <script> - export default { - methods: { - handleOpen(key, keyPath) { - console.log(key, keyPath); - }, - handleClose(key, keyPath) { - console.log(key, keyPath); - } - } - } +export default { + data: function () { + return { + minu: [ + { inifrm: "0", ininam: "公共夹", pntmiu: "" }, + { inifrm: "sptsel", ininam: "待办任务", pntmiu: "0" }, + { inifrm: "trnrel", ininam: "复核任务", pntmiu: "0" }, + { inifrm: "1", ininam: "汇款", pntmiu: "" }, + { inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" }, + { inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" }, + { inifrm: "2", ininam: "国内证", pntmiu: "" }, + { inifrm: "ditopn", ininam: "买方信用证开立", pntmiu: "2" }, + { inifrm: "ditame", ininam: "信用证修改", pntmiu: "2" }, + { inifrm: "ditsel", ininam: "信用证查询", pntmiu: "2" }, + { inifrm: "bdtudp", ininam: "国内证承兑", pntmiu: "2" }, + ], + }; + }, + methods: { + handleOpen(key, keyPath) { + console.log(key, keyPath); + }, + handleClose(key, keyPath) { + console.log(key, keyPath); + }, + selMinu(key) { + return this.minu.filter((it) => { + return it.pntmiu === key; + }); + }, + selPntMinu() { + return this.minu.filter((it) => { + return it.pntmiu === "" || it.pntmiu === undefined; + }); + }, + }, +}; </script> <style> - </style> \ No newline at end of file -- libgit2 0.26.0