Commit 39cd8ee8 by wangna

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 17791549 daf9e5e3
......@@ -6,8 +6,12 @@ export default {
let rtnmsg = await this.executeRule("attp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
......@@ -320,17 +324,18 @@ export default {
{
//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 onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
......@@ -344,12 +349,12 @@ export default {
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut(){
let rtnmsg = await this.executeRule("codsel1.selbut")
if(rtnmsg.respCode == SUCCESS)
......@@ -374,8 +379,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -386,8 +391,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -398,8 +403,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -410,9 +415,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -7,7 +7,6 @@ export default class Cptati{
this.data = {
fmtpayl1blk:"",
setsuml3blk:"",
lendoc_setsuml3blk:"",
attp:{
shktyp:"", // static text 收汇款对象 .attp.shktyp
opndatlab:"", // 日期标签 .attp.opndatlab
......@@ -273,6 +272,7 @@ export default class Cptati{
account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum
setsuml3blk:""
},
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
......
......@@ -20,7 +20,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -33,7 +33,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -5,6 +5,8 @@ import Pub from "../Public"
export default class Cptcan{
constructor () {
this.data = {
cptpybl1blk:"",
cptorcl1blk:"",
strinf:"", // Narrative .strinf
cptp0:{
recget:{
......
......@@ -34,7 +34,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -218,58 +218,59 @@ export default class Cptrep{
// },
// },
// },
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
},
hvpmod:{
agname2lab:"", // 中介机构2label .trnmod.hvpmod.agname2lab
agency2lab:"", // 中介机构2行号label .trnmod.hvpmod.agency2lab
remark1:"", // 备注 .trnmod.hvpmod.remark1
agnamedl:"", // 收款人开户行代理行名称(=中介机构1) .trnmod.hvpmod.agnamedl
agencydl:"", // 收款人开户行代理行行号(=中介机构1) .trnmod.hvpmod.agencydl
feecod:"", // �'� 用编码 .trnmod.hvpmod.feecod
skrmc2:"", // 收款人名称2 .trnmod.hvpmod.skrmc2
skrmc3:"", // 收款人名称3 .trnmod.hvpmod.skrmc3
skrdz2:"", // 收款人地址2 .trnmod.hvpmod.skrdz2
skrdz3:"", // 收款人地址3 .trnmod.hvpmod.skrdz3
skrdz4:"", // 收款人地址4 .trnmod.hvpmod.skrdz4
skrdz5:"", // 收款人地址5 .trnmod.hvpmod.skrdz5
skrzh2:"", // 收款人�'�户2 .trnmod.hvpmod.skrzh2
fecomm:"", // 跨境业务附言 .trnmod.hvpmod.fecomm
oribusnum:"", // 端到端标识号 .trnmod.hvpmod.oribusnum
fkrmc2:"", // 付款人名称2 .trnmod.hvpmod.fkrmc2
fkrmc3:"", // 付款人名称3 .trnmod.hvpmod.fkrmc3
fkrdz2:"", // 付款人地址2 .trnmod.hvpmod.fkrdz2
fkrdz3:"", // 付款人地址3 .trnmod.hvpmod.fkrdz3
fkrdz4:"", // 付款人地址4 .trnmod.hvpmod.fkrdz4
fkrdz5:"", // 付款人地址5 .trnmod.hvpmod.fkrdz5
fkrzh2:"", // 付款人�'�户2 .trnmod.hvpmod.fkrzh2
agname2:"", // 中介机构2名称 .trnmod.hvpmod.agname2
agency2:"", // 中介机构2行号 .trnmod.hvpmod.agency2
feecom:"", // 收报行的收 �'� .trnmod.hvpmod.feecom
feesen:"", // 发报行的收 �'� .trnmod.hvpmod.feesen
remark:"", // 备注 .trnmod.hvpmod.remark
},
},
// 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
// },
// hvpmod:{
// agname2lab:"", // 中介机构2label .trnmod.hvpmod.agname2lab
// agency2lab:"", // 中介机构2行号label .trnmod.hvpmod.agency2lab
// remark1:"", // 备注 .trnmod.hvpmod.remark1
// agnamedl:"", // 收款人开户行代理行名称(=中介机构1) .trnmod.hvpmod.agnamedl
// agencydl:"", // 收款人开户行代理行行号(=中介机构1) .trnmod.hvpmod.agencydl
// feecod:"", // �'� 用编码 .trnmod.hvpmod.feecod
// skrmc2:"", // 收款人名称2 .trnmod.hvpmod.skrmc2
// skrmc3:"", // 收款人名称3 .trnmod.hvpmod.skrmc3
// skrdz2:"", // 收款人地址2 .trnmod.hvpmod.skrdz2
// skrdz3:"", // 收款人地址3 .trnmod.hvpmod.skrdz3
// skrdz4:"", // 收款人地址4 .trnmod.hvpmod.skrdz4
// skrdz5:"", // 收款人地址5 .trnmod.hvpmod.skrdz5
// skrzh2:"", // 收款人�'�户2 .trnmod.hvpmod.skrzh2
// fecomm:"", // 跨境业务附言 .trnmod.hvpmod.fecomm
// oribusnum:"", // 端到端标识号 .trnmod.hvpmod.oribusnum
// fkrmc2:"", // 付款人名称2 .trnmod.hvpmod.fkrmc2
// fkrmc3:"", // 付款人名称3 .trnmod.hvpmod.fkrmc3
// fkrdz2:"", // 付款人地址2 .trnmod.hvpmod.fkrdz2
// fkrdz3:"", // 付款人地址3 .trnmod.hvpmod.fkrdz3
// fkrdz4:"", // 付款人地址4 .trnmod.hvpmod.fkrdz4
// fkrdz5:"", // 付款人地址5 .trnmod.hvpmod.fkrdz5
// fkrzh2:"", // 付款人�'�户2 .trnmod.hvpmod.fkrzh2
// agname2:"", // 中介机构2名称 .trnmod.hvpmod.agname2
// agency2:"", // 中介机构2行号 .trnmod.hvpmod.agency2
// feecom:"", // 收报行的收 �'� .trnmod.hvpmod.feecom
// feesen:"", // 发报行的收 �'� .trnmod.hvpmod.feesen
// remark:"", // 备注 .trnmod.hvpmod.remark
// },
// },
lendoc:{
actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum
setsuml3blk:"" // .lendoc.setsuml3blk
},
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
......
......@@ -198,7 +198,7 @@ export default {
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"letp.avbp.ptsget.sdamod.dadsnd":[
......@@ -223,7 +223,7 @@ export default {
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn":[
......@@ -250,17 +250,17 @@ export default {
],
"ledgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"}
],
"ledgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
"letp.drwp.ptsget.sdamod.dadsnd":[
......@@ -281,7 +281,7 @@ export default {
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.dbfadrblkcn":[
......
export default class Trnmod {
constructor() {
this.data = {
hvpmod:{
agnamedl:"", //.hvpmod.agnamedl
},
reconebchnam:"", // 收款直接参与者名称 .trnmod.reconebchnam
reconebch:"", // 收款直接参与者行号 .trnmod.reconebch
commen:"", // 附言 .trnmod.commen
......
......@@ -314,7 +314,7 @@
v-model="model.rebkpflg"
style="width: 100%"
placeholder="请选择Booking Procedure"
:code="rebkpflg"
:code="codes.rebkpflg"
>
</c-select>
</el-form-item>
......@@ -337,12 +337,7 @@ export default {
"c-litTemp": LitTemp,
},
data() {
return {
rebkpflg: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
]
};
},
methods: { ...Event },
created: function () {},
......
......@@ -30,7 +30,7 @@
maxlength="3"
placeholder="请输入付款人常驻国家/地区代码"
style="width:100%"
@keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode')"
@keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {COD: true},'doxpDialog')"
></c-input>
</el-form-item>
</c-col>
......@@ -39,7 +39,7 @@
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="showGridPromptDialog('cnybop.inccty.selbut1', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {TXT: false},'doxpDialog')"> </c-button>
                @click="showGridPromptDialog('cnybop.inccty.selbut1', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {COD: true},'doxpDialog')"> </c-button>
</c-col>
</c-col>
<c-col :span="24">
......
......@@ -147,7 +147,7 @@
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="showGridPromptDialog('cptp.selbut', null, null,{COD: 'cptp.draweecountcode'}, {TXT: false},'doxpDialog')"
                @click="showGridPromptDialog('cptp.selbut', null, null,{COD: 'cptp.draweecountcode'}, {COD: true},'doxpDialog')"
              > </c-button>
</template>
</c-fullbox>
......
......@@ -110,6 +110,7 @@
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</c-page>
</template>
<script>
......
......@@ -44,6 +44,7 @@
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择汇款金额"
@change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
>
<el-option
v-for="item in codes.curtxt1"
......@@ -66,7 +67,12 @@
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
@change="commonExecuteNotify()"
@keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
......@@ -517,7 +523,9 @@
v-model="model.attp.sndbchnam"
maxlength="42"
placeholder="请输入发报行名称"
@keyup.enter.native="showGridPromptDialog('attp.sndbchnam')"
@keyup.enter.native="
showGridPromptDialog('attp.sndbchnam')
"
></c-input>
</el-form-item>
</c-col>
......@@ -994,16 +1002,14 @@ export default {
],
};
},
methods: { ...Event },
watch:{
},
methods: { ...Event,
commonExecuteNotify(){
this.executeNotify().then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
created: function () {},
computed: {
flag() {
return this.model.cpdgrp.orc.pts.extkey == "";
......
......@@ -117,6 +117,14 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>   
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
......@@ -190,7 +198,7 @@ export default {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -35,13 +35,14 @@
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled
@keyup.enter.native="
></c-input-currency>
<!-- @keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input-currency>
" -->
</el-form-item>
</c-col>
</c-col>
......@@ -57,11 +58,12 @@
<el-form-item
style="text-align: left"
label-width="5px"
prop="cpdgrp.cbs.nom1.amt"
prop="cpdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled
@keyup.enter.native="
defaultFunction(
......@@ -86,8 +88,19 @@
</c-col>
<c-col :span="24">
<el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp">
<c-input v-model="model.cpdgrp.rec.paytyp" disabled></c-input>
<el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp" >
<c-select
v-model="model.cpdgrp.rec.paytyp"
style="width:100%"
disabled
>
<el-option
v-for="item in paytyp"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -254,7 +267,13 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
paytyp:[
{label:"Incoming Payment",value:"I"},
{label:"Outgoing Payment",value:"O"},
{label:"Transit Payment",value:"T"},
]
};
},
methods: { ...Event },
created: function () {},
......
......@@ -19,23 +19,33 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cptcan PD000016 Cancelation -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement 账务-->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion 附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages 报文面函-->
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments 附件-->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......
<template>
<div class="eibs-tab">
<!-- =================左边============== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Our Referance" prop="cpdgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.cpdgrp.rec.ownref" disabled></c-input>
<template slot="footer">
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Payment Amount" prop="cpdgrp.cbs.nom1.cur">
<c-input v-model="model.cpdgrp.cbs.nom1.cur" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="5px"
prop="cpdgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled
></c-input-currency>
<!-- @keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
" -->
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Received Amount" prop="cpdgrp.cbs.max.cur">
<c-input v-model="model.cpdgrp.cbs.max.cur" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="5px"
prop="cpdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled
@keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Value Date" prop="cpdgrp.rec.valdat">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.valdat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp" >
<c-select
v-model="model.cpdgrp.rec.paytyp"
style="width:100%"
disabled
>
<el-option
v-for="item in paytyp"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =================右边====================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input v-model="model.cpdgrp.rec.nam" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Ordering Customer" prop="cpdgrp.orc.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.orc.pts.nam" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Ordering Institution" prop="cpdgrp.ori.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.ori.pts.nam" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Pay Bank" prop="cpdgrp.pyb.pts.pts">
<c-input type="textarea" v-model="model.cpdgrp.pyb.pts.pts" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payee" prop="cpdgrp.pye.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.pye.pts.nam" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Narrative" prop="strinf">
<c-input type="textarea" v-model="model.strinf" rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="6" :offset="1">
<c-checkbox v-model="model.sndsmg">Send Message</c-checkbox>
</c-col>
</c-col>
<!-- =================原码================ -->
<!-- <c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="cptp0.recget.sdamod.dadsnd">
<c-input v-model="model.cptp0.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
SF000104 : Our Reference
<c-col :span="12">
<c-form-item :label="$t('cptp0.SF000104')" prop="cpdgrp.rec.ownref">
<c-input v-model="model.cpdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cptp0.SF000104')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="cptp0.recget.sdamod.seainf">
<c-input v-model="model.cptp0.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
SF000110 : Name
<c-col :span="12">
<c-form-item :label="$t('cptp0.SF000110')" prop="cpdgrp.rec.nam">
<c-input v-model="model.cpdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('cptp0.SF000110')"></c-input>
</c-form-item>
</c-col>
SF000106 : Ordering Customer
SF000103 : Payment Amount
<c-col :span="12">
<c-form-item :label="$t('cptp0.SF000103')" prop="cpdgrp.cbs.nom1.cur">
<c-input v-model="model.cpdgrp.cbs.nom1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('cptp0.SF000103')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="cpdgrp.cbs.nom1.amt">
<c-input v-model="model.cpdgrp.cbs.nom1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="cpdgrp.orc.pts.nam">
<c-input v-model="model.cpdgrp.orc.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
SF000113 : Received Amount
<c-col :span="12">
<c-form-item :label="$t('cptp0.SF000113')" prop="cpdgrp.cbs.max.cur">
<c-input v-model="model.cpdgrp.cbs.max.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('cptp0.SF000113')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="cpdgrp.cbs.max.amt">
<c-input v-model="model.cpdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
SF000109 : Ordering Institution
SF000102 : Value Date
<c-col :span="12">
<el-form-item :label="$t('cptp0.SF000102')" prop="cpdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.cpdgrp.rec.valdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('cptp0.SF000102')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="cpdgrp.ori.pts.nam">
<c-input v-model="model.cpdgrp.ori.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
SF000105 : Payment Type
<c-col :span="12">
<el-form-item :label="$t('cptp0.SF000105')" prop="cpdgrp.rec.paytyp">
<c-select v-model="model.cpdgrp.rec.paytyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('cptp0.SF000105')">
</c-select>
</el-form-item>
</c-col>
SF000108 : Paying Bank
<c-col :span="12">
<c-form-item label="Name of Party" prop="cpdgrp.pyb.pts.nam">
<c-input v-model="model.cpdgrp.pyb.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
SF000107 : Payee
<c-col :span="12">
<c-form-item label="Name of Party" prop="cpdgrp.pye.pts.nam">
<c-input v-model="model.cpdgrp.pye.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
SF000017 : Narrative
<c-col :span="12">
<c-form-item :label="$t('cptcan.SF000017')" prop="strinf">
<c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+$t('cptcan.SF000017')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.sndmsg">{{$t('cptcan.CF000039')}}</c-checkbox>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptcan/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
paytyp:[
{label:"Incoming Payment",value:"I"},
{label:"Outgoing Payment",value:"O"},
{label:"Transit Payment",value:"T"},
]
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -26,7 +26,7 @@
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input
disabled
......@@ -36,12 +36,14 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入Balance"
></c-input>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
......
......@@ -37,7 +37,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1"> </c-col>
</c-col>
</c-row>
</div>
......
......@@ -218,12 +218,12 @@
</c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<!-- <el-form-item prop="gidgrp.cbs.cnf.amt"> -->
<el-form-item label-width="5px" prop="gidgrp.cbs.cnf.amt">
<c-input
v-model="model.gidgrp.cbs.cnf.amt"
placeholder="请输入Balance"
></c-input>
<!-- </el-form-item> -->
</el-form-item>
</c-col>
<c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'"
......@@ -233,12 +233,12 @@
<span>or</span>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<!-- <el-form-item prop="gidgrp.rec.partcon"> -->
<el-form-item label-width="5px" prop="gidgrp.rec.partcon">
<c-input
v-model="model.gidgrp.rec.partcon"
placeholder="请输入Partial Confirmation"
></c-input>
<!-- </el-form-item> -->
</el-form-item>
</c-col>
<c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'"
......
......@@ -36,38 +36,38 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.covgodsrvcmodflg == ''"
label="Object of Contract"
prop="gidgrp.blk.covgodsrvc"
>
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.covgodsrvc"
maxlength="3250"
show-word-limit
placeholder="请输入Object of Contract"
></c-input>
</el-form-item>
<el-form-item
v-if="model.gitp.covgodsrvcmodflg == 'X'"
label="Underly. Transact. Det."
prop="gidgrp.blk.atxcovgodsrvc"
>
<c-input
rows="5"
type="textarea"
v-model="model.gidgrp.blk.atxcovgodsrvc"
maxlength="3250"
show-word-limit
placeholder="请输入Underly. Transact. Det."
@blur="atxcovgodsrvcBlur"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item
v-if="model.gitp.covgodsrvcmodflg == ''"
label="Object of Contract"
prop="gidgrp.blk.covgodsrvc"
>
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.covgodsrvc"
maxlength="3250"
show-word-limit
placeholder="请输入Object of Contract"
></c-input>
</el-form-item>
<el-form-item
v-if="model.gitp.covgodsrvcmodflg == 'X'"
label="Underly. Transact. Det."
prop="gidgrp.blk.atxcovgodsrvc"
>
<c-input
rows="5"
type="textarea"
v-model="model.gidgrp.blk.atxcovgodsrvc"
maxlength="3250"
show-word-limit
placeholder="请输入Underly. Transact. Det."
@blur="atxcovgodsrvcBlur"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
......@@ -135,12 +135,14 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="model.gidgrp.rec.orcamtc"
placeholder="请输入Contract Amount "
></c-input>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.orcamtc">
<c-input
disabled
v-model="model.gidgrp.rec.orcamtc"
placeholder="请输入Contract Amount "
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -281,7 +283,7 @@ export default {
data() {
return {};
},
methods: {
methods: {
...Event,
async atxcovgodsrvcBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxcovgodsrvc");
......@@ -296,7 +298,7 @@ export default {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
},
created: function () {},
};
</script>
......
......@@ -90,12 +90,14 @@
</template>
<c-col :span="24">
<c-input
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
<el-form-item label-width="0px" prop="gidgrp.rec.ownref">
<c-input
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-button
......
......@@ -37,13 +37,15 @@
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-input
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
<el-form-item label-width="0px" prop="gidgrp.rec.ownref">
<c-input
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-button
......
......@@ -686,9 +686,6 @@
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.rmbflg">Reimbursement Information</c-checkbox>
</c-col> -->
</c-col>
<c-col :span="24">
......@@ -818,17 +815,21 @@
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Language of Undertak."
prop="gidgrp.rec.giduil"
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == ''
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.giduil"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Language of Undertak."
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.uiltxt2"
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -840,18 +841,21 @@
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="特殊保函类型"
prop="gidgrp.ghd.segtyp"
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'EN'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
disabled
v-model="model.gidgrp.ghd.segtyp"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择特殊保函类型"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.segtyp"
v-for="item in codes.gtxinr"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -860,23 +864,25 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="分离式保函"
prop="gidgrp.rec.fenlishi"
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == ''
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="
model.gidgrp.rec.hndtyp != 'OC' &&
model.gidgrp.rec.hndtyp != 'OL'
"
v-model="model.gidgrp.rec.fenlishi"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择是否分离式保函"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.fenlishi2"
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -885,51 +891,19 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.gartyp == ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp == ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp != ''"
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OT'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
......@@ -950,7 +924,8 @@
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == ''
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OC'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
......@@ -961,7 +936,7 @@
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr3"
v-for="item in codes.gtxinr1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -976,7 +951,8 @@
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'EN'
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OL'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
......@@ -987,7 +963,7 @@
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr"
v-for="item in codes.gtxinr2"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -999,22 +975,17 @@
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == ''
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
v-if="model.gitp.swiftflg == 'Y'"
label="Language of Undertak."
prop="gidgrp.rec.giduil"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
v-model="model.gidgrp.rec.giduil"
style="width: 100%"
placeholder="请选择Choice of Text"
placeholder="请选择Language of Undertak."
>
<el-option
v-for="item in codes.gtxinr3"
v-for="item in codes.uiltxt2"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -1025,13 +996,58 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="特殊保函类型"
prop="gidgrp.ghd.segtyp"
>
<c-select
disabled
v-model="model.gidgrp.ghd.segtyp"
style="width: 100%"
placeholder="请选择特殊保函类型"
>
<el-option
v-for="item in codes.segtyp"
: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
v-if="model.gitp.swiftflg != 'Y'"
label="分离式保函"
prop="gidgrp.rec.fenlishi"
>
<c-select
:disabled="
model.gidgrp.rec.hndtyp != 'OC' &&
model.gidgrp.rec.hndtyp != 'OL'
"
v-model="model.gidgrp.rec.fenlishi"
style="width: 100%"
placeholder="请选择是否分离式保函"
>
<el-option
v-for="item in codes.fenlishi2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OT'
"
v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.gartyp == ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
......@@ -1040,62 +1056,46 @@
style="width: 100%"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OC'
"
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp == ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OL'
"
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp != ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr2"
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -1104,19 +1104,37 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Order Date"
prop="gidgrp.rec.orddat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Order Date"
prop="gidgrp.rec.orddat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Issuance Date"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Issuance Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
......@@ -1263,15 +1281,6 @@
</c-button>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Old Reference" prop="gidgrp.rec.oldref">
<c-input
v-model="model.gidgrp.rec.oldref"
maxlength="16"
placeholder="请输入Old Reference"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
......@@ -1308,25 +1317,44 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="被保证人"
prop="gidgrp.gidcxm.warran"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<c-input
:disabled="
model.gidgrp.rec.hndtyp != 'OT' &&
model.gidgrp.rec.fenlishi == ''
"
v-model="model.gidgrp.gidcxm.warran"
maxlength="40"
placeholder="请输入被保证人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ============右边================= -->
......@@ -1636,37 +1664,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="被保证人"
prop="gidgrp.gidcxm.warran"
>
<c-input
:disabled="
model.gidgrp.rec.hndtyp != 'OT' &&
model.gidgrp.rec.fenlishi == ''
"
v-model="model.gidgrp.gidcxm.warran"
maxlength="40"
placeholder="请输入被保证人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Issuance Date"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Issuance Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
......@@ -1688,13 +1686,12 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col
:span="24"
v-if="model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg != 'Y'"
>
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="对外担保类型"
prop="gidgrp.rec.cfaguatyp"
>
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
:disabled="
model.gidgrp.rec.fingua == 'N' ||
......@@ -1714,13 +1711,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="
model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg != 'Y'
"
class="centerLable"
>
<c-col :span="4" class="centerLable">
<c-checkbox
label="跨境人民币保函"
disabled
......@@ -1728,287 +1719,309 @@
>跨境人民币保函</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Order Date"
prop="gidgrp.rec.orddat"
<c-col
:span="24"
v-if="model.gitp.swiftflg != 'Y' && model.gidgrp.cbs.max.cur != 'CNY'"
>
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
:disabled="
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%"
placeholder="请选择对外担保类型"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
</c-col>
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Order Date"
prop="gidgrp.rec.orddat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Valid from"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Valid from"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Expiry Type"
prop="gidgrp.rec.exptyp"
>
<c-select
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择Expiry Type"
>
<el-option
v-for="item in codes.exptyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Valid from"
prop="gidgrp.rec.opndat"
label="Validity until"
prop="gidgrp.rec.expdat"
>
<c-date-picker
:disabled="model.gidgrp.rec.exptyp == 'OPEN'"
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Valid from"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择Validity until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>Unlimited Validity</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Expiry Type"
prop="gidgrp.rec.exptyp"
<c-col :span="24">
<c-col :span="20">
<c-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt"
>
<c-select
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择Expiry Type"
>
<el-option
v-for="item in codes.exptyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<c-input
type="textarea"
rows="4"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</c-form-item>
<c-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.atxexptxt"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxexptxt"
maxlength="780"
@blur="atxexpBlur"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Validity until"
prop="gidgrp.rec.expdat"
>
<c-date-picker
:disabled="model.gidgrp.rec.exptyp == 'OPEN'"
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择Validity until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
v-model="model.gitp.exptxtmodflg"
:disabled="
model.gidgrp.rec.exptyp == 'FIXD' ||
model.gidgrp.rec.exptyp == 'OPEN' ||
model.gidgrp.rec.exptyp == ''
"
style="margin: 0 0 0 10px"
>Modify Text</c-checkbox
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>Unlimited Validity</c-checkbox
>
</c-col>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifexptxt"
>
vs. &System
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisexptxt"
>
vs. &History
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt"
>
<c-input
type="textarea"
rows="4"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</c-form-item>
<c-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.atxexptxt"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxexptxt"
maxlength="780"
@blur="atxexpBlur"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.exptxtmodflg"
:disabled="
model.gidgrp.rec.exptyp == 'FIXD' ||
model.gidgrp.rec.exptyp == 'OPEN' ||
model.gidgrp.rec.exptyp == ''
"
style="margin: 0 0 0 10px"
>Modify Text</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifexptxt"
>
vs. &System
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisexptxt"
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Liability Type "
prop="gidgrp.rec.liatypc"
>
<c-select
:disabled="
!(
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
)
"
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择Liability Type "
>
<el-option
v-for="item in codes.liatypc"
:key="item.value"
:label="item.label"
:value="item.value"
>
vs. &History
</c-button>
</c-col>
</c-col>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Liability Type "
prop="gidgrp.rec.liatypc"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-select
<c-date-picker
:disabled="
!(
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
)
model.gidgrp.rec.liatypc == 'OPEN' ||
model.gidgrp.rec.liatypc == ''
"
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择Liability Type "
>
<el-option
v-for="item in codes.liatypc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择Our Liability until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker
:disabled="
model.gidgrp.rec.liatypc == 'OPEN' ||
model.gidgrp.rec.liatypc == ''
"
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择Our Liability until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
<c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.liatxtcmodflg == ''
"
label="Liability Condition"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
disabled
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
></c-input>
</el-form-item>
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.liatxtcmodflg == 'X'
"
label="Liability Condition"
prop="gidgrp.blk.atxliatxtc"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxliatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
@blur="atxliatxtcBlur"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
:disabled="
model.gidgrp.rec.liatypc == 'OPEN' ||
model.gidgrp.rec.liatypc == 'FIXD' ||
model.gidgrp.rec.liatypc == ''
"
v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px"
@change="liamodflgChange"
>Modify Text</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifliatxtc"
>
vs. &System
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.liatxtcmodflg == ''
"
label="Liability Condition"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisliatxtc"
>
vs. &History
</c-button>
</c-col>
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
></c-input>
</el-form-item>
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gitp.liatxtcmodflg == 'X'
"
label="Liability Condition"
prop="gidgrp.blk.atxliatxtc"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxliatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
@blur="atxliatxtcBlur"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
:disabled="
model.gidgrp.rec.liatypc == 'OPEN' ||
model.gidgrp.rec.liatypc == 'FIXD' ||
model.gidgrp.rec.liatypc == ''
"
v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px"
@change="liamodflgChange"
>Modify Text</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifliatxtc"
>
vs. &System
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisliatxtc"
>
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
......
......@@ -30,11 +30,13 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="0px" prop="gidgrp.cbs.mac.amt">
<c-input
v-model="model.gidgrp.cbs.mac.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg"
......
......@@ -353,16 +353,6 @@ export default {
methods: {
...Event,
},
watch: {
"model.gidgrp.iss.pts.adrblk": function () {
if (this.model.gidgrp.iss.pts.adrblk != "") {
let rtnmsg = this.executeDefault("gidgrp.bec.pts.adrblk");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
},
},
created: function () {},
};
</script>
......
......@@ -237,9 +237,6 @@
v-model="model.cnybop.cnyvou.svouchercountrycode"
maxlength="3"
placeholder="请输入担保人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.svouchercountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......@@ -275,9 +272,6 @@
v-model="model.cnybop.cnyvou.svoucheecountrycode"
maxlength="3"
placeholder="请输入担保权人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.svoucheecountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......@@ -303,9 +297,6 @@
v-model="model.cnybop.cnyvou.sdebtorcountrycode"
maxlength="3"
placeholder="请输入债务人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.sdebtorcountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......@@ -341,9 +332,6 @@
v-model="model.cnybop.cnyvou.sreversecountrycode"
maxlength="3"
placeholder="请输入反担保人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.sreversecountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......
......@@ -85,9 +85,7 @@
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
......@@ -370,6 +368,8 @@ export default {
rulePath = "gitp.gidtxtp"
}if (name === "ptypc"){
rulePath = "gitp.ptypc"
}if(name==="ptyp"){
rulePath = "gitp.ptyp"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
......
......@@ -845,58 +845,6 @@ export default {
},
methods: {
...Event,
// avbbykeyEvent() {
// if (this.model.ledgrp.rec.avbby == 'P') {
// this.model.ledgrp.rec.tenmaxday = 0
// this.model.ledgrp.blk.defdet = ''
// }
// if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
// this.model.ledgrp.blk.defdet = '' //汇票期限置空
// this.model.ledgrp.drw.pts.extkey = ''//付款人置空
// this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
// }
// this.executeCheck('ledgrp.rec.avbby').then((res) => {
// if (res.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, res.data)
// }
// })
// },
openRevolvingDetails(val){
if(val ==='' && !(this.model.ledgrp.rec.revtyp ===''&& this.model.ledgrp.rec.revtimes == '0' && this.model.ledgrp.rec.revdat ===''
&&this.model.ledgrp.rec.revcum ===''&&this.model.ledgrp.blk.revcls ===''&&this.model.ledgrp.blk.revnotes ==='') ){
this.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created: function () {},
computed: {
......
......@@ -11,7 +11,6 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -19,10 +18,10 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
v-if="model.ledgrp.rec.avbwth != 'O'"
:model="model"
:argadr="{
title: '指定银行',
title: '',
grp: 'ledgrp',
rol: 'avb',
}"
......@@ -35,8 +34,27 @@
</c-ptap>
</c-col>
<!-- 名称地址 -->
<c-col :span="24">
<el-form-item label="名称地址" prop="ledgrp.blk.avbwthtxt">
<el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
:disabled="model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input
type="textarea"
:rows="3"
......@@ -44,21 +62,9 @@
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
:disabled="model.ledgrp.rec.avbwth!='O'"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
......@@ -67,7 +73,6 @@
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
@change="avbbykeyEvent"
>
</c-select>
</el-form-item>
......@@ -389,30 +394,25 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.defdet = ''
}
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
// avbwthEvent(){
// if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
// this.model.ledgrp.avb.pts.extkey = ''
// this.model.ledgrp.blk.avbwthtxt = ''
// }
// },
// avbbykeyEvent() {
// if (this.model.ledgrp.rec.avbby == 'P') {
// this.model.ledgrp.rec.tenmaxday = 0
// this.model.ledgrp.blk.defdet = ''
// }
// if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
this.model.ledgrp.blk.defdet = '' //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ''//付款人置空
this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
// this.model.ledgrp.blk.defdet = '' //汇票期限置空
// this.model.ledgrp.drw.pts.extkey = ''//付款人置空
// this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
}
this.executeCheck('ledgrp.rec.avbby').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
// }
// },
},
created: function () {},
......@@ -421,7 +421,8 @@ export default {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
)
},
},
......
<template>
<c-row class="eibs-tab">
<!-- ====================顶部==================== -->
<c-col :span="6" style="margin-left:9px">
<c-col :span="6" style="margin-left:9px">
<el-form-item label="参考号" label-width="50px">
<c-input v-model="model.setmod.ref" maxlength="16" :readonly="true" placeholder="请输入our reference">
<c-input v-model="model.setmod.ref" maxlength="16" :disabled="true" :readonly="true" placeholder="请输入our reference">
</c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="结算金额" label-width="100px">
<c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :readonly="true"></c-input>
<c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :disabled="true" :readonly="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="7px">
<c-input v-model="model.setmod.docamt" :readonly="true" placeholder="请输入document amount"></c-input>
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
......@@ -259,8 +259,8 @@
</c-table>
</c-col>
<div style="height=500px">
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
</div>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
</div>
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="100px">
<span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span>
......@@ -298,12 +298,12 @@
</el-table-column>
<el-table-column label="Account" prop="act" width="auto">
<template slot-scope="scope">
<el-form-item label="0" :prop="'setglg.setgll.' + scope.$index + '.act'" >
<c-select v-model="scope.row.act">
<el-option v-for="item in scope.act" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
<el-form-item label="0" :prop="'setmod.setglg.setgll.' + scope.$index + '.act'" >
<c-select v-model="scope.row.act">
<el-option v-for="item in scope.act" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
......
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