Commit 83ca5633 by zhujiazhan

Brtset、Cptadv、Cptopn交易BUG修改

parent 9a34c184
...@@ -6,6 +6,7 @@ import Api from "~/service/Api"; ...@@ -6,6 +6,7 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"bopmod.dbcgrp.bas.buscode" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.dfuflg" :Utils.defaultFunction, "dftcre.dfdgrp.rec.dfuflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.fintyp" :Utils.defaultFunction, "dftcre.dfdgrp.rec.fintyp" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction, "bptbck.dscbckcur" :Utils.defaultFunction,
...@@ -18,7 +19,9 @@ export default { ...@@ -18,7 +19,9 @@ export default {
"brdgrp.prb.namelc" :Utils.defaultFunction, "brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction, "brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction, "brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.rptno" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction, "cnybop.libflg" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.methods" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction, "setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
...@@ -57,6 +60,8 @@ export default { ...@@ -57,6 +60,8 @@ export default {
"dftcre.oricur" :Utils.defaultFunction, "dftcre.oricur" :Utils.defaultFunction,
"cfabrt.basflg" :Utils.defaultFunction, "cfabrt.basflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction, "lidgrp.rec.ownref" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.tmpref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction, "liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction, "liaall.limmod.ccvamt" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.adrblk" :Utils.defaultFunction, "dftcre.dfdgrp.dff.pts.adrblk" :Utils.defaultFunction,
...@@ -82,6 +87,7 @@ export default { ...@@ -82,6 +87,7 @@ export default {
"liaall.liaccv.concur" :Utils.defaultFunction, "liaall.liaccv.concur" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction, "brdgrp.rec.stadat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction, "bopmod.dclflg" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction, "liaall.liaccv.addinf" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.flttyp" :Utils.defaultFunction, "dftcre.dfdgrp.rec.flttyp" :Utils.defaultFunction,
...@@ -96,6 +102,7 @@ export default { ...@@ -96,6 +102,7 @@ export default {
"brdgrp.cbs.opn2.cur" :Utils.defaultFunction, "brdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction, "aamset.utlamt2" :Utils.defaultFunction,
"brdgrp.cbs.opn1.amt" :Utils.defaultFunction, "brdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.custcod" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction, "liaall.misamt" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction, "dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
......
...@@ -243,5 +243,77 @@ export default { ...@@ -243,5 +243,77 @@ export default {
} }
}, },
async onSeainf() {}, async onSeainf() {},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
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 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)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
"setmod.setamt":[ "setmod.setamt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d$)|(^0\.\d$)|(^\d\.\d$)/, message: "小数位不能超过3位" }
], ],
"nar754":[ "nar754":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -602,4 +602,95 @@ export default { ...@@ -602,4 +602,95 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbcgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbcgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbcgrp.bas.actiondesc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbcgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbcgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbcgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbcgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbcgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbcgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbcgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbcgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbcgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbcgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopmod.dbcgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"bopmod.dbcgrp.bas.tenor":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
} }
\ No newline at end of file
...@@ -188,6 +188,50 @@ export default class Brtset{ ...@@ -188,6 +188,50 @@ export default class Brtset{
vrfflg:"", // 核销数据 .bopmod.vrfflg vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp acttyp:"", // 款项去向 .bopmod.acttyp
dbcp:{
baspp:{
cusnam:"", // .bopmod.dbcp.baspp.cusnam
cornam:"", // .bopmod.dbcp.baspp.cornam
corpnam:"", // .bopmod.dbcp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbcp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbcp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbcp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbcp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew
},
},
dbcgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbcgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbcgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbcgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbcgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbcgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbcgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbcgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbcgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbcgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbcgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbcgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbcgrp.bas.buscode
custype:"", // 类型 .bopmod.dbcgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbcgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbcgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbcgrp.bas.lcyamt
custnm:"", // 付款人名称 .bopmod.dbcgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbcgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbcgrp.bas.custcod
actuccy:"", // 实际付款币种及金额 .bopmod.dbcgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbcgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .bopmod.dbcgrp.bas.lcbgno
issdate:"", // 开证日期 .bopmod.dbcgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbcgrp.bas.tenor
txccy:"", // 付款币种及金额 .bopmod.dbcgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbcgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbcgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbcgrp.bas.outchargeamt
},
},
}, },
cfadft:{ cfadft:{
cfaflg:"", // 海外代付 .cfadft.cfaflg cfaflg:"", // 海外代付 .cfadft.cfaflg
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<!----------左边------------>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="申报号码" prop="bopmod.dbcgrp.bas.rptno">
<c-input v-model="model.bopmod.dbcgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="bopmod.dbcgrp.bas.actiontype">
<c-select v-model="model.bopmod.dbcgrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型" :code="codes.actiontype" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.dbcgrp.bas.ownextkey">
<c-select v-model="model.bopmod.dbcgrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="bopmod.dbcgrp.bas.buscode">
<c-input v-model="model.bopmod.dbcgrp.bas.buscode" maxlength="22" placeholder="请输入银行业务编号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="bopmod.dbcgrp.bas.custype">
<c-select v-model="model.bopmod.dbcgrp.bas.custype" style="width:100%" placeholder="请选择类型" :code="codes.custype" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="bopmod.dbcgrp.bas.custnm">
<c-input type="textarea" v-model="model.bopmod.dbcgrp.bas.custnm" maxlength="63" show-word-limit placeholder="请输入付款人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="bopmod.dbcgrp.bas.oppuser">
<c-input type="textarea" v-model="model.bopmod.dbcgrp.bas.oppuser" maxlength="63" show-word-limit placeholder="请输入收款人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="bopmod.dbcgrp.bas.idcode">
<c-input v-model="model.bopmod.dbcgrp.bas.idcode" maxlength="32" placeholder="请输入身份证件号码" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="bopmod.dbcgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbcgrp.bas.lcyamt" placeholder="请输入购汇金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbcgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbcgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbcgrp.bas.othamt">
<c-input v-model="model.bopmod.dbcgrp.bas.othamt" placeholder="请输入其它金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="bopmod.dbcgrp.bas.txccy">
<c-select v-model="model.bopmod.dbcgrp.bas.txccy" style="width:100%" placeholder="请选择付款币种及金额" :code="codes.curtxt" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="bopmod.dbcgrp.bas.txamt" label-width="5px">
<c-input v-model="model.bopmod.dbcgrp.bas.txamt" placeholder="请输入付款币种及金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实际付款币种及金额" prop="bopmod.dbcgrp.bas.actuccy">
<c-select v-model="model.bopmod.dbcgrp.bas.actuccy" style="width:100%" placeholder="请选择实际付款币种及金额" :code="codes.curtxt" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="bopmod.dbcgrp.bas.actuamt" label-width="5px">
<c-input v-model="model.bopmod.dbcgrp.bas.actuamt" placeholder="请输入实际付款币种及金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="bopmod.dbcgrp.bas.issdate">
<c-date-picker type="date" v-model="model.bopmod.dbcgrp.bas.issdate" style="width:100%" placeholder="请选择开证日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="bopmod.dbcgrp.bas.lcbgno">
<c-input v-model="model.bopmod.dbcgrp.bas.lcbgno" maxlength="20" placeholder="请输入信用证/保函编号" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="bopmod.dbcgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.bopmod.dbcgrp.bas.actiondesc" maxlength="32" show-word-limit placeholder="请输入操作类型" :rows="7" disabled ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="bopmod.dbcgrp.bas.methods">
<c-select v-model="model.bopmod.dbcgrp.bas.methods" style="width:100%" placeholder="请选择结算方式" :code="codes.methods" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构" prop="bopmod.dbcgrp.bas.custcod">
<c-input v-model="model.bopmod.dbcgrp.bas.custcod" maxlength="18" placeholder="请输入组织机构" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<br>
</c-col>
<c-col :span="24">
<br>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.dbcp.baspp.acp" disabled :checked="true">确认</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="bopmod.dbcgrp.bas.exrate">
<c-input v-model="model.bopmod.dbcgrp.bas.exrate" placeholder="请输入购汇汇率" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="bopmod.dbcgrp.bas.lcyacc">
<c-input v-model="model.bopmod.dbcgrp.bas.lcyacc" maxlength="32" placeholder="请输入人民币帐号/银行卡号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="bopmod.dbcgrp.bas.fcyacc">
<c-input v-model="model.bopmod.dbcgrp.bas.fcyacc" maxlength="32" placeholder="请输入外汇帐号/银行卡号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="bopmod.dbcgrp.bas.othacc">
<c-input v-model="model.bopmod.dbcgrp.bas.othacc" maxlength="32" placeholder="请输入其它帐号/银行卡号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="bopmod.dbcgrp.bas.outchargeccy">
<c-select v-model="model.bopmod.dbcgrp.bas.outchargeccy" style="width:100%" placeholder="请选择扣费币种及金额" :code="codes.curtxt" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="bopmod.dbcgrp.bas.outchargeamt" label-width="5px">
<c-input v-model="model.bopmod.dbcgrp.bas.outchargeamt" placeholder="请输入扣费币种及金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="bopmod.dbcgrp.bas.tenor">
<c-input v-model="model.bopmod.dbcgrp.bas.tenor" placeholder="请输入期限" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!--按钮,先屏蔽了-->
<c-col v-show="false">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
&Save
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetreftmp">
Get Ref
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetref">
GetRef
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
Modify
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
&Check
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
Delete
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
&Error
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
E&xit
</c-button>
</c-col>
</c-col>
<!--多余字段隐藏-->
<c-col v-show="false">
<c-col :span="12">
<el-form-item label="�'时申报流�'号" prop="bopmod.dbcgrp.bas.tmpref">
<c-input v-model="model.bopmod.dbcgrp.bas.tmpref" maxlength="16" placeholder="请输入�'时申报流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.tmprefnew" data-path=".bopmod.dbcp.baspp.tmprefnew" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.roptnam" data-path=".bopmod.dbcp.baspp.roptnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.cusnam" data-path=".bopmod.dbcp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.cornam" data-path=".bopmod.dbcp.baspp.cornam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.corpnam" data-path=".bopmod.dbcp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.exratelab" data-path=".bopmod.dbcp.baspp.exratelab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbcp.baspp.lcyamtlab" data-path=".bopmod.dbcp.baspp.lcyamtlab" > </span>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta"> <el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" :code="codes.docsta" disabled> <c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" :code="codes.docsta1" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
<c-istream-table <c-istream-table
:list="model.liaall.tenstm.rows" :list="model.liaall.tenstm.rows"
:columns="columns" :columns="columns"
:showSelection=true
> >
</c-istream-table> </c-istream-table>
</el-form-item> </el-form-item>
...@@ -444,12 +445,12 @@ export default { ...@@ -444,12 +445,12 @@ export default {
], ],
table1:[], table1:[],
columns:[ columns:[
"1 1 \"Type\" 40", "1 1 \"Type\" 80",
"2 2 \"Dbt\" 48", "2 2 \"Dbt\" 80",
"3 3 \"Cdt\" 48", "3 3 \"Cdt\" 80",
"4 4 \"Cur\" 48", "4 4 \"Cur\" 80",
"5 5 \"Amt\" 85 2 8 1 4", "5 5 \"Amt\" 85 2 8 1 4",
"6 6 \"Mat.Dat.\" 75 4 7 1" "6 6 \"Mat.Dat.\" 105 4 7 1"
] ]
} }
}, },
...@@ -478,6 +479,13 @@ export default { ...@@ -478,6 +479,13 @@ export default {
} }
} }
}, },
"model.setmod.docamt":{
immediate:true,
handler(val ,oldVal){
let rtnmsg = this.executeRule("setmod.docamt")
}
}
}, },
} }
</script> </script>
......
...@@ -75,9 +75,27 @@ ...@@ -75,9 +75,27 @@
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000008 --> <!--PD000008
<el-tab-pane label="外管信息" name="wg"> <el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/> <m-wg :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000002
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000009 -->
<el-tab-pane label="申报信息" name="sbxx">
<m-sbxx :model="model" :codes="codes"/>
</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>
<!--PD000061 --> <!--PD000061 -->
...@@ -85,10 +103,7 @@ ...@@ -85,10 +103,7 @@
<m-cfactlp :model="model" :codes="codes"/> <m-cfactlp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000002 -->
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD001139 --> <!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan"> <el-tab-pane label="试算结果" name="shisuan">
...@@ -134,9 +149,10 @@ import Cfactlp from "./Cfactlp" ...@@ -134,9 +149,10 @@ import Cfactlp from "./Cfactlp"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Shisuan from "./Shisuan" import Shisuan from "./Shisuan"
import Namp from "./Namp" import Namp from "./Namp"
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";
export default { export default {
name: "Brtset", name: "Brtset",
...@@ -155,8 +171,8 @@ export default { ...@@ -155,8 +171,8 @@ export default {
"m-shisuan" : Shisuan, "m-shisuan" : Shisuan,
"m-namp" : Namp, "m-namp" : Namp,
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
// "m-dftcrep" : Dftcrep, "m-sbxx": Sbxx,
"m-basp": Basp,
}, },
provide() { provide() {
return { return {
...@@ -197,6 +213,7 @@ export default { ...@@ -197,6 +213,7 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.mtabut.clsflg="X";
} }
else else
{ {
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="21">
<el-form-item label="付款人常驻国家/地区代码" prop="cnybop.cnyinc.spayercountrycode"> <el-form-item label="付款人常驻国家/地区代码" prop="cnybop.cnyinc.spayercountrycode">
<c-fullbox>
<c-input <c-input
v-model="model.cnybop.cnyinc.spayercountrycode" v-model="model.cnybop.cnyinc.spayercountrycode"
maxlength="3" maxlength="3"
...@@ -32,17 +32,16 @@ ...@@ -32,17 +32,16 @@
style="width:100%" style="width:100%"
@keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode')" @keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode')"
></c-input> ></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
style="margin-left:10px;padding: 0 10px;">
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3">
<c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="showGridPromptDialog('cptp.selbut1', null, null,{TXT: 'cnybop.cnyinc.spayercountrycode'}, {TXT: false},'doxpDialog')"> </c-button>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结算方式" prop="cnybop.cnyinc.sbalancemode"> <el-form-item label="结算方式" prop="cnybop.cnyinc.sbalancemode">
<c-select v-model="model.cnybop.cnyinc.sbalancemode" style="width:100%" placeholder="请选择结算方式"> <c-select v-model="model.cnybop.cnyinc.sbalancemode" style="width:100%" placeholder="请选择结算方式">
......
...@@ -308,6 +308,7 @@ ...@@ -308,6 +308,7 @@
v-model="model.cpdgrp.rec.curf33b" v-model="model.cpdgrp.rec.curf33b"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled = this.flag3
> >
<el-option <el-option
v-for="item in codes.currencycode" v-for="item in codes.currencycode"
...@@ -328,7 +329,7 @@ ...@@ -328,7 +329,7 @@
<c-input <c-input
v-model="model.cpdgrp.rec.amtf33b" v-model="model.cpdgrp.rec.amtf33b"
placeholder="请输入原始金额" placeholder="请输入原始金额"
:disabled = this.flag3
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -339,6 +340,7 @@ ...@@ -339,6 +340,7 @@
<c-input <c-input
v-model="model.cpdgrp.rec.f36" v-model="model.cpdgrp.rec.f36"
placeholder="" placeholder=""
:disabled = this.flag3
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -353,7 +355,7 @@ ...@@ -353,7 +355,7 @@
v-model="model.cpdgrp.rec.cur71f" v-model="model.cpdgrp.rec.cur71f"
placeholder="" placeholder=""
style="width: 100%" style="width: 100%"
:disabled = this.flag3
> >
<el-option <el-option
v-for="item in codes.currencycode" v-for="item in codes.currencycode"
...@@ -373,6 +375,7 @@ ...@@ -373,6 +375,7 @@
<c-input <c-input
v-model="model.cpdgrp.rec.amt71f" v-model="model.cpdgrp.rec.amt71f"
placeholder="请输入发报行扣费金额" placeholder="请输入发报行扣费金额"
:disabled = this.flag3
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -441,6 +444,7 @@ ...@@ -441,6 +444,7 @@
v-model="model.cpdgrp.pye.pts.adrblk" v-model="model.cpdgrp.pye.pts.adrblk"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -2516,6 +2520,7 @@ export default { ...@@ -2516,6 +2520,7 @@ export default {
], ],
infptaVisible: false, infptaVisible: false,
flag1:true, flag1:true,
flag3:false,
bustyp:[ bustyp:[
{ label: 'GODX', value: '货期贸易' }, { label: 'GODX', value: '货期贸易' },
{ label: 'STRX', value: '服务贸易' }, { label: 'STRX', value: '服务贸易' },
...@@ -2577,6 +2582,33 @@ export default { ...@@ -2577,6 +2582,33 @@ export default {
} }
}, },
watch:{
//通过账号、收款人账号控制原始金额、发报行扣费金额、汇率
"model.cpdgrp.orc.pts.extkey":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.orc.pts.extkey != '' && this.model.cpdgrp.pye.pts.extkey != ''){
this.flag3=true;
}
else{
this.flag3=false;
}
}
},
"model.cpdgrp.pye.pts.extkey":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.orc.pts.extkey != '' && this.model.cpdgrp.pye.pts.extkey != ''){
this.flag3=true;
}
else{
this.flag3=false;
}
}
},
},
methods: { methods: {
onSndpDet() { onSndpDet() {
this.$emit("onSndpDet"); this.$emit("onSndpDet");
......
...@@ -30,7 +30,13 @@ ...@@ -30,7 +30,13 @@
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
...@@ -104,6 +110,7 @@ ...@@ -104,6 +110,7 @@
label="汇款金额" label="汇款金额"
previewLabel="汇款金额币种" previewLabel="汇款金额币种"
prop="cpdgrp.cbs.nom1.cur" prop="cpdgrp.cbs.nom1.cur"
> >
<c-select <c-select
v-model="model.cpdgrp.cbs.nom1.cur" v-model="model.cpdgrp.cbs.nom1.cur"
...@@ -114,7 +121,7 @@ ...@@ -114,7 +121,7 @@
<el-option <el-option
v-for="item in codes.currencycode" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.value + item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
...@@ -131,12 +138,7 @@ ...@@ -131,12 +138,7 @@
class="m-input-currency" class="m-input-currency"
v-model="model.cpdgrp.cbs.nom1.amt" v-model="model.cpdgrp.cbs.nom1.amt"
placeholder="请输入汇款金额" placeholder="请输入汇款金额"
@keyup.enter.native=" @keyup.enter.native="defaultFunction('cpdgrp.cbs.nom1.amt', model.cpdgrp.cbs.nom1.amt)"
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -159,7 +161,7 @@ ...@@ -159,7 +161,7 @@
v-model="model.cptp.payuil" v-model="model.cptp.payuil"
placeholder="请选择汇款语种" placeholder="请选择汇款语种"
@change="onPayuilChange" @change="onPayuilChange"
style="width: 100%" style="width:100%"
> >
<el-option <el-option
v-for="item in codes.payuil" v-for="item in codes.payuil"
...@@ -174,7 +176,10 @@ ...@@ -174,7 +176,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="是否需要核验" prop="cpdgrp.rec.ischktyp"> <el-form-item
label="是否需要核验"
prop="cpdgrp.rec.ischktyp"
>
<c-select <c-select
v-model="model.cpdgrp.rec.ischktyp" v-model="model.cpdgrp.rec.ischktyp"
style="width: 100%" style="width: 100%"
...@@ -202,7 +207,7 @@ ...@@ -202,7 +207,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled="this.flag1" :disabled=this.flag1
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -224,6 +229,23 @@ ...@@ -224,6 +229,23 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</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>
<!-- ===================中部--右==================== --> <!-- ===================中部--右==================== -->
...@@ -254,7 +276,7 @@ ...@@ -254,7 +276,7 @@
<c-select <c-select
v-model="model.cpdgrp.rec.paytype" v-model="model.cpdgrp.rec.paytype"
placeholder="请选择汇款方式" placeholder="请选择汇款方式"
style="width: 100%" style="width:100%"
> >
<el-option <el-option
v-for="item in codes.paytype" v-for="item in codes.paytype"
...@@ -273,7 +295,7 @@ ...@@ -273,7 +295,7 @@
<c-select <c-select
v-model="model.cpdgrp.rec.gors" v-model="model.cpdgrp.rec.gors"
placeholder="请选择汇款对象" placeholder="请选择汇款对象"
style="width: 100%" style="width:100%"
> >
<el-option <el-option
v-for="item in codes.gors" v-for="item in codes.gors"
...@@ -285,15 +307,11 @@ ...@@ -285,15 +307,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-form-item <c-form-item label="收支类型" prop="cpdgrp.rec.sztyp" label-width="40%">
label="收支类型"
prop="cpdgrp.rec.sztyp"
label-width="40%"
>
<c-select <c-select
v-model="model.cpdgrp.rec.sztyp" v-model="model.cpdgrp.rec.sztyp"
placeholder="请选择收支类型" placeholder="请选择收支类型"
style="width: 100%" style="width:100%"
> >
<el-option <el-option
v-for="item in codes.sztyp" v-for="item in codes.sztyp"
...@@ -312,7 +330,7 @@ ...@@ -312,7 +330,7 @@
<c-select <c-select
v-model="model.cpdgrp.rec.clityp" v-model="model.cpdgrp.rec.clityp"
placeholder="请选择客户类型" placeholder="请选择客户类型"
style="width: 100%" style="width:100%"
> >
<el-option <el-option
v-for="item in codes.clityp" v-for="item in codes.clityp"
...@@ -324,21 +342,17 @@ ...@@ -324,21 +342,17 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-form-item <c-form-item label="报文类型" prop="cpdgrp.rec.swftyp" label-width="40%">
label="报文类型"
prop="cpdgrp.rec.swftyp"
label-width="40%"
>
<c-select <c-select
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
v-model="model.cpdgrp.rec.swftyp" v-model="model.cpdgrp.rec.swftyp"
:disabled="model.cpdgrp.cbs.nom1.amt === '0.000'" :disabled=this.flag2
@change="swftypChange" @change="swftypChange"
> >
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" --> <!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option <el-option
v-for="item in codes.swftypOpnp" v-for="item in this.swftypOpnp"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
:key="item.value" :key="item.value"
...@@ -354,8 +368,7 @@ ...@@ -354,8 +368,7 @@
<c-col :span="21"> <c-col :span="21">
<el-form-item <el-form-item
label="收款人常驻国家/地区代码" label="收款人常驻国家/地区代码"
prop="cptp.payeecountcode" prop="cptp.payeecountcode">
>
<c-input <c-input
v-model="model.cptp.payeecountcode" v-model="model.cptp.payeecountcode"
maxlength="3" maxlength="3"
...@@ -369,48 +382,39 @@ ...@@ -369,48 +382,39 @@
</c-col> </c-col>
<c-col :span="3"> <c-col :span="3">
<c-button <c-button
size="small"                 size="small"
type="primary"                 type="primary"
icon="el-icon-search"                 icon="el-icon-search"
@click="                 @click="showGridPromptDialog('cptp.selbut1', null, null,{TXT: 'cptp.payeecountcode'}, {TXT: false},'doxpDialog')"
showGridPromptDialog(               > </c-button>
'cptp.selbut1',
null,
null,
{ TXT: 'cptp.payeecountcode' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="4" style="float: right"> <c-col :span="4" style="float: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg" label-width="150px" <c-checkbox v-model="model.cpdgrp.rec.tsnflg" label-width="150px" >同名划转</c-checkbox>
>同名划转</c-checkbox
>
</c-col> </c-col>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
<!-- <c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item <el-form-item
label="清算模式" label="清算模式"
v-if="model.cpdgrp.cbs.nom1.cur === 'CNY'" v-if="model.cpdgrp.cbs.nom1.cur === 'CNY'">
>
<c-select <c-select
v-model="model.cptp.liqtyp" v-model="model.cptp.liqtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择清算模式" placeholder="请选择清算模式"
:disabled=" :disabled="model.cpdgrp.cbs.nom1.amt === '0.000'"
model.cpdgrp.cbs.nom1.amt === '0.000'
"
:code=this.liqtypOptions :code=this.liqtypOptions
@change="swftypChange" @change="swftypChange"
> >
<el-option
v-for="item in liqtypOptions"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -418,7 +422,7 @@ ...@@ -418,7 +422,7 @@
v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')" v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')"
></el-form-item> ></el-form-item>
</c-col> </c-col>
</c-col> --> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="货物类型"> <el-form-item label="货物类型">
...@@ -436,6 +440,8 @@ ...@@ -436,6 +440,8 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
...@@ -447,11 +453,7 @@ ...@@ -447,11 +453,7 @@
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<CptOpnp1Common <CptOpnp1Common :model="model" :codes="codes" v-on:onSndpDet="onSndpDet"></CptOpnp1Common>
:model="model"
:codes="codes"
v-on:onSndpDet="onSndpDet"
></CptOpnp1Common>
</div> </div>
</template> </template>
<script> <script>
...@@ -478,12 +480,18 @@ export default { ...@@ -478,12 +480,18 @@ export default {
{ value: "3", label: "其他" }, { value: "3", label: "其他" },
], ],
liqtypOptions: [ liqtypOptions: [
{ value: "B", label: "人行支付系统" },
{ value: "C", label: "代理行模式" }, { value: "C", label: "代理行模式" },
{ value: "O", label: "Other" }, { value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" }, { value: "S", label: "CIPS系统" },
], ],
flag1: true, swftypOpnp: [
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
],
flag1:true,
flag2:true,
}; };
}, },
methods: { methods: {
...@@ -492,27 +500,97 @@ export default { ...@@ -492,27 +500,97 @@ export default {
onCptpGetmod() {}, onCptpGetmod() {},
commonExecuteRule(ruleName) { commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => { this.executeRule(ruleName).then((res) => {
if (res.respCode == SUCCESS) { if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
}); });
}, },
}, },
watch: { watch:{
"model.cpdgrp.rec.ischktyp": { "model.cpdgrp.rec.ischktyp":{
immediate: true, immediate:true,
handler(val, oldVal) { handler(val ,oldVal){
if ( if(this.model.cpdgrp.rec.ischktyp == 'N' || this.model.cpdgrp.rec.ischktyp == ''){
this.model.cpdgrp.rec.ischktyp == "N" || this.flag1=true;
this.model.cpdgrp.rec.ischktyp == "" this.model.cpdgrp.rec.paydat="";
) { }
this.flag1 = true; else{
this.model.cpdgrp.rec.paydat = ""; this.flag1=false;
} else { }
this.flag1 = false;
} }
}, },
"model.cptp.liqtyp":{
immediate:true,
handler(val ,oldVal){
//清除数据
if(this.model.cptp.liqtyp != 'C'){
//清除liqtyp = C时填写的数据
this.model.cptp.cleage="";
this.model.cptp.evebch="";
this.model.cptp.coract="";
}else if(this.model.cptp.liqtyp != 'O'){
this.model.cpdgrp.blk.contag70="";
}else if(this.model.cptp.liqtyp != 'S'){
this.model.cptp.orcnam="";
this.model.cptp.orcadr="";
this.model.cptp.pyenam="";
this.model.cptp.pyeadr="";
this.model.cptp.reconebch="";
this.model.cptp.reconebchnam="";
this.model.cptp.cptp.bustyp="";
this.model.cptp.commetr="";
}
if(this.model.cptp.liqtyp == 'C'){
this.model.cpdgrp.rec.swftyp="103";
this.swftypOpnp=[
{ label: 'MT103', value: '103' },
{ label: 'MT202', value: '200' },
]
this.flag2 = false;
}else if(this.model.cptp.liqtyp == 'O'){
//同步切换报文类型的值
this.model.cpdgrp.rec.swftyp= "OTH";
this.flag2 = true;
}else if(this.model.cptp.liqtyp == 'S'){
this.flag2 = false;
//同步切换报文类型的值
this.model.cpdgrp.rec.swftyp= "CIU";
this.swftypOpnp=[
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
]
}else{
//当为空时,恢复下拉选的选项
this.swftypOpnp=[
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
]
}
}
}, },
"model.cpdgrp.cbs.nom1.amt":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.cbs.nom1.amt !== '0.000' && this.model.cpdgrp.cbs.nom1.cur !='CNY'){
this.flag2 = false;
}else{
this.flag2 = true;
}
}
},
"model.cpdgrp.cbs.nom1.cur":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.cbs.nom1.amt !== '0.000' && this.model.cpdgrp.cbs.nom1.cur !='CNY'){
this.flag2 = false;
}else{
this.flag2 = true;
}
}
}
}, },
created: function () {}, created: function () {},
computed: { computed: {
...@@ -526,4 +604,6 @@ export default { ...@@ -526,4 +604,6 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped>
</style> </style>
...@@ -228,6 +228,7 @@ ...@@ -228,6 +228,7 @@
<c-input <c-input
maxlength="16" maxlength="16"
placeholder="" placeholder=""
v-model="sespay.intacc"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -285,7 +286,7 @@ ...@@ -285,7 +286,7 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
v-model="setgll.setgrp.awi.pts.adrblk" v-model="this.setgll.setgrp.awi.pts.adrblk"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -423,16 +424,19 @@ export default { ...@@ -423,16 +424,19 @@ export default {
extkey: '', extkey: '',
adrblk: '', adrblk: '',
} }
},
} }
} },
sespay:{
intacc:'',
} }
}; };
}, },
methods: { ...Event, methods: { ...Event,
setgllChange(){ setgllChange(){
console.log(this.model.setmod.setglg) console.log(this.model.setmod.setglg)
this.model.setmod.setglg.setgll[this.model.setmod.setglg.setgll.length - 1].setgrp.awi.pts.extkey = this.setgll.setgrp.awi.pts.extkey; //this.model.setmod.setglg.setgll[this.model.setmod.setglg.setgll.length - 1].setgrp.awi.pts.extkey = this.setgll.setgrp.awi.pts.extkey;
this.model.setmod.setglg.setgll[this.model.setmod.setglg.setgll.length - 1].setgrp.awi.pts.adrblk = this.setgll.setgrp.awi.pts.adrblk; //this.model.setmod.setglg.setgll[this.model.setmod.setglg.setgll.length - 1].setgrp.awi.pts.adrblk = this.setgll.setgrp.awi.pts.adrblk;
} }
}, },
created: function () { created: function () {
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
v-model="model.bopmod.acttyp" v-model="model.bopmod.acttyp"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2'" :disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''"
> >
<el-option <el-option
v-for="item in codes.acttyp" v-for="item in codes.acttyp"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
v-model="model.bopmod.ownextkey" v-model="model.bopmod.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:disabled="model.bopmod.szflg==='3'" :disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''"
> >
<el-option <el-option
v-for="item in codesOwnextkey" v-for="item in codesOwnextkey"
......
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