Commit abc91ef7 by Wuyuqiu

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 615e9e4f a6a57604
......@@ -14,7 +14,35 @@ export default class Brteus{
liaall: new Pub().data.Liaall, //加入公共面板表外字段
brdgrp:{
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.rmb.namelc
adrelc:"", // 地址 .brdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.rmb.dbfadrblkcn
},
beb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.beb.namelc
adrelc:"", // 地址 .brdgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.beb.dbfadrblkcn
},
blk: {
docdis: "", // Discrepancies .brdgrp.blk.docdis
docdisflg: "", // discrepancies modified .brdgrp.blk.docdisflg
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges .brdgrp.blk.chaadd
nartxt77a:"", // Narrative TAG 77A of MT754 .brdgrp.blk.nartxt77a
},
rec:{
totdat: "", // 付款日期 .brdgrp.rec.totdat
totcur:"", // Total Amount Claimed .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
......@@ -24,7 +52,7 @@ export default class Brteus{
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
advtyp: "", // Type of Advice Received .brdgrp.rec.advtyp //brtudp交易沿用过来显示的页面字段
advtyp: "", // Type of Advice Received .brdgrp.rec.advtyp //brtudp交易沿用过来显示的页面字段
},
cbs:{
max:{
......@@ -35,6 +63,12 @@ export default class Brteus{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2: {
cur: "", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
......
......@@ -15,10 +15,17 @@ export default {
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
......
......@@ -4,27 +4,29 @@ import Utils from "~/utils"
* Bttdrv Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"btdgrp.blk.comcon" :null,
"btdgrp.prb.pts.adrblk" :null,
"bttp.prpp.ptsget.sdamod.dadsnd" :null,
"btdgrp.prp.pts.extkey" :null,
"btdgrp.prp.namelc" :null,
"btdgrp.prb.namelc" :null,
"bttp.othp.ptsget.sdamod.dadsnd" :null,
"btdgrp.blk.setinsbt" :null,
"btdgrp.blk.docdis" :null,
"btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null,
"btdgrp.oth.pts.adrblk" :null,
"setmod.dspflg" :null,
"btdgrp.prb.pts.extkey" :null,
"btdgrp.rec.rcvdatbe1" :null,
"btdgrp.be1.pts.nam" :null,
"btdgrp.rec.rcvdatbe1" :null,
"btdgrp.prp.adrelc" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"btdgrp.blk.intdis" :null,
"btdgrp.oth.adrelc" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"btdgrp.prp.pts.adrblk" :null,
"bttp.recget.sdamod.dadsnd" :null,
"btdgrp.cbs.opnbe1amt.amt" :null,
"btdgrp.oth.pts.extkey" :null,
"bttp.ledget.sdamod.dadsnd" :null,
"setmod.docamt" :null,
"btdgrp.oth.namelc" :null,
"btdgrp.be2.pts.nam" :null,
}
......
......@@ -6,42 +6,57 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prp.pts.extkey" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.oth.pts.extkey" :Utils.defaultFunction,
"btdgrp.oth.adrelc" :Utils.defaultFunction,
"btdgrp.oth.namelc" :Utils.defaultFunction,
"btdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.be2amt" :Utils.defaultFunction,
"oldbtdgrp.be2amt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.be2amt" :Utils.defaultFunction,
"oldbtdgrp.be2amt" :Utils.defaultFunction,
"btdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.prp.pts.adrblk" :Utils.defaultFunction,
"btdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"oldbtdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"btdgrp.cbs.opnbe1amt.amt" :Utils.defaultFunction,
"oldbtdgrp.cbs.opnbe1amt.amt" :Utils.defaultFunction,
"btdgrp.prp.pts.extkey" :Utils.defaultFunction,
"btdgrp.prp.adrelc" :Utils.defaultFunction,
"btdgrp.prp.namelc" :Utils.defaultFunction,
"btdgrp.prp.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.cbs.max2.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.cbs.opnbe1amt.amt" :Utils.defaultFunction,
"btdgrp.cbs.opnbe1amt.cur" :Utils.defaultFunction,
"oldbtdgrp.cbs.opnbe1amt.amt" :Utils.defaultFunction,
"btdgrp.prp.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"oldbtdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.rec.nam" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe1" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"btdgrp.cbs.opnbe1amt.cur" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.nam" :Utils.defaultFunction,
"btdgrp.cbs.max2.cur" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -38,5 +38,161 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onComconButtxmsel(){
let rtnmsg = await this.executeRule("comcon.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pts from "../Common/Pts"
import Pub from "../Public"
......@@ -11,10 +11,11 @@ export default class Bttdrv{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
utlnbr:"", // Number of Utilizations .ltdgrp.rec.utlnbr
},
},
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
},
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
trnmod: new Pub().data.Liaall,
bttp:{
ltdget:{
sdamod:{
......@@ -67,6 +68,7 @@ export default class Bttdrv{
},
},
},
futhndflg:"", // further handling .bttp.futhndflg
},
ledgrp:{
rec:{
......@@ -139,6 +141,13 @@ export default class Bttdrv{
adrelc:"", // 地址 .btdgrp.prp.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prp.dbfadrblkcn
},
blk:{
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis:"", // Discrepancies .btdgrp.blk.docdis
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg
},
},
be2addlab:"", // Label for Additionan Amount 2nd Beneficiary .be2addlab
be2doclab:"", // Label for Document Amount 2nd Beneficiary .be2doclab
......
......@@ -21,10 +21,12 @@
<!--PD000024
<el-tab-pane label="展期" name="brteus">
<c-content>
<m-brteus :model="model" :codes="codes" />
</el-tab-pane> -->
</c-content>
</el-tab-pane>
<!-- ======新增隐藏面板(从brtudp交易的隐藏页面传(沿用)过来的)mt750p、mt754p、othadvtypp====== -->
======新增隐藏面板(从brtudp交易的隐藏页面传(沿用)过来的)mt750p、mt754p、othadvtypp====== -->
<!--PD000139
<el-tab-pane label="不符点通知" name="mt750p" v-if="model.brdgrp.rec.advtyp=='750'">
<c-content>
......@@ -41,10 +43,36 @@
<!--PD000213
<el-tab-pane label="其他通知" name="othadvtypp" v-if="model.brdgrp.rec.advtyp=='oth'">
<c-content>
<m-othadvtypp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>-->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="会计分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
......
......@@ -19,17 +19,23 @@
<!--PD000016 -->
<el-tab-pane label="注销" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及财务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000020
......@@ -54,17 +60,23 @@
<!--PD000001 -->
<el-tab-pane label="DTA fields" name="dtatag">
<c-content>
<m-dtatag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="DTA fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
......@@ -107,6 +119,7 @@ import Ccvpan from "~/views/Public/Ccvpan"
export default {
name: "Bttcan",
components:{
"m-canp" : Canp,
"m-engp" : Engp,
......@@ -149,9 +162,10 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
this.restoreDisplay();
}
}
else
......
......@@ -6,10 +6,11 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="修改后的第一受益人单据总金额" prop="btdgrp.cbs.max.cur">
<c-input v-model="model.btdgrp.cbs.max.cur" maxlength="3"
placeholder="请输入" disabled
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%"
:code="codes.curtxt1"
placeholder="请选择"
disabled
></c-input>
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -22,6 +23,7 @@
<c-col :span="12">
<el-form-item label="修改后的第一受益人单据附加总金额" prop="btdgrp.cbs.max2.cur">
<c-select v-model="model.btdgrp.cbs.max2.cur" style="width:100%" placeholder="请选择"
:code="codes.curtxt1"
disabled
>
</c-select>
......@@ -36,7 +38,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="修改后的第二受益人单据总金额" prop="btdgrp.cbs.max.cur">
<c-input v-model="model.btdgrp.cbs.max.cur" maxlength="3" placeholder="请输入" disabled></c-input>
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择" :code="codes.curtxt1" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -49,10 +51,11 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="修改后的第二受益人单据附加总金额" prop="btdgrp.cbs.opnbe1amt.cur">
<c-input v-model="model.btdgrp.cbs.opnbe1amt.cur" maxlength="3"
placeholder="请输入"
<c-select v-model="model.btdgrp.cbs.opnbe1amt.cur" style="width:100%"
placeholder="请选择"
disabled
></c-input>
:code="codes.curtxt1"
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -65,9 +68,10 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="展示第一和第二受益人的单据金额之差" prop="btdgrp.cbs.opnbe1amt.cur">
<c-input v-model="model.btdgrp.cbs.opnbe1amt.cur" maxlength="3"
<c-select v-model="model.btdgrp.cbs.opnbe1amt.cur" style="width:100%"
:code="codes.curtxt1"
disabled
placeholder="请输入"></c-input>
placeholder="请选择"></c-select>
</el-form-item>
</c-col>
<c-col :span="12" >
......@@ -83,6 +87,7 @@
<c-col :span="12">
<el-form-item label="展示第一和第二受益人的单据附加金额之差" prop="btdgrp.cbs.opnbe1amt2.cur">
<c-select v-model="model.btdgrp.cbs.opnbe1amt2.cur"
:code="codes.curtxt1"
disabled
style="width:100%" placeholder="请选择">
</c-select>
......
......@@ -26,8 +26,8 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bttp.recget.sdamod.seainf">
<c-input v-model="model.bttp.recget.sdamod.seainf" placeholder="请输入" disabled></c-input>
<el-form-item label="" prop="btdgrp.rec.nam">
<c-input v-model="model.btdgrp.rec.nam" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
......@@ -37,33 +37,35 @@
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<c-col :span="10">
<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额币种" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.max.amt">
<c-col :span="10">
<el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<el-form-item label="" label-width="5px" prop="bttp.aammod.addamtflg">
<c-checkbox v-model="model.bttp.aammod.addamtflg" disabled>附加金额</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<c-col :span="10">
<el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择余额币种" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.opn1.cur">
<c-col :span="10">
<el-form-item label="" label-width="5px" prop="btdgrp.cbs.opn1.cur">
<c-input v-model="model.btdgrp.cbs.opn1.cur" placeholder="请输入余额" disabled></c-input>
</el-form-item>
</c-col>
......@@ -71,7 +73,7 @@
<c-col :span="24">
<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入单据类型" disabled></c-input>
<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请输入单据类型" disabled :code="doctypcod"></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -89,11 +91,40 @@
<c-col :span="24">
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入单据状态" disabled></c-input>
<c-select v-model="model.btdgrp.rec.docsta" style="width:100%" placeholder="请输入单据状态" disabled :code="codes.docsta2"></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-row>
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe1"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe2"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</el-row>
<!-- <c-col :span="24">
<c-col :span="6">
<el-form-item label="第一受益人提交的单据品种及份数">
</el-form-item>
......@@ -123,7 +154,7 @@
</el-table-column>
</c-edit-table>
</c-col>
</c-col>
</c-col> -->
</c-col>
......@@ -153,7 +184,7 @@
<c-col :span="24">
<el-form-item label="寄单行" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入寄单行" disabled></c-input>
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入寄单行" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -164,7 +195,7 @@
<c-col :span="24">
<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型">
<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型" disabled :code="doctypcod">
</c-select>
</el-form-item>
......@@ -175,9 +206,9 @@
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">输入单据,不符点和指示</c-checkbox>
</c-col>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
......@@ -196,13 +227,13 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="从第二受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
<c-date-picker disabled type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="订单日期" prop="btdgrp.rec.orddatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe2" style="width:100%" placeholder="请选择订单日期"></c-date-picker>
<c-date-picker disabled type="date" v-model="model.btdgrp.rec.orddatbe2" style="width:100%" placeholder="请选择订单日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
......@@ -224,35 +255,43 @@
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdrv/Event"
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-docpre": Docpre },
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
ptsaddg: {
columns: [{
title: "1st",
width: "120px",
dataIndex: "ptyextkey1",
show: "input",
},
{
title: "2nd",
width: "180px",
dataIndex: "ptyextkey2",
show: "input",
},
{
title: "单据",
width: "300px",
dataIndex: "nam",
show: "select",
},
],
urls: "letp.ptsaddp.ptsaddg",
},
doctypcod: [
{ label: "Mixed Payment Documents", value: "M" },
{ label: "Sight Documents", value: "P" },
{ label: "Usance Documents(Acceptance)", value: "A" },
{ label: "Usance Documents(Deferred)", value: "D" },
],
// ptsaddg: {
// columns: [{
// title: "1st",
// width: "120px",
// dataIndex: "ptyextkey1",
// show: "input",
// },
// {
// title: "2nd",
// width: "180px",
// dataIndex: "ptyextkey2",
// show: "input",
// },
// {
// title: "单据",
// width: "300px",
// dataIndex: "nam",
// show: "select",
// },
// ],
// urls: "letp.ptsaddp.ptsaddg",
// },
};
},
methods: {
......
<template>
<div class="eibs-tab">
<c-col :span="14">
<el-row>
<c-col :span="20">
<el-form-item label="不符点描述" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入不符点描述" disabled ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('bttp.docdis.buttxmsel', null, null,{TXT:'btdgrp.blk.docdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="国内不符点描述" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入国内不符点描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('bttp.intdis.buttxmsel', null, null,{TXT:'btdgrp.blk.intdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="评论和结论" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入评论和结论" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('bttp.comcon.buttxmsel', null, null,{TXT:'btdgrp.blk.comcon'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="结汇指示交易记录" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入结汇指示交易记录" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('bttp.setins.buttxmsel', null, null,{TXT:'btdgrp.blk.setinsbt'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe1"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe2"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</el-row>
</c-col>
<c-col :span="9" :offset="1">
<c-col :span="20" :offset="3">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">不符点描述修改</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="进一步处理" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%"
placeholder="请选择进一步处理" :code="codes.futhndflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" style="width:100%"
placeholder="请选择单据状态" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdck/Event"
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-docpre": Docpre },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -20,21 +20,35 @@
<!--PD000003 -->
<el-tab-pane label="到单" name="drv">
<c-content>
<m-drv :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="单据金额和当事人描述" name="adapan">
<c-content>
<m-adapan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="不符点/指示" name="dscinsp">
<c-content>
<m-dscinsp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
......@@ -65,6 +79,8 @@ import Default from "~/model/Bttdrv/Default"
import Pattern from "~/model/Bttdrv/Pattern"
import Drv from "./Drv"
import Adapan from "./Adapan"
import Dscinsp from "./Dscinsp"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
......@@ -74,7 +90,9 @@ import Coninfp from "~/views/Public/Coninfp";
export default {
name: "Bttdrv",
components:{
"m-dscinsp":Dscinsp,
"m-drv" : Drv,
"m-adapan" : Adapan,
"m-engp" : Engp,
......@@ -98,7 +116,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {...CodeTable
},
}
},
......@@ -111,6 +129,12 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
}
......
......@@ -358,7 +358,7 @@
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
@click="getButtons(scope.row['单据编号'])"
>
处理
</c-button>
......
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