Commit 0ae03ae3 by zhujiazhan

修改Brtset交易BUG

parent faf2da8f
...@@ -173,6 +173,9 @@ export default { ...@@ -173,6 +173,9 @@ export default {
if(name === 'incp'){ if(name === 'incp'){
rulePath = "cnybop.incp" rulePath = "cnybop.incp"
} }
if(name === 'outp'){
rulePath = "cnybop.Outp"
}
if (!!rulePath) { if (!!rulePath) {
// if(rulePath == "setmod.setpan"){ // if(rulePath == "setmod.setpan"){
// this.executeCustomRule(rulePath).then(res => { // this.executeCustomRule(rulePath).then(res => {
......
...@@ -5,6 +5,7 @@ import Utils from "~/utils" ...@@ -5,6 +5,7 @@ import Utils from "~/utils"
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null, "liaall.misamt" :null,
"bopmod.dbcgrp.bas.buscode" :null,
"dftcre.dfdgrp.rec.resamt" :null, "dftcre.dfdgrp.rec.resamt" :null,
"dftcre.dfdgrp.apl.namelc" :null, "dftcre.dfdgrp.apl.namelc" :null,
"dftcre.dfdgrp.cbs.max.cur" :null, "dftcre.dfdgrp.cbs.max.cur" :null,
...@@ -12,39 +13,58 @@ let checkObj = { ...@@ -12,39 +13,58 @@ let checkObj = {
"brdgrp.prb.adrelc" :null, "brdgrp.prb.adrelc" :null,
"cnybop.outflg" :null, "cnybop.outflg" :null,
"cfatrt.cfaflg" :null, "cfatrt.cfaflg" :null,
"bopmod.dbcgrp.bas.exrate" :null,
"bopmod.dbcgrp.bas.custype" :null,
"bopmod.dbcgrp.bas.idcode" :null,
"bopmod.dbcgrp.bas.oppuser" :null,
"brdgrp.prb.pts.adrblk" :null, "brdgrp.prb.pts.adrblk" :null,
"dftcre.dfdgrp.rec.bankno" :null, "dftcre.dfdgrp.rec.bankno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"dftcre.dfdgrp.apl.pts.extkey" :null, "dftcre.dfdgrp.apl.pts.extkey" :null,
"bopmod.dbcgrp.bas.fcyamt" :null,
"cfatrt.ownextkey" :null, "cfatrt.ownextkey" :null,
"bopmod.dbcgrp.bas.issdate" :null,
"bopmod.dbcgrp.bas.lcbgno" :null,
"liaall.liaccv.totcovamt" :null, "liaall.liaccv.totcovamt" :null,
"cfabrt.ownextkey" :null, "cfabrt.ownextkey" :null,
"dftcre.dfdgrp.dff.pts.extkey" :null, "dftcre.dfdgrp.dff.pts.extkey" :null,
"bopmod.dbcgrp.bas.custnm" :null,
"cfabrt.cfaflg" :null, "cfabrt.cfaflg" :null,
"cfatrt.cda.useofunds" :null, "cfatrt.cda.useofunds" :null,
"bopmod.dbcgrp.bas.methods" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null, "cnybop.cnyflg" :null,
"dftcre.dfdgrp.rec.invtyp" :null, "dftcre.dfdgrp.rec.invtyp" :null,
"cfatrt.cda.cfeogudamount" :null, "cfatrt.cda.cfeogudamount" :null,
"dftcre.dfdgrp.rec.stttendat" :null, "dftcre.dfdgrp.rec.stttendat" :null,
"bopmod.dbcgrp.bas.txamt" :null,
"brdgrp.prb.pts.ref" :null, "brdgrp.prb.pts.ref" :null,
"bopmod.dbcgrp.bas.fcyacc" :null,
"brdgrp.apl.pts.nam" :null, "brdgrp.apl.pts.nam" :null,
"cfadft.ownextkey" :null, "cfadft.ownextkey" :null,
"brtp.ischktyp" :null, "brtp.ischktyp" :null,
"hmdmod2.bennam" :null, "hmdmod2.bennam" :null,
"trnmod.swftyp" :null, "trnmod.swftyp" :null,
"bopmod.dbcgrp.bas.outchargeccy" :null,
"bopmod.dbcgrp.bas.othamt" :null,
"bopmod.dbcgrp.bas.actuamt" :null,
"dftcre.dfdgrp.dff.adrelc" :null, "dftcre.dfdgrp.dff.adrelc" :null,
"dftcre.dfdgrp.rec.fintyp" :null, "dftcre.dfdgrp.rec.fintyp" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"dftcre.dfdgrp.rec.matdat" :null, "dftcre.dfdgrp.rec.matdat" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"dftcre.dfdgrp.rec.dfuflg" :null, "dftcre.dfdgrp.rec.dfuflg" :null,
"bopmod.dbcgrp.bas.othacc" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bopmod.dbcgrp.bas.actuccy" :null,
"bopmod.dbcgrp.bas.actiontype" :null,
"dftcre.dfdgrp.rec.bankcn" :null, "dftcre.dfdgrp.rec.bankcn" :null,
"bopmod.dbcgrp.bas.lcyamt" :null,
"bopmod.szflg" :null, "bopmod.szflg" :null,
"dftcre.dfdgrp.rec.trntyp" :null, "dftcre.dfdgrp.rec.trntyp" :null,
"brdgrp.cbs.max.amt" :null, "brdgrp.cbs.max.amt" :null,
"bopmod.dbcgrp.bas.actiondesc" :null,
"cfadft.cfaflg" :null, "cfadft.cfaflg" :null,
"cnybop.traflg" :null, "cnybop.traflg" :null,
"brdgrp.prb.namelc" :null, "brdgrp.prb.namelc" :null,
...@@ -52,6 +72,7 @@ let checkObj = { ...@@ -52,6 +72,7 @@ let checkObj = {
"dftcre.dfdgrp.rec.flttyp" :null, "dftcre.dfdgrp.rec.flttyp" :null,
"dftcre.dfdgrp.rec.actrat" :null, "dftcre.dfdgrp.rec.actrat" :null,
"brtp.prechkdat" :null, "brtp.prechkdat" :null,
"bopmod.dbcgrp.bas.rptno" :null,
"dftcre.dfdgrp.dff.pts.adrblk" :null, "dftcre.dfdgrp.dff.pts.adrblk" :null,
"dftcre.dfdgrp.rec.intprd" :null, "dftcre.dfdgrp.rec.intprd" :null,
"brdgrp.prb.pts.nam" :null, "brdgrp.prb.pts.nam" :null,
...@@ -60,14 +81,18 @@ let checkObj = { ...@@ -60,14 +81,18 @@ let checkObj = {
"setmod.redamt" :null, "setmod.redamt" :null,
"aamset.utlamt2" :null, "aamset.utlamt2" :null,
"dftcre.dfdgrp.apl.pts.adrblk" :null, "dftcre.dfdgrp.apl.pts.adrblk" :null,
"bopmod.dbcgrp.bas.custcod" :null,
"brdgrp.prb.pts.extkey" :null, "brdgrp.prb.pts.extkey" :null,
"trnmod.cmtflg" :null, "trnmod.cmtflg" :null,
"bopmod.dbcgrp.bas.txccy" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null, "bopmod.basflg" :null,
"dftcre.dfdgrp.dff.namelc" :null, "dftcre.dfdgrp.dff.namelc" :null,
"brdgrp.rec.frepayflg" :null, "brdgrp.rec.frepayflg" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bopmod.dbcgrp.bas.lcyacc" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"bopmod.dbcgrp.bas.outchargeamt" :null,
"cnybop.libflg" :null, "cnybop.libflg" :null,
"bopmod.ownextkey" :null, "bopmod.ownextkey" :null,
"cfatrt.cda.cfeogudcurr" :null, "cfatrt.cda.cfeogudcurr" :null,
......
...@@ -315,5 +315,19 @@ export default { ...@@ -315,5 +315,19 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onChangeDocamt(){
this.flag3 = false;
let rtnmsg = await this.executeRule("setmod.docamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.flag3 = true;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
], ],
"brdgrp.rec.tenmaxday":[ "brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
...@@ -96,9 +96,6 @@ export default { ...@@ -96,9 +96,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.tenstm":[ "liaall.tenstm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
...@@ -120,15 +117,14 @@ export default { ...@@ -120,15 +117,14 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"setmod.docamt":[ "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"setmod.setamt":[ "setmod.setamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d$)|(^0\.\d$)|(^\d\.\d$)/, message: "小数位不能超过3位" }
], ],
"nar754":[ "nar754":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -137,13 +133,13 @@ export default { ...@@ -137,13 +133,13 @@ export default {
"aamset.utlamt":[ "aamset.utlamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"aamset.utlamt2":[ "aamset.utlamt2":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -179,7 +175,7 @@ export default { ...@@ -179,7 +175,7 @@ export default {
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 100,message:"长度不能超过100"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -9,6 +9,44 @@ export default class Brtset{ ...@@ -9,6 +9,44 @@ export default class Brtset{
constructor () { constructor () {
const pub = new Public() const pub = new Public()
this.data = { this.data = {
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
},
brdgrp:{ brdgrp:{
rec:{ rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref ownref:"", // 单据参考号 .brdgrp.rec.ownref
...@@ -258,13 +296,6 @@ export default class Brtset{ ...@@ -258,13 +296,6 @@ export default class Brtset{
dclflg:"", // 变动信息 .cfabrt.dclflg dclflg:"", // 变动信息 .cfabrt.dclflg
ownextkey:"", // 地区机构号 .cfabrt.ownextkey ownextkey:"", // 地区机构号 .cfabrt.ownextkey
}, },
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
hmdmod2:{ hmdmod2:{
bennam:"", // 交易对手名称 .hmdmod2.bennam bennam:"", // 交易对手名称 .hmdmod2.bennam
}, },
......
...@@ -141,6 +141,7 @@ ...@@ -141,6 +141,7 @@
:list="model.liaall.tenstm.rows" :list="model.liaall.tenstm.rows"
:columns="columns" :columns="columns"
:showSelection=true :showSelection=true
v-on:multipleSelect="multipleSelect"
> >
</c-istream-table> </c-istream-table>
</el-form-item> </el-form-item>
...@@ -154,7 +155,7 @@ ...@@ -154,7 +155,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px" prop="setmod.docamt"> <el-form-item label="" label-width="5px" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入document amount" @blur="onChangeDocamt"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -167,7 +168,7 @@ ...@@ -167,7 +168,7 @@
<c-col :span="11"> <c-col :span="11">
<c-fullbox> <c-fullbox>
<el-form-item label="" label-width="5px" prop="setmod.setamt"> <el-form-item label="" label-width="5px" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入document amount" disabled></c-input> <c-input v-model="model.setmod.setamt" placeholder="请输入document amount" :disabled=this.flag3></c-input>
</el-form-item> </el-form-item>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
...@@ -184,7 +185,7 @@ ...@@ -184,7 +185,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt" label-width="5px"> <el-form-item label="" prop="aamset.utlamt" label-width="5px">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额" disabled></c-input> <c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额" :disabled=this.flag3></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -198,7 +199,7 @@ ...@@ -198,7 +199,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt2" label-width="5px"> <el-form-item label="" prop="aamset.utlamt2" label-width="5px">
<c-input v-model="model.aamset.utlamt2" placeholder="" disabled></c-input> <c-input v-model="model.aamset.utlamt2" placeholder="" :disabled=this.flag3></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -217,7 +218,7 @@ ...@@ -217,7 +218,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Close Flag" label-width="80px" prop="setmod.docamt" style="margin-left:20px"> <el-form-item label="Close Flag" label-width="80px" prop="setmod.docamt" style="margin-left:20px">
<c-checkbox v-model="model.mtabut.clsflg" style="margin-left:20px"></c-checkbox> <c-checkbox v-model="model.mtabut.clsflg" style="margin-left:20px" true-label="X"></c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -438,6 +439,7 @@ export default { ...@@ -438,6 +439,7 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
flag3:true,
cmtflg:[ cmtflg:[
{ label: "代理行模式", value: "C" }, { label: "代理行模式", value: "C" },
{ label: "Other", value: "O" }, { label: "Other", value: "O" },
...@@ -463,6 +465,17 @@ export default { ...@@ -463,6 +465,17 @@ export default {
} }
}); });
}, },
async multipleSelect(selection) {
if(selection.length>0){
console.log(selection);
let line = this.model.liaall.tenstm.rows[selection];
let lines = line.split('\t');
this.model.setmod.docamt = lines[5];
}else{
this.model.setmod.docamt = 0.000;
}
this.onChangeDocamt();
},
}, },
created:function(){ created:function(){
...@@ -479,13 +492,6 @@ export default { ...@@ -479,13 +492,6 @@ export default {
} }
} }
}, },
"model.setmod.docamt":{
immediate:true,
handler(val ,oldVal){
let rtnmsg = this.executeRule("setmod.docamt")
}
}
}, },
} }
</script> </script>
......
...@@ -115,6 +115,29 @@ ...@@ -115,6 +115,29 @@
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000130 -->
<el-tab-pane :label=this.det756Name name="det756" v-if="model.mtabut.clsflg !=''">
<c-content>
<m-det756 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000131 -->
<el-tab-pane :label=this.det202cvName name="det202cv" v-if="model.mtabut.clsflg !=''">
<c-content>
<m-det202cv :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
label="2111跨境支出信息"
name="outp"
v-if="model.cnybop.outflg == '1'"
>
<m-outp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 <!--PD000001
<el-tab-pane label="Payment 756 PRB CNY 13541.00" name="det756"> <el-tab-pane label="Payment 756 PRB CNY 13541.00" name="det756">
<m-det756 :model="model" :codes="codes"/> <m-det756 :model="model" :codes="codes"/>
...@@ -153,6 +176,9 @@ import Basp from "./Basp" ...@@ -153,6 +176,9 @@ import Basp from "./Basp"
// import Dftcrep from "./Dftcrep" // import Dftcrep from "./Dftcrep"
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Sbxx from "~/views/Public/Sbxx"; import Sbxx from "~/views/Public/Sbxx";
import Det756 from "./Det756";
import Det202cv from "./Det202cv";
import Outp from "./Outp";
export default { export default {
name: "Brtset", name: "Brtset",
...@@ -173,6 +199,9 @@ export default { ...@@ -173,6 +199,9 @@ export default {
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
"m-sbxx": Sbxx, "m-sbxx": Sbxx,
"m-basp": Basp, "m-basp": Basp,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-outp": Outp,
}, },
provide() { provide() {
return { return {
...@@ -183,6 +212,8 @@ export default { ...@@ -183,6 +212,8 @@ export default {
computed: {}, computed: {},
data(){ data(){
return { return {
det202cvName:"Payment 202 PRB",
det756Name:"Payment 756 PRB" ,
tabVal: "utlp", tabVal: "utlp",
trnName: "brtset", trnName: "brtset",
model: new Brtset().data, model: new Brtset().data,
...@@ -204,7 +235,24 @@ export default { ...@@ -204,7 +235,24 @@ export default {
} }
}, },
watch:{ watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
this.det202cvName= "Payment 202 PRB "+cur+" "+ amt;
this.det756Name = "Payment 756 PRB "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
this.det202cvName= "Payment 202 PRB "+cur+" "+ amt;
this.det756Name = "Payment 756 PRB "+cur+" "+ amt;
}
},
}, },
created:async function(){ created:async function(){
......
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