Commit fa7b9bf7 by liaoxing

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents e2f2b4f6 1ba623ed
...@@ -359,8 +359,8 @@ export default { ...@@ -359,8 +359,8 @@ export default {
// obj[props] = val; // obj[props] = val;
// Utils.copyValueFromVO(this.model, obj); // Utils.copyValueFromVO(this.model, obj);
if (rulePath.indexOf("(") > 0) {//请求地址有"()"下标时,如setmod.setglg.setgll(2).setgrp.snd756.pts.extkey if (rulePath.indexOf("(") > 0) {//请求地址有"()"下标时,如setmod.setglg.setgll(2).setgrp.snd756.pts.extkey
let tempRulePath = rulePath var tempRulePath = rulePath
let rulePath = "" var rulePath = ""
const reg = /\((\d+)\)/ const reg = /\((\d+)\)/
while (reg.test(tempRulePath)) { while (reg.test(tempRulePath)) {
const match = tempRulePath.match(reg) const match = tempRulePath.match(reg)
......
...@@ -5,10 +5,6 @@ export default class Cfasel{ ...@@ -5,10 +5,6 @@ export default class Cfasel{
constructor () { constructor () {
this.data = { this.data = {
eblstm:"", // Selection .eblstm eblstm:"", // Selection .eblstm
eadstm:"", // Selection .eadstm
eafstm:"", // Selection .eafstm
ebastm:"", // Selection .ebastm
ecastm:"", // Selection .ecastm
cfaquep:{ cfaquep:{
cfatyp:"", // 申报类型 .cfaquep.cfatyp cfatyp:"", // 申报类型 .cfaquep.cfatyp
frmdat:"", // From .cfaquep.frmdat frmdat:"", // From .cfaquep.frmdat
...@@ -28,6 +24,28 @@ export default class Cfasel{ ...@@ -28,6 +24,28 @@ export default class Cfasel{
msgstm:"", // Select Error Message .errcfa.msgstm msgstm:"", // Select Error Message .errcfa.msgstm
rptno:"", // 申报编号 .errcfa.rptno rptno:"", // 申报编号 .errcfa.rptno
}, },
cfarec: {
eadgrp: {
bas: {
sta: ""
}
},
eafgrp: {
bas: {
sta: ""
}
},
ebagrp: {
bas: {
sta: ""
}
},
ecagrp: {
bas: {
sta: ""
}
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -52,7 +52,6 @@ export default class Eadinf{ ...@@ -52,7 +52,6 @@ export default class Eadinf{
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation relation:"", // 对方与本机构的关系 .recgrp.bas.relation
sta: ""
}, },
}, },
recp:{ recp:{
......
...@@ -605,10 +605,5 @@ export default { ...@@ -605,10 +605,5 @@ export default {
], ],
"gidgrp.rec.exptyp":[
{required: false, message: "必输项"},
],
} }
\ No newline at end of file
...@@ -413,9 +413,8 @@ export default { ...@@ -413,9 +413,8 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"cnybop.cnyinc.fprepayeeamt":[ "cnybop.cnyinc.fprepayeeamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.iaccountperiod":[ "cnybop.cnyinc.iaccountperiod":[
...@@ -423,43 +422,36 @@ export default { ...@@ -423,43 +422,36 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"cnybop.cnyinc.ftotalamt":[ "cnybop.cnyinc.ftotalamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.sorilevyno":[ "cnybop.cnyinc.sorilevyno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"} {max: 24,message:"长度不能超过24"}
], ],
"cnybop.cnyinc.fpayeeamt":[ "cnybop.cnyinc.fpayeeamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.fonshoreamt":[ "cnybop.cnyinc.fonshoreamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.fcustomsamt":[ "cnybop.cnyinc.fcustomsamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.foffshoreamt":[ "cnybop.cnyinc.foffshoreamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.frecordamt":[ "cnybop.cnyinc.frecordamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.cnyinc.fnogoodsamt":[ "cnybop.cnyinc.fnogoodsamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cnybop.saddword":[ "cnybop.saddword":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"oldgidgrp.cbs.max.amt":[ "oldgidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
"gidgrp.cbs.max.amt":[ "gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -985,7 +985,7 @@ export default { ...@@ -985,7 +985,7 @@ export default {
], ],
"gidgrp.rec.orcamtc":[ "gidgrp.rec.orcamtc":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -1164,7 +1164,7 @@ export default { ...@@ -1164,7 +1164,7 @@ export default {
], ],
"gidgrp.rec.orcamt":[ "gidgrp.rec.orcamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.max.amt":[ "gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -116,6 +116,18 @@ let checkObj = { ...@@ -116,6 +116,18 @@ let checkObj = {
"ledgrp.con.pts.extkey" :null, "ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null, "ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null, "ledgrp.rec.apprultxt" :null,
"rmbclm.acwacw.pts.extkey" :null,
"rmbclm.bebbeb.adrelc" :null,
"rmbclm.acwacw.namelc" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"rmbclm.bebbeb.namelc" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -139,5 +139,21 @@ export default { ...@@ -139,5 +139,21 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.cbs.max.cur" :Utils.defaultFunction, "ledgrp.cbs.max.cur" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -151,18 +151,6 @@ export default { ...@@ -151,18 +151,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){ async onConpDet(){
let rtnmsg = await this.executeRule("conp.det") let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -517,6 +505,42 @@ export default { ...@@ -517,6 +505,42 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {}, onSeainf() {},
} }
\ No newline at end of file
...@@ -932,5 +932,107 @@ export default { ...@@ -932,5 +932,107 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
} }
\ No newline at end of file
...@@ -360,6 +360,52 @@ export default class Letdrw{ ...@@ -360,6 +360,52 @@ export default class Letdrw{
}, },
}, },
}, },
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
pageId: "", // ctx的key pageId: "", // ctx的key
} }
} }
......
...@@ -732,16 +732,20 @@ export default { ...@@ -732,16 +732,20 @@ export default {
], ],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} // {max: 60,message:"长度不能超过60"}
{type: "string", required: false, message: "必输项","trigger": "blur"},
{max: 60,message:"长度不能超过60","trigger": "blur"}
], ],
"mtabut.coninf.oitset.oit.inftxt":[ "mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} // {max: 60,message:"长度不能超过60"}
{type: "string", required: false, message: "必输项","trigger": "blur"},
{max: 60,message:"长度不能超过60","trigger": "blur"}
], ],
"mtabut.coninf.conexedat":[ "mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<c-col :span="24" style="margin-top: 10px"> <c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" style="margin-left: 0px" type="primary">导出Excel <c-button class="medium_bcs" size="medium" style="margin-left: 0px" type="primary">导出Excel
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary">新增接口 <c-button class="medium_bcs" size="medium" type="primary" @click="addInterface" :disabled="addFlag == true">新增接口
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary">代付利息 <c-button class="medium_bcs" size="medium" type="primary">代付利息
</c-button> </c-button>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<div style="height:90%"> <div style="height:90%">
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true"> <c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true" @chooseRowEvent="chooseRowEvent">
<!-- 自定义组件里加了最右边的一列”操作“ --> <!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="200px"> <el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header"> <template slot="header">
...@@ -110,10 +110,12 @@ ...@@ -110,10 +110,12 @@
<c-button style="margin-left: 0" size="small" @click="getInfo(scope.$index, scope.row)"> <c-button style="margin-left: 0" size="small" @click="getInfo(scope.$index, scope.row)">
详情 详情
</c-button> </c-button>
<c-button style="margin-left: 3px" size="small" @click="getAmend(scope.$index, scope.row)" :disabled="scope.row.状态 == 'D'"> <c-button style="margin-left: 3px" size="small" @click="getAmend(scope.$index, scope.row)"
:disabled="scope.row.状态 == 'D'">
修改 修改
</c-button> </c-button>
<c-button style="margin-left: 3px" size="small" @click="getDelete(scope.$index, scope.row)" :disabled="scope.row.状态 == 'D'"> <c-button style="margin-left: 3px" size="small" @click="getDelete(scope.$index, scope.row)"
:disabled="scope.row.状态 == 'D'">
删除 删除
</c-button> </c-button>
</template> </template>
...@@ -121,90 +123,6 @@ ...@@ -121,90 +123,6 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</div> </div>
<!-- <c-col :span="12">
<c-form-item label="Selection" prop="eblstm">
<c-input v-model="model.eblstm" :placeholder="$t('other.please_enter') + 'Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="EAD Selection" prop="eadstm">
<c-input v-model="model.eadstm" :placeholder="$t('other.please_enter') + 'EAD Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="EAF Selection" prop="eafstm">
<c-input v-model="model.eafstm" :placeholder="$t('other.please_enter') + 'EAF Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="EBA Selection" prop="ebastm">
<c-input v-model="model.ebastm" :placeholder="$t('other.please_enter') + 'EBA Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="ECA Selection" prop="ecastm">
<c-input v-model="model.ecastm" :placeholder="$t('other.please_enter') + 'ECA Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSerbut">
{{ $t('cfasel.C0000010') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDtlbut">
{{ $t('cfasel.C0000011') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAddbut">
{{ $t('cfasel.C0000012') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAmebut">
{{ $t('cfasel.C0000013') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onDelbut">
{{ $t('cfasel.C0000014') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExpbut">
{{ $t('cfasel.C0000016') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAddbut2">
{{ $t('cfasel.C0000017') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAmelixi">
{{ $t('cfasel.C0000019') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExi">
{{ $t('errcfa.C0000012') }}
</c-button>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -220,6 +138,9 @@ export default { ...@@ -220,6 +138,9 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
addFlag: true,
selectRowParamstRow: {},
selectRowType: "",
stmDataAll: { stmDataAll: {
columns: [ columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ", "0 1 \"业务流水\" 100 1 0:2 1 ",
...@@ -570,6 +491,7 @@ export default { ...@@ -570,6 +491,7 @@ export default {
selDst = this.model.cfaquep.cfatyp.toLowerCase() + "stm" //列表对应后台模型中的stream selDst = this.model.cfaquep.cfatyp.toLowerCase() + "stm" //列表对应后台模型中的stream
} }
let params = { selDst, selIds }; let params = { selDst, selIds };
this.seletRowParams = params;
this.executeRule("delbut", params).then((res) => { this.executeRule("delbut", params).then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
...@@ -581,6 +503,46 @@ export default { ...@@ -581,6 +503,46 @@ export default {
this.$notify.error({ title: '错误', message: h('p', { style: 'word-break:break-all;' }, msg) }) this.$notify.error({ title: '错误', message: h('p', { style: 'word-break:break-all;' }, msg) })
} }
}); });
},
async chooseRowEvent(row) {
console.log(row);
const selIds = [row.IDX + 1];
console.log(selIds);
let selDst;
if (this.model.cfaquep.cfatyp == "ALL") {
selDst = "eblstm" //列表对应后台模型中的stream
} else {
selDst = this.model.cfaquep.cfatyp.toLowerCase() + "stm" //列表对应后台模型中的stream
}
let params = { selDst, selIds };
this.seleseletRowParamstRow = params;
this.selectRowType = row.申报类型;
this.executeRule("dtlbut", params).then((res) => {
if ((res.respCode == SUCCESS)) {
console.log(res.data);
let sta = res.data.cfarec_eadgrp_bas_sta || res.data.cfarec_eafgrp_bas_sta || res.data.cfarec_ebagrp_bas_sta || res.data.cfarec_ecagrp_bas_sta;
console.log(sta);
if(sta !== 'D' && sta !== 'G' && sta !== 'N' && sta !== 'P') {
this.addFlag = false;
}else{
this.addFlag = true;
}
} else {
this.$notify.error("Record Missing");
}
});
},
addInterface () {
this.executeRule("delbut", this.selectRowParamstRow).then((res) => {
if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
this.$router.push({ name: this.selectRowType.charAt(0) + this.selectRowType.substring(1).toLowerCase() + 'add', params: { prePageId: this.model.pageId } });
} else {
const h = this.$createElement;
const msg = res.respMsg || '请求执行失败!'
this.$notify.error({ title: '错误', message: h('p', { style: 'word-break:break-all;' }, msg) })
}
});
} }
}, },
// created: function () { // created: function () {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入款项去向" placeholder="请输入款项去向"
disabled disabled
:code="codes.acttyp" :code="codes.bopacttyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
v-model="model.gidgrp.rec.gartyp" v-model="model.gidgrp.rec.gartyp"
style="width: 100%" style="width: 100%"
placeholder="请选择保函种类" placeholder="请选择保函种类"
:code="codes.typgar1" :code="codes.typgar"
disabled disabled
> >
</c-select> </c-select>
......
...@@ -186,14 +186,8 @@ ...@@ -186,14 +186,8 @@
v-model="model.gidgrp.rec.gartyp" v-model="model.gidgrp.rec.gartyp"
style="width: 100%" style="width: 100%"
placeholder="请选择保函种类" placeholder="请选择保函种类"
:code="codes.typgar"
> >
<el-option
v-for="item in codes.typgar1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item <c-form-item
v-if="model.gitp.swiftflg == 'N'" v-if="model.gitp.swiftflg == 'N'"
...@@ -165,7 +165,6 @@ ...@@ -165,7 +165,6 @@
label-width="5px" label-width="5px"
prop="trnmod.swiadd.addamt" prop="trnmod.swiadd.addamt"
> >
<!-- 不确定能否回显负金额,因此空为disabled,故暂定能显示负金额 -->
<c-input-currency-min <c-input-currency-min
disabled disabled
v-model="model.trnmod.swiadd.addamt" v-model="model.trnmod.swiadd.addamt"
...@@ -174,7 +173,7 @@ ...@@ -174,7 +173,7 @@
></c-input-currency-min> ></c-input-currency-min>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
......
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
v-model="model.gidgrp.ghd.segtyp" v-model="model.gidgrp.ghd.segtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择特殊保函类型" placeholder="请选择特殊保函类型"
:code="codes.segtyp" :code="codes.segtyppop"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -48,17 +48,24 @@ ...@@ -48,17 +48,24 @@
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp"> <el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn> </c-function-btn>
......
...@@ -450,8 +450,9 @@ ...@@ -450,8 +450,9 @@
label="保函效期" label="保函效期"
prop="gidgrp.rec.expdat" prop="gidgrp.rec.expdat"
> >
<!-- model.gidgrp.rec.expflg == 'X' -->
<c-date-picker <c-date-picker
:disabled="model.gidgrp.rec.expflg == 'X'" :disabled="model.gidgrp.rec.gartyp == 'X'"
type="date" type="date"
v-model="model.gidgrp.rec.expdat" v-model="model.gidgrp.rec.expdat"
style="width: 90%" style="width: 90%"
......
...@@ -32,6 +32,11 @@ import Wg from "./Wg"; ...@@ -32,6 +32,11 @@ import Wg from "./Wg";
import Cnyp1 from "./Cnyp1"; import Cnyp1 from "./Cnyp1";
import Basp from "./Basp"; import Basp from "./Basp";
import Incp from "./Incp"; import Incp from "./Incp";
const tabNameToRulePathMapping = {
"incp": "cnybop.incp",
}
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
...@@ -49,7 +54,28 @@ export default { ...@@ -49,7 +54,28 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
handleChange() {} handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -306,11 +306,11 @@ ...@@ -306,11 +306,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函编号" prop="gcdgrp.prb.pts.ref"> <el-form-item label="编号" prop="gcdgrp.prb.pts.ref">
<c-input <c-input
v-model="model.gcdgrp.prb.pts.ref" v-model="model.gcdgrp.prb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入保函编号" placeholder="请输入编号"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -95,25 +95,25 @@ ...@@ -95,25 +95,25 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item label="原币金额" prop="cnybop.cnyinc.ftotalamt"> <c-form-item label="原币金额" prop="cnybop.cnyinc.ftotalamt">
<c-input v-model="model.cnybop.cnyinc.ftotalamt" placeholder="请输入原币金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.ftotalamt" class="input-currency-left" placeholder="请输入原币金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="货物贸易收款金额" prop="cnybop.cnyinc.fpayeeamt"> <c-form-item label="货物贸易收款金额" prop="cnybop.cnyinc.fpayeeamt">
<c-input v-model="model.cnybop.cnyinc.fpayeeamt" placeholder="请输入货物贸易收款金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.fpayeeamt" class="input-currency-left" placeholder="请输入货物贸易收款金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="已报关收款金额" prop="cnybop.cnyinc.fcustomsamt"> <c-form-item label="已报关收款金额" prop="cnybop.cnyinc.fcustomsamt">
<c-input v-model="model.cnybop.cnyinc.fcustomsamt" placeholder="请输入已报关收款金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.fcustomsamt" class="input-currency-left" placeholder="请输入已报关收款金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="已备案收款金额" prop="cnybop.cnyinc.frecordamt"> <c-form-item label="已备案收款金额" prop="cnybop.cnyinc.frecordamt">
<c-input v-model="model.cnybop.cnyinc.frecordamt" placeholder="请输入已备案收款金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.frecordamt" class="input-currency-left" placeholder="请输入已备案收款金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item label="预收款金额" prop="cnybop.cnyinc.fprepayeeamt"> <c-form-item label="预收款金额" prop="cnybop.cnyinc.fprepayeeamt">
<c-input v-model="model.cnybop.cnyinc.fprepayeeamt" placeholder="请输入预收款金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.fprepayeeamt" class="input-currency-left" placeholder="请输入预收款金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -215,19 +215,19 @@ ...@@ -215,19 +215,19 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item label="无货物报关进出境物流货物金额" prop="cnybop.cnyinc.fonshoreamt"> <c-form-item label="无货物报关进出境物流货物金额" prop="cnybop.cnyinc.fonshoreamt">
<c-input v-model="model.cnybop.cnyinc.fonshoreamt" placeholder="请输入无货物报关进出境物流货物金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.fonshoreamt" class="input-currency-left" placeholder="请输入无货物报关进出境物流货物金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="无货物报关离岸转手买卖金额" prop="cnybop.cnyinc.foffshoreamt"> <c-form-item label="无货物报关离岸转手买卖金额" prop="cnybop.cnyinc.foffshoreamt">
<c-input v-model="model.cnybop.cnyinc.foffshoreamt" placeholder="请输入无货物报关离岸转手买卖金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.foffshoreamt" class="input-currency-left" placeholder="请输入无货物报关离岸转手买卖金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="无货物报关其他金额" prop="cnybop.cnyinc.fnogoodsamt"> <c-form-item label="无货物报关其他金额" prop="cnybop.cnyinc.fnogoodsamt">
<c-input v-model="model.cnybop.cnyinc.fnogoodsamt" placeholder="请输入无货物报关其他金额"></c-input> <c-input-currency v-model="model.cnybop.cnyinc.fnogoodsamt" class="input-currency-left" placeholder="请输入无货物报关其他金额"></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'N'" label="原保函金额" prop="oldgidgrp.cbs.max.cur"> <c-form-item v-if="model.gitp.swiftflg == 'N'" label="原保函金额" prop="oldgidgrp.cbs.max.cur">
<c-input disabled v-model="model.oldgidgrp.cbs.max.cur" maxlength="3" placeholder="请输入原保函金额"></c-input> <c-select :code="codes.cur" disabled v-model="model.oldgidgrp.cbs.max.cur" style="width: 100%" placeholder="请输入原保函金额"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'N'" label="修改金额" prop="trnmod.swiadd.amecur"> <c-form-item v-if="model.gitp.swiftflg == 'N'" label="修改金额" prop="trnmod.swiadd.amecur">
<c-input disabled v-model="model.trnmod.swiadd.amecur" maxlength="3" placeholder="请输入修改金额"></c-input> <c-select :code="codes.cur" disabled v-model="model.trnmod.swiadd.amecur" style="width: 100%" placeholder="请输入修改金额"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'N'" label="保函币种和金额" prop="trnmod.swiadd.newcur"> <c-form-item v-if="model.gitp.swiftflg == 'N'" label="保函币种和金额" prop="trnmod.swiadd.newcur">
<c-input disabled v-model="model.trnmod.swiadd.newcur" maxlength="3" placeholder="请选择保函金额"></c-input> <c-select disabled v-model="model.trnmod.swiadd.newcur" style="width: 100%" :code="codes.cur" placeholder="请选择保函金额"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'N'" label="附加金额" prop="gidgrp.cbs.max2.cur"> <c-form-item v-if="model.gitp.swiftflg == 'N'" label="附加金额" prop="gidgrp.cbs.max2.cur">
<c-input disabled v-model="model.gidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入"></c-input> <c-select disabled v-model="model.gidgrp.cbs.max2.cur" style="width: 100%" :code="codes.cur" placeholder="请输入"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'Y'" label="原保函金额" prop="oldgidgrp.cbs.max.cur"> <c-form-item v-if="model.gitp.swiftflg == 'Y'" label="原保函金额" prop="oldgidgrp.cbs.max.cur">
<c-input disabled v-model="model.oldgidgrp.cbs.max.cur" maxlength="3" placeholder="请输入原保函金额"></c-input> <c-select disabled v-model="model.oldgidgrp.cbs.max.cur" style="width: 100%" :code="codes.cur" placeholder="请输入原保函金额"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'Y'" label="修改金额" prop="trnmod.swiadd.amecur"> <c-form-item v-if="model.gitp.swiftflg == 'Y'" label="修改金额" prop="trnmod.swiadd.amecur">
<c-input disabled v-model="model.trnmod.swiadd.amecur" maxlength="3" placeholder="请输入修改金额"></c-input> <c-select disabled v-model="model.trnmod.swiadd.amecur" style="width: 100%" :code="codes.cur" placeholder="请输入修改金额"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg == 'Y'" label="保函币种和金额" prop="trnmod.swiadd.newcur"> <c-form-item v-if="model.gitp.swiftflg == 'Y'" label="保函币种和金额" prop="trnmod.swiadd.newcur">
<c-input disabled v-model="model.trnmod.swiadd.newcur" maxlength="3" placeholder="请选择保函金额"></c-input> <c-select disabled v-model="model.trnmod.swiadd.newcur" style="width: 100%" :code="codes.cur" placeholder="请选择保函金额"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -393,8 +393,7 @@ ...@@ -393,8 +393,7 @@
<c-checkbox v-if="model.gitp.swiftflg == 'Y'" style="margin: 0 0 0 10px" v-model="model.gitamep.amebut.chkast" <c-checkbox v-if="model.gitp.swiftflg == 'Y'" style="margin: 0 0 0 10px" v-model="model.gitamep.amebut.chkast"
class="checkbox-left">Allow</c-checkbox> class="checkbox-left">Allow</c-checkbox>
<c-button v-if="model.gitp.swiftflg == 'Y'" style="margin: 5px 0 0 10px" size="small" type="primary" <c-button v-if="model.gitp.swiftflg == 'Y'" style="margin: 5px 0 0 10px" size="small" type="primary"
icon="el-icon-search" @click="onAmebutButtxmsel"> icon="el-icon-more" @click="onAmebutButtxmsel">
...
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="合同币种和金额" prop="gidgrp.rec.orccur"> <el-form-item label="合同币种和金额" prop="gidgrp.rec.orccur">
<c-select disabled v-model="model.gidgrp.rec.orccur" style="width: 100%" placeholder="请选择合同币种 "> <c-select disabled v-model="model.gidgrp.rec.orccur" style="width: 100%" placeholder="请选择合同币种 ">
<el-option v-for="item in codes.curtxt" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.orcamt"> <el-form-item label-width="5px" prop="gidgrp.rec.orcamt">
<c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入合同金额 "></c-input> <c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入合同金额 "></c-input>
</el-form-item> </el-form-item>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg == 'Y'" label-width="5px" prop="gidgrp.rec.jurlaw"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label-width="5px" prop="gidgrp.rec.jurlaw">
<c-select disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" style="width: 100%" placeholder="请输入" <c-select disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" style="width: 100%" placeholder="请输入"
:code="codes.ctytxt2"></c-select> :code="codes.ctytxt2"></c-select>
......
...@@ -46,8 +46,9 @@ ...@@ -46,8 +46,9 @@
<!-- --> <!-- -->
<c-col :span="8"> <c-col :span="8">
<c-input disabled v-model="model.gidgrp.cbs.max.amt" style="margin: 0 0 0 10px; width: 80%" <el-form-item label="" prop="gidgrp.cbs.max.amt" label-width="5px">
placeholder="请输入保函金额"></c-input> <c-input disabled v-model="model.gidgrp.cbs.max.amt" placeholder="请输入保函金额"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" v-if="model.gitp.swiftflg != 'Y'" class="centerLable"> <c-col :span="4" v-if="model.gitp.swiftflg != 'Y'" class="centerLable">
<c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox> <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
...@@ -57,15 +58,14 @@ ...@@ -57,15 +58,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur"> <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-input disabled v-model="model.gidgrp.cbs.opn1.cur" style="width: 100%" placeholder="请输入保函余额币种"> <c-select disabled v-model="model.gidgrp.cbs.opn1.cur" style="width: 100%" :code="codes.cur" placeholder="请输入保函余额币种">
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> --> <el-form-item label="" prop="gidgrp.cbs.opn1.amt" label-width="5px">
<c-input disabled v-model="model.gidgrp.cbs.opn1.amt" style="margin: 0 0 0 10px; width: 80%" <c-input disabled v-model="model.gidgrp.cbs.opn1.amt" placeholder="请输入"></c-input>
placeholder="请输入"></c-input> </el-form-item>
<!-- </el-form-item> -->
</c-col> </c-col>
<c-col :span="4" v-if="model.gitp.swiftflg == 'Y'" class="centerLable"> <c-col :span="4" v-if="model.gitp.swiftflg == 'Y'" class="centerLable">
<c-checkbox v-model="model.gitp.inc760">传入损失</c-checkbox> <c-checkbox v-model="model.gitp.inc760">传入损失</c-checkbox>
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp"> <el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类" <c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类"
:code="codes.seagtyp"> :code="codes.typgar">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -108,8 +108,7 @@ ...@@ -108,8 +108,7 @@
<c-input type="textarea" rows="4" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit <c-input type="textarea" rows="4" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit
placeholder="请输入收费代码附加详情"></c-input> placeholder="请输入收费代码附加详情"></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel"> <c-button size="small" type="primary" icon="el-icon-more" @click="onChargiButtxmsel">
...
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<c-col :span="11"> <c-col :span="11">
<c-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur" previewLabel="信用证币种"> <c-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur" previewLabel="信用证币种">
<c-input v-model="model.gidgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入"></c-input> <c-select v-model="model.gidgrp.cbs.max.cur" style="width: 100%" :code="codes.cur" disabled placeholder="请输入"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="接收目的" prop="gidgrp.rec.purposin"> <el-form-item label="接收目的" prop="gidgrp.rec.purposin">
<c-input v-model="model.gidgrp.rec.purposin" maxlength="16" disabled placeholder="请输入"></c-input> <c-input v-model="model.gidgrp.rec.purposin" maxlength="16" disabled placeholder="请输入"></c-input>
...@@ -61,7 +62,7 @@ ...@@ -61,7 +62,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp"> <el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类" <c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类"
:code="codes.typgar2"> :code="codes.typgar">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -83,7 +84,7 @@ ...@@ -83,7 +84,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="50px" prop="gidgrp.rec.exptyp"> <el-form-item label="" label-width="5px" prop="gidgrp.rec.exptyp">
<c-input v-model="model.gidgrp.rec.exptyp" disabled placeholder="请输入"></c-input> <c-input v-model="model.gidgrp.rec.exptyp" disabled placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<c-page title="进口保函注销">
<div class="eContainer"> <div class="eContainer">
<c-page title="进口保函注销">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn> </c-function-btn>
</div>
</c-page> </c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
...@@ -47,14 +47,12 @@ ...@@ -47,14 +47,12 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
style="text-align: left"
label-width="5px" label-width="5px"
prop="gidgrp.cbs.max.amt" prop="gidgrp.cbs.max.amt"
> >
<c-input-currency <c-input-currency
disabled disabled
v-model="model.gidgrp.cbs.max.amt" v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 5px; width: 90%"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -86,14 +84,12 @@ ...@@ -86,14 +84,12 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
style="text-align: left"
label-width="5px" label-width="5px"
prop="gidgrp.cbs.opn1.amt" prop="gidgrp.cbs.opn1.amt"
> >
<c-input-currency <c-input-currency
disabled disabled
v-model="model.gidgrp.cbs.opn1.amt" v-model="model.gidgrp.cbs.opn1.amt"
style="margin: 0 0 0 5px; width: 90%"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -131,7 +127,7 @@ ...@@ -131,7 +127,7 @@
v-model="model.gidgrp.rec.gartyp" v-model="model.gidgrp.rec.gartyp"
style="width: 100%" style="width: 100%"
placeholder="请选择保函类型" placeholder="请选择保函类型"
:code="codes.typgar1" :code="codes.typgar"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用/账务" name="setpann"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
...@@ -45,6 +45,9 @@ ...@@ -45,6 +45,9 @@
<el-collapse-item title="结算" name="setpan"> <el-collapse-item title="结算" name="setpan">
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</c-content> </c-content>
...@@ -103,6 +106,7 @@ import Ovwp from "./Ovwp"; ...@@ -103,6 +106,7 @@ import Ovwp from "./Ovwp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
...@@ -114,6 +118,7 @@ export default { ...@@ -114,6 +118,7 @@ export default {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-engp": Engp, "m-engp": Engp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
......
...@@ -66,11 +66,11 @@ ...@@ -66,11 +66,11 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="10"> <c-col :span="10">
<c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种"> <c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select> <c-select v-model="model.gcdgrp.cbs.max.cur" style="width: 100%" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="9"> <c-col :span="9">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gcdgrp.cbs.max.amt"> <c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input disabled v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入" class="m-input-currency"></c-input> <c-input disabled v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入" class="m-input-currency"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
</c-col> </c-col>
<c-col :span="9"> <c-col :span="9">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gcdgrp.cbs.opn1.amt"> <c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input-currency v-model="model.gcdgrp.cbs.opn1.amt" placeholder="请输入" disabled></c-input-currency> <c-input-currency v-model="model.gcdgrp.cbs.opn1.amt" placeholder="请输入" disabled></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp"> <el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类" <c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类"
:code="codes.typgar2"> :code="codes.typgar">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -117,12 +117,12 @@ ...@@ -117,12 +117,12 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种"> <c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select> <c-select v-model="model.gcdgrp.cbs.max.cur" style="width: 100%" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gcdgrp.cbs.max.amt"> <c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入信用证金额" @keyup.enter.native="$event.target.blur()"></c-input-currency> <c-input-currency v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入信用证金额" @keyup.enter.native="$event.target.blur()"></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 --> <!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</c-form-item> </c-form-item>
...@@ -131,12 +131,12 @@ ...@@ -131,12 +131,12 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item label="提取附加金额" prop="gcdgrp.cbs.opn2.cur" previewLabel="信用证币种"> <c-form-item label="提取附加金额" prop="gcdgrp.cbs.opn2.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.opn2.cur" maxlength="3" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select> <c-select v-model="model.gcdgrp.cbs.opn2.cur" style="width: 100%" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gcdgrp.cbs.max2.amt"> <c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.max2.amt">
<c-input-currency v-model="model.gcdgrp.cbs.max2.amt" placeholder="请输入信用证金额" disabled></c-input-currency> <c-input-currency v-model="model.gcdgrp.cbs.max2.amt" placeholder="请输入信用证金额" disabled></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gidgrp.cbs.opn1.amt"> <c-form-item previewLabel="信用证金额" label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency v-model="model.gidgrp.cbs.opn1.amt" placeholder="请输入信用证金额" disabled></c-input-currency> <c-input-currency v-model="model.gidgrp.cbs.opn1.amt" placeholder="请输入信用证金额" disabled></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -589,15 +589,12 @@ ...@@ -589,15 +589,12 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-col>
</c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="可录入保函项下其他关联方" label-width="165px;"> <el-form-item label="可录入保函项下其他关联方">
<c-edit-table <c-edit-table
:model="model" :model="model"
v-bind="ptsaddg" v-bind="ptsaddg"
style="margin-left: -120px"
> >
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -612,6 +609,9 @@ ...@@ -612,6 +609,9 @@
</c-edit-table> </c-edit-table>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -91,26 +91,29 @@ ...@@ -91,26 +91,29 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="购汇金额" prop="bopmod.dbcgrp.bas.lcyamt"> <el-form-item label="购汇金额" prop="bopmod.dbcgrp.bas.lcyamt">
<c-input <c-input-currency-min
v-model="model.bopmod.dbcgrp.bas.lcyamt" v-model="model.bopmod.dbcgrp.bas.lcyamt"
placeholder="请输入购汇金额" placeholder="请输入购汇金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbcgrp.bas.fcyamt"> <el-form-item label="现汇金额" prop="bopmod.dbcgrp.bas.fcyamt">
<c-input <c-input-currency-min
v-model="model.bopmod.dbcgrp.bas.fcyamt" v-model="model.bopmod.dbcgrp.bas.fcyamt"
placeholder="请输入现汇金额" placeholder="请输入现汇金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbcgrp.bas.othamt"> <el-form-item label="其它金额" prop="bopmod.dbcgrp.bas.othamt">
<c-input <c-input-currency-min
v-model="model.bopmod.dbcgrp.bas.othamt" v-model="model.bopmod.dbcgrp.bas.othamt"
placeholder="请输入其它金额" placeholder="请输入其它金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
...@@ -128,14 +131,15 @@ ...@@ -128,14 +131,15 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item
label="" label=""
label-width="10px" label-width="5px"
prop="bopmod.dbcgrp.bas.txamt" prop="bopmod.dbcgrp.bas.txamt"
> >
<c-input <c-input-currency-min
disabled disabled
v-model="model.bopmod.dbcgrp.bas.txamt" v-model="model.bopmod.dbcgrp.bas.txamt"
placeholder="请输入付款币种及金额" placeholder="请输入付款币种及金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
...@@ -156,14 +160,15 @@ ...@@ -156,14 +160,15 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item
label="" label=""
label-width="10px" label-width="5px"
prop="bopmod.dbcgrp.bas.actuamt" prop="bopmod.dbcgrp.bas.actuamt"
> >
<c-input <c-input-currency-min
disabled disabled
v-model="model.bopmod.dbcgrp.bas.actuamt" v-model="model.bopmod.dbcgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额" placeholder="请输入实际付款币种及金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -289,14 +294,15 @@ ...@@ -289,14 +294,15 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item
label="" label=""
label-width="10px" label-width="5px"
prop="bopmod.dbcgrp.bas.outchargeamt" prop="bopmod.dbcgrp.bas.outchargeamt"
> >
<c-input <c-input-currency-min
disabled disabled
v-model="model.bopmod.dbcgrp.bas.outchargeamt" v-model="model.bopmod.dbcgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额" placeholder="请输入扣费币种及金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -91,26 +91,29 @@ ...@@ -91,26 +91,29 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="购汇金额" prop="bopmod.dbfgrp.bas.lcyamt"> <el-form-item label="购汇金额" prop="bopmod.dbfgrp.bas.lcyamt">
<c-input <c-input-currency-min
v-model="model.bopmod.dbfgrp.bas.lcyamt" v-model="model.bopmod.dbfgrp.bas.lcyamt"
placeholder="请输入购汇金额" placeholder="请输入购汇金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbfgrp.bas.fcyamt"> <el-form-item label="现汇金额" prop="bopmod.dbfgrp.bas.fcyamt">
<c-input <c-input-currency-min
v-model="model.bopmod.dbfgrp.bas.fcyamt" v-model="model.bopmod.dbfgrp.bas.fcyamt"
placeholder="请输入现汇金额" placeholder="请输入现汇金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbfgrp.bas.othamt"> <el-form-item label="其它金额" prop="bopmod.dbfgrp.bas.othamt">
<c-input <c-input-currency-min
v-model="model.bopmod.dbfgrp.bas.othamt" v-model="model.bopmod.dbfgrp.bas.othamt"
placeholder="请输入其它金额" placeholder="请输入其它金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
...@@ -128,14 +131,15 @@ ...@@ -128,14 +131,15 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item
label="" label=""
label-width="10px" label-width="5px"
prop="bopmod.dbfgrp.bas.txamt" prop="bopmod.dbfgrp.bas.txamt"
> >
<c-input <c-input-currency-min
disabled disabled
v-model="model.bopmod.dbfgrp.bas.txamt" v-model="model.bopmod.dbfgrp.bas.txamt"
placeholder="请输入付款币种及金额" placeholder="请输入付款币种及金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
...@@ -156,14 +160,15 @@ ...@@ -156,14 +160,15 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item
label="" label=""
label-width="10px" label-width="5px"
prop="bopmod.dbfgrp.bas.actuamt" prop="bopmod.dbfgrp.bas.actuamt"
> >
<c-input <c-input-currency-min
disabled disabled
v-model="model.bopmod.dbfgrp.bas.actuamt" v-model="model.bopmod.dbfgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额" placeholder="请输入实际付款币种及金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -289,14 +294,15 @@ ...@@ -289,14 +294,15 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item
label="" label=""
label-width="10px" label-width="5px"
prop="bopmod.dbfgrp.bas.outchargeamt" prop="bopmod.dbfgrp.bas.outchargeamt"
> >
<c-input <c-input-currency-min
disabled disabled
v-model="model.bopmod.dbfgrp.bas.outchargeamt" v-model="model.bopmod.dbfgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额" placeholder="请输入扣费币种及金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -170,10 +170,10 @@ ...@@ -170,10 +170,10 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="付款行行名" prop="trnmod.cipmod.skkhhmc"> <c-form-item label="付款行行名" prop="trnmod.cipmod.fkkhmc">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.trnmod.cipmod.skkhhmc" v-model="model.trnmod.cipmod.fkkhmc"
disabled disabled
maxlength="35" maxlength="35"
show-word-limit show-word-limit
...@@ -377,10 +377,12 @@ ...@@ -377,10 +377,12 @@
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24" offset="7"> <c-col :span="24">
<c-checkbox v-model="model.trnmod.cipmod.cips112" disabled <c-form-item label="">
<c-checkbox v-model="model.trnmod.cipmod.covflg" class="checkbox-left" disabled
>112cov</c-checkbox >112cov</c-checkbox
> >
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
......
...@@ -158,12 +158,12 @@ ...@@ -158,12 +158,12 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <c-col :span="24">
<el-form-item <el-form-item
label="发送给收报行信息(Tag 72)" label="发送给收报行信息(Tag 72)"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf'" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf'"
label-width="165px"
> >
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
:rows="4" :rows="4"
...@@ -172,12 +172,11 @@ ...@@ -172,12 +172,11 @@
show-word-limit show-word-limit
placeholder="请输入给收报行的附言(MT756的72栏)" placeholder="请输入给收报行的附言(MT756的72栏)"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="2">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-more"
style="margin: 0 0 0 3px" style="margin: 0 0 0 3px"
@click=" @click="
showGridPromptDialog( showGridPromptDialog(
...@@ -190,8 +189,10 @@ ...@@ -190,8 +189,10 @@
) )
" "
> >
...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</el-col> </el-col>
</div> </div>
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
> >
<c-select <c-select
v-model="model.gcdgrp.cbs.max.cur" v-model="model.gcdgrp.cbs.max.cur"
maxlength="3" style="width: 100%"
disabled disabled
placeholder="请输入索赔金额" placeholder="请输入索赔金额"
:code="codes.cur" :code="codes.cur"
...@@ -341,12 +341,13 @@ ...@@ -341,12 +341,13 @@
prop="gcdgrp.cbs.max.cur" prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种" previewLabel="信用证币种"
> >
<c-input <c-select
v-model="model.gcdgrp.cbs.max.cur" v-model="model.gcdgrp.cbs.max.cur"
maxlength="3" style="width: 100%"
disabled disabled
placeholder="请输入索赔金额" placeholder="请输入索赔金额"
></c-input> :code="codes.cur"
></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -370,12 +371,13 @@ ...@@ -370,12 +371,13 @@
prop="gcdgrp.cbs.opn2.cur" prop="gcdgrp.cbs.opn2.cur"
previewLabel="信用证币种" previewLabel="信用证币种"
> >
<c-input <c-select
v-model="model.gcdgrp.cbs.opn2.cur" v-model="model.gcdgrp.cbs.opn2.cur"
maxlength="3" style="width: 100%"
disabled disabled
placeholder="请输入索赔金额" placeholder="请输入索赔金额"
></c-input> :code="codes.cur"
></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -470,6 +472,12 @@ ...@@ -470,6 +472,12 @@
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item
label=""
style="height:48px"
v-else
>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
> >
<c-select <c-select
v-model="model.gcdgrp.cbs.max.cur" v-model="model.gcdgrp.cbs.max.cur"
maxlength="3" style="width: 100%"
disabled disabled
placeholder="请输入索赔金额" placeholder="请输入索赔金额"
:code="codes.cur" :code="codes.cur"
...@@ -136,7 +136,6 @@ ...@@ -136,7 +136,6 @@
<c-col :span="8"> <c-col :span="8">
<c-form-item <c-form-item
previewLabel="信用证金额" previewLabel="信用证金额"
style="text-align: left"
label-width="5px" label-width="5px"
prop="gcdgrp.cbs.max.amt" prop="gcdgrp.cbs.max.amt"
> >
...@@ -189,7 +188,6 @@ ...@@ -189,7 +188,6 @@
<c-col :span="8"> <c-col :span="8">
<c-form-item <c-form-item
previewLabel="信用证金额" previewLabel="信用证金额"
style="text-align: left"
label-width="5px" label-width="5px"
prop="gcdgrp.cbs.opn1.amt" prop="gcdgrp.cbs.opn1.amt"
> >
...@@ -344,7 +342,7 @@ ...@@ -344,7 +342,7 @@
> >
<c-select <c-select
v-model="model.gcdgrp.cbs.max.cur" v-model="model.gcdgrp.cbs.max.cur"
maxlength="3" style="width: 100%"
disabled disabled
placeholder="请输入索赔金额" placeholder="请输入索赔金额"
:code="codes.cur" :code="codes.cur"
...@@ -355,7 +353,6 @@ ...@@ -355,7 +353,6 @@
<c-col :span="12"> <c-col :span="12">
<c-form-item <c-form-item
previewLabel="信用证金额" previewLabel="信用证金额"
style="text-align: left"
label-width="5px" label-width="5px"
prop="gcdgrp.cbs.max.amt" prop="gcdgrp.cbs.max.amt"
> >
...@@ -374,7 +371,7 @@ ...@@ -374,7 +371,7 @@
> >
<c-select <c-select
v-model="model.gcdgrp.cbs.opn2.cur" v-model="model.gcdgrp.cbs.opn2.cur"
maxlength="3" style="width: 100%"
disabled disabled
placeholder="请输入索赔金额" placeholder="请输入索赔金额"
:code="codes.cur" :code="codes.cur"
...@@ -385,7 +382,6 @@ ...@@ -385,7 +382,6 @@
<c-col :span="12"> <c-col :span="12">
<c-form-item <c-form-item
previewLabel="信用证金额" previewLabel="信用证金额"
style="text-align: left"
label-width="5px" label-width="5px"
prop="gcdgrp.cbs.max2.amt" prop="gcdgrp.cbs.max2.amt"
> >
...@@ -488,11 +484,11 @@ ...@@ -488,11 +484,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函编号" prop="gcdgrp.prb.pts.ref"> <el-form-item label="编号" prop="gcdgrp.prb.pts.ref">
<c-input <c-input
v-model="model.gcdgrp.prb.pts.ref" v-model="model.gcdgrp.prb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入保函编号" placeholder="请输入编号"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -41,10 +41,25 @@ ...@@ -41,10 +41,25 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="付款人名称"
prop="cnybop.spayeename"
>
<c-input
v-model="model.cnybop.spayeename"
maxlength="80"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收款人常驻国家/地区编号" label="收款人常驻国家/地区编号"
prop="cnybop.cnyout.spayercountrycode" prop="cnybop.cnyout.spayercountrycode"
> >
<c-col :span="20"> <c-fullbox>
<c-input <c-input
v-model="model.cnybop.cnyout.spayercountrycode" v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3" maxlength="3"
...@@ -53,12 +68,11 @@ ...@@ -53,12 +68,11 @@
showGridPromptDialog('cnybop.cnyout.spayercountrycode') showGridPromptDialog('cnybop.cnyout.spayercountrycode')
" "
></c-input> ></c-input>
</c-col> <template slot="footer">
<c-col :span="4" style="text-align: right">
<c-button <c-button
size="small" size="small"
style="margin-left: 10px; padding: 0 12px"
type="primary" type="primary"
icon="el-icon-search"
@click=" @click="
showGridPromptDialog( showGridPromptDialog(
'cnybop.outcty', 'cnybop.outcty',
...@@ -69,8 +83,9 @@ ...@@ -69,8 +83,9 @@
'doxpDialog' 'doxpDialog'
) )
" "
></c-button> >?</c-button>
</c-col> </template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -145,7 +160,7 @@ ...@@ -145,7 +160,7 @@
style="width: 100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in options" v-for="item in codes.infled_Cur"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -230,10 +245,10 @@ ...@@ -230,10 +245,10 @@
<el-form-item <el-form-item
label="付款人机构代码或身份证件号码" label="付款人机构代码或身份证件号码"
label-width="30%" label-width="30%"
prop="cnybop.spayeename" prop="cnybop.cnyout.spayeeorgcode"
> >
<c-input <c-input
v-model="model.cnybop.spayeename" v-model="model.cnybop.cnyout.spayeeorgcode"
maxlength="80" maxlength="80"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
...@@ -265,7 +280,7 @@ ...@@ -265,7 +280,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="款人名称" label="款人名称"
label-width="30%" label-width="30%"
prop="cnybop.spayername" prop="cnybop.spayername"
> >
......
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="CIPS" name="cips2" <el-collapse-item title="CIPS" name="cips"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg"> v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<m-cips :model="model" :codes="codes" /> <m-cips :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="CIPS2" name="cips" <el-collapse-item title="CIPS2" name="cips2"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg"> v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<m-cips2 :model="model" :codes="codes" /> <m-cips2 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -53,8 +53,7 @@ ...@@ -53,8 +53,7 @@
import Gitsetp from "./Gitsetp"; import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = { const tabNameToRulePathMapping = {
"det756": "setmod.setglg.setgll(2).sespay.det756", "cips": "trnmod.cipmod.cips",
"det202cv": "setmod.setglg.setgll(2).sespay.det202"
} }
export default { export default {
...@@ -93,7 +92,11 @@ ...@@ -93,7 +92,11 @@
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' }) pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' })
} }
} }
return pa if(pa.length !== 0){
tabNameToRulePathMapping[pa[0].name] = "setmod.setglg.setgll(2).sespay.det756";
tabNameToRulePathMapping[pa[1].name] = "setmod.setglg.setgll(2).sespay.det202cv";
}
return pa;
} }
}, },
methods: { methods: {
...@@ -120,8 +123,29 @@ ...@@ -120,8 +123,29 @@
}); });
} }
}, },
myTabClick(tab) {
this.tabClick(tab);
const name = tab.name;
let rulePath;
if(name === tabNameToRulePathMapping[1]){
rulePath = "setmod.setglg.setgll(2).sespay.det756"
}
if (name === tabNameToRulePathMapping[2]) {
rulePath = "setmod.setglg.setgll(2).sespay.det202cv"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
}, },
created: function () {}, created: function () {},
mounted() {
console.log(pacs);
}
}; };
</script> </script>
......
...@@ -227,6 +227,12 @@ export default { ...@@ -227,6 +227,12 @@ export default {
if (name === "cips") { if (name === "cips") {
rulePath = "trnmod.cipmod.cips" rulePath = "trnmod.cipmod.cips"
} }
// if(name === 'det756'){
// rulePath = "setmod.setglg.setgll(2).sespay.det756"
// }
// if (name === "det202cv") {
// rulePath = "setmod.setglg.setgll(2).sespay.det202cv"
// }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概览信息" name="ovwp1"> <el-collapse-item title="概览信息" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" /> <m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg"> <el-collapse-item
title="附加金额"
name="aamp"
v-if="model.letp.aamp.aammod.addamtflg"
>
<m-aamp :model="model" :codes="codes" /> <m-aamp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -22,38 +25,57 @@ ...@@ -22,38 +25,57 @@
<m-drv :model="model" :codes="codes" /> <m-drv :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Discr./Instr." name="dscins" v-if="model.bedgrp.rec.dscinsflg == 'X'"> <el-collapse-item
title="Discr./Instr."
name="dscins"
v-if="model.bedgrp.rec.dscinsflg == 'X'"
>
<m-dscins :model="model" :codes="codes" /> <m-dscins :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="货物描述" name="dogp"> <el-collapse-item title="货物描述" name="dogp">
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'led'"/> <m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'led'" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="单据要求" name="dorp"> <el-collapse-item title="单据要求" name="dorp">
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'led'"/> <m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'led'" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="附加条款" name="adcp"> <el-collapse-item title="附加条款" name="adcp">
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'"/> <m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="循环信用详情" name="revp" v-if="model.ledgrp.rec.revflg == 'X'"> <el-collapse-item
title="循环信用详情"
name="revp"
v-if="model.ledgrp.rec.revflg == 'X'"
>
<m-revp :model="model" :codes="codes" /> <m-revp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="受益人特殊付款条款" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg"> <el-collapse-item
<m-doxp :model="model" :codes="codes" :dtyp="'spcbenp'" :rec="'led'"/> title="受益人特殊付款条款"
name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg"
>
<m-doxp :model="model" :codes="codes" :dtyp="'spcbenp'" :rec="'led'" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="银行专用特殊付款条款" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg"> <el-collapse-item
<m-doxp :model="model" :codes="codes" :dtyp="'spcrcvp'" :rec="'led'"/> title="银行专用特殊付款条款"
name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg"
>
<m-doxp :model="model" :codes="codes" :dtyp="'spcrcvp'" :rec="'led'" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="货权单据" name="srmp"> <el-collapse-item title="货权单据" name="srmp">
<m-srmp :model="model" :codes="codes" /> <m-srmp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="索偿(MT 742)" name="rcldetp">
<m-rcldetp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -62,27 +84,29 @@ import Api from "~/service/Api"; ...@@ -62,27 +84,29 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getset/Event"; import Event from "~/model/Getset/Event";
import Ovwp1 from './Ovwp1' import Ovwp1 from "./Ovwp1";
import Aamp from './Aamp' import Aamp from "./Aamp";
import Detp from './Detp' import Detp from "./Detp";
import Ptyp from './Ptyp' import Ptyp from "./Ptyp";
import Drv from './Drv' import Drv from "./Drv";
import Dscins from './Dscins' import Dscins from "./Dscins";
import Revp from './Revp' import Revp from "./Revp";
import Srmp from './Srmp' import Srmp from "./Srmp";
import Doxp from '~/views/Public/Doxp' import Doxp from "~/views/Public/Doxp";
import Rcldetp from "./Rcldetp";
export default { export default {
components: { components: {
'm-ovwp1': Ovwp1, "m-ovwp1": Ovwp1,
'm-aamp': Aamp, "m-aamp": Aamp,
'm-detp': Detp, "m-detp": Detp,
'm-ptyp': Ptyp, "m-ptyp": Ptyp,
'm-drv': Drv, "m-drv": Drv,
'm-dscins': Dscins, "m-dscins": Dscins,
'm-doxp': Doxp, "m-doxp": Doxp,
'm-revp': Revp, "m-revp": Revp,
'm-srmp': Srmp, "m-srmp": Srmp,
"m-rcldetp": Rcldetp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
...@@ -96,8 +120,7 @@ export default { ...@@ -96,8 +120,7 @@ export default {
...Event, ...Event,
}, },
created: function () {}, created: function () {},
computed: { computed: {},
},
}; };
</script> </script>
<style> <style>
......
<template>
<div class="eibs">
<!-- ==========================左半边================================== -->
<c-col :span="12" style="padding-right: 20px;">
<!-- SF000021 : 偿付行 -->
<c-col :span="24">
<el-form-item label="偿付行" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="请选择"
:code="codes.rolall"
@change="selectOrCheckboxRule('rmbclm.rmbrol')"
>
</c-select>
</el-form-item>
</c-col>
<!-- SF000020 : 编号 Reference for Address Optional -->
<c-col :span="24">
<c-form-item label="参考号" prop="rmbclm.rmbrmb.pts.ref">
<c-input
v-model="model.rmbclm.rmbrmb.pts.ref"
maxlength="16"
placeholder="请输入"
:disabled="rmbrolRefFlag"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'rmbrmb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
:disabledExtkey="rmbrolRefFlag"
:disabled="rmbrolAdrblkFlag"
>
</c-ptap>
</c-col>
<!-- SF000011 : Account with Bank -->
<!-- SF000018 : 编号 -->
<c-col :span="24">
<c-form-item
label="账户号参考号"
prop="rmbclm.acwacw.pts.ref"
>
<c-input
v-model="model.rmbclm.acwacw.pts.ref"
maxlength="16"
placeholder="请输入"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'acwacw',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onAcwpDet"
>
</c-ptap>
</c-col>
<!-- SF000016 : Beneficiary Bank -->
<!-- SF000019 : 编号 -->
<c-col :span="24">
<c-form-item
label="受益人银行参考号"
prop="rmbclm.bebbeb.pts.ref"
>
<c-input
v-model="model.rmbclm.bebbeb.pts.ref"
maxlength="16"
placeholder="请输入"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'bebbeb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBebpDet"
>
</c-ptap>
</c-col>
<!-- SG000133 : value date -->
<c-col :span="24">
<el-form-item label="起息日" prop="rmbclm.valdat">
<c-date-picker
type="date"
value-format="yyyy-MM-dd"
v-model="model.rmbclm.valdat"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letcan/Event'
import Ptap from '~/views/Public/Ptap'
export default {
inject: ['root'],
components: { 'c-ptap': Ptap },
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {}
},
methods: { ...Event },
created: function () {},
computed:{
rmbrolRefFlag: {
get() {
return (
this.model.rmbclm.rmbrol=='ADV'||this.model.rmbclm.rmbrol=='AVB'
||this.model.rmbclm.rmbrol=='ISS'||this.model.rmbclm.rmbrol=='CON'
)
},
},
rmbrolAdrblkFlag: {
get() {
return (
this.model.rmbclm.rmbrol=='ADV'||this.model.rmbclm.rmbrol=='AVB'
||this.model.rmbclm.rmbrol=='ISS'||this.model.rmbclm.rmbrol=='CON'
||this.model.rmbclm.rmbrol=='RMB'
)
},
},
}
}
</script>
<style></style>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证名义金额" prop="lidgrp.cbs.nom1.cur"> <el-form-item label="信用证名义金额(原)" prop="lidgrp.cbs.nom1.cur">
<c-input <c-input
v-model="model.lidgrp.cbs.nom1.cur" v-model="model.lidgrp.cbs.nom1.cur"
maxlength="3" maxlength="3"
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt"> <el-form-item label="" prop="oldlidgrp.cbs.nom1.amt">
<c-input-currency <c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt" v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入金额"
disabled disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="15"> <c-col :span="12">
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input disabled v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择"> <c-input disabled v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder="请选择">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="9"> <c-col :span="12">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input disabled v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input> <c-input disabled v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input>
</el-form-item> </el-form-item>
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
<c-col :span="15"> <c-col :span="12">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input disabled v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入信用证余额"></c-input> <c-input disabled v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入信用证余额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="9"> <c-col :span="12">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input disabled v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input> <c-input disabled v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input>
</el-form-item> </el-form-item>
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信息目的" prop="trnmod.swiadd.purpos"> <el-form-item label="信息目的" prop="trnmod.swiadd.purpos">
<c-select disabled v-model="model.trnmod.swiadd.purpos" style="width:100%" placeholder="请选择信息目的"> <c-select disabled v-model="model.trnmod.swiadd.purpos" style="width:100%" placeholder="请选择信息目的" :code="codes.purpos5">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -180,16 +180,26 @@ export default { ...@@ -180,16 +180,26 @@ export default {
{ inifrm: "10", ininam: "参数管理", pntmiu: "" }, { inifrm: "10", ininam: "参数管理", pntmiu: "" },
//{ inifrm: "dbiusr", ininam: "用户信息详情", pntmiu: "10" }, //{ inifrm: "dbiusr", ininam: "用户信息详情", pntmiu: "10" },
//{ inifrm: "dbibch", ininam: "机构信息详情", pntmiu: "10" }, //{ inifrm: "dbibch", ininam: "机构信息详情", pntmiu: "10" },
{ inifrm: "infusr", ininam: "用户信息查询", pntmiu: "10" }, // { inifrm: "infusr", ininam: "用户信息查询", pntmiu: "10" },
//{ inifrm: "11", ininam: "卖方信用证", pntmiu: "" }, //{ inifrm: "11", ininam: "卖方信用证", pntmiu: "" },
//{ inifrm: "detopn", ininam: "卖方信用证开立", pntmiu: "11" }, //{ inifrm: "detopn", ininam: "卖方信用证开立", pntmiu: "11" },
//{ inifrm: "detame", ininam: "卖方信用证修改", pntmiu: "11" }, //{ inifrm: "detame", ininam: "卖方信用证修改", pntmiu: "11" },
//{ inifrm: "detsel", ininam: "卖方信用证查询", pntmiu: "11" }, //{ inifrm: "detsel", ininam: "卖方信用证查询", pntmiu: "11" },
//{ inifrm: "18",ininam: "客户查询", pntmiu: "" }, //{ inifrm: "18",ininam: "客户查询", pntmiu: "" },
// { inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
// { inifrm: "infpta", ininam: "客户地址查询", pntmiu: "10" },
{ inifrm: "infact", ininam: "账号信息查询", pntmiu: "10" },
{ inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" },
{ inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" },
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
{ inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" },
{ inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" },
{ inifrm: "infgtx", ininam: "保函文本查询", pntmiu: "10" },
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" }, { inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "infpta", ininam: "客户地址查询", pntmiu: "10" }, { inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" }, // { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" }, // { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" }, { inifrm: "14", ininam: "服务管理", pntmiu: "" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment