Commit 55fc9539 by huangxin

botset,botame优化

parent b5174475
......@@ -132,6 +132,15 @@ export default {
if(name === 'basp'){
rulePath = "bopmod.dbcp.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 => {
......
......@@ -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
......
......@@ -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 {
......
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