Commit bfa7799d by huangxin

ditdla,ditdav,botset,botcan报错解决

parent 7a235a09
......@@ -50,11 +50,11 @@ export default {
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "int", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
//{type: "int", required: false, message: "必输项"},
//{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.pts.ref":[
......@@ -67,10 +67,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"strinf":[
//{type: "string", required: true, message: "必输项"},
......
......@@ -390,7 +390,7 @@ export default {
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
......@@ -403,10 +403,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"liaall.tenstm":[
{type: "string", required: false, message: "必输项"},
......
......@@ -97,7 +97,7 @@ import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "./Doctre";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
......
......@@ -166,16 +166,16 @@
<!-- ====================底部======================= -->
<c-col>
<c-row>
<el-row>
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<c-col :span="9">
<el-form-item label="Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input disabled v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="4">
<el-form-item label="" prop="oldbodgrp.rec.matpertyp" label-width="5px">
<c-select disabled v-model="model.oldbodgrp.rec.matpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period">
<el-option
......@@ -205,18 +205,18 @@
</c-col>
</c-col>
</c-col>
</c-row>
</el-row>
<c-row>
<el-row>
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<c-col :span="9">
<el-form-item label="New Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="4">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<el-option
......@@ -245,7 +245,7 @@
</c-col>
</c-col>
</c-col>
</c-row>
</el-row>
</c-col>
......@@ -285,6 +285,7 @@ export default {
return {
matpertyp: [
{ label: "Days", value: "D" },
{ label: "Months", value: "M" },
],
}
......
......@@ -55,7 +55,7 @@
<c-col :span="14">
<el-form-item
label="Responsible User"
prop="ditp.usr.extkey"
prop="botp.usr.extkey"
style="width: 100%"
>
<c-input
......@@ -387,7 +387,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Goods Code" prop="bodgrp.stagod">
<el-form-item label="Goods Code" prop="bodgrp.rec.stagod">
<c-select
v-model="model.bodgrp.rec.stagod"
style="width: 100%"
......@@ -489,13 +489,13 @@ export default {
// tcddoc: "",
// },
// columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
};
}
},
methods: {
...Event,
change() {
this.model.bodgrp.rec.matdat = this.model.oldbodgrp.rec.matdat;
},
// change() {
// this.model.bodgrp.rec.matdat = this.model.oldbodgrp.rec.matdat;
// },
// addTableValue(index) {
// var newTableValue = Object.assign({}, this.newValue);
// const serial = Utils.generateUUID();
......@@ -516,10 +516,10 @@ export default {
// }
// },
},
mounted() {
this.change();
console.log(this.model.bodgrp.rec.matdat);
},
// mounted() {
// this.change();
// console.log(this.model.bodgrp.rec.matdat);
// },
computed: {
flag() {
return this.model.bodgrp.drr.pts.adrelc == "";
......@@ -528,7 +528,7 @@ export default {
created: function () {
console.log(this.root);
},
};
}
</script>
<style>
</style>
......@@ -108,10 +108,10 @@ import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Setpan from "~/views/Public/Setpan"
import Glepan from "~/views/Public/Glepan";
import Glepan from "~/views/Public/Glepan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp"
......
......@@ -18,7 +18,6 @@
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......
......@@ -86,7 +86,7 @@ import Canp from "./Canp";
//import Setpan from "./Setpan"
//import Docpan from "./Docpan";
//import Coninfp from "./Coninfp";
import Doctre from "./Doctre";
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan"
......
......@@ -136,7 +136,7 @@ import Setpan from "~/views/Public/Setpan"
import Glepan from "~/views/Public/Glepan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
import Docpan1 from "./Docpan1"
import Wg from "./Wg"
import Cnyp from "./Cnyp"
......
......@@ -369,7 +369,7 @@
placeholder="请选择Presented by"
>
<el-option
v-for="item in codes.docprbrol"
v-for="item in docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -398,7 +398,7 @@
grp: 'bddgrp',
rol: 'prb',
}"
:disabled="true"
:disabled="this.flag"
:onlySearch="true"
>
</c-ptap>
......@@ -434,7 +434,7 @@
<c-col :span="24" class="change">
<el-form-item label="地址" prop="bddgrp.prb.adrelc">
<c-input type="textarea" v-model="model.bddgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
<c-input type="textarea" :disabled="this.flag" v-model="model.bddgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -458,6 +458,11 @@ export default {
mixins: [commonProcess],
data(){
return {
docprbrol: [
{ label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
advtyp: [
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
......@@ -479,6 +484,18 @@ export default {
this.model.bddgrp.rec.advdat="";
}
},
"model.bddgrp.rec.docprbrol":function(){
if(this.model.bddgrp.rec.docprbrol=='ADV'){
//this.model.bddgrp.prb.pts.nam=this.model.bddgrp.prb.namelc;
this.flag=true;
}
else if(this.model.bddgrp.rec.docprbrol=='BEN'){
//this.model.bddgrp.prb.adrelc=this.model.didgrp.rec.expplc;
this.flag=true;
}
},
},
methods:{...Event},
......
<template>
<div class="eibs-tab">
<c-col>
<c-col :span="7">
<c-col :span="5">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select disabled v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额" :code="codes.cur " ></c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
......@@ -15,7 +15,7 @@
</c-col>
<c-col>
<c-col :span="7">
<c-col :span="5">
<el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
<c-select disabled v-model="model.bddgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额" :code="codes.cur ">
</c-select>
......@@ -24,7 +24,7 @@
</c-col>
<c-col :span="5">
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="bddgrp.cbs.max2.amt">
<c-input v-model="model.bddgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
......@@ -35,34 +35,34 @@
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="bddgrp.blk.chaded">
<c-input type="textarea" v-model="model.bddgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
<c-input type="textarea" v-model="model.bddgrp.blk.chaded" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="Charges" prop="bddgrp.blk.chaadd">
<c-input type="textarea" v-model="model.bddgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
<el-form-item label="Charges Added" prop="bddgrp.blk.chaadd">
<c-input type="textarea" v-model="model.bddgrp.blk.chaadd" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="7">
<el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur">
<c-input disabled v-model="model.bddgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
<c-col :span="5">
<el-form-item label="Amount to be Paid" prop="bddgrp.rec.totcur">
<c-select disabled v-model="model.bddgrp.rec.totcur" style="width:100%" placeholder="请选择Total Amount Claimed" :code="codes.cur"></c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt">
<c-col :span="7">
<el-form-item label="" prop="bddgrp.rec.totamt" label-width="10px">
<c-input v-model="model.bddgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<!-- <c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bddgrp.acb.pts.extkey">
<c-input v-model="model.bddgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native="showGridPromptDialog('brdgrp.acb.pts.extkey')"></c-input>
......@@ -98,12 +98,28 @@
<el-form-item label="地址" prop="bddgrp.acb.adrelc">
<c-input type="textarea" v-model="model.bddgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col> -->
<c-col>
<c-col :span="12">
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'bddgrp',
rol: 'acb',
}"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="bddgrp.blk.docdis">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<c-input type="textarea" :disabled="model.bddgrp.blk.docdisflg!='X'" v-model="model.bddgrp.blk.docdis" :rows="6" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -119,8 +135,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdav/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props:["model","codes"],
mixins: [commonProcess],
......@@ -129,6 +147,16 @@ export default {
};
},
computed: {
docdisflg: {
get() {
return this.model.bddgrp.blk.docdisflg === "X";
},
set(val) {
this.model.bddgrp.blk.docdisflg = val ? "X" : "";
},
},
},
methods:{...Event},
created:function(){
......
<template>
<div class="eibs-tab">
<c-col>
<c-col :span="7">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="10">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-input
<c-select
disabled
v-model="model.bddgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount" :code="codes.cur"></c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="14">
<el-form-item label="" label-width="10px" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Narrative TAG 77A of MT754" prop="bddgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.bddgrp.blk.nartxt77a" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of MT754" ></c-input>
</el-form-item>
</c-col>
<c-col>
<c-col :span="7">
<c-col :span="10">
<el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
<c-select
disabled
......@@ -33,47 +26,41 @@
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="14">
<el-form-item label="" label-width="10px" prop="bddgrp.cbs.max2.amt">
<c-input v-model="model.bddgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Charges Deducted" prop="bddgrp.blk.chaded">
<c-input type="textarea" v-model="model.bddgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
<c-input type="textarea" v-model="model.bddgrp.blk.chaded" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Charges Added" prop="bddgrp.blk.chaadd">
<c-input type="textarea" v-model="model.bddgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
<c-input type="textarea" v-model="model.bddgrp.blk.chaadd" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-col :span="10">
<el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur">
<c-input
<c-select
disabled
v-model="model.bddgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
v-model="model.bddgrp.rec.totcur" style="width:100%" placeholder="请选择Total Amount Claimed" :code="codes.cur"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt">
<c-col :span="14">
<el-form-item label="" label-width="10px" prop="bddgrp.rec.totamt">
<c-input v-model="model.bddgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Reimbursing Bank" prop="bddgrp.rmb.pts.extkey">
<c-fullbox>
<c-input v-model="model.bddgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
......@@ -88,11 +75,7 @@
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col> -->
<c-col>
<c-col :span="12">
......@@ -134,15 +117,11 @@
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Beneficiary's Bank" prop="bddgrp.beb.pts.extkey">
<c-fullbox>
<c-input v-model="model.bddgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
......@@ -208,12 +187,66 @@
<c-input type="textarea" v-model="model.bddgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
</c-col> -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Reimbursing Bank',
grp: 'bddgrp',
rol: 'rmb',
}"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'bddgrp',
rol: 'acb',
}"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="Date to be Paid" prop="bddgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Narrative TAG 77A of MT754" prop="bddgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.bddgrp.blk.nartxt77a" :rows="15" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of MT754" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: `Beneficiary's Bank `,
grp: 'bddgrp',
rol: 'beb',
}"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -221,8 +254,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdav/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-col>
<c-col :span="7">
<c-col :span="5">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-input disabled v-model="model.bddgrp.cbs.max.cur" maxlength="3" placeholder="请输入单据金额"></c-input>
<c-select disabled v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额" :code="codes.cur"></c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="bddgrp.cbs.max.amt">
<c-input disabled v-model="model.bddgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
......@@ -15,7 +15,7 @@
</c-col>
<c-col>
<c-col :span="7">
<c-col :span="5">
<el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
<c-select disabled v-model="model.bddgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额" :code="codes.cur">
</c-select>
......@@ -24,7 +24,7 @@
</c-col>
<c-col :span="5">
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="bddgrp.cbs.max2.amt">
<c-input disabled v-model="model.bddgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
......@@ -34,29 +34,65 @@
<c-col>
<c-col :span="12">
<el-form-item label="Charges" prop="bddgrp.blk.chaadd">
<c-input type="textarea" disabled v-model="model.bddgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
<c-input type="textarea" disabled v-model="model.bddgrp.blk.chaadd" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-col :span="5">
<el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur">
<c-input
<c-select
disabled
v-model="model.bddgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
v-model="model.bddgrp.rec.totcur" style="width:100%" placeholder="" :code="codes.cur"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt">
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="bddgrp.rec.totamt">
<c-input disabled v-model="model.bddgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'bddgrp',
rol: 'acb',
}"
:disabled="true"
:disabledExtkey="true"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-ptap
:model="model"
:argadr="{
title: `Beneficiary's Bank `,
grp: 'bddgrp',
rol: 'beb',
}"
:disabled="true"
:disabledExtkey="true"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Account with Bank" prop="bddgrp.acb.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.bddgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
......@@ -143,7 +179,7 @@
<c-input type="textarea" disabled v-model="model.bddgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
</div>
</template>
<script>
......@@ -151,8 +187,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdav/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
......@@ -28,11 +28,13 @@
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='750'" label="不符点详情" name="mt750p">
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='750'" label="不符点通知" name="mt750p">
<c-content>
<m-mt750p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='754'" label="付款通知" name="mt754p">
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='754'" label="付款通知" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/>
</c-content>
......@@ -106,7 +108,7 @@ import Othadvtypp from "./Othadvtypp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
import Limitbody from "~/views/Public/Limitbody"
import Engp from "~/views/Public/Engp"
import Utils from "~/utils";
......
......@@ -4,43 +4,43 @@
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby">
<c-select disabled v-model="model.didgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择">
<c-select disabled v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.avbby0" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" >
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:100%" maxlength="3"></c-input>
<c-input disabled v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:100%" maxlength="3"></c-input>
</el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
<c-col :span="21">
<c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:100%" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input>
<c-input type="textarea" disabled v-model="model.didgrp.blk.defdet" style="width:100%" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" >
</c-button>
</c-col>
</el-form-item>
<el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-col :span="21">
<c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:100%" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.blk.preper" disabled style="width:100%" maxlength="105" show-word-limit placeholder="请输入"></c-input>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button size="small" type="primary" style="margin:0 0;" icon="el-icon-search" @click="onPreperButtxmsel">
<c-button size="small" type="primary" style="margin:0 0;" icon="el-icon-search" >
</c-button>
</c-col>
</el-form-item>
<el-form-item label="" prop="didgrp.blk.preperflg">
<c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox>
<c-checkbox disabled v-model="model.didgrp.blk.preperflg" >修改交单期限文本</c-checkbox>
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="didgrp.rec.tratyp">
<c-col :span="24">
<c-select v-model="model.didgrp.rec.tratyp" style="width:100%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'H'">
<c-select v-model="model.didgrp.rec.tratyp" style="width:100%" placeholder="请选择" disabled>
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -49,13 +49,13 @@
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" disabled maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" disabled maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" disabled maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
......@@ -85,34 +85,33 @@
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.didgrp.rec.shppar != 'Y'" style="width:100%">
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" disabled style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
<c-input type="textarea" :rows="3" disabled v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"
:disabledBankno="model.didgrp.rec.fqzytgfw != 'Y'"></c-input>
<c-input type="textarea" :rows="3" disabled v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
</el-form-item>
<el-form-item label="转运" prop="didgrp.rec.shptrs">
<c-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请选择" :disabled="model.didgrp.rec.mytype == 'H'">
<c-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请选择" disabled>
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
<el-form-item label="货物转运地(港)" prop="didgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpfro" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpfro" disabled maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpto" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpto" disabled maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="didgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shppro" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shppro" disabled maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......
......@@ -131,7 +131,7 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-form-item label="上下浮动限额+/-" prop="didgrp.rec.nomtop">
<c-input
disabled
v-model="model.didgrp.rec.nomtop"
......@@ -452,6 +452,8 @@
rol: 'apl',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
......@@ -644,6 +646,8 @@
rol: 'ben',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
......
......@@ -170,7 +170,7 @@ import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "./Doctre";
import Doctre from "~/views/Public/Doctre";
import Shisuan from "./Shisuan";
import Detp1 from "./Detp1";
import Stament from "./Stament";
......
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