Commit 61b13745 by liyixun

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 419c9112 3d57f3c4
......@@ -341,6 +341,7 @@ export default {
msg = (ms ? ms + '\r\n' : '') + msg
}
_.set(this.model, modelUrl[k], msg);
this.defaultFunction();
}
},
/**
......
......@@ -37,73 +37,8 @@ export default class Cltset {
},
},
},
// setmod: {
// docamttyplab: "", // settled amount description as label .setmod.docamttyplab
// retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
// ref: "", // our reference .setmod.ref
// doccur: "", // document currency .setmod.doccur
// docamt: "", // document amount .setmod.docamt
// dspflg: "", // Type of settlement .setmod.dspflg
// xreflg: "", // Recalculate Rates .setmod.xreflg
// setglg: {
// labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
// setfog: {
// setfol: []
// },
// setfeg: {
// setfel: []
// },
// glemod: {
// gleshwstm: {}
// },
// },
setmod: new Pub().data.Setmod,
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
trnmod: new Pub().data.Trnmod,
// mtabut: {
// coninf: {
// oitinf: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// usr: {
// extkey: "", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
mtabut: new Pub().data.Mtabut,
pageId: "" // ctx的key
}
......
......@@ -38,8 +38,8 @@ export default {
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seaamtfr = "0.000";
this.model.infcon.seaamtto = "0.000";
this.model.infcon.seasta = "";
this.model.seadoctypcod = "";
},
......
......@@ -133,7 +133,7 @@ export default {
"btdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string",max: 999,message:"长度不能超过35"}
],
"btdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
import Utils from "~/utils"
/**
* Sptneg Check规则
*/
* Sptneg Check规则
*/
let checkObj = {
"sptp.ord.extkey" :null,
"sptp.ord.inr" :null,
}
for (const key in checkObj) {
......
/**
* Sptneg Default规则
*/
* Sptneg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
......@@ -11,7 +11,9 @@ export default {
"usfmod.selusgset" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"sptstm" :Utils.defaultFunction,
"sptp.ord.inr" :Utils.defaultFunction,
"chkrim" :Utils.defaultFunction,
"sptp.ord.extkey" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
......
......@@ -2,41 +2,78 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onNegcnt(){
let rtnmsg = await this.executeRule("negcnt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onClmmodDet(){
let rtnmsg = await this.executeRule("clmmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSptpButord(){
let rtnmsg = await this.executeRule("sptp.butord")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSptpButcls(){
let rtnmsg = await this.executeRule("sptp.butcls")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOrdp0Butore(){
let rtnmsg = await this.executeRule("ordp0.butore")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOrdp0Butsmh(){
let rtnmsg = await this.executeRule("ordp0.butsmh")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onNegcnt(){
let rtnmsg = await this.executeRule("negcnt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"docimm.ascin":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"spt.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"spt.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.txt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"spt.frm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"spt.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"spt.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"spt.cretrn":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"spt.tardattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"sptp.smh.msgtyp":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"sptp.smh.sndkey":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"sptp.smh.relcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptp.smh.relamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"sptp.ordp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"sptp.ord.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"sptp.ordp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptp.ord.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"sptp.ord.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"sptp.ordp0.conarg.selref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"sptp.ordp0.conarg.selnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"sptp.ordp0.pta.ptyextkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"sptp.ordp0.pta.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"sptp.ord.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"sptp.ord.inidattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"sptp.ord.stadattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"sptp.ord.tardattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"sptp.ord.cpldattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"sptp.ord.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"sptp.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"sptp.ordp0.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.docbol.prtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"sptp.cmt100pylblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"sptp.fmtpylblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"sptp.cipspanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
......@@ -32,21 +203,4 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"clmmod.wfs.objtyp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"clmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"clmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"clmmod.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -2,41 +2,104 @@ import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Sptneg{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkrim:"", // Registered .chkrim
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
constructor () {
this.data = {
docimm:{
ascin:"", // Message as stream .docimm.ascin
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
docbol:{
prtpblk:"", // XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
spt:{
sta:"", // Type .spt.sta
hldflg:"", // Hold Flag .spt.hldflg
objnam:"", // Reference .spt.objnam
inr:"", // Internal Unique ID of Pending Transaction .spt.inr
txt:"", // Name .spt.txt
frm:"", // Transaction .spt.frm
ownusr:"", // Responsible User .spt.ownusr
ownusg:"", // Responsible Group .spt.ownusg
inftxt:"", // Infotext .spt.inftxt
infdsp:"", // Infotext .spt.infdsp
usr:"", // Entered by .spt.usr
dattim:"", // Time of Creation .spt.dattim
cretrn:"", // Creating Transaction ID .spt.cretrn
tardattim:"", // Target for Completion .spt.tardattim
},
sptp:{
smh:{
msgtyp:"", // Message Type .sptp.smh.msgtyp
sndkey:"", // Receiver Key .sptp.smh.sndkey
relcur:"", // Relevant Amount .sptp.smh.relcur
relamt:"", // Relevant Amount Optional .sptp.smh.relamt
},
ordp0:{
orddur:"", // Duration .sptp.ordp0.orddur
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .sptp.ordp0.recget.sdamod.dadsnd
seainf:"", // .sptp.ordp0.recget.sdamod.seainf
},
sptstm:"", // List of SPT records .sptstm
clmmod:{
wfs:{
objtyp:"", // Table Used to Store Associated Object .clmmod.wfs.objtyp
objinr:"", // Object .clmmod.wfs.objinr
objnam:"", // External Readable Object Identification .clmmod.wfs.objnam
},
wfestm:"", // WFEs for transaction for display .clmmod.wfestm
},
pageId: "" // ctx的key
}
}
},
conarg:{
sector:"", // Sector .sptp.ordp0.conarg.sector
selref:"", // Contract .sptp.ordp0.conarg.selref
selnam:"", // name of selected contract .sptp.ordp0.conarg.selnam
},
pta:{
ptyextkey:"", // Ordering Party .sptp.ordp0.pta.ptyextkey
nam:"", // Externally Visible Name of Address .sptp.ordp0.pta.nam
},
prtpanblk:"", // XMLPanel prtpan的内置block .sptp.ordp0.prtpanblk
},
ord:{
extkey:"", // Order Number .sptp.ord.extkey
nam:"", // External Readable Identification .sptp.ord.nam
inr:"", // Internal Unique ID of Transaction .sptp.ord.inr
ownusr:"", // Responsible User .sptp.ord.ownusr
ownusg:"", // Responsible Group Optional .sptp.ord.ownusg
sta:"", // Status .sptp.ord.sta
chkflg:"", // Order OK .sptp.ord.chkflg
inftxt:"", // Infotext .sptp.ord.inftxt
infdsp:"", // Infotext .sptp.ord.infdsp
inidattim:"", // Group .sptp.ord.inidattim
stadattim:"", // Timestamp of Last Status Update .sptp.ord.stadattim
cpldattim:"", // Timestamp of Completion .sptp.ord.cpldattim
tardattim:"", // Target for Completion .sptp.ord.tardattim
},
prtpanblk:"", // XMLPanel prtpan的内置block .sptp.prtpanblk
cmt100pylblk:"", // XMLPanel cmt100pyl的内置block .sptp.cmt100pylblk
fmtpylblk:"", // XMLPanel fmtpyl的内置block .sptp.fmtpylblk
cipspanblk:"", // XMLPanel cipspan的内置block .sptp.cipspanblk
},
chkinc:"", // Incoming .chkinc
chkrim:"", // Registered .chkrim
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
sptstm:"", // List of SPT records .sptstm
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -34,7 +34,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.sptstm.rows;
this.model.sptstm = rtnmsg.data.sptstm;
}
else
{
......@@ -53,6 +53,6 @@ export default {
this.model.usr.extkey = ""
this.model.inidatfro = ""
this.model.inidattil = ""
}
},
}
\ No newline at end of file
......@@ -4,6 +4,10 @@ import Pts from "../Common/Pts"
export default class Sptrel{
constructor () {
this.data = {
selsptinr:"",
sptrel: {
selinr: {},
},
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
......
......@@ -13,7 +13,7 @@ export default class Trtopn{
ownref:"", // 融资编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam
issdat:"", // 开立日期 .trdgrp.rec.issdat
fintyp1:"", // 融资品种 .trdgrp.rec.fintyp
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
stagod:"", // Good's Code .trdgrp.rec.stagod
guaflg:"", // 货押标识 .trdgrp.rec.guaflg
pctfin:"", // % Financed .trdgrp.rec.pctfin
......@@ -28,6 +28,7 @@ export default class Trtopn{
invtyp:"", // 发票类型 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // 交易合同号 .trdgrp.rec.mycontno
branchinr:"",
// sndto:"",
},
fip:{
......
......@@ -21,27 +21,37 @@
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :model="model" :codes="codes" />
<content>
<m-docpan :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
<content>
<m-doctre :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<content>
<m-coninfp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
<content>
<m-setpan :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
<content>
<m-glepan :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--PD000027 -->
......
......@@ -319,14 +319,9 @@
placeholder="请选择报文类型"
:disabled="model.cpdgrp.cbs.nom1.amt === '0.000'"
@change="commonExecuteRule('cpdgrp.rec.swftyp')"
:code=this.swftypOpnp
>
<el-option
v-for="item in codes.swftypOpnp"
:label="item.label"
:value="item.value"
:key="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -383,6 +378,7 @@
<c-col :span="24">
<c-col :span="11" v-if="model.cpdgrp.rec.swftyp === '103' || model.cpdgrp.rec.swftyp === '202' || model.cpdgrp.rec.swftyp === '200'">
<!--将Addtional Info面板合并-->
<el-form-item label="汇款人名称" prop="orcnam">
<c-input
v-model="model.orcnam"
......@@ -393,7 +389,8 @@
</el-form-item>
</c-col>
<c-col :span="11" :offset="1" v-if="false">
<!--将MT103面板合并-->
<c-col :span="11" :offset="1" v-if="model.cpdgrp.rec.swftyp === '103'">
<el-form-item label="Remittance Information(Tag 70)" prop="cpdgrp.blk.contag70">
<c-input
type="textarea"
......@@ -1086,6 +1083,14 @@ export default {
{ value: "2", label: "资本" },
{ value: "3", label: "其他" },
],
swftypOpnp: [
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
],
};
},
methods: { ...Event,
......@@ -1114,6 +1119,37 @@ export default {
//return this.model.cpdgrp.pye.pts.extkey == "" || this.model.cpdgrp.rec.ownref != "";
},
},
watch: {
"model.cpdgrp.cbs.nom1.cur":function(){
if(this.model.cpdgrp.cbs.nom1.cur=='CNY'){
this.swftypOpnp = [
{ label: "MT103", value: "103" },
{ label: "MT202 COV", value: "202" },
{ label: "MT202", value: "200" },
{ label: "CMT100", value: "CMT" },
{ label: "Other", value: "OTH" },
{ label: "hvps111", value: "HVP" },
{ label: "hvps112", value: "HVQ" },
{ label: "hvps115", value: "HVR" },
{ label: "PKG001", value: "CMX" },
{ label: "PKG005", value: "CMY" },
{ label: "beps121", value: "BEP" },
{ label: "beps122", value: "BEQ" },
{ label: "beps125", value: "BES" },
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
{ label: "cips113", value: "CIW" },
]
}else{
this.swftypOpnp = [
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
]
}
},
},
};
</script>
<style>
......
......@@ -68,7 +68,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="Resp.User" prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入Resp.User">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入Resp.User" disabled>
</c-input>
</el-form-item>
</c-col>
......
......@@ -191,6 +191,7 @@ export default {
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else {
......
......@@ -15,7 +15,6 @@
maxlength="50"
show-word-limit
placeholder="Please input Discrepancies"
@change="defaultFunction()"
:disabled="!docdisflg"
></c-input>
<template slot="footer">
......@@ -24,7 +23,16 @@
size="small"
type="primary"
:disabled="!docdisflg"
@click="showGridPromptDialog('betp.docdis.buttxmsel',null,null,{TXT:'bedgrp.blk.docdis'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.docdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -52,7 +60,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('betp.intdis.buttxmsel',null,null,{TXT:'bedgrp.blk.intdis'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.intdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -80,7 +97,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('betp.comcon.buttxmsel',null,null,{TXT:'bedgrp.blk.comcon'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.comcon.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -108,7 +134,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('betp.setinstxm.buttxmsel',null,null,{TXT:'bedgrp.blk.setinsbe'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.setinstxm.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.setinsbe' },
{ TXT: false },
'etyDialog'
)
"
>
...
</c-button>
......@@ -128,7 +163,7 @@
style="width: 100%"
placeholder="Please select Further Handling"
disabled
@change="defaultFunction()"
@change="changeFolwupopt"
>
<el-option
v-for="item in codes.folwupopt1"
......@@ -139,9 +174,14 @@
</el-option>
</c-select>
<template slot="footer">
<c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
<el-form-item label="" prop="model.bedgrp.blk.docdisflg">
<c-checkbox
v-model="docdisflg"
style="margin-left: 10px"
@change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
</el-form-item>
</template>
</c-fullbox>
</el-form-item>
......@@ -173,7 +213,7 @@
rol: 'oth',
}"
:noRef="false"
:disabled="!(model.bedgrp.rec.payrol=='OTH')"
:disabled="!(model.bedgrp.rec.payrol == 'OTH')"
:isAdrblk="true"
:disabledRef="payrolFlag"
:disabledExtkey="payrolFlag"
......@@ -497,15 +537,13 @@ import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
export default {
name:'Docpre',
components: { "c-ptap": Ptap ,"c-docpre": Docpre},
name: "Docpre",
components: { "c-ptap": Ptap, "c-docpre": Docpre },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
computed: {
docdisflg: {
......@@ -514,16 +552,21 @@ export default {
},
set(val) {
this.model.bedgrp.blk.docdisflg = val ? "X" : "";
this.model.bedgrp.blk.docdis = '';
},
},
payrolFlag:{
payrolFlag: {
get() {
return this.model.bedgrp.rec.payrol == "AVB"||this.model.bedgrp.rec.payrol == "ISS";
return (
this.model.bedgrp.rec.payrol == "AVB" ||
this.model.bedgrp.rec.payrol == "ISS"
);
},
}
},
},
methods: {
...Event,
changeFolwupopt(){}
},
created: function () {},
};
......
......@@ -348,7 +348,7 @@
v-model="model.btdgrp.rec.disdat"
style="width: 100%"
placeholder="Please select Discrep. advised on"
disabled
:disabled="model.btdgrp.rec.advtyp=='754'"
></c-date-picker>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- left -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
......@@ -152,17 +152,13 @@
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="4">
<el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
<c-checkbox v-model="docdisflg">Discrepancies modified</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -176,7 +172,7 @@
style="width: 100%"
placeholder="Please select Further Handing"
disabled
:code="code.futhndflg"
:code="codes.futhndflg"
>
</c-select>
</el-form-item>
......@@ -203,11 +199,10 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- next part -->
<c-docpre
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
......@@ -228,26 +223,39 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdav/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {
docdisflg: {
get() {
return this.model.btdgrp.blk.docdisflg != "";
},
set(val) {
this.model.btdgrp.blk.docdisflg = val ? "X" : "";
},
},
methods:{...Event},
created:function(){
}
}
payrolFlag: {
get() {
return (
this.model.btdgrp.rec.payrol == "AVB" ||
this.model.btdgrp.rec.payrol == "ISS"
);
},
},
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -87,7 +87,7 @@
<c-ptap
:model="model"
:argadr="{
title: '',
title: 'Account with Bank',
grp: 'btdgrp',
rol: 'acb',
}"
......
<template>
<div class="eibs-tab">
<!-- S0000269 : Document Amount -->
<!-- S0000278 : Narrative (Tag 77A of MT754) -->
<c-col :span="12">
<c-form-item label="Narrative Tag77A of MT754" prop="btdgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.btdgrp.blk.nartxt77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Narrative Tag77A of MT754'" ></c-input>
</c-form-item>
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-input
v-model="model.btdgrp.cbs.max.cur"
maxlength="3"
placeholder="Please input Document Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000006 : 附加金额 -->
<!-- SF000272 : Charges Deducted -->
<!-- SF000273 : Charges Added -->
<!-- S0000276 : Total Amount Claimed -->
<!-- SF000294 : Reimbursing Bank -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp.rmtp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bttp.rmtp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="btdgrp.rmt.pts.extkey">
<c-input v-model="model.btdgrp.rmt.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp.rmtp.ptsget.sdamod.seainf">
<c-input v-model="model.bttp.rmtp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmtpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="btdgrp.rmt.namelc">
<c-input type="textarea" v-model="model.btdgrp.rmt.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
<c-input
v-model="model.btdgrp.cbs.max.amt"
placeholder="Please input Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="btdgrp.rmt.pts.adrblk">
<c-input type="textarea" v-model="model.btdgrp.rmt.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Drawn Add. Amount" prop="btdgrp.cbs.opn2.cur">
<c-input
v-model="model.btdgrp.cbs.opn2.cur"
maxlength="3"
placeholder="Please input Drawn Add. Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="btdgrp.rmt.dbfadrblkcn">
<c-input type="textarea" v-model="model.btdgrp.rmt.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt">
<c-input
v-model="model.btdgrp.cbs.max2.amt"
placeholder="Please input Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="btdgrp.rmt.adrelc">
<c-input type="textarea" v-model="model.btdgrp.rmt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input
type="textarea"
v-model="model.btdgrp.blk.chaded"
maxlength="35"
show-word-limit
placeholder="Please input Charges Deducted"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input
type="textarea"
v-model="model.btdgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="Please input Charges Added"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="btdgrp.rec.totcur">
<c-input
v-model="model.btdgrp.rec.totcur"
maxlength="3"
placeholder="Please input Total Amount Claimed"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="btdgrp.rec.totamt">
<c-input
v-model="model.btdgrp.rec.totamt"
placeholder="Please input Balance"
></c-input>
</el-form-item>
</c-col>
<!-- SF000293 : Account with Bank -->
<!-- S0000280 : Date to be Paid -->
<c-col :span="12">
<el-form-item :label="$t('bttp.S0000280')" prop="btdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.totdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp.S0000280')"></c-date-picker>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Reimbursing Bank',
grp: 'btdgrp',
rol: 'rmt',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
disabled
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'btdgrp',
rol: 'acb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input
type="textarea"
v-model="model.btdgrp.blk.docdis"
maxlength="3500"
show-word-limit
placeholder="请输入Discrepancies"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Date to Paid" prop="btdgrp.rec.totdat">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.totdat"
style="width: 100%"
placeholder="Please select Date to Paid"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Narrative(Tag 77A of MT754)"
prop="btdgrp.blk.nartxt77a"
>
<c-input
type="textarea"
v-model="model.btdgrp.blk.nartxt77a"
maxlength="3500"
show-word-limit
placeholder="please input Narrative(Tag 77A of MT754)"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdav/Event";
import Ptap from "~/views/Public/Ptap";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -40,7 +40,9 @@
</el-tab-pane>
<!--bttp PD000268 Advice of Payment -->
<el-tab-pane label="Advice of Payment" name="mt754p" v-if="model.btdgrp.rec.advtyp=='754'">
<m-mt754p :model="model" :codes="codes" />
<c-content>
<m-mt754p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel cipspan的内置block" prop="sptp.cipspanblk">
<c-input type="textarea" v-model="model.sptp.cipspanblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel cipspan的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel cmt100pyl的内置block" prop="sptp.cmt100pylblk">
<c-input type="textarea" v-model="model.sptp.cmt100pylblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel cmt100pyl的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel fmtpyl的内置block" prop="sptp.fmtpylblk">
<c-input type="textarea" v-model="model.sptp.fmtpylblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel fmtpyl的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="sptp.ordp0.recget.sdamod.dadsnd">
<c-input v-model="model.sptp.ordp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Number" prop="sptp.ord.extkey">
<c-input v-model="model.sptp.ord.extkey" maxlength="32" placeholder="请输入Order Number"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="sptp.ordp0.recget.sdamod.seainf">
<c-input v-model="model.sptp.ordp0.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Readable Identification" prop="sptp.ord.nam">
<c-input v-model="model.sptp.ord.nam" maxlength="40" placeholder="请输入External Readable Identification"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sector" prop="sptp.ordp0.conarg.sector">
<c-select v-model="model.sptp.ordp0.conarg.sector" style="width:100%" placeholder="请选择Sector">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Internal Unique ID of Transaction" prop="sptp.ord.inr">
<c-input v-model="model.sptp.ord.inr" maxlength="8" placeholder="请输入Internal Unique ID of Transaction"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Contract" prop="sptp.ordp0.conarg.selref">
<c-input v-model="model.sptp.ordp0.conarg.selref" maxlength="40" placeholder="请输入Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="name of selected contract" prop="sptp.ordp0.conarg.selnam">
<c-input v-model="model.sptp.ordp0.conarg.selnam" maxlength="40" placeholder="请输入name of selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Ordering Party" prop="sptp.ordp0.pta.ptyextkey">
<c-input v-model="model.sptp.ordp0.pta.ptyextkey" maxlength="24" placeholder="请输入Ordering Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Externally Visible Name of Address" prop="sptp.ordp0.pta.nam">
<c-input v-model="model.sptp.ordp0.pta.nam" maxlength="40" placeholder="请输入Externally Visible Name of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible Group Optional" prop="sptp.ord.ownusg">
<c-select v-model="model.sptp.ord.ownusg" style="width:100%" placeholder="请选择Responsible Group Optional">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible User" prop="sptp.ord.ownusr">
<c-input v-model="model.sptp.ord.ownusr" maxlength="8" placeholder="请输入Responsible User"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Group" prop="sptp.ord.inidattim">
<c-input v-model="model.sptp.ord.inidattim" placeholder="请输入Group"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.sptp.ordp0.orddur" data-path=".sptp.ordp0.orddur" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="sptp.ord.sta">
<c-select v-model="model.sptp.ord.sta" style="width:100%" placeholder="请选择Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Timestamp of Last Status Update" prop="sptp.ord.stadattim">
<c-input v-model="model.sptp.ord.stadattim" placeholder="请输入Timestamp of Last Status Update"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Target for Completion" prop="sptp.ord.tardattim">
<c-input v-model="model.sptp.ord.tardattim" placeholder="请输入Target for Completion"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Timestamp of Completion" prop="sptp.ord.cpldattim">
<c-input v-model="model.sptp.ord.cpldattim" placeholder="请输入Timestamp of Completion"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrdp0Butore">
Events
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.sptp.ord.chkflg">Order OK</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="sptp.ord.inftxt">
<c-input type="textarea" v-model="model.sptp.ord.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="sptp.ord.infdsp">
<c-select v-model="model.sptp.ord.infdsp" style="width:100%" placeholder="请选择Infotext">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrdp0Butsmh">
Show &Message
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtp的内置block" prop="docimm.docbol.prtpblk">
<c-input type="textarea" v-model="model.docimm.docbol.prtpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtp的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtpan的内置block" prop="sptp.ordp0.prtpanblk">
<c-input type="textarea" v-model="model.sptp.ordp0.prtpanblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtpan的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtswtp的内置block" prop="docimm.prtswtpblk">
<c-input type="textarea" v-model="model.docimm.prtswtpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtp的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Message as stream" prop="docimm.ascin">
<c-input v-model="model.docimm.ascin" placeholder="请输入Message as stream"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtswtrp的内置block" prop="docimm.prtswtrpblk">
<c-input type="textarea" v-model="model.docimm.prtswtrpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtrp的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Type" prop="spt.sta">
<c-select v-model="model.spt.sta" style="width:100%" placeholder="请选择Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Hold Flag" prop="spt.hldflg">
<c-select v-model="model.spt.hldflg" style="width:100%" placeholder="请选择Hold Flag">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="spt.objnam">
<c-input v-model="model.spt.objnam" maxlength="40" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Internal Unique ID of Pending Transaction" prop="spt.inr">
<c-input v-model="model.spt.inr" maxlength="8" placeholder="请输入Internal Unique ID of Pending Transaction"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="spt.txt">
<c-input v-model="model.spt.txt" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transaction " prop="spt.frm">
<c-input v-model="model.spt.frm" maxlength="6" placeholder="请输入Transaction "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible User " prop="spt.ownusr">
<c-input v-model="model.spt.ownusr" maxlength="8" placeholder="请输入Responsible User "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible Group" prop="spt.ownusg">
<c-select v-model="model.spt.ownusg" style="width:100%" placeholder="请选择Responsible Group">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="spt.inftxt">
<c-input type="textarea" v-model="model.spt.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="spt.infdsp">
<c-select v-model="model.spt.infdsp" style="width:100%" placeholder="请选择Infotext">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Entered by" prop="spt.usr">
<c-input v-model="model.spt.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Time of Creation" prop="spt.dattim">
<c-input v-model="model.spt.dattim" placeholder="请输入Time of Creation"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Creating Transaction ID" prop="spt.cretrn">
<c-input v-model="model.spt.cretrn" maxlength="6" placeholder="请输入Creating Transaction ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSptpButord">
Order
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Target for Completion" prop="spt.tardattim">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Message Type " prop="sptp.smh.msgtyp">
<c-input v-model="model.sptp.smh.msgtyp" maxlength="20" placeholder="请输入Message Type "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Receiver Key " prop="sptp.smh.sndkey">
<c-input v-model="model.sptp.smh.sndkey" maxlength="50" placeholder="请输入Receiver Key "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Relevant Amount" prop="sptp.smh.relcur">
<c-input v-model="model.sptp.smh.relcur" maxlength="3" placeholder="请输入Relevant Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Relevant Amount Optional" prop="sptp.smh.relamt">
<c-input v-model="model.sptp.smh.relamt" placeholder="请输入Relevant Amount Optional"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000004 : Object -->
<c-col :span="12">
<c-form-item label="Table Used to Store Associated Object" prop="clmmod.wfs.objtyp">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('clmmod.S0000004')" prop="clmmod.wfs.objinr">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" :placeholder="$t('other.please_enter')+$t('clmmod.S0000004')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : Object Name -->
<c-col :span="12">
<c-form-item label="External Readable Object Identification" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" :placeholder="$t('other.please_enter')+'External Readable Object Identification'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onClmmodDet">
{{$t('clmmod.CG000002')}}
<c-button size="small" type="primary" @click="onSptpButcls">
&Close
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="WFEs for transaction for display" prop="clmmod.wfestm">
<c-input v-model="model.clmmod.wfestm" :placeholder="$t('other.please_enter')+'WFEs for transaction for display'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel xmldoc的内置block" prop="docimm.xmldocblk">
<c-input type="textarea" v-model="model.docimm.xmldocblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel xmldoc的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -2,16 +2,89 @@
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--sptneg PD000042 Menu -->
<el-tab-pane :label="$t('sptneg.PD000042')" name="menu">
<m-menu :model="model" :codes="codes"/>
<!--PD000042 -->
<el-tab-pane label="Menu" name="menu">
<c-content>
<m-menu :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000061 -->
<el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane>
<!--clmmod PD000001 Workflow -->
<el-tab-pane :label="$t('clmmod.PD000001')" name="ordpwfm">
<m-ordpwfm :model="model" :codes="codes"/>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="sptp0">
<m-sptp0 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000029 -->
<el-tab-pane label="PD000029" name="sptpopup">
<m-sptpopup :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000029 -->
<el-tab-pane label="PD000029" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000015 -->
<el-tab-pane label="PD000015" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="prtp">
<m-prtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000212 -->
<el-tab-pane label="PD000212" name="cmt100pyl">
<m-cmt100pyl :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000250 -->
<el-tab-pane label="PD000250" name="fmtpyl">
<m-fmtpyl :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000314 -->
<el-tab-pane label="PD000314" name="cipspan">
<m-cipspan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
     
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -22,15 +95,37 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Sptneg/Check"
import Default from "~/model/Sptneg/Default"
import Pattern from "~/model/Sptneg/Pattern"
import Prtswtr from "./Prtswtr"
import Prtswtrp from "./Prtswtrp"
import Prtswtp from "./Prtswtp"
import Xmldoc from "./Xmldoc"
import Sptp0 from "./Sptp0"
import Sptpopup from "./Sptpopup"
import Ordp0 from "./Ordp0"
import Prtpan from "./Prtpan"
import Prtp from "./Prtp"
import Cmt100pyl from "./Cmt100pyl"
import Fmtpyl from "./Fmtpyl"
import Cipspan from "./Cipspan"
import Menu from "./Menu"
import Ordpwfm from "./Ordpwfm"
export default {
name: "Sptneg",
components:{
"m-prtswtr" : Prtswtr,
"m-prtswtrp" : Prtswtrp,
"m-prtswtp" : Prtswtp,
"m-xmldoc" : Xmldoc,
"m-sptp0" : Sptp0,
"m-sptpopup" : Sptpopup,
"m-ordp0" : Ordp0,
"m-prtpan" : Prtpan,
"m-prtp" : Prtp,
"m-cmt100pyl" : Cmt100pyl,
"m-fmtpyl" : Fmtpyl,
"m-cipspan" : Cipspan,
"m-menu" : Menu,
"m-ordpwfm" : Ordpwfm,
},
provide() {
return {
......@@ -40,15 +135,15 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "utlp",
trnName: "sptneg",
trnType: "",
model: new Sptneg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
......@@ -156,7 +156,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Entered by" label-width="20%" prop="usr.extkey">
<el-form-item label="Entered by" prop="usr.extkey">
<c-input
v-model="model.usr.extkey"
maxlength="8"
......@@ -178,8 +178,8 @@
</el-form-item>
</c-col>
<c-col :span="12" :offset="1">
<el-form-item label="and" prop="inidattil" label-width="20%" >
<c-col :span="12">
<el-form-item label="and" prop="inidattil" >
<c-date-picker
type="date"
v-model="model.inidattil"
......@@ -447,7 +447,7 @@
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot-scope="scope">
<c-button
style="margin-left: -7"
style="margin-left: 0"
size="small"
type="primary"
@click="alert(scope.row['Reference'])"
......@@ -455,10 +455,10 @@
详情
</c-button>
<c-button
style="margin-left: 10"
style="margin-left: 2"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
@click="getButtons(scope.row)"
>
处理
</c-button>
......@@ -466,7 +466,50 @@
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" >11</m-busbtn>
<el-dialog
:visible.sync="initdialog"
:title="'操作列表'"
append-to-body
>
<div class="m-list-btns">
<div class="busnavbar">
<div class="busnavbar-items">
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onOperate('relrow')"
:disabled=this.flag
title="Release">
Release
</c-button>
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onOperate('reprow')"
:disabled=this.flag
title="Repair">
Repair
</c-button>
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onOperate('rejrow')"
title="Reject"
:disabled=this.flag
>
Reject
</c-button>
</div>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
......@@ -483,6 +526,9 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
initdialog: false,
flag:true,
index:0,
sta:[
{ label: 'All', value: '' },
{ label: 'Branch Release', value: 'CMC' },
......@@ -492,23 +538,39 @@ export default {
],
stmData: {
columns: [
'5 1 "TRN" ',
'5 1 "TRN" 100',
'6 2:2 "Reference" ',
'7 3:1 "Name" ',
'8 4 "Created" ',
'8 4 "Created" 200',
{index:9,position:5,width:150,pattern:'code',label:'Status',code:'sptrelstatus'},
'4 6:1 "By User" ',
'4 6:1 "By User" 100',
],
data: [],
},
};
},
methods: { ...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
async getButtons(row){
let status = row['Status'];
if(status == "PUR" || status == "CMP"){
this.flag=false;
}
this.index=row['IDX'];
this.initdialog = true
},
//各入口按钮请求
async onOperate(vul){
let index = this.index+1;
const selIds = [index]; //rowno选中行
const selDst = "sptstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule(vul,params);
if (rtnmsg.respCode == SUCCESS) {
this.initdialog = false
} else {
this.initdialog = false
}
},
},
created: function () {},
......
......@@ -215,7 +215,7 @@
<c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<c-select v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号">
<el-option v-for="item in codes.act1" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-option v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -342,7 +342,7 @@
allow-create
v-model="model.trtmod.finmod.act3"
style="width:100%"
:disabled="model.trtmod.finmod.acttyp == null"
:disabled="model.trtmod.finmod.acttyp == ''"
placeholder="请选择第三方还款账号">
<el-option v-for="item in codes.act3" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
......
......@@ -78,15 +78,15 @@
</c-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="起息日期" prop="trdgrp.rec.stttendat">
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:50%" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000052')"></c-date-picker>
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000052')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="押汇到期日期" prop="trdgrp.rec.matdat">
<c-date-picker label="押汇到期日期" type="date" v-model="model.trdgrp.rec.matdat" style="width:50%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker>
<c-date-picker label="押汇到期日期" type="date" v-model="model.trdgrp.rec.matdat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<div class="eibs-tab">
<c-col :span="6">
<c-checkbox
v-model="model.financ.rzkx1"
@change="
mutualExclusion();
model.financ.rzkx1 = 'X';
"
>贷记贵司指定账户(账号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.acc"
>
<c-input
v-model="model.financ.acc"
style="text-align: left; width: 100%"
maxlength="40"
placeholder="请输入账号"
:disabled="model.financ.rzkx1 == '' || model.financ.rzkx1 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户(账号:</c-checkbox>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.acc">
<c-input v-model="model.financ.acc" style="text-align: left; width: 100%" maxlength="40" placeholder="请输入账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox
v-model="model.financ.rzkx2"
@change="
mutualExclusion();
model.financ.rzkx2 = 'X';
"
>支付进口信用证项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref2"
>
<c-input
v-model="model.financ.ref2"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx2 == '' || model.financ.rzkx2 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项(业务编号:</c-checkbox>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref2">
<c-input v-model="model.financ.ref2" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox
v-model="model.financ.rzkx3"
@change="
mutualExclusion();
model.financ.rzkx3 = 'X';
"
>支付进口代收项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref3"
>
<c-input
v-model="model.financ.ref3"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx3 == '' || model.financ.rzkx3 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项(业务编号:</c-checkbox>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref3">
<c-input v-model="model.financ.ref3" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox
v-model="model.financ.rzkx4"
@change="
mutualExclusion();
model.financ.rzkx4 = 'X';
"
>支付汇出汇款项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref4"
>
<c-input
v-model="model.financ.ref4"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx4 == '' || model.financ.rzkx4 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项(业务编号:</c-checkbox>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref4">
<c-input v-model="model.financ.ref4" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox
v-model="model.financ.rzkx5"
@change="
mutualExclusion();
model.financ.rzkx5 = 'X';
"
>支付国内信用证项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx5">支付国内信用证项下款项(业务编号:</c-checkbox>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref5">
<c-input v-model="model.financ.ref5" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
</c-col>
</div>
<c-col :span="14">
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref5"
>
<c-input
v-model="model.financ.ref5"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx5 == '' || model.financ.rzkx5 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")"> </el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function() {}
};
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {
...Event,
mutualExclusion() {
this.model.financ.rzkx1 = "";
this.model.financ.rzkx2 = "";
this.model.financ.rzkx3 = "";
this.model.financ.rzkx4 = "";
this.model.financ.rzkx5 = "";
},
},
created: function () {},
};
</script>
<style>
</style>
<style></style>
......@@ -36,7 +36,6 @@
style="width: 100%"
placeholder="请选择"
@change="executeDefault('trnmod.trndoc.doccur.docsnf')"
:disabled="suppress"
>
<el-option
v-for="item in codes.docsnf"
......@@ -56,7 +55,6 @@
"
style="width: 100%"
placeholder="请选择"
:disabled="suppress"
>
<el-option
v-for="item in codes.uiltxt"
......@@ -102,7 +100,6 @@
:readonly="true"
style="width: 100%"
placeholder="请选择"
:disabled="suppress"
>
</c-input>
</template>
......@@ -115,7 +112,6 @@
"
style="width: 100%"
placeholder="请选择"
:disabled="suppress"
>
</c-input>
</template>
......@@ -132,7 +128,6 @@
"
style="width: 100%"
placeholder="请选择"
:disabled="suppress"
>
<el-option
v-for="item in codes.swttlx"
......
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