Commit 61c0f6b1 by wangyanjiao

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 2b90d5aa e9738b7b
......@@ -6552,7 +6552,7 @@ const CodeTable = {
],
label5: [
{ label: "额度已切分,结算系统将自动扣除余额,保证金(如需)符合要求;", value: "A" },
{ label: "额度已切分,结算系统将自动扣减额度,保证金(如需)符合要求;", value: "A" },
{ label: "额度未切分,《信贷业务通知书》符合要求;", value: "B" },
],
currencycode: [
......@@ -18515,6 +18515,8 @@ const CodeTable = {
],
typgar: [
{ label: "农民工工资保函", value: "1" },
{ label: "", value: "P" },
{ label: "", value: "C" },
],
gtxinr: [
{ label: "Performance Guaratee2", value: "00000008" },
......@@ -132,6 +132,18 @@ export default {
if(name === 'basp'){
rulePath = "bopmod.dbcp.basp"
}
if(name === 'basp1'){
rulePath = "bopmod.dbfp.basp"
}
if(name === 'basp2'){
rulePath = "bopmod.dbdp.basp"
}
if(name === 'basp3'){
rulePath = "bopmod.dbap.basp"
}
if(name === 'incp'){
rulePath = "cnybop.incp"
}
if (!!rulePath) {
// if(rulePath == "setmod.setpan"){
// this.executeCustomRule(rulePath).then(res => {
......@@ -236,7 +248,7 @@ export default {
* 下拉框/多选框 改变时执行rule
* @param {String} rulePath 路径
*/
selectOrCheckboxChangeExecuteRule(rulePath){
selectOrCheckboxRule(rulePath){
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
......@@ -321,4 +333,4 @@ export default {
return this.$store.state.Status.mode === 'display'
}
}
}
\ No newline at end of file
}
......@@ -165,7 +165,7 @@ export default {
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.col.namelc":[
......
......@@ -48,6 +48,7 @@ export default class Botame{
},
},
blk:{
docpre:"",
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
......@@ -150,6 +151,7 @@ export default class Botame{
},
},
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
drrp:{
......
......@@ -6,59 +6,101 @@ import Utils from "~/utils"
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matpertyp" :null,
"bopmod.dbagrp.bas.methods" :null,
"bodgrp.dre.adrelc" :null,
"bopmod.dbagrp.bas.lcyacc" :null,
"cnybop.outflg" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"cnybop.cnyinc.sbalancemode" :null,
"bodgrp.dre.pts.nam" :null,
"cnybop.cnyinc.spayercountrycode" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null,
"setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null,
"bodgrp.col.pts.adrblk" :null,
"cnybop.cnyinc.frecordamt" :null,
"cnybop.cnyinc.dpayeedate" :null,
"bodgrp.blk.dftins" :null,
"cnybop.cnyinc.sbankorgcode" :null,
"bopmod.dbagrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"cnybop.saddword" :null,
"bodgrp.blk.delins" :null,
"cnybop.cnyinc.sorilevyno" :null,
"cnybop.cnyinc.sbanktrano" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bodgrp.rec.focflg" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bodgrp.drr.adrelc" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"cnybop.cnyinc.iaccountperiod" :null,
"bodgrp.dre.namelc" :null,
"cnybop.spayeename" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"bodgrp.dre.pts.adrblk" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"cnybop.cnyinc.cpayeeattr" :null,
"bodgrp.drr.pts.extkey" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"bopmod.dbdgrp.bas.custype" :null,
"cnybop.cnyinc.spayeeorgcode" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"bodgrp.rec.matperbeg" :null,
"liaall.limmod.ownref" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"bodgrp.blk.proins" :null,
"liaall.limmod.ecifno" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"cnybop.incscale" :null,
"bodgrp.drr.pts.adrblk" :null,
"cnybop.cnyinc.sswiftbic" :null,
"bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.cnyinc.fpayeeamt" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"bodgrp.col.adrelc" :null,
"bopmod.dbdgrp.bas.othacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.fcyacc" :null,
"bodgrp.col.pts.extkey" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"bopmod.dbagrp.bas.custype" :null,
"cnybop.cnyinc.ftotalamt" :null,
"cnybop.cnyinc.spayeecny" :null,
"bodgrp.drr.pts.nam" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.dbagrp.bas.rptno" :null,
"bopmod.dbagrp.bas.oppuser" :null,
"bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"cnybop.spayername" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null,
"bodgrp.blk.colins" :null,
......@@ -70,6 +112,7 @@ let checkObj = {
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
......
......@@ -32,6 +32,8 @@ export default {
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
......@@ -45,6 +47,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
......@@ -52,11 +55,14 @@ export default {
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"cnybop.cnyinc.spayercountrycode" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
......@@ -65,6 +71,7 @@ export default {
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
......
......@@ -278,8 +278,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -290,8 +290,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -362,5 +362,17 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIncctySelbut1(){
let rtnmsg = await this.executeRule("inccty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -426,7 +426,7 @@ export default {
"bopmod.dbdgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
......@@ -503,5 +503,198 @@ export default {
"bopmod.dbdgrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbagrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbagrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbagrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbagrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbagrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbagrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbagrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"cnybop.cnyinc.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnyinc.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.cnyinc.spayeeacct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.cnyinc.spayeeorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.spayeename":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.spayercountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.spayername":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.smidtransbank":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.spayeracct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.incscale":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyinc.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnyinc.fprepayeeamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.iaccountperiod":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyinc.ftotalamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.sorilevyno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"cnybop.cnyinc.fpayeeamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fonshoreamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fcustomsamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.foffshoreamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.frecordamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fnogoodsamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.saddword":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
}
\ No newline at end of file
......@@ -257,7 +257,48 @@ export default class Botset{
inchargeccy:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeamt
txccy:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txccy
txamt:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt
txamt:"",
},
}, // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt
dbap:{
baspp:{
cusnam:"", // .bopmod.dbap.baspp.cusnam
cornam:"", // .bopmod.dbap.baspp.cornam
corpnam:"", // .bopmod.dbap.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbap.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbap.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbap.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbap.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbap.baspp.tmprefnew
},
},
dbagrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbagrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbagrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbagrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbagrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbagrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbagrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbagrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbagrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbagrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbagrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbagrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbagrp.bas.buscode
custype:"", // 类型 .bopmod.dbagrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbagrp.bas.actiondesc
exrate:"", // 结汇汇率 .bopmod.dbagrp.bas.exrate
lcyamt:"", // 结汇金额 .bopmod.dbagrp.bas.lcyamt
custnm:"", // 收款人名称 .bopmod.dbagrp.bas.custnm
oppuser:"", // 付款人名称 .bopmod.dbagrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbagrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeamt
outchargeamt:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeamt
outchargeccy:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeccy
txccy:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txccy
txamt:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txamt
},
},
},
......@@ -267,6 +308,37 @@ export default class Botset{
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnyinc:{
spk:"", // 业务主键 .cnybop.cnyinc.spk
sbankorgcode:"", // 银行机构代码 .cnybop.cnyinc.sbankorgcode
spayeeorgcode:"", // 收款人机构代码 .cnybop.cnyinc.spayeeorgcode
sswiftbic:"", // 付款行SWIFT BIC .cnybop.cnyinc.sswiftbic
spayeracct:"", // 清算(结算)账户账号 .cnybop.cnyinc.spayeracct
smidtransbank:"", // 中�'转汇行 .cnybop.cnyinc.smidtransbank
dpayeedate:"", // 收款日期 .cnybop.cnyinc.dpayeedate
sbalancemode:"", // 结算方式 .cnybop.cnyinc.sbalancemode
sorilevyno:"", // 原申报号码 .cnybop.cnyinc.sorilevyno
sbanktrano:"", // 银行业务编号 .cnybop.cnyinc.sbanktrano
fpayeeamt:"", // 货物贸易收款金额 .cnybop.cnyinc.fpayeeamt
fcustomsamt:"", // 已报关收款金额 .cnybop.cnyinc.fcustomsamt
frecordamt:"", // 已备案收款金额 .cnybop.cnyinc.frecordamt
fprepayeeamt:"", // 预收款金额 .cnybop.cnyinc.fprepayeeamt
iaccountperiod:"", // 结�'�期 .cnybop.cnyinc.iaccountperiod
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyinc.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyinc.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyinc.fnogoodsamt
cpayeeattr:"", // 收款人属性 .cnybop.cnyinc.cpayeeattr
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyinc.cpayeraccttyp
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnybop.cnyinc.spayercountrycode
spayeecny:"", // 收款币种 .cnybop.cnyinc.spayeecny
spayeeacct:"", // 收款人账号 .cnybop.cnyinc.spayeeacct
ftotalamt:"", // 原币金额 .cnybop.cnyinc.ftotalamt
},
spayeename:"", // 收款人名称 .cnybop.spayeename
spayername:"", // 付款人名称 .cnybop.spayername
saddword:"", // 交易附言 .cnybop.saddword
sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
......
......@@ -49,7 +49,7 @@ export default {
"dedgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.adrblk":[
......@@ -83,7 +83,7 @@ export default {
],
"dedgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.extact":[
......
......@@ -27,7 +27,7 @@ export default {
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
// "lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"hmdmod2.bennam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
......@@ -39,7 +39,7 @@ export default {
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
//"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"trnmod.trndia.dspstm" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
......
......@@ -186,7 +186,8 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.lidgrp.blk.adlcnd=rtnmsg.data.lidgrp_blk_adlcnd
this.updateModel("rtnmsg.data")
}
else
{
......
......@@ -191,29 +191,36 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.preper":[
"lidgrp.rec.avbby":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
"lidgrp.rec.stacty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.preper":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{ required: false, },
],
"litp.avbp.ptsget.sdamod.dadsnd":[
......@@ -238,7 +245,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 180,message:"长度不能超过180"}
],
"lidgrp.avb.dbfadrblkcn":[
......@@ -255,19 +262,19 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 80,message:"80"}
],
"lidgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
......@@ -289,7 +296,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 135,message:"长度不能超过135"}
],
"lidgrp.drw.dbfadrblkcn":[
......@@ -297,20 +304,24 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.drw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.avbwth":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.shpfro":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{ required: true, },
],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......@@ -325,7 +336,7 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"lidgrp.blk.shpper":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.ini.pts.ref":[
......@@ -670,7 +681,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnylib.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.cnylib.sbankorgcode":[
......@@ -684,19 +695,19 @@ export default {
"cnybop.cnylib.sforbankswiftbic":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.sorgname":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sorgcode":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.sforeignorgname":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sforeigncountrycode":[
......@@ -705,17 +716,23 @@ export default {
],
"cnybop.cnylib.doccurdate":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"cnybop.cnylib.denddate":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"cnybop.cnylib.dcreditenddate":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"cnybop.cnylib.currencycode":[
{type: "string", required: true,}
],
"cnybop.cnylib.stermtype":[
{type: "string", required: true,}
],
"cnybop.cnylib.famt":[
{type: "number", required: false, message: "必输项"},
{type: "number", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -5,14 +5,18 @@ export default class Mtabut {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: {}, // Infotext .mtabut.coninf.oitinf.oit.inftxt
inftxt: {
rows: []
}, // 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: {
rows:[]
}, // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
......
......@@ -868,6 +868,7 @@ export default {
],
data: [],
},
preSelectedRow: 0
};
},
computed: {
......@@ -900,23 +901,56 @@ export default {
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map(x=>x+1);
let params = {selDst:"liaall.tenstm",selIds}
if (selection.length > 1) {
// this.$
} else {
let idx;
if (selection.length === 0) {
idx = this.preSelectedRow
} else {
idx = selection[0]
this.preSelectedRow = idx
}
//
let params = {selDst:"liaall.tenstm",selIds: [idx+1]}
const rtnmsg = await this.executeRule("liaall.tenstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}else{
// this.model.setmod.docamt = "";
// this.model.setmod.setamt = "";
// this.model.aamset.utlamt = "";
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
// console.log(selection);
// if (selection) {
// let selIds = selection.map(x=>x+1);
// let params = {selDst:"liaall.tenstm",selIds}
// const rtnmsg = await this.executeRule("liaall.tenstm",params);
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data)
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// }else{
// let selIds = selection.map(x=>x+1);
// let params = {selDst:"liaall.tenstm",selIds}
// const rtnmsg = await this.executeRule("liaall.tenstm",params);
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data)
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// // this.model.setmod.docamt = "";
// // this.model.setmod.setamt = "";
// // this.model.aamset.utlamt = "";
// }
},
},
......
......@@ -259,7 +259,7 @@
<c-col :span="24">
<el-form-item label="New Maturity Date" prop="trnmod.swiadd.newmatdat">
<c-date-picker type="date" :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatdat" style="width:100%" placeholder="请选择New Maturity Date"></c-date-picker>
<c-date-picker type="date" @change="change" :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatdat" style="width:100%" placeholder="请选择New Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
......@@ -296,19 +296,32 @@ export default {
this.model.trnmod.swiadd.newmatpertyp="";
this.model.trnmod.swiadd.newmatperbeg="";
this.model.trnmod.swiadd.newmatdat="";
this.model.bodgrp.rec.matdat="";
}
},
"model.trnmod.swiadd.newmatdat":function(){
if(this.model.trnmod.swiadd.newmatdat!=""||this.model.trnmod.swiadd.newmatpercnt!=""){
this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
// "model.trnmod.swiadd.newmatdat":function(){
// if(this.model.trnmod.swiadd.newmatdat!="" ){
// this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
// console.log(this.model.oldbodgrp.rec.matdat)
// }
// else{
// this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
// console.log(this.model.bodgrp.rec.matdat)
// }
// }
},
methods:{...Event,
change() {
if(this.model.trnmod.swiadd.newmatdat!="" ){
this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
}
else{
this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
}
}
},
methods:{...Event},
},
created:function(){
}
......
......@@ -321,9 +321,18 @@
</el-table-column>
</c-table>
</c-col> -->
<c-col :span="24">
<c-docpre
:model="model"
:argadr="{
path: 'bodgrp.blk.docpre',
grp: 'botp',
code: 'docpre',
}"
></c-docpre>
<!-- <c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd"> </c-edit-table>
</c-col>
</c-col> -->
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
......@@ -404,67 +413,71 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botame/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-ptap": Ptap },
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
docgrd: {
columns: [
{
title: "lst",
width: "80px",
dataIndex: "cmail1",
show: "input",
},
{
title: "2nd",
width: "80px",
dataIndex: "cmail2",
show: "input",
},
{
title: "Document",
width: "320px",
dataIndex: "docnam",
show: "select",
code: "codeTable",
},
],
urls: "botp.docgrdm.docgrd",
},
// docgrd: {
// columns: [
// {
// title: "lst",
// width: "80px",
// dataIndex: "cmail1",
// show: "input",
// },
// {
// title: "2nd",
// width: "80px",
// dataIndex: "cmail2",
// show: "input",
// },
// {
// title: "Document",
// width: "320px",
// dataIndex: "docnam",
// show: "select",
// code: "codeTable",
// },
// ],
// urls: "botp.docgrdm.docgrd",
// },
invtyp: [{ label: "type1", value: "1" }],
codeTable: [
{ label: "Airway Bills", value: "Airway Bills" },
{
label: "Beneficiary's Declaration",
value: "Beneficiary's Declaration",
},
{ label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
{
label: "Bill of Lading Originals",
value: "Bill of Lading Originals",
},
{ label: "Certificate", value: "Certificate" },
{ label: "Certificate of Analysis", value: "Certificate of Analysis" },
{ label: "Certificate of Origin", value: "Certificate of Origin" },
{ label: "Certificate of Quality", value: "Certificate of Quality" },
{ label: "Certificate of Quantity", value: "Certificate of Quantity" },
{ label: "Commercial Invoice", value: "Commercial Invoice" },
{ label: "Courier Receipt", value: "Courier Receipt" },
{ label: "Draft", value: "Draft" },
{ label: "Export Licence", value: "Export Licence" },
{ label: "Fax Report", value: "Fax Report" },
{ label: "Inspection Cert", value: "Inspection Cert" },
{ label: "Insurance Policy", value: "Insurance Policy" },
{ label: "Packing List", value: "Packing List" },
{ label: "Shipment Advice", value: "Shipment Advice" },
{ label: "Weight List", value: "Weight List" },
],
// codeTable: [
// { label: "Airway Bills", value: "Airway Bills" },
// {
// label: "Beneficiary's Declaration",
// value: "Beneficiary's Declaration",
// },
// { label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
// {
// label: "Bill of Lading Originals",
// value: "Bill of Lading Originals",
// },
// { label: "Certificate", value: "Certificate" },
// { label: "Certificate of Analysis", value: "Certificate of Analysis" },
// { label: "Certificate of Origin", value: "Certificate of Origin" },
// { label: "Certificate of Quality", value: "Certificate of Quality" },
// { label: "Certificate of Quantity", value: "Certificate of Quantity" },
// { label: "Commercial Invoice", value: "Commercial Invoice" },
// { label: "Courier Receipt", value: "Courier Receipt" },
// { label: "Draft", value: "Draft" },
// { label: "Export Licence", value: "Export Licence" },
// { label: "Fax Report", value: "Fax Report" },
// { label: "Inspection Cert", value: "Inspection Cert" },
// { label: "Insurance Policy", value: "Insurance Policy" },
// { label: "Packing List", value: "Packing List" },
// { label: "Shipment Advice", value: "Shipment Advice" },
// { label: "Weight List", value: "Weight List" },
// ],
// newValue: {
// id: 0,
// cmail1: "",
......@@ -475,11 +488,14 @@ export default {
// tableName: "",
// tcddoc: "",
// },
// columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
// columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
};
},
methods: {
...Event,
change() {
this.model.bodgrp.rec.matdat = this.model.oldbodgrp.rec.matdat;
},
// addTableValue(index) {
// var newTableValue = Object.assign({}, this.newValue);
// const serial = Utils.generateUUID();
......@@ -489,6 +505,20 @@ export default {
// deleteTable(index) {
// this.model.botp.docgrdm.docgrd.splice(index, 1);
// },
// async docpre() {
// let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// this.updateModel(rtnmsg.data)
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
// },
},
mounted() {
this.change();
console.log(this.model.bodgrp.rec.matdat);
},
computed: {
flag() {
......
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<c-form-item label="业务主键 " prop="cnybop.cnyinc.spk">
<c-input disabled v-model="model.cnybop.cnyinc.spk" maxlength="20" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input disabled v-model="model.cnybop.sbankname" maxlength="80" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行机构代码" prop="cnybop.cnyinc.sbankorgcode">
<c-input disabled v-model="model.cnybop.cnyinc.sbankorgcode" maxlength="12" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人账号" prop="cnybop.cnyinc.spayeeacct">
<c-input v-model="model.cnybop.cnyinc.spayeeacct" maxlength="32" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人名称" prop="cnybop.spayeename">
<c-input v-model="model.cnybop.spayeename" maxlength="80" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人属性" prop="cnybop.cnyinc.cpayeeattr">
<c-select v-model="model.cnybop.cnyinc.cpayeeattr" style="width:100%" placeholder="">
<el-option
v-for="item in codes.cpayeeattr"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付款人名称" prop="cnybop.spayername">
<c-input v-model="model.cnybop.spayername" maxlength="80" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="cnybop.cnyinc.sbalancemode">
<c-select v-model="model.cnybop.cnyinc.sbalancemode" style="width:100%" placeholder="">
<el-option
v-for="item in codes.sbalancemode"
: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="cnybop.cnyinc.cpayeraccttyp">
<c-select v-model="model.cnybop.cnyinc.cpayeraccttyp" style="width:100%" placeholder="">
<el-option
v-for="item in codes.cpayeraccttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="清算(结算)账户账号" prop="cnybop.cnyinc.spayeracct">
<c-input v-model="model.cnybop.cnyinc.spayeracct" maxlength="32" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款日期" prop="cnybop.cnyinc.dpayeedate">
<c-date-picker type="date" v-model="model.cnybop.cnyinc.dpayeedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款币种" prop="cnybop.cnyinc.spayeecny">
<c-select v-model="model.cnybop.cnyinc.spayeecny" style="width:100%" placeholder="">
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="原币金额" prop="cnybop.cnyinc.ftotalamt">
<c-input v-model="model.cnybop.cnyinc.ftotalamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="货物贸易收款金额" prop="cnybop.cnyinc.fpayeeamt">
<c-input v-model="model.cnybop.cnyinc.fpayeeamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="已报关收款金额" prop="cnybop.cnyinc.fcustomsamt">
<c-input v-model="model.cnybop.cnyinc.fcustomsamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="已备案收款金额" prop="cnybop.cnyinc.frecordamt">
<c-input v-model="model.cnybop.cnyinc.frecordamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="交易附言" prop="cnybop.saddword">
<c-input v-model="model.cnybop.saddword" maxlength="80" placeholder=""></c-input>
</c-form-item>
</c-col>
</el-col>
<!--=====================right ============================= -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<c-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
<c-input disabled v-model="model.cnybop.cnyinc.sbanktrano" maxlength="22" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人机构代码或身份证件号码" prop="cnybop.cnyinc.spayeeorgcode">
<c-input v-model="model.cnybop.cnyinc.spayeeorgcode" maxlength="18" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="21">
<c-form-item label="付款人常驻国家(地区)代码" prop="cnybop.cnyinc.spayercountrycode">
<c-input v-model="model.cnybop.cnyinc.spayercountrycode" maxlength="3" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIncctySelbut1">
</c-button>
</c-col>
<c-col :span="24">
<c-form-item label="付款行SWIFT BIC" prop="cnybop.cnyinc.sswiftbic">
<c-input v-model="model.cnybop.cnyinc.sswiftbic" maxlength="11" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="中间转汇行" prop="cnybop.cnyinc.smidtransbank">
<c-input v-model="model.cnybop.cnyinc.smidtransbank" maxlength="11" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="预收款比例" prop="cnybop.incscale">
<c-input v-model="model.cnybop.incscale" maxlength="4" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="预收款金额" prop="cnybop.cnyinc.fprepayeeamt">
<c-input v-model="model.cnybop.cnyinc.fprepayeeamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结帐期" prop="cnybop.cnyinc.iaccountperiod">
<c-input v-model="model.cnybop.cnyinc.iaccountperiod" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="原申报号码" prop="cnybop.cnyinc.sorilevyno">
<c-input v-model="model.cnybop.cnyinc.sorilevyno" maxlength="24" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="无货物报关进出境物流货物金额" prop="cnybop.cnyinc.fonshoreamt">
<c-input v-model="model.cnybop.cnyinc.fonshoreamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="无货物报关离岸转手买卖金额" prop="cnybop.cnyinc.foffshoreamt">
<c-input v-model="model.cnybop.cnyinc.foffshoreamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="无货物报关其他金额" prop="cnybop.cnyinc.fnogoodsamt">
<c-input v-model="model.cnybop.cnyinc.fnogoodsamt" placeholder=""></c-input>
</c-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -78,15 +78,15 @@
<m-wg :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.bopmod.szflg=='1' && model.lendoc.actflg=='X'" label="涉外收入申请单-基础信息" name="basp1">
<el-tab-pane v-if="model.bopmod.szflg=='1' && model.lendoc.actflg=='X'" label="涉外收入申请单-基础信息" name="basp3">
<c-content>
<m-basp1 :model="model" :codes="codes"/>
<m-basp3 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.bopmod.szflg=='2' && model.lendoc.actflg=='X'" label="境内收入申请单-基础信息" name="basp">
<el-tab-pane v-if="model.bopmod.szflg=='2' && model.lendoc.actflg=='X'" label="境内收入申请单-基础信息" name="basp2">
<c-content>
<m-basp :model="model" :codes="codes"/>
<m-basp2 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -94,6 +94,12 @@
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.cnybop.cnyflg=='1'" label="2101跨境收入信息" name="incp">
<c-content>
<m-incp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
......@@ -135,8 +141,9 @@ import Docpan1 from "./Docpan1"
import Wg from "./Wg"
import Cnyp from "./Cnyp"
import Limitbody from "~/views/Public/Limitbody";
import Basp from "./Basp"
import Basp1 from "./Basp1"
import Basp2 from "./Basp2"
import Basp3 from "./Basp3"
import Incp from "./Incp"
export default {
......@@ -156,8 +163,9 @@ export default {
"m-cnyp" : Cnyp,
"m-limitbody" : Limitbody,
"m-docpan1" : Docpan1,
"m-basp" : Basp,
"m-basp1" : Basp1,
"m-basp2" : Basp2,
"m-basp3" : Basp3,
"m-incp" : Incp,
},
provide() {
return {
......
......@@ -8,7 +8,7 @@
v-model="model.dedgrp.rec.isyifu"
style="width: 100%"
placeholder="请选择是否可议付"
@change="selectOrCheckboxChangeExecuteRule('dedgrp.rec.isyifu')"
@change="selectOrCheckboxRule('dedgrp.rec.isyifu')"
>
<el-option
v-for="item in codes.isyifu"
......
......@@ -388,18 +388,6 @@
</c-col>
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 95%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
......@@ -408,7 +396,7 @@
placeholder="请选择Shipment Date"
></c-date-picker>
</c-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
......
......@@ -93,11 +93,14 @@
<c-col :span="24">
<el-form-item label="Incoming Purpose" prop="gidgrp.rec.purposin">
<c-input
<c-select
v-model="model.gidgrp.rec.purposin"
placeholder="请输入Incoming Purpose"
style="width: 100%"
placeholder="请选择Incoming Purpose "
:code="codes.purposin"
disabled
></c-input>
>
</c-select>
</el-form-item>
</c-col>
......@@ -107,7 +110,8 @@
v-model="model.gidgrp.rec.purpos"
style="width: 100%"
placeholder="请选择Outgoing Purpose"
disabled
:code="codes.purpos"
>
</c-select>
</el-form-item>
......@@ -119,6 +123,7 @@
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择Type of Undertaking"
:code="codes.typgar"
disabled
>
</c-select>
......@@ -143,12 +148,13 @@
label-width="5px"
prop="gidgrp.rec.exptyp"
>
<c-input-currency
<c-select
v-model="model.gidgrp.rec.exptyp"
style="text-align: left; width: 100%"
placeholder=""
disabled
></c-input-currency>
style="width: 100%"
placeholder="请选择Expiry Type"
:code="codes.exptyp"
>
</c-select>
</el-form-item>
</c-col>
......@@ -174,6 +180,7 @@
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择Liability Type "
:code="codes.liatypc"
disabled
>
</c-select>
......@@ -186,6 +193,7 @@
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp"
disabled
>
</c-select>
......@@ -198,6 +206,7 @@
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择Confirmation Status "
:code="codes.cnfsta"
disabled
>
</c-select>
......@@ -664,9 +673,9 @@ export default {
data() {
return {};
},
methods: {
methods: {
...Event,
onSeainf(data) {
onSeainf(data) {
this.$emit("onSeainf", data);
},
},
......
......@@ -78,9 +78,6 @@ export default {
mixins: [commonProcess],
data() {
return {
codes: {
...CodeTable,
},
};
},
methods: { ...Event },
......
......@@ -220,6 +220,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay){
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -16,53 +16,59 @@
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000019 -->
<el-tab-pane label="Charges" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000019 -->
<el-tab-pane label="Charges" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--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 Gitcom from "~/model/Gitcom"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Gitcom from "~/model/Gitcom";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitcom/Check"
import Default from "~/model/Gitcom/Default"
import Pattern from "~/model/Gitcom/Pattern"
import Gitsetp1 from "./Gitsetp1"
import Check from "~/model/Gitcom/Check";
import Default from "~/model/Gitcom/Default";
import Pattern from "~/model/Gitcom/Pattern";
import Gitsetp1 from "./Gitsetp1";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
......@@ -70,61 +76,58 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Gitcom",
components:{
"m-gitsetp1" : Gitsetp1,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "gitsetp1",
trnName: "gitcom",
model: new Gitcom().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
name: "Gitcom",
components: {
"m-gitsetp1": Gitsetp1,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "gitsetp1",
trnName: "gitcom",
model: new Gitcom().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gitcom交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入gitcom交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gitsel from "~/model/Gitsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'gitsel',
model:new Gitsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.gidgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("gidgrp.rec.ownref");//gidgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.gidgrp.rec.inr = rtnmsg.data.gidgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
// const buttonIndex = ['保证金收取','保证金注销','保证金调整','开立信用证','信用证修改','减额修改接受','修改通知行','到单']
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
......@@ -348,9 +348,8 @@
v-model="model.seagtyp"
style="width: 100%"
placeholder="请选择Undertaking Type"
:code="codes.seagtyp"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
......@@ -439,88 +438,116 @@
</c-list-search>
<el-row>
<c-col :span="24" style="margin-top: 10px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn"
>进口保函开立</c-button
>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn"
>进口保函开立</c-button
>
<c-button
style="margin-left: 20"
class="medium_bcs"
size="medium"
type="primary"
@click="toGetopn"
>出口保函通知</c-button
>
</c-col>
<c-col :span="24" style="text-align: right; height: 100px">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left">
<span>操作</span>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
<c-col :span="24" style="text-align: right; height: 100px">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left">
<span>操作</span>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理</c-button
>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理</c-button
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</el-row>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else >
<m-busbtn ref="childs" :ownref="ownref" trnCode="getsel" ownrefPath="gidgrp" :model="getselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
<div v-else>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gidgrp"
:model="getselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
......@@ -699,7 +726,6 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
......@@ -739,7 +765,15 @@ export default {
columns: [
'1 1 "Reference" 150',
'2 2 "Resp. User" 150',
'8 3 "保函品种" 150',
// '8 3 "保函品种" 150',
{
index: 8,
position: 3,
width: 150,
pattern: "code",
label: "保函品种",
code: this.codes.typgar,
},
'11 4 "Party Number" 150',
'12 5 "Applicant" 150',
'15 6 "Cur" 150',
......@@ -756,7 +790,15 @@ export default {
'21 17 "Cur" 150',
'16 18 "Guar. Amount" 150',
'20 19 "Open Amount" 150',
'9 20 "Handling Type" 150',
// '9 20 "Handling Type" 150',
{
index: 9,
position: 20,
width: 150,
pattern: "code",
label: "Handling Type",
code: this.codes.hndtyp,
},
'6 21"电子渠道类型" 150',
'7 22"OTHERSNO" 150',
],
......@@ -773,8 +815,8 @@ export default {
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
setTimeout(() => {
this.$refs.childs.$emit("childmethods")
}, 10)
this.$refs.childs.$emit("childmethods");
}, 10);
},
async onChoose(code) {
//跳转交易
......@@ -800,6 +842,9 @@ export default {
toGitopn() {
this.$router.history.push("/business/gitopn");
},
toGetopn() {
this.$router.history.push("/business/getopn");
},
handleReset: function () {
this.model = {
instNo: "",
......@@ -808,10 +853,8 @@ export default {
},
},
created: function () {},
watch:{
"model.gidgrp.rec.ownref":function(){
}
watch: {
"model.gidgrp.rec.ownref": function () {},
},
};
</script>
......
......@@ -8,7 +8,7 @@
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane> -->
<c-content>
<c-content :height="180">
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
......
<template>
<div class="eibs-tab">
<c-col :span="20">
<c-col :span="10">
<el-form-item label="Additional Amount" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
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="12">
<c-col :span="10">
<el-form-item label="Additional Amount" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
@keyup.enter.native="max2CurEvent"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Open Add. Amount" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width:100%"
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Open Add. Amount"
disabled
>
</c-select>
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
>
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Add. Amount"
disabled
></c-input>
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Add. Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="lidgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
:rows="4"
show-word-limit
placeholder="请输入Covered" ></c-input>
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
:rows="4"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -94,12 +92,21 @@ export default {
}
},
methods:{...Event},
methods:{...Event,
max2Amt(){
this.executeDefault("max2.amt").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
}
},
created:function(){
}
}
</script>
<style>
</style>
......@@ -16,6 +16,7 @@
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcrcb !='' "
v-model="model.lidgrp.rec.spcbenflg"
>Special payment conditions for beneficiary exists</c-checkbox>
......@@ -24,6 +25,7 @@
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcben !='' "
v-model="model.lidgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col>
......
......@@ -12,7 +12,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24" v-if="flag4">
<el-form-item label="Extkey" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
......@@ -58,8 +58,10 @@
</c-col> -->
<c-col :span="24">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input type="textarea" v-model="model.lidgrp.blk.avbwthtxt" maxlength="35" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
<el-form-item label="Available in" prop="lidgrp.avb.pts.adrblk">
<c-input
disabled
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<!--
......@@ -351,6 +353,7 @@ export default {
flag1:true,
flag2:true,
flag3:true,
flag4:true,
}
},
methods:{...Event,
......@@ -362,6 +365,18 @@ export default {
},
watch:{
"model.lidgrp.rec.avbwth":{
immediate:true,
handler(val,oldVal){
if(val == 'O'){
this.flag4=false;
}else{
this.flag4=true;
}
}
},
"model.lidgrp.rec.avbby": {
immediate:true,
handler(val,oldVal){
......
......@@ -118,17 +118,21 @@
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.litp.aamp.aammod.addamtflg"
<template>
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="margin-left:11px;padding: 0 10px;"
>Add. Amount</c-checkbox
>
>Add. Amount</c-checkbox>
</template>
</c-col>
</el-col>
<c-col :span="14">
<el-form-item label="Amount Tolerance +/-" prop="lidgrp.rec.nomtop">
<c-input
v-model="model.lidgrp.rec.nomtop"
maxlength="9"
maxlength="2"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
</el-form-item>
......@@ -142,7 +146,7 @@
>
<c-input
v-model="model.lidgrp.rec.nomton"
maxlength="9"
maxlength="2"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
......@@ -155,6 +159,7 @@
style="width: 100%"
disabled
placeholder="请选择Amount Specification"
:code="codes.nomspc"
>
</c-select>
</el-form-item>
......@@ -280,7 +285,7 @@
v-model="model.lidgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择Transhipment"
:code="codes.shppar"
:code="codes.shppars18"
>
</c-select>
</el-form-item>
......@@ -702,7 +707,34 @@ export default {
flag:true,
};
},
methods: { ...Event },
methods: { ...Event,
open(val){
if(val ==='' && !(this.model.lidgrp.cbs.max2.amt =='0.000'&& this.model.lidgrp.cbs.opn2.amt =='0.000' && this.model.lidgrp.blk.addamtcov==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.model.lidgrp.cbs.max2.amt ='0.000';
this.model.lidgrp.blk.addamtcov = '';
this.model.lidgrp.cbs.opn2.amt ='0.000';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {//No的功能在这里写
this.model.litp.aamp.aammod.addamtflg ='X'
this.$message({
type: 'info',
message: '已取消删除'
});
});
}
}
},
created: function () {},
watch:{
"model.lidgrp.rec.apprul": {
......
......@@ -226,7 +226,7 @@
<c-input
type="textarea"
v-model="model.lidgrp.con.pts.adrblk"
maxlength="35"
maxlength="150"
:rows="4"
show-word-limit
placeholder="请输入Address Block"
......@@ -317,7 +317,7 @@
<c-input
type="textarea"
v-model="model.lidgrp.a2b.pts.adrblk"
maxlength="35"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入Address Block"
......@@ -364,9 +364,7 @@
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('lidgrp.avb.pts.extkey')
"
@keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -411,6 +409,7 @@
v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135"
:rows="4"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="18">
<el-form-item label="Special Payment Conditions" prop="lidgrp.blk.spcben">
<el-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben">
<c-input type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" :rows="30" show-word-limit placeholder="请输入Special Payment Conditions" ></c-input>
</el-form-item>
</c-col>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="18">
<el-form-item label="Special Payment " prop="lidgrp.blk.spcrcb">
<el-form-item label="Special Payment Conditions for Bank Only" prop="lidgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" :rows="30" show-word-limit placeholder="请输入Special Payment " ></c-input>
</el-form-item>
</c-col>
......
......@@ -2,17 +2,10 @@
<c-page title="进口信用证开立">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form
:model="model"
......@@ -77,10 +70,10 @@
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
......@@ -96,10 +89,8 @@
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查表" name="addbcb">
......@@ -127,7 +118,11 @@
</el-tab-pane>
<!--PD000110 -->
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp">
<el-tab-pane
label="2106银行跟单结算及表外融资"
name="libp"
v-if="this.model.cnybop.libflg == '1'"
>
<m-libp :model="model" :codes="codes" />
</el-tab-pane>
......@@ -225,6 +220,7 @@ import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Litopn",
components: {
"m-ovwp": Ovwp,
"m-aamp": Aamp,
......@@ -271,19 +267,19 @@ export default {
};
},
methods: {
//>==== 该目录下的tabclick要注释掉不然会将commonProcess里的覆盖 ===<
// tabClick(tab) {
// // const name = tab.name;
// // let rulePath;
// // if (name === "libp") {
// // rulePath = "cnybop.libp";
// // }
// // this.executeRule(rulePath).then((res) => {
// // if (res.respCode == SUCCESS) {
// // this.updateModel(res.data);
// // }
// // });
// },
//>==== 该目录下的tabclick要注释掉不然会将commonProcess里的覆盖 ===<
// tabClick(tab) {
// // const name = tab.name;
// // let rulePath;
// // if (name === "libp") {
// // rulePath = "cnybop.libp";
// // }
// // this.executeRule(rulePath).then((res) => {
// // if (res.respCode == SUCCESS) {
// // this.updateModel(res.data);
// // }
// // });
// },
},
created: async function () {
console.log("进入litopn交易");
......@@ -292,7 +288,7 @@ export default {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
if (this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
......
......@@ -14,12 +14,7 @@
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="
valueChange(
$event,
'mtabut.coninf.oitinf.oit.inflev'
)
"
@change="selectOrCheckboxRule('mtabut.coninf.oitinf.oit.inftxt')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
</el-form-item>
......@@ -53,12 +48,7 @@
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="
valueChange(
$event,
'mtabut.coninf.oitset.oit.inflev'
)
"
@change="selectOrCheckboxRule('mtabut.coninf.oitset.oit.inftxt')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
</el-form-item>
......@@ -139,7 +129,7 @@ export default {
var temp = this.model.mtabut.coninf.oitinf.oit.inftxt.rows;
if(temp != null){
for(let i = 0; i < temp.length; i++){
if(temp[i].trim() > 0){
if(temp[i].trim().length > 0){
return false;
}
}
......@@ -152,7 +142,7 @@ export default {
var temp = this.model.mtabut.coninf.oitset.oit.inftxt.rows;
if(temp != null){
for(let i = 0; i < temp.length; i++){
if(temp[i].trim() > 0){
if(temp[i].trim().length > 0){
return false;
}
}
......
......@@ -133,7 +133,7 @@
size="small"
:disabled="
model.trnmod.trndoc.doceot[scope.row.index]
.pandsc == 'MT799' &&
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row,model.trnmod.trndoc.doceot[scope.row.index])"
......
<template>
<ReviewWrapper>
<Getamc></Getamc>
</ReviewWrapper>
</template>
<script>
import Getamc from "~/views/Business/Getamc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetamc",
components: { ReviewWrapper, Getamc },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Gitcom></Gitcom>
</ReviewWrapper>
</template>
<script>
import Gitcom from "~/views/Business/Gitcom";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcom",
components: { ReviewWrapper, Gitcom },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -24,6 +24,8 @@ import ReviewBftsnd from "./Business/ReviewBftsnd.vue";
import ReviewBftdcr from "./Business/ReviewBftdcr.vue";
import ReviewLitopn from "./Business/ReviewLitopn.vue";
import ReviewBftset from "./Business/ReviewBftset.vue";
import ReviewGitcom from "./Business/ReviewGitcom.vue";
import ReviewGetamc from "./Business/ReviewGetamc.vue";
import ReviewBftdrv from "./Business/ReviewBftdrv.vue";
......@@ -72,6 +74,8 @@ const ReviewRouter = [
{ path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } },
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
{ path: "gitcom", component: ReviewGitcom, name: "ReviewGitcom", meta: { title: "复核-Gitcom" } },
{ path: "getamc", component: ReviewGetamc, name: "ReviewGetamc", meta: { title: "复核-Getamc" } },
{ path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } },
];
......
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