Commit 3c42f28c by wangren

litopn交易修正、litdav交易转换检核,保存实现、进口信用证入口(sideMeun)修改。

parent 1bd3c8a9
...@@ -47,23 +47,22 @@ export default { ...@@ -47,23 +47,22 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"brdgrp.ben.pts.nam":[ "brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"lidgrp.rec.opndat":[ "lidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.shpdat":[ "lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"lidgrp.rec.expdat":[ "lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.expplc":[ "lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -93,10 +92,10 @@ export default { ...@@ -93,10 +92,10 @@ export default {
"brdgrp.rec.advdat":[ "brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.disdat":[ "brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -123,7 +122,7 @@ export default { ...@@ -123,7 +122,7 @@ export default {
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过35"} {max: 80,message:"80"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -167,7 +166,7 @@ export default { ...@@ -167,7 +166,7 @@ export default {
], ],
"mtabut.coninf.conexedat":[ "mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"mtabut.coninf.usr.extkey":[ "mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -410,6 +409,6 @@ export default { ...@@ -410,6 +409,6 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.rec.totdat":[ "brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
} }
\ No newline at end of file
...@@ -3,7 +3,14 @@ import Pts from "../Common/Pts" ...@@ -3,7 +3,14 @@ import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
export default class Litdav{ export default class Litdav{
constructor () { constructor () {
this.data = { this.data = {
ptspta:{
pts:{
adrblk:"",
extkey:"",
ref:"",
}
},
litapll1blk:"", litapll1blk:"",
litapll2blk:"", litapll2blk:"",
litapll3blk:"", litapll3blk:"",
......
...@@ -12,8 +12,8 @@ let checkObj = { ...@@ -12,8 +12,8 @@ let checkObj = {
"lidgrp.rec.apprul" :null, "lidgrp.rec.apprul" :null,
"cnybop.cnylib.doccurdate" :null, "cnybop.cnylib.doccurdate" :null,
"lidgrp.blk.lcrgod" :null, "lidgrp.blk.lcrgod" :null,
"lidgrp.rec.nomtop" :null, // "lidgrp.rec.nomtop" :null,
"lidgrp.rec.nomton" :null, // "lidgrp.rec.nomton" :null,
"cnybop.outflg" :null, "cnybop.outflg" :null,
"bcbtyp7" :null, "bcbtyp7" :null,
"litp.drwp.ptsget.sdamod.dadsnd" :null, "litp.drwp.ptsget.sdamod.dadsnd" :null,
......
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :Utils.defaultFunction, // "lidgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.cbs.max.amt" :Utils.defaultFunction, "lidgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.blk.adlcnd" :Utils.defaultFunction, "lidgrp.blk.adlcnd" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction, "lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction, // "lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction, "lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"litp.usr.extkey" :Utils.defaultFunction, "litp.usr.extkey" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction, "lidgrp.rec.spcbenflg" :Utils.defaultFunction,
......
...@@ -63,12 +63,12 @@ export default { ...@@ -63,12 +63,12 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"lidgrp.rec.nomtop":[ "lidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: ""},
{max: 2,message:"长度不能超过2"}
], ],
"lidgrp.rec.nomton":[ "lidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: ""},
{max: 2,message:"长度不能超过2"}
], ],
"lidgrp.apl.adrelc":[ "lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
], ],
"lidgrp.cbs.max.amt":[ "lidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: ""},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -492,35 +492,35 @@ export default { ...@@ -492,35 +492,35 @@ export default {
}, },
stmData: { stmData: {
columns: [ columns: [
// '1 1 "Reference" 120', '1 1 "Reference" 120',
// '2 2 "Resp. User" 100', '2 2 "Resp. User" 100',
// '3 3 "Tenor day" 100 ', '3 3 "Tenor day" 100 ',
// '4 4 "Goods Code" 100 ', '4 4 "Goods Code" 100 ',
// '5 13 "Opened" 500 4 7', '5 13 "Opened" 500 4 7',
// '6 14 "Expired" 500 4 7', '6 14 "Expired" 500 4 7',
// '7 15 "Closed" 500 4 7', '7 15 "Closed" 500 4 7',
// '8 17 "分行名称" 136', '8 17 "分行名称" 136',
// '9 16 "PTA NO." 410', '9 16 "PTA NO." 410',
// '10 5 "Party Number" 191', '10 5 "Party Number" 191',
// '11 8 "Applicant" 191', '11 8 "Applicant" 191',
// '12 9 "Applicant CN" 191', '12 9 "Applicant CN" 191',
// '13 11 "Advising Bank BIC" 165', '13 11 "Advising Bank BIC" 165',
// '14 10 "Party Number" 165', '14 10 "Party Number" 165',
// '15 12 "Beneficiary" 165', '15 12 "Beneficiary" 165',
// '16 6 "Cur" 410', '16 6 "Cur" 80',
// '17 7 "L/C Amount" 110 2 8 1 16', '17 7 "L/C Amount" 110 2 8 1 16',
// '18 18 "Cur" 410', '18 18 "Cur" 410',
// '19 19 "Open Amount" 110 2 8 1 18', '19 19 "Open Amount" 110 2 8 1 18',
'1 1 "Reference" 130 200', // '1 1 "Reference" 130 200',
"2 2 \"经办柜员\" 90 80", // "2 2 \"经办柜员\" 90 80",
"5 5 \"开立日期\" 180 300", // "5 5 \"开立日期\" 180 300",
"6 6 \"到期日\" 180 250", // "6 6 \"到期日\" 180 250",
"8 7 \"分行名称\" 150 300", // "8 7 \"分行名称\" 150 300",
"9 8 \"申请人编号\" 150 200", // "9 8 \"申请人编号\" 150 200",
"11 9 \"申请人名称\" 150 300", // "11 9 \"申请人名称\" 150 300",
"15 10 \"受益人名称\" 150 300", // "15 10 \"受益人名称\" 150 300",
"16 3 \"开立币种\" 90 80", // "16 3 \"开立币种\" 90 80",
"17 4 \"开立金额\" 90 80", // "17 4 \"开立金额\" 90 80",
], ],
data: [], data: [],
}, },
......
...@@ -208,7 +208,12 @@ ...@@ -208,7 +208,12 @@
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey"> <el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
...@@ -234,7 +239,7 @@ ...@@ -234,7 +239,7 @@
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk"> <el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input <c-input
:rows="4" :rows="4"
disabled type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="40" show-word-limit placeholder="请输入Address Block" ></c-input> disabled type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="80" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="5">
<el-form-item prop="brdgrp.cbs.max.amt"> <el-form-item label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input> <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="5">
<el-form-item label="" prop="brdgrp.cbs.max2.amt"> <el-form-item label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input> <c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -62,7 +62,12 @@ ...@@ -62,7 +62,12 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey"> <el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey">
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input
v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.acb.pts.extkey')"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -101,7 +106,7 @@ ...@@ -101,7 +106,7 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="不符点" prop="brdgrp.blk.docdis"> <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input> <c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -3,12 +3,14 @@ ...@@ -3,12 +3,14 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input> <c-input
disabled
v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.max.amt"> <el-form-item label="amt" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input> <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -22,14 +24,16 @@ ...@@ -22,14 +24,16 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额"> <c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.max2.amt"> <el-form-item label="amt" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input> <c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -54,7 +58,9 @@ ...@@ -54,7 +58,9 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="brdgrp.rec.totcur"> <el-form-item label="Total Amount Claimed" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -65,19 +71,28 @@ ...@@ -65,19 +71,28 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.rmb.pts.extkey"> <el-form-item label="Reimbursing Bank" prop="brdgrp.rmb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input v-model="model.brdgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet"> <c-button size="small" type="primary" @click="onRmbpDet">
Details Details
</c-button> </c-button>
</c-col> </c-col> -->
</c-col>
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.rmb.namelc"> <el-form-item label="名称" prop="brdgrp.rmb.namelc">
...@@ -106,28 +121,42 @@ ...@@ -106,28 +121,42 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey"> <el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet"> <c-button size="small" type="primary" @click="onAcbpDet">
Details Details
</c-button> </c-button>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.beb.pts.extkey"> <el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col> <template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
Details Details
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col> <c-col>
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input> <c-input
disabled
v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -16,8 +18,10 @@ ...@@ -16,8 +18,10 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额"> <c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -40,7 +44,9 @@ ...@@ -40,7 +44,9 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="brdgrp.rec.totcur"> <el-form-item label="Total Amount Claimed" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -51,35 +57,39 @@ ...@@ -51,35 +57,39 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey"> <el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col> <template slot="footer">
<c-button size="small" type="primary" @click="onAcbpDet">
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details Details
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-col>
<c-col> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.acb.namelc"> <el-form-item label="名称" prop="brdgrp.acb.namelc">
<c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> <c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk"> <el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn"> <el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
...@@ -93,19 +103,24 @@ ...@@ -93,19 +103,24 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.beb.pts.extkey">
<c-input v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet"> <el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details Details
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-col>
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
......
<template> <template>
<c-page title="进口信用证通知"> <c-page title="进口信用证通知">
<div class="eContainer"> <div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
...@@ -19,12 +24,16 @@ ...@@ -19,12 +24,16 @@
<!--PD000147 --> <!--PD000147 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='754'" label="Advice of Payment" name="mt754p"> <el-tab-pane v-if="model.brdgrp.rec.advtyp=='754'" label="Advice of Payment" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/> <m-mt754p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000213 --> <!--PD000213 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='oth'" label="Advice Details" name="othadvtypp"> <el-tab-pane v-if="model.brdgrp.rec.advtyp=='oth'" label="Advice Details" name="othadvtypp">
<c-content>
<m-othadvtypp :model="model" :codes="codes"/> <m-othadvtypp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
...@@ -66,6 +75,7 @@ import Api from "~/service/Api" ...@@ -66,6 +75,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Litdav from "~/model/Litdav" import Litdav from "~/model/Litdav"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litdav/Check" import Check from "~/model/Litdav/Check"
import Default from "~/model/Litdav/Default" import Default from "~/model/Litdav/Default"
import Pattern from "~/model/Litdav/Pattern" import Pattern from "~/model/Litdav/Pattern"
...@@ -108,7 +118,7 @@ export default { ...@@ -108,7 +118,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "",
......
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
<c-input <c-input
v-model="model.lidgrp.rec.apprultxt" v-model="model.lidgrp.rec.apprultxt"
maxlength="35" maxlength="35"
disabled :disabled="this.flag"
placeholder="请输入Other Applicable Rules" placeholder="请输入Other Applicable Rules"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -699,11 +699,24 @@ export default { ...@@ -699,11 +699,24 @@ export default {
data() { data() {
return { return {
zmqflg: null, zmqflg: null,
flag:true,
}; };
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
watch:{
"model.lidgrp.rec.apprul": {
immediate:true,
handler(val,oldVal){
if(val == "OTHR"){
this.flag=false;
}else{
this.flag=true;
}
}
}
},
computed: { computed: {
flag() { flag() {
return this.model.lidgrp.apl.pts.extkey == ""; return this.model.lidgrp.apl.pts.extkey == "";
......
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<!-- <el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content> <c-content>
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> --> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan"> <el-tab-pane label="Cash Cover" name="ccvpan">
......
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
{ inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" }, { inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" }, { inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "inflid", ininam: "进口信用证交易查询", pntmiu: "4" }, { inifrm: "inflid", ininam: "进口信用证交易查询", pntmiu: "4" },
{ inifrm: "litsel", ininam: "进口信用证单据查询", pntmiu: "4" }, { inifrm: "infbrd", ininam: "进口信用证单据查询", pntmiu: "4" },
// { inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" }, // { inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" },
// { inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" }, // { inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" },
// { inifrm: "litdck", ininam: "进口信用证到单", pntmiu: "4" }, // { inifrm: "litdck", ininam: "进口信用证到单", pntmiu: "4" },
......
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