Commit 16fad2fc by panziyi

bug修改

parent 5ef7e9ac
......@@ -4,13 +4,14 @@ import Pub from "../Public"
export default class Getcan{
constructor () {
this.data = {
letbenl1blk: "",
letissl1blk: "",
leta2bl1blk: "",
gitapll2blk: "",
gitapll1blk: "",
gitbenl1blk: "",
gitbenl2blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
......
......@@ -17,64 +17,7 @@ export default {
async onSeainf(){
},
// async onSetmodSetpan(){
// let rtnmsg = await this.executeRule("setmod.setpan")
// if (rtnmsg.respCode == SUCCESS) {
// //处理响应
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
// async demstat(){
// let rtnmsg = await this.executeRule("gcdgrp.rec.demstat")
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// this.$message({
// type: 'success',
// message: '获取成功!'
// });
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// } ,
// async onDocprbrolChange(){
// let rtnmsg = await this.executeRule("gcdgrp.rec.docprbrol")
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// this.$message({
// type: 'success',
// message: '获取成功!'
// });
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
// async onPayrol(){
// let rtnmsg = await this.executeRule("gcdgrp.rec.payrol")
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
onSeainf() {
......
......@@ -4,7 +4,9 @@ import Pub from "../Public"
export default class Getcrq{
constructor () {
this.data = {
gitapll1blk: "",
gitbenl1blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -8,6 +8,8 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gidgrp.acb.namelc" :null,
"gidgrp.acb.pts.adrblk" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.liaccv.totcovamt" :null,
......@@ -17,7 +19,10 @@ let checkObj = {
"liaall.limmod.limpts.nonrevflg1" :null,
"newref" :null,
"setmod.docamt" :null,
"gidgrp.acb.pts.extkey" :null,
"liaall.liaccv.cshpct" :null,
"gidgrp.acb.adrelc" :null,
"gidgrp.rec.redamt" :null,
"liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null,
}
......
......@@ -11,6 +11,7 @@ export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.cbs.opn1.cur" :Utils.defaultFunction,
"trnmod.swiadd.chacur" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
......@@ -27,7 +28,12 @@ export default {
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.acb.pts.extkey" :Utils.defaultFunction,
"gidgrp.acb.adrelc" :Utils.defaultFunction,
"gidgrp.acb.namelc" :Utils.defaultFunction,
"gidgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"gidgrp.acb.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
......@@ -38,12 +44,15 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"gidgrp.rec.outcur" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"gidgrp.rec.redamt" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"gidgrp.rec.redcur" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......
......@@ -194,9 +194,17 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onSeainf(){
},
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -294,4 +294,75 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"gidgrp.rec.reddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.blk.accspc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.redcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.blk.amtspc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.outcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.chacur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.swiadd.chaamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gitp0.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gitp0.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
......@@ -4,11 +4,11 @@ import Pub from "../Public"
export default class Gitcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
......@@ -21,6 +21,14 @@ export default class Gitcan{
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
acbp:{
ptsget:{
sdamod:{
seainf:"", // .gitp0.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitp0.acbp.ptsget.sdamod.dadsnd
},
},
},
},
gidgrp:{
rec:{
......@@ -31,6 +39,11 @@ export default class Gitcan{
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purcan:"", // Reason of Cancelation .gidgrp.rec.purcan
reddat:"", // Date of Reduction .gidgrp.rec.reddat
redcur:"", // Amount Reduced .gidgrp.rec.redcur
redamt:"", // Reduced Amount to be Paid .gidgrp.rec.redamt
outcur:"", // Amount Outstanding .gidgrp.rec.outcur
outamt:"", // Outstanding Amount .gidgrp.rec.outamt
},
cbs:{
max:{
......@@ -54,11 +67,24 @@ export default class Gitcan{
iss:{
pts:new Pts().data,
},
blk:{
accspc:"", // Account Specification .gidgrp.blk.accspc
amtspc:"", // Amount Specification .gidgrp.blk.amtspc
chaded:"", // Details of Charges .gidgrp.blk.chaded
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.acb.namelc
adrelc:"", // 地址 .gidgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.acb.dbfadrblkcn
},
},
newref:"", // New Reference .newref
// trnmod:{
// swiadd:{
// strinf:"", // Sender to receiver info Tag 72 .trnmod.swiadd.strinf
// chacur:"", // Amount of Charges .trnmod.swiadd.chacur
// chaamt:"", // charges amount .trnmod.swiadd.chaamt
// },
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
......
......@@ -4,6 +4,9 @@ import Pub from "../Public"
export default class Gitcrj{
constructor () {
this.data = {
gitbenl1blk:"",
gitapll1blk:"",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -4,6 +4,9 @@ import Pub from "../Public"
export default class Gitcrq{
constructor () {
this.data = {
gitapll1blk: "",
gitbenl1blk: "",
gitothl1blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -5,9 +5,15 @@ import Dids from "../Public/Dids"
export default class Gitset{
constructor () {
this.data = {
gitapll2blk:"",
gitapll1blk:"",
gitbenl1blk:"",
gitprbl1blk:"",
gitrmrl1blk:"",
didgrp: new Dids().data.Didgrp,
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
// setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
gctp:{
......@@ -192,6 +198,7 @@ export default class Gitset{
// },
// },
setmod:{
ogiamt:"",
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
......@@ -201,6 +208,7 @@ export default class Gitset{
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[],
setgll01:{
sespay:{
strinf:"", // Sender to Receiver .setmod.setglg.setgll01.sespay.strinf
......@@ -321,9 +329,18 @@ export default class Gitset{
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
refdat:"",
},
// trnmod:{
// trndoc:{
......
......@@ -71,7 +71,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAwipDet">
<c-button size="small" type="primary" @click="onIntpDet">
Details
</c-button>
</template>
......@@ -121,9 +121,7 @@
disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" maxlength="35" show-word-limit placeholder="请输入Present. Compl. Det." ></c-input>
......
......@@ -478,7 +478,8 @@
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gcdgrp.rec.docprbrol!='PRB'">
<c-col :span="24" >
<el-form-item
label=""
prop="gcdgrp.prb.pts.extkey"
......@@ -506,45 +507,7 @@
<c-button
size="small"
type="primary"
@click="onGctpGetrefbut"
style="margin: 0 0"
>
Temp.
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gcdgrp.rec.docprbrol=='PRB'">
<el-form-item
label=""
prop="gcdgrp.prb.pts.extkey"
>
<c-fullbox>
<c-input
:disabled="model.gcdgrp.rec.docprbrol != 'PRB'"
v-model="model.gcdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
size="small"
type="primary"
@click="onGctpGetrefbut"
@click="onPrbpDet"
style="margin: 0 0"
>
Details
......@@ -604,7 +567,7 @@
@change="commonExecuteRule('gcdgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.payrol"
v-for="item in codes.ptydbt"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -627,7 +590,8 @@
>
</c-ptap>
</c-col> -->
<c-col :span="24">
<c-col :span="24" v-if="model.gcdgrp.rec.payrol!='APL'">
<el-form-item
label=""
prop="gcdgrp.oth.pts.extkey"
......@@ -636,7 +600,7 @@
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
......@@ -657,7 +621,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Details
</c-button>
......@@ -665,13 +629,51 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gcdgrp.rec.payrol=='APL'">
<el-form-item
label=""
prop="gcdgrp.oth.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Temp.
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.oth.pts.adrblk">
<c-input
type="textarea"
rows="4"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
show-word-limit
......@@ -734,12 +736,7 @@ export default {
mixins: [commonProcess],
data() {
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "Issuing Bank", value: "2" },
......@@ -750,7 +747,7 @@ export default {
methods: {
...Event,
commonExecuteRule(ruleName){
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
......
......@@ -61,7 +61,12 @@
prop="gidgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gidgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入"></c-input>
<c-input
v-model="model.gidgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
......@@ -82,9 +87,15 @@
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.gitp0.gitp0s20" disabled style="margin-left: 18px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
<c-checkbox
v-model="model.gitp0.gitp0s20"
disabled
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -160,30 +171,29 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Expiry" prop="gidgrp.rec.expdat">
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="50px" prop="gidgrp.rec.exptyp">
<c-input
v-model="model.gidgrp.rec.exptyp"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Expiry" prop="gidgrp.rec.expdat">
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="50px" prop="gidgrp.rec.exptyp">
<c-input
v-model="model.gidgrp.rec.exptyp"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Reason of Cancelation" prop="gidgrp.rec.purcan">
......@@ -303,16 +313,19 @@
</el-form-item>
</c-col>
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" -->
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" -->
<c-col :span="24" :offset="6">
<c-checkbox
:disabled="model.gidgrp.rec.purcan != 'RR'"
v-model="model.mtabut.clsflg"
style="margin-left: 15px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
>
Close Flag</c-checkbox
:disabled="model.gidgrp.rec.purcan != 'RR'"
v-model="model.mtabut.clsflg"
style="
margin-left: 15px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>
Close Flag</c-checkbox
>
</c-col>
</c-col>
......@@ -461,7 +474,6 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcan/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
......
......@@ -21,6 +21,10 @@
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan=='RR'">
<m-mt769p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
......@@ -92,6 +96,7 @@ import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Ccvpan from "~/views/Public/Ccvpan"
import Shisuan from "./Shisuan"
import Mt769p from "./Mt769p"
//import Limitbody from "./Limitbody"
......@@ -107,6 +112,7 @@ export default {
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
"m-mt769p": Mt769p,
},
provide() {
return {
......
......@@ -438,7 +438,7 @@
</c-button>
<c-button size="small" type="primary"
style="margin: 0 0"
@click="onGctpGetrefbut">
@click="onPrbpDet">
Temp.
</c-button>
</template>
......@@ -494,9 +494,10 @@
placeholder="请选择Payer"
style="width: 100%"
disabled
@change="commonExecuteRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in payrol2"
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -523,7 +524,7 @@
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
......@@ -544,7 +545,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Details
</c-button>
......@@ -560,7 +561,7 @@
rows="4"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
show-word-limit
placeholder="请输入Address Block"
></c-input>
......@@ -907,7 +908,16 @@ export default {
],
};
},
methods: { ...Event },
methods: { ...Event,
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
</script>
......
......@@ -35,31 +35,33 @@
<c-col :span="24">
<el-form-item label="Demand Statem. Text " prop="clmtxts20">
<c-input type="textarea" v-model="model.clmtxts20" maxlength="65" rows="4" show-word-limit placeholder="请输入Demand Statem. Text " ></c-input>
<c-input type="textarea" v-model="model.clmtxts20" rows="10" show-word-limit placeholder="请输入Demand Statem. Text " ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Add. Amt. Information" prop="gcdgrp.blk.addamtinf">
<c-input type="textarea" v-model="model.gcdgrp.blk.addamtinf" maxlength="65" rows="4" show-word-limit placeholder="请输入Add. Amt. Information" ></c-input>
<c-input type="textarea" v-model="model.gcdgrp.blk.addamtinf" rows="10" show-word-limit placeholder="请输入Add. Amt. Information" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" maxlength="35" rows="4"
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" rows="9"
show-word-limit placeholder="请输入Present. Compl. Det."
:disabled="model.gcdgrp.rec.demstat!='INCP'"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Intermediary" prop="gcdgrp.int.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.int.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('gcdgrp.int.pts.extkey')"
@keyup.enter.native="showGridPromptDialog(`gcdgrp.int.pts.extkey`)"
></c-input>
<template slot="footer">
......@@ -71,7 +73,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAwipDet">
<c-button size="small" type="primary" @click="onIntpDet">
Details
</c-button>
</template>
......@@ -194,6 +196,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitcrq/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......
......@@ -63,6 +63,7 @@
<c-button
size="small"
type="primary"
:disabled="this.flag"
v-model="model.gctp.getrefbut"
@click="onGctpGetrefbut"
>
......@@ -116,7 +117,6 @@
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -142,9 +142,6 @@
v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入"
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.opn1.amt', model.gcdgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -442,8 +439,13 @@
placeholder="请选择"
style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.docprbrol')"
:code="docprbrol2"
>
>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -470,7 +472,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
showGridPromptDialog(`gcdgrp.prb.pts.extkey`)
"
></c-input>
<template slot="footer">
......@@ -488,7 +490,7 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onGctpGetrefbut"
@click="onPrbpDet"
>
Temp.
</c-button>
......@@ -527,7 +529,7 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onGctpGetrefbut"
@click="onPrbpDet"
>
Details
</c-button>
......@@ -584,8 +586,14 @@
placeholder="请选择"
style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.payrol')"
:code="payrol2"
>
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -593,7 +601,7 @@
<el-form-item label="Reference " prop="gcdgrp.oth.pts.ref">
<c-input
v-model="model.gcdgrp.oth.pts.ref"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
maxlength="16"
placeholder="请输入Reference "
></c-input>
......@@ -608,10 +616,10 @@
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
showGridPromptDialog(`gcdgrp.oth.pts.extkey`)
"
>
</c-input>
......@@ -630,7 +638,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Details
</c-button>
......@@ -646,7 +654,7 @@
rows="4"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
show-word-limit
placeholder="请输入Address Block"
></c-input>
......@@ -706,19 +714,18 @@ export default {
mixins: [commonProcess],
data() {
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant's Bank", value: "1" },
{ label: "other paying party", value: "2" },
],
};
},
computed: {
flag() {
return this.model.gcdgrp.prb.pts.extkey == "";
},
},
methods: {
...Event,
// change(){
......
......@@ -30,7 +30,9 @@
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
......
......@@ -446,7 +446,7 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onGctpGetrefbut"
@click="onPrbpDet"
>
Temp.
</c-button>
......@@ -474,7 +474,7 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer"
style="width: 100%"
@change="payrolChange"
@change="commonExecuteRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in payrol2"
......@@ -518,7 +518,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Details
</c-button>
......@@ -849,12 +849,7 @@ export default {
mixins: [commonProcess],
data() {
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "other paying party", value: "2" },
......@@ -862,12 +857,14 @@ export default {
};
},
methods: { ...Event,
payrolChange(v) {
if (v !== "2") {
this.model.gcdgrp.oth.pts.extkey = "";
this.model.gcdgrp.oth.pts.adrblk="";
}
},
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
......
......@@ -127,7 +127,7 @@ import Limitbody from "~/views/Public/Limitbody"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Setpan from "./Setpan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Glepan from "~/views/Public/Glepan"
import Ccvpan from "~/views/Public/Ccvpan"
......
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