From 55b51ab43ef724682f7453aa1d31e9868dbaaad7 Mon Sep 17 00:00:00 2001 From: huangshunlin <hsl1065850541@163.com> Date: Sun, 26 Dec 2021 23:17:08 +0800 Subject: [PATCH] BDTCAN 买方信用证单据注销 DITDLA买方信用证减额接受 公共的.mtabut.coninf.oitinf.oit.inftxt字段应该是一个文本类型(前端展示)非对象(数据模型是Stream/Source) --- src/model/Bdtcan/Check.js | 30 ++++++++++++++++++++++++++++++ src/model/Bdtcan/Default.js | 37 +++++++++++++++++++++++++++++++++++++ src/model/Bdtcan/Event.js | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Bdtcan/Pattern.js | 281 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Bdtcan/index.js | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Ditdla/Check.js | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Ditdla/Default.js | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Ditdla/Event.js | 342 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Ditdla/Pattern.js | 824 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Ditdla/index.js | 331 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Public/Mtabut/index.js | 4 ++-- src/views/Business/Bdtcan/Canp.vue | 314 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Coninfp.vue | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Docpan.vue | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Doctre.vue | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Engp.vue | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Glepan.vue | 34 ++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Limitbody.vue | 342 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/Setpan.vue | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Bdtcan/index.vue | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/BusRouter.js | 6 ++++++ src/views/Business/Ditdla/Accp.vue | 285 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Adcpame.vue | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Amep.vue | 368 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Ccvpan.vue | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Coninfp.vue | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Detp.vue | 196 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Detp1.vue | 453 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Docpan.vue | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Doctre.vue | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Dogpame.vue | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Dorpame.vue | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Inspame.vue | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Limitbody.vue | 345 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Narp.vue | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Ovwp.vue | 820 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Setpan.vue | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Shisuan.vue | 28 ++++++++++++++++++++++++++++ src/views/Business/Ditdla/Stament.vue | 34 ++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/Tk.vue | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/Business/Ditdla/index.vue | 196 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 41 files changed, 7323 insertions(+), 2 deletions(-) create mode 100644 src/model/Bdtcan/Check.js create mode 100644 src/model/Bdtcan/Default.js create mode 100644 src/model/Bdtcan/Event.js create mode 100644 src/model/Bdtcan/Pattern.js create mode 100644 src/model/Bdtcan/index.js create mode 100644 src/model/Ditdla/Check.js create mode 100644 src/model/Ditdla/Default.js create mode 100644 src/model/Ditdla/Event.js create mode 100644 src/model/Ditdla/Pattern.js create mode 100644 src/model/Ditdla/index.js create mode 100644 src/views/Business/Bdtcan/Canp.vue create mode 100644 src/views/Business/Bdtcan/Coninfp.vue create mode 100644 src/views/Business/Bdtcan/Docpan.vue create mode 100644 src/views/Business/Bdtcan/Doctre.vue create mode 100644 src/views/Business/Bdtcan/Engp.vue create mode 100644 src/views/Business/Bdtcan/Glepan.vue create mode 100644 src/views/Business/Bdtcan/Limitbody.vue create mode 100644 src/views/Business/Bdtcan/Setpan.vue create mode 100644 src/views/Business/Bdtcan/index.vue create mode 100644 src/views/Business/Ditdla/Accp.vue create mode 100644 src/views/Business/Ditdla/Adcpame.vue create mode 100644 src/views/Business/Ditdla/Amep.vue create mode 100644 src/views/Business/Ditdla/Ccvpan.vue create mode 100644 src/views/Business/Ditdla/Coninfp.vue create mode 100644 src/views/Business/Ditdla/Detp.vue create mode 100644 src/views/Business/Ditdla/Detp1.vue create mode 100644 src/views/Business/Ditdla/Docpan.vue create mode 100644 src/views/Business/Ditdla/Doctre.vue create mode 100644 src/views/Business/Ditdla/Dogpame.vue create mode 100644 src/views/Business/Ditdla/Dorpame.vue create mode 100644 src/views/Business/Ditdla/Inspame.vue create mode 100644 src/views/Business/Ditdla/Limitbody.vue create mode 100644 src/views/Business/Ditdla/Narp.vue create mode 100644 src/views/Business/Ditdla/Ovwp.vue create mode 100644 src/views/Business/Ditdla/Setpan.vue create mode 100644 src/views/Business/Ditdla/Shisuan.vue create mode 100644 src/views/Business/Ditdla/Stament.vue create mode 100644 src/views/Business/Ditdla/Tk.vue create mode 100644 src/views/Business/Ditdla/index.vue diff --git a/src/model/Bdtcan/Check.js b/src/model/Bdtcan/Check.js new file mode 100644 index 0000000..67e605a --- /dev/null +++ b/src/model/Bdtcan/Check.js @@ -0,0 +1,30 @@ +import Utils from "~/utils" + +/** +* Bdtcan Check规则 +*/ +let checkObj = { + "liaall.misamt" :null, + "liaall.limmod.limpts.oth.pts.extkey" :null, + "liaall.limmod.ownref" :null, + "liaall.limmod.ecifno" :null, + "bdtp0.didget.sdamod.dadsnd" :null, + "liaall.limmod.othp.ptsget.sdamod.dadsnd" :null, + "liaall.limmod.limpts.oth.pts.nam" :null, + "setmod.dspflg" :null, + "liaall.limmod.limpts.wrk.pts.nam" :null, + "liaall.limmod.limpts.wrk.pts.extkey" :null, + "mtabut.coninf.conexedat" :null, + "liaall.limmod.limpts.nonrevflg1" :null, + "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null, + "setmod.docamt" :null, + "bdtp0.recget.sdamod.dadsnd" :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/Bdtcan/Default.js b/src/model/Bdtcan/Default.js new file mode 100644 index 0000000..9706660 --- /dev/null +++ b/src/model/Bdtcan/Default.js @@ -0,0 +1,37 @@ + +/** +* Bdtcan Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "didgrp.rec.ownref" :Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, + "bddgrp.rec.ownref" :Utils.defaultFunction, + "liaall.limmod.comamt" :Utils.defaultFunction, + "liaall.limmod.ccvamt" :Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, + "liaall.misamt" :Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, + "setmod.doccur" :Utils.defaultFunction, + "setmod.dspflg" :Utils.defaultFunction, + "setmod.docamt" :Utils.defaultFunction, + "trnmod.trndoc.condocstm" :Utils.defaultFunction, + "trnmod.trndoc.shwinc" :Utils.defaultFunction, + "trnmod.trndoc.shwout" :Utils.defaultFunction, + "bddgrp.ben.pts.nam" :Utils.defaultFunction, + "mtabut.coninf.usr.extkey" :Utils.defaultFunction, + "setmod.glemod.gleshwstm" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, + "bddgrp.apl.pts.nam" :Utils.defaultFunction, + "bddgrp.prb.pts.nam" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, + "mtabut.coninf.conexedat" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Bdtcan/Event.js b/src/model/Bdtcan/Event.js new file mode 100644 index 0000000..f2186e9 --- /dev/null +++ b/src/model/Bdtcan/Event.js @@ -0,0 +1,149 @@ +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() { + let rtnmsg = await this.executeRule("setmod.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButshw() { + let rtnmsg = await this.executeRule("trndoc.butshw") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButadd() { + let rtnmsg = await this.executeRule("trndoc.butadd") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButnew() { + let rtnmsg = await this.executeRule("trndoc.butnew") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButattto() { + let rtnmsg = await this.executeRule("trndoc.butattto") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButdel() { + let rtnmsg = await this.executeRule("trndoc.butdel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButatt() { + let rtnmsg = await this.executeRule("trndoc.butatt") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onWrkpDet() { + let rtnmsg = await this.executeRule("wrkp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onOthpDet() { + let rtnmsg = await this.executeRule("othp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLimptsGet1() { + let rtnmsg = await this.executeRule("limpts.get1") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLimptsGet2() { + let rtnmsg = await this.executeRule("limpts.get2") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLimmodTrycal() { + let rtnmsg = await this.executeRule("limmod.trycal") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onSeainf() { + + } + +} \ No newline at end of file diff --git a/src/model/Bdtcan/Pattern.js b/src/model/Bdtcan/Pattern.js new file mode 100644 index 0000000..3cdc3f7 --- /dev/null +++ b/src/model/Bdtcan/Pattern.js @@ -0,0 +1,281 @@ +export default { + "bdtp0.didget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp0.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位" } + ], + "bdtp0.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bddgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bdtp0.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.advdat":[ + {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.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"} + ], + "strinf":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + + "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"} + ], + + + "setmod.docamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + + "setmod.zmqacc":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + + "setmod.glemod.gleshwstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + "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"} + ], + + "trnmod.trndoc.advnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "trnmod.trndoc.amdapl":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "trnmod.trndoc.advdoc":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "trnmod.trndoc.filrecv":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "trnmod.trndoc.doctrestm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + + + + + + + + "trnmod.trndoc.condocstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "trnmod.trndoc.rcvatt.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "liaall.limmod.ecifno":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + + + + "liaall.limmod.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.othp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.limpts.wrk.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.wrkp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "liaall.limmod.limpts.oth.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.othp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "liaall.limmod.comamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.limmod.limpts.wrk.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "liaall.limmod.limpts.oth.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "liaall.limmod.ccvamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + + + "liaall.limmod.limpts.pfcod1":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + "liaall.limmod.limpts.pfcod2":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + +} \ No newline at end of file diff --git a/src/model/Bdtcan/index.js b/src/model/Bdtcan/index.js new file mode 100644 index 0000000..dde51de --- /dev/null +++ b/src/model/Bdtcan/index.js @@ -0,0 +1,180 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" +import Pub from "../Public" + +export default class Bdtcan { + constructor() { + this.data = { + strinf: "", // Narrative .strinf + bddgrp: { + rec: { + ownref: "", // 单据参考号 .bddgrp.rec.ownref + nam: "", // Name of Bill Contract .bddgrp.rec.nam + rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat + advdat: "", // Date of Advice of Payment .bddgrp.rec.advdat + docflg: "", // 单据类型 .bddgrp.rec.docflg + docsta: "", // 单据承付状态 .bddgrp.rec.docsta + matdat: "", // Maturity Date .bddgrp.rec.matdat + }, + cbs: { + max: { + cur: "", // 单据金额 .bddgrp.cbs.max.cur + amt: "", // 单据金额 .bddgrp.cbs.max.amt + }, + opn1: { + cur: "", // 单据余额 .bddgrp.cbs.opn1.cur + amt: "", // Balance .bddgrp.cbs.opn1.amt + }, + }, + apl: { + pts: new Pts().data, + }, + ben: { + pts: new Pts().data, + }, + prb: { + pts: new Pts().data, + }, + }, + didgrp: { + rec: { + ownref: "", // 参考号 .didgrp.rec.ownref + expdat: "", // Date of Expiry .didgrp.rec.expdat + }, + cbs: { + opn1: { + cur: "", // Currency .didgrp.cbs.opn1.cur + amt: "", // Balance .didgrp.cbs.opn1.amt + }, + }, + }, + bdtp0: { + didget: { + sdamod: { + seainf: "", // .bdtp0.didget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .bdtp0.didget.sdamod.dadsnd + }, + }, + recget: { + sdamod: { + dadsnd: "", // Drag Drop Sender .bdtp0.recget.sdamod.dadsnd + seainf: "", // .bdtp0.recget.sdamod.seainf + }, + }, + matp: { + mattxtlab: "", // Label for MATTXT .bdtp0.matp.mattxtlab + }, + }, + sndmsg: "", // Send Message .sndmsg + rebkpflg: "", // Booking Procedure .rebkpflg + // 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 + // }, + // }, + // 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 + // glemod:{ + // gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm + // }, + // }, + // 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 + // }, + // }, + liaall: new Pub().data.Liaall, + setmod: new Pub().data.Setmod, + mtabut: new Pub().data.Mtabut, + trnmod: new Pub().data.Trnmod, + pageId: "" // ctx的key + } + } +} \ No newline at end of file diff --git a/src/model/Ditdla/Check.js b/src/model/Ditdla/Check.js new file mode 100644 index 0000000..b375754 --- /dev/null +++ b/src/model/Ditdla/Check.js @@ -0,0 +1,107 @@ +import Utils from "~/utils" + +/** +* Ditdla Check规则 +*/ +let checkObj = { + "didgrp.cmb.pts.dizhii" :null, + "didgrp.rec.expplc" :null, + "didgrp.adv.pts.bankno" :null, + "trnmod.swiadd.shpfroelc" :null, + "didgrp.rec.sdsrfs" :null, + "didgrp.apc.pts.bankno" :null, + "didgrp.rmb.pts.dizhii" :null, + "didgrp.adv.pts.nam" :null, + "trnmod.swiadd.adlcnd" :null, + "didgrp.apl.pts.extkey" :null, + "liaall.limmod.limpts.oth.pts.nam" :null, + "setmod.dspflg" :null, + "didgrp.ben.adrelc" :null, + "ditamep.recget.sdamod.dadsnd" :null, + "didgrp.blk.defdet" :null, + "didgrp.blk.insbnk" :null, + "liaall.liaccv.totcovamt" :null, + "didgrp.adv.pts.jigomc" :null, + "didgrp.iss.pts.jigomc" :null, + "didgrp.rec.shpfro" :null, + "liaall.limmod.limpts.wrk.pts.nam" :null, + "didgrp.apc.pts.jigomc" :null, + "trnmod.swiadd.lcrdoc" :null, + "didgrp.iss.pts.dizhii" :null, + "trnmod.swiadd.insbnk" :null, + "didgrp.blk.lcrgod" :null, + "didgrp.blk.stamet" :null, + "trnmod.swiadd.newshpdat" :null, + "didgrp.apl.namelc" :null, + "didgrp.ben.pts.nam" :null, + "trnmod.swiadd.newexpdat" :null, + "didgrp.beb.pts.jigomc" :null, + "didgrp.rec.opndat" :null, + "didgrp.rmb.pts.jigomc" :null, + "ditp.usr.extkey" :null, + "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null, + "ditp.recget.sdamod.dadsnd" :null, + "didgrp.avb.pts.dizhii" :null, + "didgrp.adv.pts.extkey" :null, + "didgrp.ben.pts.extkey" :null, + "didgrp.blk.lcrdoc" :null, + "didgrp.rec.tenmaxday" :null, + "didgrp.cmb.pts.jigomc" :null, + "didgrp.apb.pts.jigomc" :null, + "didgrp.blk.adlcnd" :null, + "liaall.limmod.limpts.oth.pts.extkey" :null, + "liaall.limmod.ownref" :null, + "didgrp.adv.pts.dizhii" :null, + "didgrp.rec.fqtime" :null, + "didgrp.apc.pts.dizhii" :null, + "trnmod.swiadd.newamt" :null, + "liaall.limmod.ecifno" :null, + "trnmod.swiadd.shptoelc" :null, + "ditp.benp.ptsget.sdamod.dadsnd" :null, + "didgrp.iss.pts.extkey" :null, + "didgrp.rec.fqzytgfw" :null, + "didgrp.rec.conamt" :null, + "didgrp.rec.shppro" :null, + "didgrp.rec.shpto" :null, + "olddidgrp.rec.expdat" :null, + "didgrp.ben.namelc" :null, + "didgrp.cmb.pts.bankno" :null, + "liaall.limmod.othp.ptsget.sdamod.dadsnd" :null, + "didgrp.apb.pts.bankno" :null, + "ditp.aplp.ptsget.sdamod.dadsnd" :null, + "didgrp.avb.pts.bankno" :null, + "didgrp.rmb.pts.bankno" :null, + "didgrp.rec.conno" :null, + "trnmod.swiadd.lcrgod" :null, + "didgrp.beb.pts.bankno" :null, + "didgrp.apl.pts.adrblk" :null, + "didgrp.rec.lcrtyp" :null, + "didgrp.cbs.opn1.amt" :null, + "didgrp.iss.pts.bankno" :null, + "liaall.limmod.limpts.wrk.pts.extkey" :null, + "trnmod.swiadd.ameamt" :null, + "mtabut.coninf.conexedat" :null, + "trnmod.swiadd.newnomtoname" :null, + "trnmod.swiadd.nartxt" :null, + "didgrp.ben.pts.adrblk" :null, + "liaall.limmod.limpts.nonrevflg1" :null, + "didgrp.apl.pts.nam" :null, + "didgrp.rec.mytype" :null, + "setmod.docamt" :null, + "trnmod.swiadd.newnomtopame" :null, + "liaall.liaccv.cshpct" :null, + "didgrp.rec.avbwth" :null, + "ameflg" :null, + "didgrp.blk.preper" :null, + "didgrp.apl.adrelc" :null, + "didgrp.avb.pts.jigomc" :null, + "liaall.liaccv.relcshpct" :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/Ditdla/Default.js b/src/model/Ditdla/Default.js new file mode 100644 index 0000000..2111fab --- /dev/null +++ b/src/model/Ditdla/Default.js @@ -0,0 +1,103 @@ + +/** +* Ditdla Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "didgrp.apl.namelc" :Utils.defaultFunction, + "didgrp.apl.adrelc" :Utils.defaultFunction, + "didgrp.iss.pts.bankno" :Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, + "didgrp.avb.pts.jigomc" :Utils.defaultFunction, + "didgrp.iss.pts.extkey" :Utils.defaultFunction, + "didgrp.adv.pts.nam" :Utils.defaultFunction, + "didgrp.adv.pts.jigomc" :Utils.defaultFunction, + "didgrp.cbs.max.cur" :Utils.defaultFunction, + "didgrp.apl.pts.adrblk" :Utils.defaultFunction, + "liaall.limmod.comamt" :Utils.defaultFunction, + "liaall.limmod.ccvamt" :Utils.defaultFunction, + "didgrp.ben.namelc" :Utils.defaultFunction, + "didgrp.ben.adrelc" :Utils.defaultFunction, + "olddidgrp.rec.shpdat" :Utils.defaultFunction, + "trnmod.swiadd.newshpdat" :Utils.defaultFunction, + "didgrp.cbs.opn1.cur" :Utils.defaultFunction, + "didgrp.blk.defdet" :Utils.defaultFunction, + "didgrp.rec.avbby" :Utils.defaultFunction, + "didgrp.cbs.opn1.amt" :Utils.defaultFunction, + "didgrp.rec.avbwth" :Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, + "ditamep.engamt" :Utils.defaultFunction, + "trnmod.swiadd.nartxt" :Utils.defaultFunction, + "trnmod.swiadd.nartxtflg" :Utils.defaultFunction, + "didgrp.rec.shppar" :Utils.defaultFunction, + "trnmod.swiadd.adlcnd" :Utils.defaultFunction, + "didgrp.ben.pts.ref" :Utils.defaultFunction, + "trnmod.swiadd.lcrgod" :Utils.defaultFunction, + "didgrp.rec.expplc" :Utils.defaultFunction, + "didgrp.ben.pts.adrblk" :Utils.defaultFunction, + "trnmod.swiadd.insbnk" :Utils.defaultFunction, + "didgrp.blk.preper" :Utils.defaultFunction, + "trnmod.swiadd.lcrdoc" :Utils.defaultFunction, + "didgrp.rec.shptrs" :Utils.defaultFunction, + "didgrp.blk.preperflg" :Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, + "setmod.doccur" :Utils.defaultFunction, + "setmod.dspflg" :Utils.defaultFunction, + "setmod.docamt" :Utils.defaultFunction, + "trnmod.trndoc.condocstm" :Utils.defaultFunction, + "trnmod.trndoc.shwinc" :Utils.defaultFunction, + "trnmod.trndoc.shwout" :Utils.defaultFunction, + "ditp.usr.extkey" :Utils.defaultFunction, + "didgrp.rec.ownref" :Utils.defaultFunction, + "didgrp.ben.pts.extkey" :Utils.defaultFunction, + "didgrp.rec.mytype" :Utils.defaultFunction, + "mtabut.coninf.usr.extkey" :Utils.defaultFunction, + "didgrp.cbs.nom1.cur" :Utils.defaultFunction, + "didgrp.rec.elcflg" :Utils.defaultFunction, + "didgrp.rec.fqzytgfw" :Utils.defaultFunction, + "olddidgrp.cbs.nom1.amt" :Utils.defaultFunction, + "trnmod.swiadd.ameamt" :Utils.defaultFunction, + "olddidgrp.cbs.max.amt" :Utils.defaultFunction, + "ditamep.maxamt" :Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, + "ameflg" :Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, + "didgrp.ben.pts.nam" :Utils.defaultFunction, + "didgrp.apl.pts.extkey" :Utils.defaultFunction, + "didgrp.apl.pts.nam" :Utils.defaultFunction, + "liaall.liaccv.addinf" :Utils.defaultFunction, + "didgrp.cbs.nom1.amt" :Utils.defaultFunction, + "liaall.liaccv.newamt" :Utils.defaultFunction, + "liaall.liaccv.totcovamt" :Utils.defaultFunction, + "ditamep.ramrol" :Utils.defaultFunction, + "didgrp.adv.pts.extkey" :Utils.defaultFunction, + "didgrp.apl.dbfadrblkcn" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, + "trnmod.swiadd.newamt" :Utils.defaultFunction, + "mtabut.coninf.conexedat" :Utils.defaultFunction, + "didgrp.rec.opndat" :Utils.defaultFunction, + "didgrp.rec.tratyp" :Utils.defaultFunction, + "didgrp.cbs.max.amt" :Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, + "liaall.liaccv.concur" :Utils.defaultFunction, + "didgrp.rec.tenmaxday" :Utils.defaultFunction, + "trnmod.swiadd.amedat" :Utils.defaultFunction, + "didgrp.ben.dbfadrblkcn" :Utils.defaultFunction, + "liaall.liaccv.cshpct" :Utils.defaultFunction, + "trnmod.swiadd.newexpdat" :Utils.defaultFunction, + "didgrp.rec.expdat" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, + "didgrp.rec.shpfro" :Utils.defaultFunction, + "didgrp.rec.shpto" :Utils.defaultFunction, + "ditamep.maxcur" :Utils.defaultFunction, + "trnmod.swiadd.newnomtopame" :Utils.defaultFunction, + "didgrp.rec.shpdat" :Utils.defaultFunction, + "olddidgrp.rec.expdat" :Utils.defaultFunction, + "amenbr" :Utils.defaultFunction, + "didgrp.rec.nomtop" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Ditdla/Event.js b/src/model/Ditdla/Event.js new file mode 100644 index 0000000..13960e6 --- /dev/null +++ b/src/model/Ditdla/Event.js @@ -0,0 +1,342 @@ +import Api from "~/service/Api" +import Utils from "~/utils" + +export default { + async onDitpButgetref() { + let rtnmsg = await this.executeRule("ditp.butgetref") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onAplpDet() { + let rtnmsg = await this.executeRule("aplp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onBenpDet() { + let rtnmsg = await this.executeRule("benp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onDefdetButtxmsel() { + let rtnmsg = await this.executeRule("defdet.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onPreperButtxmsel() { + let rtnmsg = await this.executeRule("preper.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLcrgodButtxmsel() { + let rtnmsg = await this.executeRule("lcrgod.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLcrdocButtxmsel() { + let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onAdlcndButtxmsel() { + let rtnmsg = await this.executeRule("adlcnd.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onInsbnkButtxmsel() { + let rtnmsg = await this.executeRule("insbnk.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onSav() { + let rtnmsg = await this.executeRule("sav") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onUsrcon() { + let rtnmsg = await this.executeRule("usrcon") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onChk() { + let rtnmsg = await this.executeRule("chk") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onUsrchk() { + let rtnmsg = await this.executeRule("usrchk") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onSyswrnButshw() { + let rtnmsg = await this.executeRule("syswrn.butshw") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onPen() { + let rtnmsg = await this.executeRule("pen") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onCan() { + let rtnmsg = await this.executeRule("can") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLcrgodameButtxmsel() { + let rtnmsg = await this.executeRule("lcrgodame.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLcrdocameButtxmsel() { + let rtnmsg = await this.executeRule("lcrdocame.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onAdlcndameButtxmsel() { + let rtnmsg = await this.executeRule("adlcndame.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLiaccvAdd() { + let rtnmsg = await this.executeRule("liaccv.add") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLiaccvDel() { + let rtnmsg = await this.executeRule("liaccv.del") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onSetmodDet() { + let rtnmsg = await this.executeRule("setmod.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButshw() { + let rtnmsg = await this.executeRule("trndoc.butshw") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButadd() { + let rtnmsg = await this.executeRule("trndoc.butadd") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButnew() { + let rtnmsg = await this.executeRule("trndoc.butnew") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButattto() { + let rtnmsg = await this.executeRule("trndoc.butattto") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButdel() { + let rtnmsg = await this.executeRule("trndoc.butdel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onTrndocButatt() { + let rtnmsg = await this.executeRule("trndoc.butatt") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onWrkpDet() { + let rtnmsg = await this.executeRule("wrkp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onOthpDet() { + let rtnmsg = await this.executeRule("othp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLimptsGet1() { + let rtnmsg = await this.executeRule("limpts.get1") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLimptsGet2() { + let rtnmsg = await this.executeRule("limpts.get2") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLimmodTrycal() { + let rtnmsg = await this.executeRule("limmod.trycal") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onSeainf() { + + }, + async onExtkey(e) { + + }, + +} \ No newline at end of file diff --git a/src/model/Ditdla/Pattern.js b/src/model/Ditdla/Pattern.js new file mode 100644 index 0000000..31cc6ed --- /dev/null +++ b/src/model/Ditdla/Pattern.js @@ -0,0 +1,824 @@ +export default { + "didgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "didgrp.apl.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "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.apl.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "didgrp.cbs.opn1.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.ben.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.ben.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "didgrp.rec.opndat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.rec.tzref":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.adv.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.expdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.rec.expplc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.adv.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "decstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "amenbr":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "ameamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "amedat":[ + {type: "string", required: false, message: "必输项"}, + {max: 12,message:"长度不能超过12"} + ], + + "ditamep.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "ditamep.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "didgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "trnmod.swiadd.amedat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "trnmod.swiadd.amenbr":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "ditamep.amenbr":[ + {type: "string", required: false, message: "必输项"}, + {max: 2,message:"长度不能超过2"} + ], + "didgrp.cbs.nom1.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "olddidgrp.cbs.nom1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "olddidgrp.rec.nomtop":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "olddidgrp.rec.nomton":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "olddidgrp.cbs.max.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "olddidgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "trnmod.swiadd.ameamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "ditamep.engamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "trnmod.swiadd.newamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "trnmod.swiadd.newnomtopame":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "trnmod.swiadd.newnomtoname":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "ditamep.maxcur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "ditamep.maxamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "olddidgrp.rec.expdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "olddidgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "trnmod.swiadd.newexpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "trnmod.swiadd.newshpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "trnmod.swiadd.shpfroelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + "trnmod.swiadd.shptoelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "ditp.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "ditp.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "didgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "didgrp.apl.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "ditp.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + + "ditp.usrget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "ditp.aplp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.apl.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "ditp.aplp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + "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.apl.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.apl.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.apl.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "ditp.amt":[ + {type: "string", required: false, message: "必输项"}, + {max: 76,message:"长度不能超过76"} + ], + "didgrp.apl.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rec.nomtop":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "didgrp.rec.nomton":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "didgrp.apl.pts.youzbm":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + "didgrp.apl.pts.dihdig":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + "didgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "didgrp.apb.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + "didgrp.apb.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rec.opndat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "didgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "didgrp.ben.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.expdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "ditp.benp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.ben.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "ditp.benp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "didgrp.rec.expplc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.ben.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.ben.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.ben.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.ben.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "didgrp.ben.pts.youzbm":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + "didgrp.ben.pts.dihdig":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.rec.idcode":[ + {type: "string", required: false, message: "必输项"}, + {max: 18,message:"长度不能超过18"} + ], + "didgrp.ben.pts.extact":[ + {type: "string", required: false, message: "必输项"}, + {max: 34,message:"长度不能超过34"} + ], + + "didgrp.beb.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + "didgrp.beb.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "didgrp.rec.tenmaxday":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + "didgrp.blk.defdet":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rec.fqtime":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "didgrp.blk.preper":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "didgrp.rec.shpfro":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + "didgrp.rec.sdsrfs":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rec.shpto":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rec.conno":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rec.shppro":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "didgrp.rec.conamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 16,message:"整数位不能超过13位"}, + {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } + ], + + "didgrp.blk.lcrgod":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "didgrp.blk.lcrdoc":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "didgrp.blk.adlcnd":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "didgrp.blk.insbnk":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + "trnmod.swiadd.nartxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "olddidgrp.blk.narhis":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + + + + + + + "didgrp.blk.lcrgod":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "didgrp.blk.lcrgodame":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "trnmod.swiadd.lcrgod":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "didgrp.blk.lcrdoc":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "didgrp.blk.lcrdocame":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "trnmod.swiadd.lcrdoc":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "didgrp.blk.adlcnd":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "didgrp.blk.adlcndame":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "trnmod.swiadd.adlcnd":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "didgrp.blk.insbnk":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "didgrp.blk.insbnkame":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "trnmod.swiadd.insbnk":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "liaall.liaccv.concur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "liaall.liaccv.newamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.liaccv.cshpct":[ + {type: "string", required: false, message: "必输项"}, + {max: 5,message:"长度不能超过5"} + ], + "liaall.liaccv.newresamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.liaccv.relcshpct":[ + {type: "string", required: false, message: "必输项"}, + {max: 5,message:"长度不能超过5"} + ], + + "liaall.liaccv.pctresamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + "liaall.liaccv.totcovamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.liaccv.addinf":[ + {type: "string", required: true, message: "必输项"}, + {max: 70,message:"长度不能超过70"} + ], + "setmod.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + "setmod.docamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + + "setmod.zmqacc":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + + + "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"} + ], + + "trnmod.trndoc.advnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "trnmod.trndoc.amdapl":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "trnmod.trndoc.advdoc":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "trnmod.trndoc.filrecv":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "trnmod.trndoc.doctrestm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + + + + + + + + "trnmod.trndoc.condocstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "trnmod.trndoc.rcvatt.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "didgrp.adv.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.iss.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.adv.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "didgrp.iss.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "didgrp.adv.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.iss.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.adv.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.iss.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.adv.pts.youzbm":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + "didgrp.adv.pts.dihdig":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.iss.pts.youzbm":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + "didgrp.iss.pts.dihdig":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + + "didgrp.rmb.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "didgrp.rmb.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.avb.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "didgrp.avb.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.rmb.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.avb.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.apc.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + "didgrp.apc.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.cmb.pts.bankno":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "didgrp.apc.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.cmb.pts.jigomc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.apc.pts.youzbm":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + "didgrp.apc.pts.dihdig":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "didgrp.cmb.pts.dizhii":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "didgrp.blk.stamet":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "liaall.limmod.ecifno":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + + + + "liaall.limmod.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.othp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.limpts.wrk.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.wrkp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "liaall.limmod.limpts.oth.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.othp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "liaall.limmod.comamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.limmod.limpts.wrk.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "liaall.limmod.limpts.oth.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "liaall.limmod.ccvamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + + + "liaall.limmod.limpts.pfcod1":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + "liaall.limmod.limpts.pfcod2":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + +} \ No newline at end of file diff --git a/src/model/Ditdla/index.js b/src/model/Ditdla/index.js new file mode 100644 index 0000000..5084f71 --- /dev/null +++ b/src/model/Ditdla/index.js @@ -0,0 +1,331 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" +import Pub from "../Public" + +export default class Ditdla { + constructor() { + this.data = { + didgrp: { + rec: { + ownref: "", // Reference .didgrp.rec.ownref + nam: "", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam + avbby: "", // Available by .didgrp.rec.avbby + opndat: "", // Date L/C Opened/Issued .didgrp.rec.opndat + shpdat: "", // Shipment Date .didgrp.rec.shpdat + expdat: "", // Date of Expiry .didgrp.rec.expdat + expplc: "", // Place of Expiry .didgrp.rec.expplc + lcrtyp: "", // Form of Documentary Credit .didgrp.rec.lcrtyp + tzref: "", // 通知行编号 .didgrp.rec.tzref + resflg: "", // Reserved Contract .didgrp.rec.resflg + nomtop: "", // Amount Tolerance - Positive .didgrp.rec.nomtop + nomton: "", // Amount Tolerance - Negative .didgrp.rec.nomton + elcflg: "", // 是否通过电证系统 .didgrp.rec.elcflg + guaflg: "", // 货押标识 .didgrp.rec.guaflg + jyqflg: "", // 假远期信用证 .didgrp.rec.jyqflg + mytype: "", // 槸易类型 .didgrp.rec.mytype + dkflg: "", // 开证类型 .didgrp.rec.dkflg + idcode: "", // 申请人统一社会信用代码 .didgrp.rec.idcode + shppar: "", // Partial Shipment .didgrp.rec.shppar + shptrs: "", // Transshipment .didgrp.rec.shptrs + conno: "", // 合同编号 .didgrp.rec.conno + concur: "", // 合同币种 .didgrp.rec.concur + shpfro: "", // Shipment from .didgrp.rec.shpfro + shpto: "", // For Transportation to .didgrp.rec.shpto + shppro: "", // 服务提供地点 .didgrp.rec.shppro + tenmaxday: "", // Maximum tenor in days .didgrp.rec.tenmaxday + tratyp: "", // 运输方式 .didgrp.rec.tratyp + fqtime: "", // 分期时镧表 .didgrp.rec.fqtime + sdsrfs: "", // 输入运输方式 .didgrp.rec.sdsrfs + fqzytgfw: "", // 分期装运/提供服务 .didgrp.rec.fqzytgfw + conamt: "", // 合同金额 .didgrp.rec.conamt + redclsflg: "", // Red/Green Clause .didgrp.rec.redclsflg + avbwth: "", // 指定的有关银行 .didgrp.rec.avbwth + fenctg: "", // 是否可议付 .didgrp.rec.fenctg + bdflg: "", // 是否可保兑 .didgrp.rec.bdflg + }, + cbs: { + nom1: { + cur: "", // Currency .didgrp.cbs.nom1.cur + amt: "", // 信用证金额 .didgrp.cbs.nom1.amt + }, + opn1: { + cur: "", // 信用证余额 .didgrp.cbs.opn1.cur + amt: "", // 信用证余额 .didgrp.cbs.opn1.amt + }, + max: { + cur: "", // Currency .didgrp.cbs.max.cur + amt: "", // 信用证最大金额 .didgrp.cbs.max.amt + }, + }, + avbnam: "", // 指定银行 .didgrp.avbnam + apl: { + pts: new Pts().data, + namelc: "", // 名称 .didgrp.apl.namelc + adrelc: "", // 地址 .didgrp.apl.adrelc + dbfadrblkcn: "", // Chinese address .didgrp.apl.dbfadrblkcn + }, + ben: { + pts: new Pts().data, + namelc: "", // 名称 .didgrp.ben.namelc + adrelc: "", // 地址 .didgrp.ben.adrelc + dbfadrblkcn: "", // Chinese address .didgrp.ben.dbfadrblkcn + }, + adv: { + pts: new Pts().data, + }, + beb: { + pts: new Pts().data, + }, + apb: { + pts: new Pts().data, + }, + blk: { + defdet: "", // Deferred Payment Details .didgrp.blk.defdet + preper: "", // Presentation Period .didgrp.blk.preper + preperflg: "", // Presentation Period modified .didgrp.blk.preperflg + lcrgod: "", // Description of Goods .didgrp.blk.lcrgod + lcrdoc: "", // Documents Required .didgrp.blk.lcrdoc + adlcnd: "", // Additional Conditions .didgrp.blk.adlcnd + insbnk: "", // Instructions to Paying/Accepting/Negotiating Bank .didgrp.blk.insbnk + lcrgodame: "", // Description of Goods Amendment History .didgrp.blk.lcrgodame + lcrdocame: "", // Documents Required Amendment History .didgrp.blk.lcrdocame + adlcndame: "", // Additional Conditions Amendment History .didgrp.blk.adlcndame + insbnkame: "", // Instructions to P/A/N Amendment History .didgrp.blk.insbnkame + stamet: "", // 声明 .didgrp.blk.stamet + }, + iss: { + pts: new Pts().data, + }, + apc: { + pts: new Pts().data, + }, + avb: { + pts: new Pts().data, + }, + cmb: { + pts: new Pts().data, + }, + rmb: { + pts: new Pts().data, + }, + }, + decstm: "", // Decrease limits stream .decstm + amenbr: "", // Amendment No. .amenbr + amedat: "", // Amount Amend Date .amedat + amecur: "", // Amount Amend Cur .amecur + ameamt: "", // 修改金额 .ameamt + ameflg: "", // 是否接受此笔减额修改 .ameflg + ditamep: { + ramrollab: "", // Label for RAMROL .ditamep.ramrollab + recget: { + sdamod: { + seainf: "", // 参考号 .ditamep.recget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .ditamep.recget.sdamod.dadsnd + }, + }, + engcur: "", // 修改总金额 .ditamep.engcur + engamt: "", // 修改总金额 .ditamep.engamt + maxcur: "", // Currency of Maximum Amount .ditamep.maxcur + maxamt: "", // New Maximum Amount .ditamep.maxamt + cre707flg: "", // Create Amendment Message .ditamep.cre707flg + ramrol: "", // Request of Amendment send to .ditamep.ramrol + amenbr: "", // 实际修改次数 .ditamep.amenbr + hwzydi: "", // 槧运装运地/服务提供低 .ditamep.hwzydi + zchday: "", // 最迟装运/服务提供日 .ditamep.zchday + newday: "", // 新最迟日期 .ditamep.newday + msgtyp: "", // 报文类型 .ditamep.msgtyp + hfmdes: "", // 槧物/服务槸易描述 .ditamep.hfmdes + }, + // trnmod: { + // swiadd: { + // amedat: "", // 修改日期 .trnmod.swiadd.amedat + // amenbr: "", // 修改次数 .trnmod.swiadd.amenbr + // amecur: "", // 增减金额 .trnmod.swiadd.amecur + // ameamt: "", // 增减金额 .trnmod.swiadd.ameamt + // newcur: "", // 修改后金额 .trnmod.swiadd.newcur + // newamt: "", // 修改后金额 .trnmod.swiadd.newamt + // newexpdat: "", // 新到期日 .trnmod.swiadd.newexpdat + // newshpdat: "", // New Shipmentdate .trnmod.swiadd.newshpdat + // shptoelc: "", // 货物目的地/交货地(港) .trnmod.swiadd.shptoelc + // shpfroelc: "", // Shipment from .trnmod.swiadd.shpfroelc + // newnomtopame: "", // New positive tolerance for GNZ .trnmod.swiadd.newnomtopame + // newnomtoname: "", // New negative tolerance for GNZ .trnmod.swiadd.newnomtoname + // nartxt: "", // Narrative .trnmod.swiadd.nartxt + // nartxtflg: "", // Narrative modified .trnmod.swiadd.nartxtflg + // lcrgod: "", // Description of Goods amendment .trnmod.swiadd.lcrgod + // lcrdoc: "", // Documents Required amendment .trnmod.swiadd.lcrdoc + // adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd + // insbnk: "", // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk + // }, + // 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 + // }, + // }, + olddidgrp: { + cbs: { + nom1: { + amt: "", // 信用证金额 .olddidgrp.cbs.nom1.amt + }, + max: { + cur: "", // Currency .olddidgrp.cbs.max.cur + amt: "", // Balance .olddidgrp.cbs.max.amt + }, + }, + rec: { + nomtop: "", // Amount Tolerance - Positive .olddidgrp.rec.nomtop + nomton: "", // Amount Tolerance - Negative .olddidgrp.rec.nomton + expdat: "", // 到期日 .olddidgrp.rec.expdat + shpdat: "", // Shipment Date .olddidgrp.rec.shpdat + }, + blk: { + narhis: "", // Historic Overview of Narratives .olddidgrp.blk.narhis + }, + }, + ditp: { + recget: { + sdamod: { + seainf: "", // .ditp.recget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .ditp.recget.sdamod.dadsnd + }, + }, + usr: { + extkey: "", // User ID .ditp.usr.extkey + }, + usrget: { + sdamod: { + seainf: "", // .ditp.usrget.sdamod.seainf + }, + }, + aplp: { + ptsget: { + sdamod: { + seainf: "", // .ditp.aplp.ptsget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .ditp.aplp.ptsget.sdamod.dadsnd + }, + }, + }, + benp: { + ptsget: { + sdamod: { + seainf: "", // .ditp.benp.ptsget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .ditp.benp.ptsget.sdamod.dadsnd + }, + }, + }, + zchday: "", // 最迟装运/服务提供日 .ditp.zchday + amt: "", // 大写金额 .ditp.amt + msgtyp: "", // 报文类型 .ditp.msgtyp + fenzhu: "", // 分期装运 .ditp.fenzhu + hwzydi: "", // 槧运装运地/服务提供低 .ditp.hwzydi + sdysfs: "", // 手输运输方式/服务提供方式 .ditp.sdysfs + hwfwms: "", // 槧物/服务描述 .ditp.hwfwms + }, + // liaall: { + // liaccv: { + // newamt: "", // 合同金额 .liaall.liaccv.newamt + // concur: "", // 应付保证金金额 .liaall.liaccv.concur + // totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt + // newresamt: "", // Reserved Amount .liaall.liaccv.newresamt + // addinf: "", // Additional Information .liaall.liaccv.addinf + // cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct + // relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct + // gleflg: "", // Create gle flag .liaall.liaccv.gleflg + // chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg + // pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt + // }, + // 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 + // }, + // }, + // 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 + // }, + // 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 + // }, + // }, + // }, + liaall: new Pub().data.Liaall, + setmod: new Pub().data.Setmod, + mtabut: new Pub().data.Mtabut, + trnmod: new Pub().data.Trnmod, + pageId: "" // ctx的key + } + } +} \ No newline at end of file diff --git a/src/model/Public/Mtabut/index.js b/src/model/Public/Mtabut/index.js index 3bdda15..8636bab 100644 --- a/src/model/Public/Mtabut/index.js +++ b/src/model/Public/Mtabut/index.js @@ -5,14 +5,14 @@ export default class Mtabut { oitinf: { labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt oit: { - inftxt: {}, // Infotext .mtabut.coninf.oitinf.oit.inftxt + 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 + inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev }, }, diff --git a/src/views/Business/Bdtcan/Canp.vue b/src/views/Business/Bdtcan/Canp.vue new file mode 100644 index 0000000..3e2acfc --- /dev/null +++ b/src/views/Business/Bdtcan/Canp.vue @@ -0,0 +1,314 @@ +<template> + <div class="eibs-tab"> + <!-- <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp0.didget.sdamod.dadsnd"> + <c-input v-model="model.bdtp0.didget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> --> + + <el-row> + <c-col :span="6"> + <el-form-item label="参考号" prop="didgrp.rec.ownref"> + <c-input + v-model="model.didgrp.rec.ownref" + maxlength="16" + placeholder="请输入参考号" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="1"> + <el-form-item + label="" + label-width="15px" + + > + <!-- prop="bdtp0.didget.sdamod.seainf" --> + <!-- <c-input v-model="model.bdtp0.didget.sdamod.seainf" placeholder="请输入"></c-input> --> + <c-button size="mini" type="primary" icon="el-icon-search"></c-button> + </el-form-item> + </c-col> + + <c-col :span="5"> + <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> + </c-col> + + <c-col :span="6"> + <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur"> + <c-input + v-model="model.didgrp.cbs.opn1.cur" + maxlength="3" + placeholder="请输入Currency" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="6"> + <el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="20px"> + <c-input + v-model="model.didgrp.cbs.opn1.amt" + placeholder="请输入Balance" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <el-form-item label="Drag Drop Sender" prop="bdtp0.recget.sdamod.dadsnd"> + <c-input v-model="model.bdtp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> --> + <el-row> + <c-col :span="6"> + <el-form-item label="单据参考号" prop="bddgrp.rec.ownref"> + <c-input + v-model="model.bddgrp.rec.ownref" + maxlength="16" + placeholder="请输入单据参考号" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="1"> + <el-form-item + label="" + label-width="15px" + + > + <!-- prop="bdtp0.recget.sdamod.seainf" --> + <!-- <c-input v-model="model.bdtp0.recget.sdamod.seainf" placeholder="请输入"></c-input> --> + <c-button size="mini" type="primary" icon="el-icon-search"></c-button> + </el-form-item> + </c-col> + + <c-col :span="12" :offset="5"> + <el-form-item label="" prop="bddgrp.rec.nam"> + <c-input + v-model="model.bddgrp.rec.nam" + maxlength="40" + placeholder="请输入Name of Bill Contract" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="6"> + <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> + </c-col> + + <c-col :span="6"> + <el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="20px"> + <c-input + v-model="model.bddgrp.cbs.max.amt" + placeholder="请输入单据金额" + ></c-input> + </el-form-item> + </c-col> + + <c-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> + </c-col> + </el-row> + <el-row> + <c-col :span="6"> + <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> + </c-col> + + <c-col :span="6"> + <el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="20px"> + <c-input + v-model="model.bddgrp.cbs.opn1.amt" + placeholder="请输入Balance" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="bddgrp.apl.pts.nam" label-width="150px"> + <c-input + v-model="model.bddgrp.apl.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="6"> + <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> + </c-col> + + <c-col :span="6"> + <el-form-item label="寄单日期" prop="bddgrp.rec.advdat"> + <c-date-picker + type="date" + v-model="model.bddgrp.rec.advdat" + style="width: 100%" + placeholder="请选择Date of Advice of Payment" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-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> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <span + v-text="model.bdtp0.matp.mattxtlab" + data-path=".bdtp0.matp.mattxtlab" + > + </span> + </c-col> --> + <el-row> + <c-col :span="12"> + <el-form-item label="到期日" 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> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="bddgrp.ben.pts.nam"> + <c-input + v-model="model.bddgrp.ben.pts.nam" + maxlength="40" + placeholder="" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-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> + </c-col> + + <c-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> + </c-col> + </el-row> + <el-row> + <c-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> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="bddgrp.prb.pts.nam" label-width="150px"> + <c-input + v-model="model.bddgrp.prb.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="Narrative to Beneficiary Side" 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 :span="9" :offset="3"> + <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox> + </c-col> + </el-row> + <c-col :span="12"> + <el-form-item label="Booking Procedure" prop="rebkpflg"> + <c-select + v-model="model.rebkpflg" + style="width: 100%" + placeholder="请选择Booking Procedure" + > + </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/Bdtcan/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/Bdtcan/Coninfp.vue b/src/views/Business/Bdtcan/Coninfp.vue new file mode 100644 index 0000000..ad709dc --- /dev/null +++ b/src/views/Business/Bdtcan/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/Bdtcan/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/Bdtcan/Docpan.vue b/src/views/Business/Bdtcan/Docpan.vue new file mode 100644 index 0000000..12ed8eb --- /dev/null +++ b/src/views/Business/Bdtcan/Docpan.vue @@ -0,0 +1,54 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="国内证落款" prop="trnmod.trndoc.advnam"> + <c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl"> + <c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc"> + <c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></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/Bdtcan/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/Bdtcan/Doctre.vue b/src/views/Business/Bdtcan/Doctre.vue new file mode 100644 index 0000000..b6f056e --- /dev/null +++ b/src/views/Business/Bdtcan/Doctre.vue @@ -0,0 +1,142 @@ +<template> + <div class="eibs-tab"> + <el-row> + <c-col :span="24"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + <c-button size="small" type="primary" @click="onTrndocButattto"> + Attach to + </c-button> + <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + Delete + </c-button> + </c-col> + <!-- <c-col :span="1"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" type="primary" @click="onTrndocButattto"> + Attach to + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + Delete + </c-button> + </c-col> --> + </el-row> + <el-row style="margin-top:10px"> + <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> + </el-row> + <el-row style="margin-top:10px"> + <c-col :span="6"> + <span + v-text="model.trnmod.trndoc.doclbl" + data-path=".trnmod.trndoc.doclbl" + > + </span> + </c-col> + + <c-col :span="6" :offset="6"> + <c-checkbox v-model="model.trnmod.trndoc.shwinc" + >Show Incoming Messages</c-checkbox + > + </c-col> + + <c-col :span="6"> + <c-checkbox v-model="model.trnmod.trndoc.shwout" + >Show Outgoing Messages</c-checkbox + > + </c-col> + + <c-col :span="6"> + <c-button size="small" type="primary" @click="onTrndocButatt"> + Attach + </c-button> + </c-col> + </el-row> + <el-row style="margin-top:10px"> + <c-col :span="12"> + <el-form-item + label="Connected Documents" + prop="trnmod.trndoc.condocstm" + v-if="false" + > + <c-input + v-model="model.trnmod.trndoc.condocstm" + placeholder="请输入Connected Documents" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="6" :offset="18"> + <!-- <el-form-item label="" label-width="0"> + prop="trnmod.trndoc.rcvatt.seainf" + <c-input + v-model="model.trnmod.trndoc.rcvatt.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> --> + <c-button size="mini" type="primary" icon="el-icon-search"></c-button> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Bdtcan/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/Bdtcan/Engp.vue b/src/views/Business/Bdtcan/Engp.vue new file mode 100644 index 0000000..f941a2f --- /dev/null +++ b/src/views/Business/Bdtcan/Engp.vue @@ -0,0 +1,76 @@ +<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> + </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> + </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> + </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> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLiaallButmissig"> + Add to Sight Amount + </c-button> + </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> + </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> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtcan/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/Bdtcan/Glepan.vue b/src/views/Business/Bdtcan/Glepan.vue new file mode 100644 index 0000000..6b22a47 --- /dev/null +++ b/src/views/Business/Bdtcan/Glepan.vue @@ -0,0 +1,34 @@ +<template> + <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> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Bdtcan/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/Bdtcan/Limitbody.vue b/src/views/Business/Bdtcan/Limitbody.vue new file mode 100644 index 0000000..9c8a60b --- /dev/null +++ b/src/views/Business/Bdtcan/Limitbody.vue @@ -0,0 +1,342 @@ +<template> + <div class="eibs-tab"> + <!-- <c-col :span="12"> + <el-form-item label="ECIFNO" prop="liaall.limmod.ecifno"> + <c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span> + </c-col> --> + <el-row> + <c-col :span="8" :offset="16"> + <el-form-item label="业务编号" prop="liaall.limmod.ownref"> + <c-input + v-model="model.liaall.limmod.ownref" + maxlength="16" + placeholder="请输入国结业务编号" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <el-form-item + label="Drag Drop Sender" + prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" + placeholder="请输入Drag Drop Sender" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="Drag Drop Sender" + prop="liaall.limmod.othp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" + placeholder="请输入Drag Drop Sender" + ></c-input> + </el-form-item> + </c-col> --> + <el-row> + <c-col :span="6"> + <el-form-item + label="" + prop="liaall.limmod.limpts.wrk.pts.extkey" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + ></c-input> + </el-form-item> + </c-col> + <!-- <c-col :span="1"> + <el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="2"> + <c-button size="small" type="primary" @click="onWrkpDet"> + Details + </c-button> + </c-col> + + <c-col :span="6"> + <el-form-item + label="" + prop="liaall.limmod.limpts.oth.pts.extkey" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="1"> + <el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="2"> + <c-button size="small" type="primary" @click="onOthpDet"> + Details + </c-button> + </c-col> + <!-- <c-col :span="8"> + <c-ptap + :model="model" + :argadr="{ + title: '', + grp: 'liaall.limmod.limpts', + rol: 'wrk', + }" + :disabled="true" + :isAdrblk="false" + @onSeainf="onSeainf" + @onAplpDet="onWrkpDet" + > + </c-ptap> + </c-col> + <c-col :span="8"> + <c-ptap + :model="model" + :argadr="{ + title: '', + grp: 'liaall.limmod.limpts', + rol: 'oth', + }" + :disabled="true" + :isAdrblk="false" + @onSeainf="onSeainf" + @onAplpDet="onOthpDet" + > + </c-ptap> + </c-col> --> + <c-col :span="8"> + <el-form-item label="业务余额" prop="liaall.limmod.comamt"> + <c-input + v-model="model.liaall.limmod.comamt" + placeholder="请输入业务余额" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <el-form-item + label="External Key of Address" + prop="liaall.limmod.limpts.wrk.pts.extkey" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.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="liaall.limmod.wrkp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onWrkpDet"> + Details + </c-button> + </c-col> +--> + <el-row> + <c-col :span="7"> + <el-form-item + label="" + prop="liaall.limmod.limpts.oth.pts.extkey" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="7" :offset="1"> + <el-form-item + label="" + prop="liaall.limmod.limpts.wrk.pts.nam" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <!-- <c-col :span="12"> + <el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onOthpDet"> + Details + </c-button> + </c-col> --> + + <!-- + + + <c-col :span="12"> + <el-form-item + label="Name of Party" + prop="liaall.limmod.limpts.oth.pts.nam" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> --> + + <el-row> + <c-col :span="7"> + <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1"> + <c-select + v-model="model.liaall.limmod.limpts.nonrevflg1" + style="width: 100%" + placeholder="请选择Flag to Mark Non-revolving Limits" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="1"> + <c-button size="small" type="primary" @click="onLimptsGet1"> + 查询 + </c-button> + </c-col> + + <c-col :span="7" v-show="false"> + <el-form-item + label="Flag to Mark Non-revolving Limits" + prop="liaall.limmod.limpts.nonrevflg2" + > + <c-select + v-model="model.liaall.limmod.limpts.nonrevflg2" + style="width: 100%" + placeholder="请选择Flag to Mark Non-revolving Limits" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="1" v-show="false"> + <c-button size="small" type="primary" @click="onLimptsGet2"> + 查询 + </c-button> + </c-col> + <c-col :span="8" :offset="8"> + <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt"> + <c-input + v-model="model.liaall.limmod.ccvamt" + placeholder="请输入保证金余额" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <!-- <c-col :span="8"> + <span + v-text="model.liaall.limmod.limpts.lsh" + data-path=".liaall.limmod.limpts.lsh" + > + </span> + </c-col> --> + + <c-col :span="8"> + <el-form-item label="LSH" prop="liaall.limmod.limpts.pfcod1"> + <c-input + v-model="model.liaall.limmod.limpts.pfcod1" + maxlength="14" + placeholder="LSH" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="8" v-show="false"> + <el-form-item label="LSH" prop="liaall.limmod.limpts.pfcod2"> + <c-input + v-model="model.liaall.limmod.limpts.pfcod2" + maxlength="14" + placeholder="LSH" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="2" :offset="10" v-show="false"> + <c-button size="small" type="primary" @click="onLimmodTrycal"> + 试算 + </c-button> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Bdtcan/Event"; +import Ptap from "~/views/Public/Ptap1"; + +export default { + components: { "c-ptap": Ptap }, + inject: ["root"], + props: ["model", "codes"], + mixins: [CommonProcess], + data() { + return {}; + }, + methods: { ...Event }, + created: function () {}, +}; +</script> +<style> +</style> diff --git a/src/views/Business/Bdtcan/Setpan.vue b/src/views/Business/Bdtcan/Setpan.vue new file mode 100644 index 0000000..8d63591 --- /dev/null +++ b/src/views/Business/Bdtcan/Setpan.vue @@ -0,0 +1,86 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="our reference" prop="setmod.ref"> + <c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="document currency" prop="setmod.doccur"> + <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="document amount" prop="setmod.docamt"> + <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Type of settlement" prop="setmod.dspflg"> + <c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onSetmodDet"> + 细节 + </c-button> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc"> + <c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </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/Bdtcan/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/Bdtcan/index.vue b/src/views/Business/Bdtcan/index.vue new file mode 100644 index 0000000..5f669a7 --- /dev/null +++ b/src/views/Business/Bdtcan/index.vue @@ -0,0 +1,125 @@ +<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="tabClick"> + <!--PD000016 --> + <el-tab-pane label="Cancelation" name="canp"> + <m-canp :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000027 --> + <el-tab-pane label="或有" name="engp"> + <m-engp :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000000 --> + <el-tab-pane label="账务" name="setpan"> + <m-setpan :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000001 --> + <el-tab-pane label="分录" name="glepan"> + <m-glepan :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000000 --> + <el-tab-pane label="附言" name="coninfp"> + <m-coninfp :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000529 --> + <el-tab-pane label="报文及面函" name="docpan"> + <m-docpan :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000546 --> + <el-tab-pane label="附件" name="doctre"> + <m-doctre :model="model" :codes="codes" /> + </el-tab-pane> + + <!--PD000001 --> + <el-tab-pane label="统一授信" name="limitbody"> + <m-limitbody :model="model" :codes="codes" /> + </el-tab-pane> + </c-tabs> + </el-form> + </div> +</template> +<script> +import Api from "~/service/Api"; +import Utils from "~/utils/index"; +import CodeTable from "~/config/CodeTable"; +import Bdtcan from "~/model/Bdtcan"; +import CommonProcess from "~/mixin/CommonProcess"; +import Check from "~/model/Bdtcan/Check"; +import Default from "~/model/Bdtcan/Default"; +import Pattern from "~/model/Bdtcan/Pattern"; +import Canp from "./Canp"; +// import Engp from "./Engp"; +import Engp from "~/views/Public/Engp" +import Setpan from "~/views/Public/Setpan"; +// import Setpan from "./Setpan" +import Glepan from "~/views/Public/Glepan"; +import Coninfp from "~/views/Public/Coninfp"; +import Docpan from "~/views/Public/Docpan"; +import Doctre from "./Doctre"; +import Limitbody from "./Limitbody"; + +export default { + name: "Bdtcan", + components: { + "m-canp": Canp, + "m-engp": Engp, + "m-setpan": Setpan, + "m-glepan": Glepan, + "m-coninfp": Coninfp, + "m-docpan": Docpan, + "m-doctre": Doctre, + "m-limitbody": Limitbody, + }, + provide() { + return { + root: this, + }; + }, + mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 + data() { + return { + tabVal: "canp", + trnName: "bdtcan", + model: new Bdtcan().data, + checkRules: Check, + defaultRules: Default, + pattern: Pattern, + rules: null, + codes: {}, + }; + }, + methods: { + tabClick() {}, + }, + created: async function () { + console.log("进入bdtcan交易"); + let rtnmsg = await this.init(this.$route.query); + if (rtnmsg.respCode == SUCCESS) { + //更新数据 + Utils.copyValueFromVO(this.model, rtnmsg.data); + if (this.isInDisplay) { + this.restoreDisplay(); + } + } else { + this.$notify.error({ title: "错误", message: "服务请求失败!" }); + } + }, +}; +</script> +<style> +</style> diff --git a/src/views/Business/BusRouter.js b/src/views/Business/BusRouter.js index a3ce641..f0450cf 100644 --- a/src/views/Business/BusRouter.js +++ b/src/views/Business/BusRouter.js @@ -70,6 +70,9 @@ import Bttacc from "./Bttacc" import Cltdav from "./Cltdav" import Cltset from "./Cltset" import Clttra from "./Clttra" +import Bdtcan from "./Bdtcan" +import Ditdla from "./Ditdla" + /** * 带有name的才会被添加进顶部的标签页里 @@ -148,5 +151,8 @@ const BusRouter = [ { path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } }, { path: 'cltset', component: Cltset, name: 'Cltset', meta: { title: '打包托收解包' } }, { path: 'clttra', component: Clttra, name: 'Clttra', meta: { title: '打包托收催收' } }, + { path: 'bdtcan', component: Bdtcan, name: 'Bdtcan', meta: { title: '买方信用证单据注销' } }, + { path: 'ditdla', component: Ditdla, name: 'Ditdla', meta: { title: '买方信用证减额接受' } } + ] export default BusRouter \ No newline at end of file diff --git a/src/views/Business/Ditdla/Accp.vue b/src/views/Business/Ditdla/Accp.vue new file mode 100644 index 0000000..5700931 --- /dev/null +++ b/src/views/Business/Ditdla/Accp.vue @@ -0,0 +1,285 @@ +<template> + <div class="eibs-tab"> + <el-row> + <c-col :span="12"> + <el-form-item label="参考号" prop="didgrp.rec.ownref"> + <c-input + v-model="model.didgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="摘要" 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> + </c-col> + </el-row> + <el-row> + <c-col :span="6"> + <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> + <c-select + v-model="model.didgrp.cbs.nom1.cur" + style="width: 100%" + placeholder="请选择Currency" + > + </c-select> + </el-form-item> + </c-col> + <c-col :span="6"> + <el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="0px"> + <c-input + v-model="model.didgrp.cbs.nom1.amt" + placeholder="请输入信用证金额" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="申请人" prop="didgrp.apl.pts.ref"> + <c-input + v-model="model.didgrp.apl.pts.ref" + maxlength="16" + placeholder="请输入申请人" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <el-row> + <c-col :span="6"> + <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur"> + <c-select + v-model="model.didgrp.cbs.opn1.cur" + style="width: 100%" + placeholder="请选择信用证余额" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="6"> + <el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="0px"> + <c-input + v-model="model.didgrp.cbs.opn1.amt" + placeholder="请输入信用证余额" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="didgrp.apl.pts.nam" > + <c-input + v-model="model.didgrp.apl.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-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> + </c-col> + <c-col :span="12"> + <el-form-item label="受益人" prop="didgrp.ben.pts.ref"> + <c-input + v-model="model.didgrp.ben.pts.ref" + maxlength="16" + placeholder="请输入受益人" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <el-row> + <c-col :span="12"> + <el-form-item label="兑付方式" prop="didgrp.rec.avbby"> + <c-select + v-model="model.didgrp.rec.avbby" + style="width: 100%" + placeholder="请选择Available by" + > + </c-select> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="" prop="didgrp.ben.pts.nam" > + <c-input + v-model="model.didgrp.ben.pts.nam" + maxlength="40" + placeholder="" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="6"> + <el-form-item label="开证日期" prop="didgrp.rec.opndat"> + <c-date-picker + type="date" + v-model="model.didgrp.rec.opndat" + style="width: 100%" + placeholder="请选择Date L/C Opened/Issued" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="6"> + <el-form-item label="最迟装运日期" 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> + </c-col> + <c-col :span="12"> + <el-form-item label="通知行" prop="didgrp.rec.tzref"> + <c-input + v-model="model.didgrp.rec.tzref" + maxlength="35" + placeholder="请输入通知行编号" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <!-- <c-col :span="12"> + <el-form-item label="通知行" prop="didgrp.adv.pts.ref"> + <c-input + v-model="model.didgrp.adv.pts.ref" + maxlength="16" + placeholder="请输入通知行" + ></c-input> + </el-form-item> + </c-col> --> + <el-row> + <c-col :span="6"> + <el-form-item label="到期日/到期地点" prop="didgrp.rec.expdat"> + <c-date-picker + type="date" + v-model="model.didgrp.rec.expdat" + style="width: 100%" + placeholder="请选择Date of Expiry" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="6"> + <el-form-item label="" prop="didgrp.rec.expplc" label-width="0px"> + <c-input + v-model="model.didgrp.rec.expplc" + maxlength="35" + placeholder="请输入Place of Expiry" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="" prop="didgrp.adv.pts.nam" > + <c-input + v-model="model.didgrp.adv.pts.nam" + maxlength="40" + placeholder="请输入到期日/到期地点" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp"> + <c-select + v-model="model.didgrp.rec.lcrtyp" + style="width: 100%" + placeholder="请选择Form of Documentary Credit" + > + </c-select> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="Decrease limits stream" prop="decstm"> + <c-input + v-model="model.decstm" + placeholder="请输入Decrease limits stream" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="第" prop="amenbr"> + <c-input + v-model="model.amenbr" + maxlength="3" + placeholder="请输入Amendment No." + ></c-input> + <label>次修改(减额)</label> + </el-form-item> + <br /> + <el-form-item label="修改金额" prop="amecur"> + <c-select + v-model="model.amecur" + style="width: 100%" + placeholder="请选择Amount Amend Cur" + > + </c-select> + </el-form-item> + <el-form-item label="" prop="ameamt" label-width="0px"> + <c-input + v-model="model.ameamt" + placeholder="请输入修改金额" + ></c-input> + </el-form-item> + <br /> + <el-form-item label="修改日期" prop="amedat"> + <c-input + v-model="model.amedat" + maxlength="12" + placeholder="请输入Amount Amend Date" + ></c-input> + </el-form-item> + <br /> + <el-form-item label="是否接受此笔减额修改" prop="ameflg"> + <c-select + v-model="model.ameflg" + style="width: 100%" + placeholder="请选择是否接受此笔减额修改" + > + </c-select> + </el-form-item> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Adcpame.vue b/src/views/Business/Ditdla/Adcpame.vue new file mode 100644 index 0000000..577eec1 --- /dev/null +++ b/src/views/Business/Ditdla/Adcpame.vue @@ -0,0 +1,79 @@ +<template> + <div class="eibs-tab"> + <el-row> + <c-col :span="12"> + <el-form-item label="其他条款" prop="didgrp.blk.adlcnd"> + <c-input + type="textarea" + v-model="model.didgrp.blk.adlcnd" + maxlength="65" + show-word-limit + placeholder="请输入Additional Conditions" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="其他条款历史修改" prop="didgrp.blk.adlcndame"> + <c-input + type="textarea" + v-model="model.didgrp.blk.adlcndame" + maxlength="50" + show-word-limit + placeholder="请输入Additional Conditions Amendment History" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item + label="其他条款修改" + prop="trnmod.swiadd.adlcnd" + > + <c-input + type="textarea" + v-model="model.trnmod.swiadd.adlcnd" + maxlength="65" + show-word-limit + placeholder="请输入Additional Conditions amendment" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="2"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onAdlcndameButtxmsel" + > + </c-button> + <c-col :span="10" v-show="false"> + <c-checkbox v-model="model.didgrp.rec.redclsflg" + >Red/Green Clause</c-checkbox + > + </c-col> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Amep.vue b/src/views/Business/Ditdla/Amep.vue new file mode 100644 index 0000000..2439bba --- /dev/null +++ b/src/views/Business/Ditdla/Amep.vue @@ -0,0 +1,368 @@ +<template> + <div class="eibs-tab"> + <!-- <c-col :span="12"> + <el-form-item + label="Drag Drop Sender" + prop="ditamep.recget.sdamod.dadsnd" + > + <c-input + v-model="model.ditamep.recget.sdamod.dadsnd" + placeholder="请输入Drag Drop Sender" + ></c-input> + </el-form-item> + </c-col> --> + <el-row> + <c-col :span="12"> + <el-form-item label="参考号" prop="didgrp.rec.ownref"> + <c-input + v-model="model.didgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="12"> + <el-form-item label="" prop="ditamep.recget.sdamod.seainf"> + <c-input + v-model="model.ditamep.recget.sdamod.seainf" + placeholder="请输入参考号" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="12"> + <el-form-item label="摘要" 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> + </c-col> + </el-row> + <el-row> + <c-col :span="8"> + <el-form-item label="修改日期" prop="trnmod.swiadd.amedat"> + <c-date-picker + type="date" + v-model="model.trnmod.swiadd.amedat" + style="width: 100%" + placeholder="请选择修改日期" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="修改次数" prop="trnmod.swiadd.amenbr"> + <c-input + v-model="model.trnmod.swiadd.amenbr" + placeholder="请输入修改次数" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item label="实际修改次数" prop="ditamep.amenbr"> + <c-input + v-model="model.ditamep.amenbr" + placeholder="请输入实际修改次数" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="4"> + <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> + <c-input + v-model="model.didgrp.cbs.nom1.cur" + maxlength="3" + placeholder="请输入Currency" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="" prop="olddidgrp.cbs.nom1.amt" label-width="0px"> + <c-input + v-model="model.olddidgrp.cbs.nom1.amt" + placeholder="请输入信用证金额" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="5"> + <el-form-item label="溢短装" prop="olddidgrp.rec.nomtop"> + <c-input + v-model="model.olddidgrp.rec.nomtop" + placeholder="请输入Amount Tolerance - Positive" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="3"> + <el-form-item label="" prop="olddidgrp.rec.nomton" label-width="20px"> + <c-input + v-model="model.olddidgrp.rec.nomton" + placeholder="请输入Amount Tolerance - Negative" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="最大金额" prop="olddidgrp.cbs.max.cur"> + <c-input + v-model="model.olddidgrp.cbs.max.cur" + maxlength="3" + placeholder="请输入Currency" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="" prop="olddidgrp.cbs.max.amt" label-width="0px"> + <c-input + v-model="model.olddidgrp.cbs.max.amt" + placeholder="请输入Balance" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="4"> + <el-form-item label="增减金额" prop="trnmod.swiadd.amecur"> + <c-select + v-model="model.trnmod.swiadd.amecur" + style="width: 100%" + placeholder="请选择增减金额" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="" prop="trnmod.swiadd.ameamt" label-width="0px"> + <c-input + v-model="model.trnmod.swiadd.ameamt" + placeholder="请输入增减金额" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="4" :offset="8"> + <el-form-item label="修改总金额" prop="ditamep.engcur"> + <c-select + v-model="model.ditamep.engcur" + style="width: 100%" + placeholder="请选择修改总金额" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="" prop="ditamep.engamt" label-width="0px"> + <c-input + v-model="model.ditamep.engamt" + placeholder="请输入修改总金额" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <el-row> + <c-col :span="4"> + <el-form-item label="修改后金额" prop="trnmod.swiadd.newcur"> + <c-select + v-model="model.trnmod.swiadd.newcur" + style="width: 100%" + placeholder="请选择修改后金额" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="" prop="trnmod.swiadd.newamt" label-width="0px"> + <c-input + v-model="model.trnmod.swiadd.newamt" + placeholder="请输入修改后金额" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="5"> + <el-form-item label="修改后溢短装" prop="trnmod.swiadd.newnomtopame"> + <c-input + v-model="model.trnmod.swiadd.newnomtopame" + placeholder="请输入New positive tolerance for GNZ" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="3"> + <el-form-item + label="" + prop="trnmod.swiadd.newnomtoname" + label-width="20px" + > + <c-input + v-model="model.trnmod.swiadd.newnomtoname" + placeholder="请输入New negative tolerance for GNZ" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="修改后最大金额" prop="ditamep.maxcur"> + <c-input + v-model="model.ditamep.maxcur" + maxlength="3" + placeholder="请输入Currency of Maximum Amount" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <el-form-item label="" prop="ditamep.maxamt" label-width="0px"> + <c-input + v-model="model.ditamep.maxamt" + placeholder="请输入New Maximum Amount" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="到期日" prop="olddidgrp.rec.expdat"> + <c-date-picker + type="date" + v-model="model.olddidgrp.rec.expdat" + style="width: 100%" + placeholder="请选择到期日" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- <c-col :span="12"> + <span v-text="model.ditamep.zchday" data-path=".ditamep.zchday"> </span> + </c-col> --> + <c-col :span="12"> + <el-form-item label="最迟服务提供日" prop="olddidgrp.rec.shpdat"> + <c-date-picker + type="date" + v-model="model.olddidgrp.rec.shpdat" + style="width: 100%" + placeholder="请选择Shipment Date" + ></c-date-picker> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="新到期日" prop="trnmod.swiadd.newexpdat"> + <c-date-picker + type="date" + v-model="model.trnmod.swiadd.newexpdat" + style="width: 100%" + placeholder="请选择新到期日" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- <c-col :span="12"> + <span v-text="model.ditamep.newday" data-path=".ditamep.newday"> </span> + </c-col> --> + + <c-col :span="12"> + <el-form-item label="新最迟服务提供日" prop="trnmod.swiadd.newshpdat"> + <c-date-picker + type="date" + v-model="model.trnmod.swiadd.newshpdat" + style="width: 100%" + placeholder="请选择New Shipmentdate" + ></c-date-picker> + </el-form-item> + </c-col> + </el-row> + <el-row> + <!-- <c-col :span="12"> + <span v-text="model.ditamep.hwzydi" data-path=".ditamep.hwzydi"> </span> + </c-col> --> + <c-col :span="12"> + <el-form-item label="货物装运地(港)" prop="trnmod.swiadd.shpfroelc"> + <c-input + type="textarea" + v-model="model.trnmod.swiadd.shpfroelc" + maxlength="35" + show-word-limit + placeholder="请输入Shipment from" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="报文类型" prop="ditamep.msgtyp"> + <c-select + v-model="model.ditamep.msgtyp" + style="width: 100%" + placeholder="请选择报文类型" + > + </c-select> + </el-form-item> + </c-col> + </el-row> + <el-row> + <!-- <c-col :span="12"> + <span v-text="model.ditamep.ramrollab" data-path=".ditamep.ramrollab"> + </span> + </c-col> --> + <c-col :span="12"> + <el-form-item + label="货物目的地/交货地(港)" + prop="trnmod.swiadd.shptoelc" + > + <c-input + type="textarea" + v-model="model.trnmod.swiadd.shptoelc" + maxlength="35" + show-word-limit + placeholder="请输入货物目的地/交货地(港)" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <el-form-item label="Request of Amendment send to" prop="ditamep.ramrol"> + <c-select + v-model="model.ditamep.ramrol" + style="width: 100%" + placeholder="请选择Request of Amendment send to" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.ditamep.cre707flg" + >Create Amendment Message</c-checkbox + > + </c-col> --> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Ccvpan.vue b/src/views/Business/Ditdla/Ccvpan.vue new file mode 100644 index 0000000..5cd0e7e --- /dev/null +++ b/src/views/Business/Ditdla/Ccvpan.vue @@ -0,0 +1,96 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="应付保证金金额" prop="liaall.liaccv.concur"> + <c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="合同金额" prop="liaall.liaccv.newamt"> + <c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct"> + <c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt"> + <c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct"> + <c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt"> + <c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLiaccvAdd"> + Add + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" icon="el-icon-delete" @click="onLiaccvDel"> + Del + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="金额总和" prop="liaall.liaccv.totcovamt"> + <c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Additional Information " prop="liaall.liaccv.addinf"> + <c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></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/Ditdla/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/Ditdla/Coninfp.vue b/src/views/Business/Ditdla/Coninfp.vue new file mode 100644 index 0000000..2c31a86 --- /dev/null +++ b/src/views/Business/Ditdla/Coninfp.vue @@ -0,0 +1,112 @@ +<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> --> + <el-row> + <c-col :span="18"> + <el-form-item label="General" 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="6"> + <el-form-item + label="Display Type" + 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> + </el-row> + + <el-row> + <!-- <c-col :span="12"> + <span + v-text="model.mtabut.coninf.oitset.labinftxt" + data-path=".mtabut.coninf.oitset.labinftxt" + > + </span> + </c-col> --> + + <c-col :span="18"> + <el-form-item label="Settlement" 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="6"> + <el-form-item + label="Display Type" + 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> + </el-row> + <c-col :span="6"> + <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="6" :offset="12"> + <el-form-item label="Send for Release to" 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/Ditdla/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/Ditdla/Detp.vue b/src/views/Business/Ditdla/Detp.vue new file mode 100644 index 0000000..797d950 --- /dev/null +++ b/src/views/Business/Ditdla/Detp.vue @@ -0,0 +1,196 @@ +<template> + <div class="eibs-tab"> + + <!-- ========================= Left ========================= --> + <c-col :span="11"> + <el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby"> + <c-select v-model="model.didgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择"> + <el-option v-for="item in codes.avbby0" :key="item.value" :label="item.label" :value="item.value"> + </el-option> + </c-select> + </el-form-item> + + <el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" > + <c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:17%" maxlength="3"></c-input> + </el-form-item> + + <el-form-item label="远期付款指示" prop="didgrp.blk.defdet"> + <c-col :span="21"> + <c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:100%" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input> + </c-col> + <c-col :span="3" style="text-align: right"> + <c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel"> + </c-button> + </c-col> + </el-form-item> + + <el-form-item label="交单期限" prop="didgrp.blk.preper"> + <c-col :span="21"> + <c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:100%" maxlength="105" show-word-limit placeholder="请输入"></c-input> + </c-col> + <c-col :span="3" style="text-align: right"> + <c-button size="small" type="primary" style="margin:0 0;" icon="el-icon-search" @click="onPreperButtxmsel"> + </c-button> + </c-col> + </el-form-item> + + <el-form-item label="" prop="didgrp.blk.preperflg"> + <c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox> + </el-form-item> + + <el-form-item label="货物运输/交货/服务方式" prop="didgrp.rec.tratyp"> + <c-col :span="10"> + <c-select v-model="model.didgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'"> + <el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label" + :value="item.value"> + </el-option> + </c-select> + </c-col> + </el-form-item> + + <el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs"> + <c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input> + </el-form-item> + <el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="服务提供方式" prop="didgrp.rec.sdsrfs"> + <c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input> + </el-form-item> + <el-form-item v-if="model.didgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="didgrp.rec.sdsrfs"> + <c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input> + </el-form-item> + + + <el-form-item label="合同编号" prop="didgrp.rec.conno"> + <c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input> + </el-form-item> + + <el-form-item label="合同金额" prop="didgrp.rec.conamt"> + <c-col :span="10"> + <c-select v-model="model.didgrp.rec.concur" style="width:90%" placeholder="请选择"> + <el-option label="CNY 人民币" value="CNY"></el-option> + </c-select> + </c-col> + <c-col :span="14"> + <c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input> + </c-col> + </el-form-item> + </c-col> + + <!-- ========================= Right ========================= --> + <c-col :span="11" :offset="1"> + <el-form-item label="分批装运货物" prop="didgrp.rec.shppar"> + <c-select v-model="model.didgrp.rec.shppar" style="width:50%" placeholder="请选择"> + <el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value"> + </el-option> + </c-select> + </el-form-item> + + <el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw"> + <c-input v-model="model.didgrp.rec.fqzytgfw" placeholder="请输入" :disabled="model.didgrp.rec.shppar == 'N'" style="width:100%"></c-input> + </el-form-item> + + <el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime"> + <c-input type="textarea" :rows="3" v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input> + </el-form-item> + + <el-form-item label="转运" prop="didgrp.rec.shptrs"> + <c-select v-model="model.didgrp.rec.shptrs" style="width:50%" placeholder="请选择" :disabled="model.didgrp.rec.mytype == 'F'"> + <el-option label="不允许" value="禁止"></el-option> + <el-option label="允许" value="允许"></el-option> + </c-select> + </el-form-item> + + <el-form-item label="货物转运地(港)" prop="didgrp.rec.shpfro"> + <c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpfro" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input> + </el-form-item> + + <el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto"> + <c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpto" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input> + </el-form-item> + + <el-form-item label="服务提供地点" prop="didgrp.rec.shppro"> + <c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shppro" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="12"> + <el-form-item label="合同币种" prop="didgrp.rec.concur"> + <c-select v-model="model.didgrp.rec.concur" style="width:100%" placeholder="请选择"> + <el-option label="CNY 人民币" value="CNY"></el-option> + </c-select> + </el-form-item> + </c-col> --> + + <!-- <c-col :span="12"> + <span v-text="model.ditp.sdysfs" data-path=".ditp.sdysfs" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.ditp.hwzydi" data-path=".ditp.hwzydi" > </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/Ditdla/Event" +import Utils from "~/utils"; + +export default { + inject: ['root'], + mixins: [CommonProcess], + props:["model","codes"], + data(){ + return { + flag:false, + mytypeFlag:true, + } + }, + methods:{...Event, + preperflgExtkeyEvent(){ + this.flag = !this.model.didgrp.blk.preperflg + if (this.flag === true){ + this.model.didgrp.blk.preper = "货物装运日后15天"; + } + }, + avbbykeyEvent(){ + if(this.model.didgrp.rec.avbby == 'P'){ + this.model.didgrp.rec.tenmaxday = 0; + this.model.didgrp.blk.defdet = ""; + } + this.executeCheck("didgrp.rec.avbby").then( + (res) => { + if (res.respCode == SUCCESS){ + Utils.copyValueFromVO(this.model, res.data); + } + } + ); + }, + recTenmaxdayEvent(){ + this.executeDefault("didgrp.rec.tenmaxday").then( + (res) => { + if (res.respCode = SUCCESS){ + Utils.copyValueFromVO(this.model, res.data); + } + } + ); + }, + recTratypChange(){ + if (this.model.didgrp.rec.tratyp == "08"){ + this.model.didgrp.rec.sdsrfs = ""; + this.mytypeFlag = false; + }else{ + this.model.didgrp.rec.sdsrfs = ""; + this.mytypeFlag = true; + } + } + }, + + created:function(){ + + } +} +</script> +<style> +</style> diff --git a/src/views/Business/Ditdla/Detp1.vue b/src/views/Business/Ditdla/Detp1.vue new file mode 100644 index 0000000..a8f5e3b --- /dev/null +++ b/src/views/Business/Ditdla/Detp1.vue @@ -0,0 +1,453 @@ +<template> + <div class="eibs-tab"> + <!-- <c-row> --> + <!--=== ==========左边=============== --> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="通知行参考号" prop="didgrp.rec.tzref"> + <c-input + v-model="model.didgrp.rec.tzref" + maxlength="35" + placeholder="请输入通知行编号" + ></c-input> + </el-form-item> + </c-col> + <!-- =========================通知行========================= --> + <c-col :span="24"> + <el-form-item label="通知行BIC" prop="didgrp.adv.pts.extkey"> + <c-input + v-model="model.didgrp.adv.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')" + ></c-input> + </el-form-item> + </c-col> + <!-- <el-form-item label="通知行联行行号" prop="didgrp.adv.pts.bankno"> + <c-input + v-model="model.didgrp.adv.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.bankno')" + ></c-input> + </el-form-item> + + <el-form-item label="通知行联行名称" prop="didgrp.adv.pts.jigomc"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.adv.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + <el-form-item label="通知行地址" prop="didgrp.adv.pts.dizhii"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.adv.pts.dizhii" + maxlength="35" + show-word-limit + placeholder="请输入地址 电证用" + ></c-input> + </el-form-item> --> + <c-ptapdome + :disabledJigomc="true" + :disabledDizhii="true" + :model="model" + :argadr="{ + title: '通知行', + rol: 'adv', + grp: 'didgrp' + }" + ></c-ptapdome> + <c-col :span="13"> + <el-form-item label="通知行邮编" prop="didgrp.adv.pts.youzbm"> + <c-input + disabled + v-model="model.didgrp.adv.pts.youzbm" + maxlength="6" + placeholder="请输入邮编 电证用" + ></c-input> + </el-form-item> </c-col + ><c-col :span="11"> + <el-form-item + label="通知行电话" + prop="didgrp.adv.pts.dihdig" + label-width="100px" + > + <c-input + disabled + v-model="model.didgrp.adv.pts.dihdig" + maxlength="16" + placeholder="请输入电话" + ></c-input> + </el-form-item> + </c-col> + <!-- ============= 议付行 ========================= --> + <c-col :span="13"> + <el-form-item label="是否可议付" prop="didgrp.rec.fenctg"> + <c-select + v-model="model.didgrp.rec.fenctg" + style="width: 100%" + placeholder="请选择是否可议付" + > + <el-option + v-for="item in codes.fenctg" + :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="指定的有关银行 " prop="didgrp.rec.avbwth"> + <c-select + :disabled="model.didgrp.rec.fenctg != 'Y'" + v-model="model.didgrp.rec.avbwth" + style="width: 100%" + placeholder="请选择指定的有关银行" + > + <el-option + v-for="item in codes.avbwth" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <!-- <el-form-item label="议付行联行行号" prop="didgrp.avb.pts.bankno"> + <c-input + :disabled="model.didgrp.rec.fenctg != 'Y'" + v-model="model.didgrp.avb.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native="showGridPromptDialog('didgrp.avb.pts.bankno')" + ></c-input> + </el-form-item> + + <el-form-item label="议付行名称" prop="didgrp.avb.pts.jigomc"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.avb.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + + <el-form-item label="议付行地址" prop="didgrp.avb.pts.dizhii"> + <c-input + :disabled="model.didgrp.rec.fenctg != 'Y'" + type="textarea" + v-model="model.didgrp.avb.pts.dizhii" + maxlength="35" + show-word-limit + placeholder="请输入地址 电证用" + ></c-input> + </el-form-item> --> + <c-ptapdome + :disabledBankno="model.didgrp.rec.fenctg != 'Y'" + :disabledJigomc="true" + :disabledDizhii="model.didgrp.rec.fenctg != 'Y'" + :model="model" + :argadr="{ + title: '议付行', + rol: 'avb', + grp: 'didgrp' + }" + ></c-ptapdome> + <!-- ========================转让行 ======================== --> + <c-col :span="13"> + <el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp"> + <c-select + v-model="model.didgrp.rec.lcrtyp" + style="width: 100%" + placeholder="请选择" + > + <el-option + v-for="item in codes.lcrtyp" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <!-- </c-row> --> + <!-- <el-form-item label="转让行联行行号" prop="didgrp.cmb.pts.bankno"> + <c-input + :disabled="model.didgrp.rec.lcrtyp != 'IT'" + v-model="model.didgrp.cmb.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native="showGridPromptDialog('didgrp.cmb.pts.bankno')" + ></c-input> + </el-form-item> + <el-form-item label="转让行名称" prop="didgrp.cmb.pts.jigomc"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.cmb.pts.jigomc" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + <el-form-item label="转让行地址" prop="didgrp.cmb.pts.dizhii"> + <c-input + :disabled="model.didgrp.rec.lcrtyp != 'IT'" + type="textarea" + v-model="model.didgrp.cmb.pts.dizhii" + maxlength="35" + show-word-limit + placeholder="请输入地址 电证用" + ></c-input> + </el-form-item> --> + <c-ptapdome + :disabledBankno="model.didgrp.rec.lcrtyp != 'IT'" + :disabledJigomc="true" + :disabledDizhii="model.didgrp.rec.lcrtyp != 'IT'" + :model="model" + :argadr="{ + title: '转让行', + rol: 'cmb', + grp: 'didgrp' + }" + ></c-ptapdome> + </c-col> + <!--=== ==========右边=============== --> + <c-col :span="11" :offset="1"> + <!-- =========================开证行========================= --> + <c-col :span="24"> + <el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey"> + <c-input + v-model="model.didgrp.iss.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')" + ></c-input> + </el-form-item> + </c-col> + <!-- <el-form-item label="开证行联行行号" prop="didgrp.iss.pts.bankno"> + <c-input + disabled + v-model="model.didgrp.iss.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + ></c-input> + </el-form-item> + <el-form-item label="开证行联行名称" prop="didgrp.iss.pts.jigomc"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.iss.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + <el-form-item label="开证行地址" prop="didgrp.iss.pts.dizhii"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.iss.pts.dizhii" + maxlength="35" + show-word-limit + placeholder="请输入地址 电证用" + ></c-input> + </el-form-item> --> + <c-ptapdome + :disabledBankno="true" + :disabledJigomc="true" + :disabledDizhii="true" + :model="model" + :argadr="{ + title: '开证行', + rol: 'iss', + grp: 'didgrp' + }" + :isIss="true" + ></c-ptapdome> + + <c-col :span="13"> + <el-form-item label="开证行邮编" prop="didgrp.iss.pts.youzbm"> + <c-input + disabled + v-model="model.didgrp.iss.pts.youzbm" + maxlength="6" + placeholder="请输入邮编 电证用" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="11"> + <el-form-item + label="开证行电话" + prop="didgrp.iss.pts.dihdig" + label-width="100px" + > + <c-input + disabled + v-model="model.didgrp.iss.pts.dihdig" + maxlength="16" + placeholder="请输入电话" + ></c-input> + </el-form-item> + </c-col> + <!-- =========================保兑行========================= --> + <c-col :span="13"> + <el-form-item label="是否可保兑" prop="didgrp.rec.bdflg"> + <c-select + v-model="model.didgrp.rec.bdflg" + style="width: 100%" + placeholder="请选择是否可保兑" + > + <el-option + v-for="item in codes.bdflg" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <!-- <el-form-item label="保兑行联行行号" prop="didgrp.rmb.pts.bankno"> + <c-input + :disabled="model.didgrp.rec.bdflg != 'Y'" + v-model="model.didgrp.rmb.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native="showGridPromptDialog('didgrp.rmb.pts.bankno')" + ></c-input> + </el-form-item> + + <el-form-item label="保兑行名称" prop="didgrp.rmb.pts.jigomc"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.rmb.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + <el-form-item label="保兑行地址" prop="didgrp.rmb.pts.dizhii"> + <c-input + :disabled="model.didgrp.rec.bdflg != 'Y'" + type="textarea" + v-model="model.didgrp.rmb.pts.dizhii" + maxlength="35" + show-word-limit + placeholder="请输入地址 电证用" + ></c-input> + </el-form-item> --> + <c-ptapdome + :disabledBankno="model.didgrp.rec.bdflg != 'Y'" + :disabledJigomc="true" + :disabledDizhii="model.didgrp.rec.bdflg != 'Y'" + :model="model" + :argadr="{ + title: '保兑行', + rol: 'rmb', + grp: 'didgrp' + }" + ></c-ptapdome> + <!-- ========================申请行 ======================== --> + <!-- <el-form-item label="申请行联行行号" prop="didgrp.apc.pts.bankno"> + <c-input + v-model="model.didgrp.apc.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native="showGridPromptDialog('didgrp.apc.pts.bankno')" + ></c-input> + </el-form-item> + <el-form-item label="申请行名称" prop="didgrp.apc.pts.jigomc"> + <c-input + disabled + type="textarea" + v-model="model.didgrp.apc.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + <el-form-item label="申请行地址" prop="didgrp.apc.pts.dizhii"> + <c-input + type="textarea" + v-model="model.didgrp.apc.pts.dizhii" + maxlength="35" + show-word-limit + placeholder="请输入地址 电证用" + ></c-input> + </el-form-item> --> + <c-ptapdome + :disabledJigomc="true" + :model="model" + :argadr="{ + title: '申请行', + rol: 'apc', + grp: 'didgrp' + }" + ></c-ptapdome> + <c-col :span="13"> + <el-form-item label="申请人邮编" prop="didgrp.apc.pts.youzbm"> + <c-input + v-model="model.didgrp.apc.pts.youzbm" + maxlength="6" + placeholder="请输入邮编 电证用" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="11"> + <el-form-item + label="申请人电话" + prop="didgrp.apc.pts.dihdig" + label-width="100px" + > + <c-input + v-model="model.didgrp.apc.pts.dihdig" + maxlength="16" + placeholder="请输入电话 电证用" + ></c-input> + </el-form-item> + </c-col> + </c-col> + + <!-- <c-col :span="24"> </c-col> --> + + + + + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import Event from "~/model/Ditdla/Event"; +import Utils from "~/utils"; +import PtapDome from "~/views/Public/PtapDome"; + +export default { + components: { "c-ptapdome": PtapDome }, + inject: ["root"], + props: ["model", "codes"], + mixins: [CommonProcess], + data() { + return {}; + }, + methods: { + ...Event, + }, + created: function () {}, +}; +</script> +<style> +</style> diff --git a/src/views/Business/Ditdla/Docpan.vue b/src/views/Business/Ditdla/Docpan.vue new file mode 100644 index 0000000..8502ac0 --- /dev/null +++ b/src/views/Business/Ditdla/Docpan.vue @@ -0,0 +1,54 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="国内证落款" prop="trnmod.trndoc.advnam"> + <c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl"> + <c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc"> + <c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></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/Ditdla/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/Ditdla/Doctre.vue b/src/views/Business/Ditdla/Doctre.vue new file mode 100644 index 0000000..3d1fdbf --- /dev/null +++ b/src/views/Business/Ditdla/Doctre.vue @@ -0,0 +1,142 @@ +<template> + <div class="eibs-tab"> + <el-row> + <c-col :span="24"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + <c-button size="small" type="primary" @click="onTrndocButattto"> + Attach to + </c-button> + <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + Delete + </c-button> + </c-col> + <!-- <c-col :span="1"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + Show + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" type="primary" @click="onTrndocButadd"> + Details + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" type="primary" @click="onTrndocButnew"> + Add New + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" type="primary" @click="onTrndocButattto"> + Attach to + </c-button> + </c-col> + + <c-col :span="1" :offset="4"> + <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + Delete + </c-button> + </c-col> --> + </el-row> + <el-row style="margin-top:10px"> + <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> + </el-row> + <el-row style="margin-top:10px"> + <c-col :span="6"> + <span + v-text="model.trnmod.trndoc.doclbl" + data-path=".trnmod.trndoc.doclbl" + > + </span> + </c-col> + + <c-col :span="6" :offset="6"> + <c-checkbox v-model="model.trnmod.trndoc.shwinc" + >Show Incoming Messages</c-checkbox + > + </c-col> + + <c-col :span="6"> + <c-checkbox v-model="model.trnmod.trndoc.shwout" + >Show Outgoing Messages</c-checkbox + > + </c-col> + + <c-col :span="6"> + <c-button size="small" type="primary" @click="onTrndocButatt"> + Attach + </c-button> + </c-col> + </el-row> + <el-row style="margin-top:10px"> + <c-col :span="12"> + <el-form-item + label="Connected Documents" + prop="trnmod.trndoc.condocstm" + v-if="false" + > + <c-input + v-model="model.trnmod.trndoc.condocstm" + placeholder="请输入Connected Documents" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="6" :offset="18"> + <!-- <el-form-item label="" label-width="0"> + prop="trnmod.trndoc.rcvatt.seainf" + <c-input + v-model="model.trnmod.trndoc.rcvatt.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> --> + <c-button size="mini" type="primary" icon="el-icon-search"></c-button> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Dogpame.vue b/src/views/Business/Ditdla/Dogpame.vue new file mode 100644 index 0000000..b613b43 --- /dev/null +++ b/src/views/Business/Ditdla/Dogpame.vue @@ -0,0 +1,74 @@ +<template> + <div class="eibs-tab"> + <!-- <c-col :span="12"> + <span v-text="model.ditamep.hfmdes" data-path=".ditamep.hfmdes"> </span> + </c-col> --> + <el-row> + <c-col :span="12"> + <el-form-item label="服务描述" prop="didgrp.blk.lcrgod"> + <c-input + type="textarea" + v-model="model.didgrp.blk.lcrgod" + maxlength="65" + show-word-limit + placeholder="请输入Description of Goods" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="修改历史" prop="didgrp.blk.lcrgodame"> + <c-input + type="textarea" + v-model="model.didgrp.blk.lcrgodame" + maxlength="50" + show-word-limit + placeholder="请输入Description of Goods Amendment History" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="修改内容" prop="trnmod.swiadd.lcrgod"> + <c-input + type="textarea" + v-model="model.trnmod.swiadd.lcrgod" + maxlength="65" + show-word-limit + placeholder="请输入Description of Goods amendment" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onLcrgodameButtxmsel" + > + </c-button> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Dorpame.vue b/src/views/Business/Ditdla/Dorpame.vue new file mode 100644 index 0000000..50511e4 --- /dev/null +++ b/src/views/Business/Ditdla/Dorpame.vue @@ -0,0 +1,71 @@ +<template> + <div class="eibs-tab"> + <el-row> + <c-col :span="12"> + <el-form-item label="单据要求" prop="didgrp.blk.lcrdoc"> + <c-input + type="textarea" + v-model="model.didgrp.blk.lcrdoc" + maxlength="65" + show-word-limit + placeholder="请输入Documents Required" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="单据要求历史修改" prop="didgrp.blk.lcrdocame"> + <c-input + type="textarea" + v-model="model.didgrp.blk.lcrdocame" + maxlength="50" + show-word-limit + placeholder="请输入Documents Required Amendment History" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="单据要求修改" prop="trnmod.swiadd.lcrdoc"> + <c-input + type="textarea" + v-model="model.trnmod.swiadd.lcrdoc" + maxlength="65" + show-word-limit + placeholder="请输入Documents Required amendment" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onLcrdocameButtxmsel" + > + </c-button> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Inspame.vue b/src/views/Business/Ditdla/Inspame.vue new file mode 100644 index 0000000..d580832 --- /dev/null +++ b/src/views/Business/Ditdla/Inspame.vue @@ -0,0 +1,73 @@ +<template> + <div class="eibs-tab"> + <el-row> + <label>Instructions to Paying/Accepting/Negotiating Bank</label> + <br /> + <label>Original Text </label> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="" prop="didgrp.blk.insbnk" label-width="0px"> + <c-input + type="textarea" + v-model="model.didgrp.blk.insbnk" + maxlength="65" + show-word-limit + placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <label>Historic Overview</label> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="" prop="didgrp.blk.insbnkame" label-width="0px"> + <c-input + type="textarea" + v-model="model.didgrp.blk.insbnkame" + maxlength="50" + show-word-limit + placeholder="请输入Instructions to P/A/N Amendment History" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <label>修改</label> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="" prop="trnmod.swiadd.insbnk" label-width="0px"> + <c-input + type="textarea" + v-model="model.trnmod.swiadd.insbnk" + maxlength="50" + show-word-limit + placeholder="请输入Instruction to P/A/N Bank amendment" + ></c-input> + </el-form-item> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/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/Ditdla/Limitbody.vue b/src/views/Business/Ditdla/Limitbody.vue new file mode 100644 index 0000000..5f45ff2 --- /dev/null +++ b/src/views/Business/Ditdla/Limitbody.vue @@ -0,0 +1,345 @@ +<template> + <div class="eibs-tab"> + <!-- <c-col :span="12"> + <el-form-item label="ECIFNO" prop="liaall.limmod.ecifno"> + <c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span> + </c-col> --> + <el-row> + <c-col :span="8"> + <label>国内信用证项下开证授信额度主体</label> + </c-col> + <c-col :span="8" :offset="8"> + <el-form-item label="业务编号" prop="liaall.limmod.ownref"> + <c-input + v-model="model.liaall.limmod.ownref" + maxlength="16" + placeholder="请输入国结业务编号" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <el-form-item + label="Drag Drop Sender" + prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" + placeholder="请输入Drag Drop Sender" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="Drag Drop Sender" + prop="liaall.limmod.othp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" + placeholder="请输入Drag Drop Sender" + ></c-input> + </el-form-item> + </c-col> --> + <el-row> + <c-col :span="6"> + <el-form-item + label="" + prop="liaall.limmod.limpts.wrk.pts.extkey" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + ></c-input> + </el-form-item> + </c-col> + <!-- <c-col :span="1"> + <el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="2"> + <c-button size="small" type="primary" @click="onWrkpDet"> + Details + </c-button> + </c-col> + + <c-col :span="6"> + <el-form-item + label="" + prop="liaall.limmod.limpts.oth.pts.extkey" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="1"> + <el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="2"> + <c-button size="small" type="primary" @click="onOthpDet"> + Details + </c-button> + </c-col> + <!-- <c-col :span="8"> + <c-ptap + :model="model" + :argadr="{ + title: '', + grp: 'liaall.limmod.limpts', + rol: 'wrk', + }" + :disabled="true" + :isAdrblk="false" + @onSeainf="onSeainf" + @onAplpDet="onWrkpDet" + > + </c-ptap> + </c-col> + <c-col :span="8"> + <c-ptap + :model="model" + :argadr="{ + title: '', + grp: 'liaall.limmod.limpts', + rol: 'oth', + }" + :disabled="true" + :isAdrblk="false" + @onSeainf="onSeainf" + @onAplpDet="onOthpDet" + > + </c-ptap> + </c-col> --> + <c-col :span="8"> + <el-form-item label="业务余额" prop="liaall.limmod.comamt"> + <c-input + v-model="model.liaall.limmod.comamt" + placeholder="请输入业务余额" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <!-- <c-col :span="12"> + <el-form-item + label="External Key of Address" + prop="liaall.limmod.limpts.wrk.pts.extkey" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.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="liaall.limmod.wrkp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onWrkpDet"> + Details + </c-button> + </c-col> +--> + <el-row> + <c-col :span="7"> + <el-form-item + label="" + prop="liaall.limmod.limpts.oth.pts.extkey" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="7" :offset="1"> + <el-form-item + label="" + prop="liaall.limmod.limpts.wrk.pts.nam" + label-width="0px" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <!-- <c-col :span="12"> + <el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" + placeholder="请输入" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onOthpDet"> + Details + </c-button> + </c-col> --> + + <!-- + + + <c-col :span="12"> + <el-form-item + label="Name of Party" + prop="liaall.limmod.limpts.oth.pts.nam" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.nam" + maxlength="40" + placeholder="请输入Name of Party" + ></c-input> + </el-form-item> + </c-col> --> + + <el-row> + <c-col :span="7"> + <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1"> + <c-select + v-model="model.liaall.limmod.limpts.nonrevflg1" + style="width: 100%" + placeholder="请选择Flag to Mark Non-revolving Limits" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="1"> + <c-button size="small" type="primary" @click="onLimptsGet1"> + 查询 + </c-button> + </c-col> + + <c-col :span="7" v-show="false"> + <el-form-item + label="Flag to Mark Non-revolving Limits" + prop="liaall.limmod.limpts.nonrevflg2" + > + <c-select + v-model="model.liaall.limmod.limpts.nonrevflg2" + style="width: 100%" + placeholder="请选择Flag to Mark Non-revolving Limits" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="1" v-show="false"> + <c-button size="small" type="primary" @click="onLimptsGet2"> + 查询 + </c-button> + </c-col> + <c-col :span="8" :offset="8"> + <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt"> + <c-input + v-model="model.liaall.limmod.ccvamt" + placeholder="请输入保证金余额" + ></c-input> + </el-form-item> + </c-col> + </el-row> + <el-row> + <!-- <c-col :span="8"> + <span + v-text="model.liaall.limmod.limpts.lsh" + data-path=".liaall.limmod.limpts.lsh" + > + </span> + </c-col> --> + + <c-col :span="8"> + <el-form-item label="LSH" prop="liaall.limmod.limpts.pfcod1"> + <c-input + v-model="model.liaall.limmod.limpts.pfcod1" + maxlength="14" + placeholder="LSH" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="8" v-show="false"> + <el-form-item label="LSH" prop="liaall.limmod.limpts.pfcod2"> + <c-input + v-model="model.liaall.limmod.limpts.pfcod2" + maxlength="14" + placeholder="LSH" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="2" :offset="10"> + <c-button size="small" type="primary" @click="onLimmodTrycal"> + 试算 + </c-button> + </c-col> + </el-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Ditdla/Event"; +import Ptap from "~/views/Public/Ptap1"; + +export default { + components: { "c-ptap": Ptap }, + inject: ["root"], + props: ["model", "codes"], + mixins: [CommonProcess], + data() { + return {}; + }, + methods: { ...Event }, + created: function () {}, +}; +</script> +<style> +</style> diff --git a/src/views/Business/Ditdla/Narp.vue b/src/views/Business/Ditdla/Narp.vue new file mode 100644 index 0000000..db7cc59 --- /dev/null +++ b/src/views/Business/Ditdla/Narp.vue @@ -0,0 +1,83 @@ +<template> + <div class="eibs-tab"> + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onSav"> 保存 </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onUsrcon"> + 用户确认 + </c-button> + </c-col> --> + <el-row> + <c-col :span="12"> + <c-checkbox v-model="model.trnmod.swiadd.nartxtflg">修改</c-checkbox> + </c-col> + </el-row> + <el-row> + <c-col :span="12"> + <el-form-item label="历史修改" prop="olddidgrp.blk.narhis"> + <c-input + type="textarea" + v-model="model.olddidgrp.blk.narhis" + maxlength="50" + show-word-limit + placeholder="请输入Historic Overview of Narratives" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="内容修改" prop="trnmod.swiadd.nartxt"> + <c-input + type="textarea" + v-model="model.trnmod.swiadd.nartxt" + maxlength="50" + show-word-limit + placeholder="请输入Narrative" + ></c-input> + </el-form-item> + </c-col> + </el-row> + + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onChk"> 检核 </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onUsrchk"> 检核 </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onSyswrnButshw"> + 提示信息 + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onPen"> 暂存 </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onCan"> 退出 </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/Ditdla/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/Ditdla/Ovwp.vue b/src/views/Business/Ditdla/Ovwp.vue new file mode 100644 index 0000000..ef5e7e1 --- /dev/null +++ b/src/views/Business/Ditdla/Ovwp.vue @@ -0,0 +1,820 @@ +<template> + <div class="eibs-tab"> + <c-row> + <!-- =================顶部====================== --> + <c-col :span="24"> + <c-col :span="11"> + <c-col :span="20"> + <el-form-item + label="信用证号码" + prop="didgrp.rec.ownref" + style="width: 100%" + > + <c-input + v-model="model.didgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + style="width: 95%" + disabled + ></c-input> + </el-form-item> + </c-col> + <!-- <c-col :span="1" style="text-align: right"> --> + <c-col :span="1"> + <!-- <el-form-item label="" label-width="5px"> --> + <c-button + style="margin: 0 10px 0 0; padding: 0 10px" + size="small" + type="primary" + icon="el-icon-search" + @click="onSeainf" + ></c-button> + <!-- </el-form-item> --> + </c-col> + <c-col :span="3" style="text-align: right"> + <!-- <el-form-item label="" label-width="5px"> --> + <c-button + style="margin: 0 0" + size="small" + type="primary" + :disabled="this.flag" + @click="onDitpButgetref" + > + 获取 + </c-button> + <!-- </el-form-item> --> + </c-col> + <!-- </c-col> --> + </c-col> + <c-col :span="11" :offset="1"> + <el-form-item label="摘要" prop="didgrp.rec.nam"> + <c-input + align="middle" + v-model="model.didgrp.rec.nam" + maxlength="40" + disabled + placeholder="请输入Externally Displayed Name to Identify the Contract" + ></c-input> + </el-form-item> + </c-col> + </c-col> + <!-- ====================左边======================= --> + <c-col :span="11"> + <c-col :span="20"> + <el-form-item + label="所属客户经理" + prop="ditp.usr.extkey" + style="width: 100%" + > + <c-input + style="width: 95%" + v-model="model.ditp.usr.extkey" + maxlength="8" + placeholder="请输入User ID" + disabled + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="4"> + <!-- <el-form-item label="" label-width="17px"> --> + <c-button + style="margin: 0 10px 0 0; padding: 0 10px" + size="small" + icon="el-icon-search" + type="primary" + @click="onExtkey" + ></c-button> + <!-- </el-form-item> --> + </c-col> + + <!-- <c-col> + + </c-col> --> + + <c-col :span="13"> + <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> + <c-select + disabled + v-model="model.didgrp.cbs.nom1.cur" + style="width: 95%" + placeholder="请选择Currency" + @keyup.enter.native="nom1CurEvent" + > + <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="11"> + <el-form-item + style="text-align: left" + label-width="0" + prop="didgrp.cbs.nom1.amt" + > + <c-input-currency + v-model="model.didgrp.cbs.nom1.amt" + style="text-align: left; width: 100%" + placeholder="请输入信用证金额" + @keyup.enter.native=" + defaultFunction( + 'didgrp.cbs.nom1.amt', + model.didgrp.cbs.nom1.amt + ) + " + ></c-input-currency> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="大写金额" prop="ditp.amt"> + <c-input + v-model="model.ditp.amt" + maxlength="76" + placeholder="请输入大写金额" + disabled + ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="13"> + <el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop"> + <c-input + v-model="model.didgrp.rec.nomtop" + maxlength="9" + style="width: 40%" + placeholder="请输入Amount Tolerance - Positive" + ></c-input> + <label + style="display: inline-block; width: 10%; text-align: center" + >-</label + > + <c-input + v-model="model.didgrp.rec.nomton" + maxlength="9" + style="width: 40%" + placeholder="请输入Amount Tolerance - Negative" + ></c-input> + </el-form-item> + </c-col> + </c-col> + <!-- <c-col :span="12" style="text-align: left"> + <el-form-item + label="" + style="text-align: left; margin-left: 12px" + label-width="150px" + prop="didgrp.rec.nomton" + > + <c-input + v-model="model.didgrp.rec.nomton" + maxlength="9" + placeholder="请输入Amount Tolerance - Negative" + ></c-input> + </el-form-item> + </c-col> --> + + <!-- <c-col> </c-col> --> + + <c-col :span="13"> + <el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur"> + <c-select + v-model="model.didgrp.cbs.max.cur" + style="width: 95%" + placeholder="请选择Currency" + disabled + > + <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="11"> + <el-form-item label="" label-width="0" prop="didgrp.cbs.max.amt"> + <c-input + v-model="model.didgrp.cbs.max.amt" + placeholder="请输入信用证最大金额" + disabled + ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="贸易类型" prop="didgrp.rec.mytype"> + <c-select + v-if="model.didgrp.rec.elcflg == 'N'" + v-model="model.didgrp.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.didgrp.rec.mytype" + style="width: 100%" + placeholder="请选择贸易类型" + @change="mytypeChange" + > + <el-option + v-for="item in codes.mytype" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="13"> + <el-form-item label="开证日期" prop="didgrp.rec.opndat"> + <c-date-picker + type="date" + v-model="model.didgrp.rec.opndat" + value-format="yyyy-MM-dd" + style="width: 95%" + placeholder="请选择Date" + ></c-date-picker> + </el-form-item> + </c-col> + </c-col> + <c-col :span="24"> + <c-col :span="13"> + <el-form-item + v-if="model.didgrp.rec.mytype == 'H'" + label="最迟货物装运日" + prop="didgrp.rec.shpdat" + > + <c-date-picker + type="date" + v-model="model.didgrp.rec.shpdat" + value-format="yyyy-MM-dd" + style="width: 95%" + placeholder="请选择Date" + ></c-date-picker> + </el-form-item> + <el-form-item + v-if="model.didgrp.rec.mytype == 'F'" + label="最迟服务提供日" + prop="didgrp.rec.shpdat" + > + <c-date-picker + type="date" + v-model="model.didgrp.rec.shpdat" + value-format="yyyy-MM-dd" + style="width: 95%" + placeholder="请选择Date" + ></c-date-picker> + </el-form-item> + <el-form-item + label="最迟货物装运日/服务提供日" + v-if="model.didgrp.rec.mytype == '3'" + prop="didgrp.rec.shpdat" + > + <c-date-picker + type="date" + v-model="model.didgrp.rec.shpdat" + value-format="yyyy-MM-dd" + style="width: 95%" + placeholder="请选择" + ></c-date-picker> + </el-form-item> + </c-col> + </c-col> + <c-col :span="24"> + <c-col :span="13"> + <el-form-item label="有效日期" prop="didgrp.rec.expdat"> + <c-date-picker + type="date" + v-model="model.didgrp.rec.expdat" + value-format="yyyy-MM-dd" + style="width: 95%" + placeholder="请选择Date" + ></c-date-picker> + </el-form-item> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="有效地点" prop="didgrp.rec.expplc"> + <c-input + v-model="model.didgrp.rec.expplc" + maxlength="35" + placeholder="请输入Place of Expiry" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg"> + <c-select + v-model="model.didgrp.rec.elcflg" + style="width: 100%" + placeholder="请选择是否通过电证系统" + > + <el-option + v-for="item in codes.elcflg" + :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="开证类型" prop="didgrp.rec.dkflg"> + <c-select + v-model="model.didgrp.rec.dkflg" + style="width: 100%" + disabled + placeholder="请选择开证类型" + > + <el-option + v-for="item in codes.dkflg" + :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="申请人统一社会信用代码" prop="didgrp.rec.idcode"> + <c-input + v-model="model.didgrp.rec.idcode" + maxlength="18" + disabled + placeholder="请输入申请人统一社会信用代码" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="货押标识" prop="didgrp.rec.guaflg"> + <c-select + v-model="model.didgrp.rec.guaflg" + style="width: 100%" + placeholder="请选择货押标识" + > + <el-option + v-for="item in codes.guaflg" + :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="假远期信用证" prop="didgrp.rec.jyqflg"> + <c-select + v-model="model.didgrp.rec.jyqflg" + style="width: 100%" + placeholder="请选择假远期信用证" + > + <el-option + v-for="item in codes.jyqflg" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + </c-col> + <!-- ========================右边======================= --> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <c-ptap + :model="model" + :argadr="{ + title: '申请人', + grp: 'didgrp', + rol: 'apl', + }" + :disabled="true" + :isAdrblk="false" + @onSeainf="onSeainf" + @onAplpDet="onBenpDet" + > + </c-ptap> + </c-col> + <!-- <c-col :span="24"> + <el-form-item + label="申请人 参考号" + prop="didgrp.apl.pts.ref" + style="width: 100%" + > + <c-input + v-model="model.didgrp.apl.pts.ref" + maxlength="16" + placeholder="请输入申请人 参考号" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="18"> + <el-form-item + label="Extkey" + prop="didgrp.apl.pts.extkey" + style="width: 100%" + > + <c-input + id="extkey" + v-model="model.didgrp.apl.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog('didgrp.apl.pts.extkey') + " + ></c-input> + </el-form-item> + </c-col> + <c-col :span="6" style="text-align: right"> + <c-col :span="12"> + <el-form-item label="" label-width="5px"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onSeainf('didgrp.apl.pts.extkey')" + ></c-button> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label="" label-width="5px"> + <c-button size="small" type="primary" @click="onAplpDet"> + 详情 + </c-button> + </el-form-item> + </c-col> + </c-col> + </c-col> --> + + <!-- + <c-col :span="10"> + <el-form-item label=""> + <c-input v-model="model.ditp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> --> + + <!-- <c-col :span="24"> + <el-form-item label="名称" prop="didgrp.apl.namelc"> + <c-input + type="textarea" + v-model="model.didgrp.apl.namelc" + maxlength="35" + show-word-limit + placeholder="请输入名称" + ></c-input> + </el-form-item> + </c-col> --> + <!-- + <c-col :span="12"> + <el-form-item label="Address Block"> + <c-input type="textarea" v-model="model.didgrp.apl.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">Extkey</el-form-item>> + <c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </c-col> + --> + + <!-- <c-col :span="24"> + <el-form-item label="地址" prop="didgrp.apl.adrelc"> + <c-input + type="textarea" + v-model="model.didgrp.apl.adrelc" + maxlength="35" + show-word-limit + placeholder="请输入地址" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="14"> + <c-form-item label="邮编" prop="didgrp.apl.pts.youzbm"> + <c-input + v-model="model.didgrp.apl.pts.youzbm" + maxlength="6" + placeholder="请输入邮编" + ></c-input> + </c-form-item> + </c-col> + <c-col :span="10"> + <c-form-item + label="电话" + label-width="40px" + style="margin-left: 12px" + prop="didgrp.apl.pts.dihdig" + > + <c-input + v-model="model.didgrp.apl.pts.dihdig" + maxlength="16" + placeholder="请输入电话" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="申请人账号" prop="didgrp.apl.pts.extact"> + <c-select + v-model="model.didgrp.apl.pts.extact" + style="width: 100%" + placeholder="请选择External Account" + > + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item + label="申请人开户行 联行行号" + prop="didgrp.apb.pts.bankno" + > + <c-input + v-model="model.didgrp.apb.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native=" + showGridPromptDialog('didgrp.apb.pts.bankno') + " + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="联行名称 " prop="didgrp.apb.pts.jigomc"> + <c-input + type="textarea" + v-model="model.didgrp.apb.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="24"> + <el-form-item label="受益人 参考号" prop="didgrp.ben.pts.ref"> + <c-input + v-model="model.didgrp.ben.pts.ref" + maxlength="16" + placeholder="请输入受益人 参考号" + ></c-input> + </el-form-item> + </c-col> --> + + <!-- + <c-col :span="6"> + <span v-text="model.ditp.zchday" data-path=".ditp.zchday" > </span> + </c-col> --> + + <c-col :span="24"> + <c-ptap + :model="model" + :argadr="{ + title: '受益人', + grp: 'didgrp', + rol: 'ben', + }" + :disabled="true" + :isAdrblk="false" + @onSeainf="onSeainf" + @onAplpDet="onBenpDet" + > + </c-ptap> + </c-col> + + <!-- <c-col :span="18"> + <el-form-item + label="Extkey" + prop="didgrp.ben.pts.extkey" + style="width: 100%" + > + <c-input + v-model="model.didgrp.ben.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native="showGridPromptDialog('didgrp.ben.pts.extkey')" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="6" style="text-align: right"> + <c-button + class="icon-search" + size="small" + type="primary" + icon="el-icon-search" + @click="onSeaParty('didgrp.ben.pts.extkey')" + ></c-button> + <c-button class="detailsButton" size="small" type="primary" @click="onBenpDet"> + 详情 + </c-button> + </c-col> --> + + <!-- + <c-col :span="12"> + <el-form-item label="Drag Drop Sender"> + <c-input v-model="model.ditp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> + </el-form-item> + </c-col> --> + + <!-- + <c-col :span="10"> + <el-form-item label=""> + <c-input v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> + </el-form-item> + </c-col> + + <c-col :span="2"> + <c-button size="small" type="primary" @click="onBenpDet"> + Detials + </c-button> + </c-col> --> + <!-- <c-col :span="24"> + <el-form-item label="名称" prop="didgrp.ben.namelc"> + <c-input + type="textarea" + v-model="model.didgrp.ben.namelc" + maxlength="35" + show-word-limit + placeholder="请输入名称" + ></c-input> + </el-form-item> + </c-col> --> + + <!-- <c-col :span="24"> + <el-form-item label="有效地点" prop="didgrp.rec.expplc"> + <c-input + type="textarea" + v-model="model.didgrp.rec.expplc" + maxlength="35" + show-word-limit + placeholder="请输入Place of Expiry" + ></c-input> + </el-form-item> + </c-col> --> + + <!-- + <c-col :span="12"> + <el-form-item label="Address Block"> + <c-input type="textarea" v-model="model.didgrp.ben.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"> + <c-input type="textarea" v-model="model.didgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> + </el-form-item> + </c-col> --> + + <!-- <c-col :span="24"> + <el-form-item label="地址" prop="didgrp.ben.adrelc"> + <c-input + type="textarea" + v-model="model.didgrp.ben.adrelc" + maxlength="35" + show-word-limit + placeholder="请输入地址" + ></c-input> + </el-form-item> + </c-col> --> + + <c-col :span="14"> + <el-form-item label="邮编" prop="didgrp.ben.pts.youzbm"> + <c-input + v-model="model.didgrp.ben.pts.youzbm" + maxlength="6" + placeholder="请输入邮编 电证用" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="10"> + <el-form-item + label="电话" + label-width="40px" + style="margin-left: 12px" + prop="didgrp.ben.pts.dihdig" + > + <c-input + v-model="model.didgrp.ben.pts.dihdig" + maxlength="16" + placeholder="请输入电话" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="受益人帐号" prop="didgrp.ben.pts.extact"> + <c-input + v-model="model.didgrp.ben.pts.extact" + maxlength="34" + placeholder="请输入受益人帐号" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item + label="受益人开户行 联行行号" + prop="didgrp.beb.pts.bankno" + > + <c-input + v-model="model.didgrp.beb.pts.bankno" + maxlength="20" + placeholder="请输入Number of bank" + @keyup.enter.native=" + showGridPromptDialog('didgrp.beb.pts.bankno') + " + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc"> + <c-input + type="textarea" + v-model="model.didgrp.beb.pts.jigomc" + maxlength="35" + show-word-limit + placeholder="请输入联行名称 电证用" + :disabled="this.jigomcFlag" + ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-row> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import Event from "~/model/Ditdla/Event"; +import Utils from "~/utils"; +import Ptap from "~/views/Public/Ptap"; + +export default { + components: { "c-ptap": Ptap }, + inject: ["root"], + props: ["model", "codes"], + mixins: [CommonProcess], + data() { + return { + jigomcFlag: false, + trade: "", + }; + }, + methods: { + ...Event, + mytypeChange() { + if (this.model.didgrp.rec.mytype == "F") { + this.model.didgrp.rec.tratyp = ""; + this.model.didgrp.rec.sdsrfs = ""; + this.model.didgrp.rec.shptrs = ""; + this.model.didgrp.rec.shpfro = ""; + this.model.didgrp.rec.shpto = ""; + this.model.didgrp.rec.shppro = ""; + } + }, + nom1CurEvent() { + this.executeDefault("didgrp.cbs.nom1.cur").then((res) => { + if ((res.respCode = SUCCESS)) { + Utils.copyValueFromVO(this.model, res.data); + } + }); + }, + }, + created: function () { + console.log(this.root); + }, + computed: { + flag() { + return this.model.didgrp.apl.pts.extkey == ""; + }, + }, + watch: { + declareParams() {}, + }, +}; +</script> diff --git a/src/views/Business/Ditdla/Setpan.vue b/src/views/Business/Ditdla/Setpan.vue new file mode 100644 index 0000000..3409649 --- /dev/null +++ b/src/views/Business/Ditdla/Setpan.vue @@ -0,0 +1,86 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="our reference" prop="setmod.ref"> + <c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="document currency" prop="setmod.doccur"> + <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="document amount" prop="setmod.docamt"> + <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Type of settlement" prop="setmod.dspflg"> + <c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onSetmodDet"> + 细节 + </c-button> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc"> + <c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </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/Ditdla/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/Ditdla/Shisuan.vue b/src/views/Business/Ditdla/Shisuan.vue new file mode 100644 index 0000000..1cc386b --- /dev/null +++ b/src/views/Business/Ditdla/Shisuan.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/Ditdla/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/Ditdla/Stament.vue b/src/views/Business/Ditdla/Stament.vue new file mode 100644 index 0000000..9604b24 --- /dev/null +++ b/src/views/Business/Ditdla/Stament.vue @@ -0,0 +1,34 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <el-form-item label="声明" prop="didgrp.blk.stamet"> + <c-input type="textarea" v-model="model.didgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></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/Ditdla/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/Ditdla/Tk.vue b/src/views/Business/Ditdla/Tk.vue new file mode 100644 index 0000000..f54ebd7 --- /dev/null +++ b/src/views/Business/Ditdla/Tk.vue @@ -0,0 +1,89 @@ +<template> + <div class="eibs-tab"> + <!-- + <c-col :span="24"> + <span v-text="model.ditp.hwfwms" data-path=".ditp.hwfwms" > </span> + </c-col> + --> + <c-col :span="24"> + <el-form-item label="服务描述" prop="didgrp.blk.lcrgod"> + <c-input + type="textarea" + :autosize="{ minRows: 6, maxRows: 8 }" + v-model="model.didgrp.blk.lcrgod" + style="width: 70%; margin-right: 20px" + maxlength="1430" + show-word-limit + placeholder="请输入Description of Goods" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="单据要求" prop="didgrp.blk.lcrdoc"> + <c-input + type="textarea" + :autosize="{ minRows: 6, maxRows: 8 }" + v-model="model.didgrp.blk.lcrdoc" + maxlength="1950" + style="width: 70%; margin-right: 20px" + show-word-limit + placeholder="请输入单据要求" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="附加条款" prop="didgrp.blk.adlcnd"> + <c-input + type="textarea" + :autosize="{ minRows: 6, maxRows: 8 }" + v-model="model.didgrp.blk.adlcnd" + style="width: 70%; margin-right: 20px" + maxlength="1430" + show-word-limit + placeholder="请输入附加条款" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="给付款、承兑、议付行的指示" prop="didgrp.blk.insbnk"> + <c-input + type="textarea" + :autosize="{ minRows: 6, maxRows: 8 }" + v-model="model.didgrp.blk.insbnk" + style="width: 70%; margin-right: 20px" + maxlength="325" + show-word-limit + placeholder="请输入付行的指示" + ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="24">--> + <!-- <el-form-item label="" prop="didgrp.rec.redclsflg">--> + <!-- <c-checkbox v-model="model.didgrp.rec.redclsflg">红/绿条款</c-checkbox>--> + <!-- </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/Ditdla/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/Ditdla/index.vue b/src/views/Business/Ditdla/index.vue new file mode 100644 index 0000000..dbb5292 --- /dev/null +++ b/src/views/Business/Ditdla/index.vue @@ -0,0 +1,196 @@ +<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="tabClick"> + + <!--PD000015 --> + <el-tab-pane label="减额接受" name="accp"> + <m-accp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000359 --> + <el-tab-pane label="修改" name="amep"> + <m-amep :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000001 --> + <el-tab-pane label="内容" name="ovwp"> + <m-ovwp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000077 --> + <el-tab-pane label="明细" name="detp"> + <m-detp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000342 --> + <el-tab-pane label="条款" name="tk"> + <m-tk :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000021 --> + <el-tab-pane label="历史概要" name="narp"> + <m-narp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000105 --> + <el-tab-pane label="服描修改" name="dogpame"> + <m-dogpame :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000110 --> + <el-tab-pane label="单据修改" name="dorpame"> + <m-dorpame :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000114 --> + <el-tab-pane label="其他条款修改" name="adcpame"> + <m-adcpame :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000306 --> + <el-tab-pane label="给P, A, N. 银行指示" name="inspame"> + <m-inspame :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000001 --> + <el-tab-pane label="保证金" name="ccvpan"> + <m-ccvpan :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000000 --> + <el-tab-pane label="账务" name="setpan"> + <m-setpan :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000000 --> + <el-tab-pane label="附言" name="coninfp"> + <m-coninfp :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000529 --> + <el-tab-pane label="报文及面函" name="docpan"> + <m-docpan :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000546 --> + <el-tab-pane label="附件" name="doctre"> + <m-doctre :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD001139 --> + <el-tab-pane label="试算结果" name="shisuan"> + <m-shisuan :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000452 --> + <el-tab-pane label="银行明细" name="detp1"> + <m-detp1 :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000488 --> + <el-tab-pane label="申明" name="stament"> + <m-stament :model="model" :codes="codes"/> + </el-tab-pane> + + <!--PD000001 --> + <el-tab-pane label="统一授信" name="limitbody"> + <m-limitbody :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 Ditdla from "~/model/Ditdla" +import CommonProcess from "~/mixin/CommonProcess" +import Check from "~/model/Ditdla/Check" +import Default from "~/model/Ditdla/Default" +import Pattern from "~/model/Ditdla/Pattern" +import Accp from "./Accp" +import Amep from "./Amep" +import Ovwp from "./Ovwp" +import Detp from "./Detp" +import Tk from "./Tk" +import Narp from "./Narp" +import Dogpame from "./Dogpame" +import Dorpame from "./Dorpame" +import Adcpame from "./Adcpame" +import Inspame from "./Inspame" +import Ccvpan from "~/views/Public/Ccvpan" +import Setpan from "~/views/Public/Setpan" +import Coninfp from "./Coninfp" +import Docpan from "~/views/Public/Docpan" +import Doctre from "./Doctre" +import Shisuan from "./Shisuan" +import Detp1 from "./Detp1" +import Stament from "./Stament" +import Limitbody from "./Limitbody" + + +export default { + name: "Ditdla", + components:{ + "m-accp" : Accp, + "m-amep" : Amep, + "m-ovwp" : Ovwp, + "m-detp" : Detp, + "m-tk" : Tk, + "m-narp" : Narp, + "m-dogpame" : Dogpame, + "m-dorpame" : Dorpame, + "m-adcpame" : Adcpame, + "m-inspame" : Inspame, + "m-ccvpan" : Ccvpan, + "m-setpan" : Setpan, + "m-coninfp" : Coninfp, + "m-docpan" : Docpan, + "m-doctre" : Doctre, + "m-shisuan" : Shisuan, + "m-detp1" : Detp1, + "m-stament" : Stament, + "m-limitbody" : Limitbody, + }, + provide() { + return { + root: this + } + }, + mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 + data(){ + return { + tabVal: "accp", + trnName: "ditdla", + model: new Ditdla().data, + checkRules: Check, + defaultRules: Default, + pattern: Pattern, + rules: null, + codes: { + }, + } + }, + methods:{ + tabClick(){ + } + }, + created:async function(){ + console.log("进入ditdla交易"); + let rtnmsg = await this.init({}) + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + } +} +</script> +<style> + +</style> -- libgit2 0.26.0