Commit eefd2a56 by zhujiazhan

Brtlat,Brtset,Cptadv,Cptopn交易BUG修改

parent 043c6175
......@@ -23,7 +23,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -45,7 +45,7 @@ export default {
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -58,7 +58,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -90,7 +90,7 @@ export default {
"brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 5,message:"长度不能超过5"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -102,8 +102,8 @@ export default {
],
"brdgrp.blk.prsdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{type: "string", required: false, message: "必输项"},
{max: 150,message:"长度不能超过150"}
],
"setmod.doccur":[
......@@ -111,7 +111,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -317,12 +317,18 @@ export default {
},
async onChangeDocamt(){
this.flag3 = false;
let isNull = this.model.mtabut.clsflg; //获取调用前的勾选状态
let rtnmsg = await this.executeRule("setmod.docamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.flag3 = true;
//初始化勾选
if(isNull != ""){ //如果调用前为勾选,调后也勾选
this.model.mtabut.clsflg="X";
}
}
else
{
......
......@@ -74,6 +74,27 @@ let checkObj = {
"cpdgrp.snd.namelc" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"cnybop.vouflg" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"bopmod.dbbgrp.bas.custype" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"bopmod.dbbgrp.bas.txccy" :null,
}
for (const key in checkObj) {
......
......@@ -72,5 +72,11 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -529,7 +529,77 @@ export default {
],
"bopmod.szflg":[
{type: "string", required: true, message: "必输项"},
],
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
}
\ No newline at end of file
......@@ -160,6 +160,50 @@ export default class Cptadv{
outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp:"", // 款项来源 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 付款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
actuccy:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .bopmod.dbbgrp.bas.lcbgno
issdate:"", // 开证日期 .bopmod.dbbgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbbgrp.bas.tenor
txccy:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeamt
},
},
},
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
......@@ -199,6 +243,8 @@ export default class Cptadv{
saddwordtra:"",
sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale
outscale:"",
saddwordout:"",
},
pageId: "" // ctx的key
}
......
......@@ -93,6 +93,46 @@ let checkObj = {
"cpdgrp.snd.namelc" :null,
"cpdgrp.rec.cur71f" :null,
"cnybop.vouflg" :null,
"cnybop.cnyout.sbalancemode" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"cnybop.cnyout.iaccountperiod" :null,
"cnybop.cnyout.sbanktrano" :null,
"bopmod.dbbgrp.bas.custype" :null,
"cnybop.saddwordout" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"cnybop.cnyout.sswiftbic" :null,
"cnybop.cnyout.sbankorgcode" :null,
"cnybop.cnyout.cpayeraccttyp" :null,
"cnybop.spayeename" :null,
"cnybop.cnyout.fpayeeamt" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"cnybop.outscale" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"cnybop.sbankname" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"cnybop.cnyout.dpayeedate" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"cnybop.cnyout.frecordamt" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"cnybop.spayername" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"cnybop.cnyout.spayeecny" :null,
"cnybop.cnyout.spayercountrycode" :null,
"bopmod.dbbgrp.bas.txccy" :null,
"cnybop.cnyout.sorilevyno" :null,
"cnybop.cnyout.cpayeeattr" :null,
"cnybop.cnyout.ftotalamt" :null,
"cnybop.cnyout.spayeeorgcode" :null,
}
for (const key in checkObj) {
......
......@@ -90,5 +90,13 @@ export default {
"trdgrp.rec.ownref" :Utils.defaultFunction,
// "cptp.payeecountcode" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
"cnybop.cnyout.spayercountrycode" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -548,7 +548,191 @@ export default {
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"cnybop.cnyout.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnyout.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyout.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.cnyout.spayeeacct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.cnyout.spayeeorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.spayeename":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyout.spayercountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.spayername":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyout.sswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyout.smidtransbank":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyout.spayeracct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.outscale":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyout.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnyout.fprepayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.iaccountperiod":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyout.ftotalamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.sorilevyno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"cnybop.cnyout.fpayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.fonshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.fcustomsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.foffshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.frecordamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.fnogoodsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.saddwordout":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
......
......@@ -5,8 +5,6 @@ export default {
"cpdgrp.rec.orcacc": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.cpdflg": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.orc.pts.namcn": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.liqtyp": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.liqtyp": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.swftyp": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.cbs.max.cur": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.cbs.max.amt": [{ required: true, message: '必输项', trigger: 'change' }],
......
......@@ -3,6 +3,58 @@ import Pts from "../Common/Pts"
export default class Cptopn{
constructor () {
this.data = {
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 付款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
actuccy:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .bopmod.dbbgrp.bas.lcbgno
issdate:"", // 开证日期 .bopmod.dbbgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbbgrp.bas.tenor
txccy:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeamt
},
},
},
cpdgrp:{
rec:{
ownref:"", // Our Reference .cpdgrp.rec.ownref
......@@ -265,20 +317,38 @@ export default class Cptopn{
},
},
},
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
},
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnyout:{
spk:"", // 业务主键 .cnybop.cnyout.spk
sbankorgcode:"", // 银行机构代码 .cnybop.cnyout.sbankorgcode
spayeeorgcode:"", // 付款人机构代码 .cnybop.cnyout.spayeeorgcode
spayercountrycode:"", // 收款人常驻国家(地区)代码 .cnybop.cnyout.spayercountrycode
sswiftbic:"", // 收款行SWIFT BIC .cnybop.cnyout.sswiftbic
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyout.cpayeraccttyp
spayeracct:"", // 清算(结算)帐户帐号 .cnybop.cnyout.spayeracct
smidtransbank:"", // 中�'转汇行 .cnybop.cnyout.smidtransbank
dpayeedate:"", // 付款日期 .cnybop.cnyout.dpayeedate
sorilevyno:"", // 原申报号码 .cnybop.cnyout.sorilevyno
sbanktrano:"", // 银行业务编号 .cnybop.cnyout.sbanktrano
sbalancemode:"", // 结算方式 .cnybop.cnyout.sbalancemode
iaccountperiod:"", // 结�'�期 .cnybop.cnyout.iaccountperiod
fpayeeamt:"", // 货物贸易付款金额 .cnybop.cnyout.fpayeeamt
fcustomsamt:"", // 已报关付款金额 .cnybop.cnyout.fcustomsamt
frecordamt:"", // 已备案付款金额 .cnybop.cnyout.frecordamt
fprepayeeamt:"", // 预付款金额 .cnybop.cnyout.fprepayeeamt
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyout.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyout.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyout.fnogoodsamt
cpayeeattr:"", // 付款人属性 .cnybop.cnyout.cpayeeattr
spayeecny:"", // 付款币种 .cnybop.cnyout.spayeecny
spayeeacct:"", // 付款人账号 .cnybop.cnyout.spayeeacct
ftotalamt:"", // 原币金额 .cnybop.cnyout.ftotalamt
},
spayeename:"", // 付款人名称 .cnybop.spayeename
spayername:"", // 收款人名称 .cnybop.spayername
saddwordout:"", // 交易附言 .cnybop.saddwordout
sbankname:"", // 银行机构名称 .cnybop.sbankname
outscale:"", // OUTSCALE .cnybop.outscale
},
pageId: "" // ctx的key
}
......
......@@ -290,18 +290,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
......@@ -314,18 +302,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOutctySelbut1(){
let rtnmsg = await this.executeRule("outcty.selbut1")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -164,7 +164,7 @@
<br>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gleflg" >系统内付款且过账</c-checkbox>
<c-checkbox v-model="model.gleflg" true-label="X">系统内付款且过账</c-checkbox>
</c-col>
<c-col :span="24">
......
......@@ -60,6 +60,10 @@
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="overview" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="不符点/说明" name="docpre">
<m-docpre :model="model" :codes="codes"/>
......@@ -135,6 +139,7 @@ import Dnfp from "./Dnfp"
import Detp from "./Detp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Ovwp from "./Ovwp"
import Cmnsetl1 from "./Cmnsetl1"
import Syswrndisplay from "./Syswrndisplay"
......@@ -173,6 +178,7 @@ export default {
"m-cmnsetl1" : Cmnsetl1,
"m-syswrndisplay" : Syswrndisplay,
"m-limitbody": Limitbody,
"m-ovwp" : Ovwp,
},
provide() {
return {
......@@ -216,8 +222,9 @@ export default {
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
this.model.gleflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
......
......@@ -136,12 +136,14 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Tenor Stream" prop="liaall.tenstm.rows">
<el-form-item label="Tenor Stream" >
<c-istream-table
:list="model.liaall.tenstm.rows"
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="columns"
:showSelection=true
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</el-form-item>
......@@ -212,6 +214,7 @@
placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg"
@change="commonExecuteRule('trnmod.cmtflg')"
:disabled="model.brdgrp.rec.frepayflg == ''?false:true"
>
</c-select>
</el-form-item>
......
......@@ -31,7 +31,7 @@
<!--PD000005 -->
<el-tab-pane label="Seting Doc" name="utlp">
<c-content>
<m-utlp :model="model" :codes="codes"/>
<m-utlp ref="utlp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -123,7 +123,7 @@
</el-tab-pane>
<!--PD000131 -->
<el-tab-pane :label=this.det202cvName name="det202cv" v-if="model.mtabut.clsflg !=''">
<el-tab-pane :label=this.det202cvName name="det202cv" v-if="model.mtabut.clsflg =='x'">
<c-content>
<m-det202cv :model="model" :codes="codes" />
</c-content>
......@@ -264,6 +264,7 @@ export default {
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$refs.utlp.$refs.table.$refs.table.toggleAllSelection(); //表格,默认勾选
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
......
......@@ -41,7 +41,7 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="cpdgrp.rec.nam">
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
maxlength="40"
......
......@@ -76,6 +76,26 @@
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" >
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" >
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
-->
<el-tab-pane label="境外汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="境内汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='2'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -112,6 +132,7 @@ import Check from "~/model/Cptadv/Check";
// import Docpan from "./Docpan";
import Sbxx from "./Sbxx";
import Incp from "./Incp";
import Basp from "./Basp"
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
......@@ -133,6 +154,7 @@ export default {
"m-ptap": Ptap,
"m-docpan2": Docpan2,
"m-incp": Incp,
"m-basp": Basp,
},
provide() {
return {
......
......@@ -2584,10 +2584,10 @@ export default {
},
watch:{
//通过账号、收款人账号控制原始金额、发报行扣费金额、汇率
"model.cpdgrp.orc.pts.extkey":{
"model.cpdgrp.pye.pts.extkey":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.orc.pts.extkey != '' && this.model.cpdgrp.pye.pts.extkey != ''){
if(this.model.cpdgrp.pye.pts.extkey != '' && this.model.cpdgrp.rec.swftyp != ''){
this.flag3=true;
}
else{
......@@ -2596,10 +2596,10 @@ export default {
}
}
},
"model.cpdgrp.pye.pts.extkey":{
"model.cpdgrp.rec.swftyp":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.orc.pts.extkey != '' && this.model.cpdgrp.pye.pts.extkey != ''){
if(this.model.cpdgrp.pye.pts.extkey != '' && this.model.cpdgrp.rec.swftyp != ''){
this.flag3=true;
}
else{
......
......@@ -424,24 +424,6 @@
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
......
......@@ -80,20 +80,23 @@
<m-sbxx :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
label="境内汇款申请书-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<!--
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" >
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" >
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
-->
<el-tab-pane label="境外汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="境内汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='2'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane
label="2111跨境支出信息"
......@@ -160,6 +163,8 @@ import Payment from "./Payment103.vue";
// import Payment103 from "./Det103.vue"
// import Payment202 from "./Det202.vue"
import Coninfp from "~/views/Public/Coninfp";
import Basp from "./Basp"
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
......@@ -185,6 +190,7 @@ export default {
"m-outp": Outp,
"m-AdditionalInfo": AdditionalInfo,
"m-Payment": Payment,
"m-basp": Basp,
// "m-Payment103": Payment103,
// "m-Payment202": Payment202
},
......
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