Commit abb02e17 by taojinrui

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 a86ab6c8 e12894fc
...@@ -4192,6 +4192,10 @@ const CodeTable = { ...@@ -4192,6 +4192,10 @@ const CodeTable = {
{ label: "Advice of Payment (MT754)", value: "754" }, { label: "Advice of Payment (MT754)", value: "754" },
{ label: "Other", value: "OTH" }, { label: "Other", value: "OTH" },
], ],
advtyp1: [
{ label: "NPAY", value: "NPAY" },
{ label: "NACC", value: "NACC" },
],
limittype: [ limittype: [
{ label: "余额限额", value: "12" }, { label: "余额限额", value: "12" },
...@@ -4991,6 +4995,10 @@ const CodeTable = { ...@@ -4991,6 +4995,10 @@ const CodeTable = {
{ label: "Reverse Booking (Document Set)", value: "N" }, { label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" }, { label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
], ],
rebkpflg1: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
refper: [ refper: [
{ label: "Same Week", value: "W=" }, { label: "Same Week", value: "W=" },
{ label: "Same Half-Year", value: "H=" }, { label: "Same Half-Year", value: "H=" },
......
...@@ -72,13 +72,13 @@ export default { ...@@ -72,13 +72,13 @@ export default {
// { type: "string", required: false, message: "必输项" }, // { type: "string", required: false, message: "必输项" },
// { max: 8, message: "长度不能超过8" }, // { max: 8, message: "长度不能超过8" },
{ type: "string", required: false}, { type: "string", required: false},
{ pattern: /^-?([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在-999.9999~999.99999范围', trigger: "blur"}, { pattern: /^([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在0~999.99999范围', trigger: "blur"},
], ],
"dedgrp.rec.nomton": [ "dedgrp.rec.nomton": [
// { type: "string", required: false, message: "必输项" }, // { type: "string", required: false, message: "必输项" },
// { max: 8, message: "长度不能超过8" } // { max: 8, message: "长度不能超过8" }
{ type: "string", required: false}, { type: "string", required: false},
{ pattern: /^-?([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在-999.9999~999.99999范围', trigger: "blur"}, { pattern: /^([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在0~999.99999范围', trigger: "blur"},
], ],
"dedgrp.cbs.max.cur": [ "dedgrp.cbs.max.cur": [
......
...@@ -6,6 +6,10 @@ import Pub from "../Public" ...@@ -6,6 +6,10 @@ import Pub from "../Public"
export default class Ditdav { export default class Ditdav {
constructor() { constructor() {
this.data = { this.data = {
litapll1blk: "",
litapll2blk: "",
litapll3blk: "",
litapll4blk: "",
didgrp:{ didgrp:{
rec:{ rec:{
ownref:"", // 参考号 .didgrp.rec.ownref ownref:"", // 参考号 .didgrp.rec.ownref
......
...@@ -20,11 +20,11 @@ export default { ...@@ -20,11 +20,11 @@ export default {
"lidgrp.cbs.nom1.amt":[ // "lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", 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位" }
], // ],
"lidgrp.apl.pts.ref":[ "lidgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -35,11 +35,11 @@ export default { ...@@ -35,11 +35,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", 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位" }
], // ],
"lidgrp.apl.pts.nam":[ "lidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -60,10 +60,10 @@ export default { ...@@ -60,10 +60,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"lidgrp.rec.opndat":[ "lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.shpdat":[ "lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.adv.pts.ref":[ "lidgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
], ],
"lidgrp.rec.expdat":[ "lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.expplc":[ "lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -300,20 +300,20 @@ export default { ...@@ -300,20 +300,20 @@ export default {
"lidgrp.apl.pts.adrblk":[ "lidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 135,message:"长度不能超过135"}
], ],
"lidgrp.apl.dbfadrblkcn":[ "lidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"lidgrp.rec.nomtop":[ // "lidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"}, // { required: false, message: ""},
{max: 2,message:"长度不能超过2"} // {max: 2,message:"长度不能超过2"}
], // ],
"lidgrp.rec.nomton":[ // "lidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"}, // { required: false, message: ""},
{max: 2,message:"长度不能超过2"} // {max: 2,message:"长度不能超过2"}
], // ],
"lidgrp.apl.adrelc":[ "lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
...@@ -324,11 +324,11 @@ export default { ...@@ -324,11 +324,11 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"lidgrp.cbs.max.amt":[ // "lidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", 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位" }
], // ],
"litp.advp.ptsget.sdamod.dadsnd":[ "litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
], ],
"lidgrp.adv.pts.adrblk":[ "lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 135,message:"长度不能超过135"}
], ],
"lidgrp.adv.dbfadrblkcn":[ "lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -402,7 +402,7 @@ export default { ...@@ -402,7 +402,7 @@ export default {
], ],
"lidgrp.ben.pts.adrblk":[ "lidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过315"}
], ],
"lidgrp.ben.dbfadrblkcn":[ "lidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
], ],
"oldlidgrp.blk.narhis":[ "oldlidgrp.blk.narhis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 500,message:"长度不能超过500"}
], ],
...@@ -455,10 +455,10 @@ export default { ...@@ -455,10 +455,10 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"lidgrp.rec.prepers18":[ // "lidgrp.rec.prepers18":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"litp.avbp.ptsget.sdamod.dadsnd":[ "litp.avbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -483,7 +483,7 @@ export default { ...@@ -483,7 +483,7 @@ export default {
], ],
"lidgrp.avb.pts.adrblk":[ "lidgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过351"}
], ],
"lidgrp.avb.dbfadrblkcn":[ "lidgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -500,7 +500,7 @@ export default { ...@@ -500,7 +500,7 @@ export default {
], ],
"lidgrp.blk.feetxt":[ "lidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过315"}
], ],
...@@ -534,7 +534,7 @@ export default { ...@@ -534,7 +534,7 @@ export default {
], ],
"lidgrp.drw.pts.adrblk":[ "lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过315"}
], ],
"lidgrp.drw.dbfadrblkcn":[ "lidgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -552,10 +552,10 @@ export default { ...@@ -552,10 +552,10 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"lidgrp.rec.tenmaxday":[ // "lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"lidgrp.rec.porloa":[ "lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
...@@ -616,7 +616,7 @@ export default { ...@@ -616,7 +616,7 @@ export default {
], ],
"lidgrp.ini.pts.adrblk":[ "lidgrp.ini.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过315"}
], ],
"lidgrp.ini.dbfadrblkcn":[ "lidgrp.ini.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -624,7 +624,7 @@ export default { ...@@ -624,7 +624,7 @@ export default {
], ],
"lidgrp.a2b.pts.adrblk":[ "lidgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过315"}
], ],
"lidgrp.a2b.dbfadrblkcn":[ "lidgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -687,7 +687,7 @@ export default { ...@@ -687,7 +687,7 @@ export default {
], ],
"lidgrp.con.pts.adrblk":[ "lidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 315,message:"长度不能超过315"}
], ],
"lidgrp.con.dbfadrblkcn":[ "lidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -754,7 +754,7 @@ export default { ...@@ -754,7 +754,7 @@ export default {
"lidgrp.blk.insbnk":[ "lidgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 8000,message:"长度不能超过8000"}
], ],
"lidgrp.blk.insbnkame":[ "lidgrp.blk.insbnkame":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -245,9 +245,9 @@ ...@@ -245,9 +245,9 @@
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
path: 'bcdgrp.blk.docpre', path: 'SEMFLG',
grp: 'bctp', grp: 'bctp',
rol: 'blk', code: 'docpre'
}"></c-docpre> }"></c-docpre>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta" style="width:100%" > <el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta" style="width:100%" >
<c-select <c-select
:code="codes.docsta" :code="codes.docstabot"
style="width:100%" style="width:100%"
disabled v-model="model.bcdgrp.rec.docsta" placeholder="请输入Document Set Status"></c-select> disabled v-model="model.bcdgrp.rec.docsta" placeholder="请输入Document Set Status"></c-select>
</el-form-item> </el-form-item>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="SWIFT Advice Type" prop="advtyp"> <el-form-item label="SWIFT Advice Type" prop="advtyp">
<c-select <c-select
:code="codes.advtyp" :code="codes.advtyp1"
v-model="model.advtyp" style="width:100%" placeholder="请选择SWIFT Advice Type"> v-model="model.advtyp" style="width:100%" placeholder="请选择SWIFT Advice Type">
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -269,12 +269,12 @@ ...@@ -269,12 +269,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="交单行联行名称"> <el-form-item label="交单行联行名称">
<c-input type="textarea" v-model="model.bddgrp.prb.pts.jigomc" style="width: 100%" maxlength="35" <c-input type="textarea" v-model="model.bddgrp.prb.pts.jigomc" style="width: 100%" maxlength="35"
show-word-limit placeholder="请输入联行名称" disabled></c-input> show-word-limit placeholder="请输入联行名称" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- =========bottom-right======== --> <!-- =========bottom-right======== -->
...@@ -300,6 +300,72 @@ ...@@ -300,6 +300,72 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入交单行编号"
@keyup.enter.native="ptsRefEvent"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
<c-input
v-model="model.bddgrp.prb.pts.extkey"
maxlength="16"
style="width: 100%"
placeholder="请输入交单行BIC"
@keyup.enter.native="showGridPromptDialog(`bddgrp.prb.pts.extkey`)"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
<c-input
v-model="model.bddgrp.prb.pts.bankno"
maxlength="20"
style="width: 100%"
placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行名称" prop="bddgrp.prb.pts.jigomc">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.jigomc"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入联行名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行地址" prop="bddgrp.prb.pts.dizhii">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.dizhii"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入交单行地址"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="交单行" prop="bddgrp.rec.docprbrol"> <el-form-item label="交单行" prop="bddgrp.rec.docprbrol">
<c-select v-model="model.bddgrp.rec.docprbrol" style="width: 100%" placeholder="请选择Presented by" <c-select v-model="model.bddgrp.rec.docprbrol" style="width: 100%" placeholder="请选择Presented by"
:code="getValues('bddgrp.rec.docprbrol')" @change="docprbrolChange"> :code="getValues('bddgrp.rec.docprbrol')" @change="docprbrolChange">
...@@ -327,7 +393,7 @@ ...@@ -327,7 +393,7 @@
show-word-limit placeholder="请输入交单行地址" :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"> show-word-limit placeholder="请输入交单行地址" :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- <c-ptapdome <!-- <c-ptapdome
:disabledJigomc="true" :disabledJigomc="true"
:disabledDizhii="true" :disabledDizhii="true"
...@@ -348,7 +414,7 @@ ...@@ -348,7 +414,7 @@
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" <c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" @row-click="clounmSetting"
:showSelection="true"> :showSelection="true">
</c-istream-table> </c-istream-table>
</c-col> </c-col>
...@@ -586,6 +652,13 @@ export default { ...@@ -586,6 +652,13 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
clounmSetting(){
this.executeDefault("liaall.tenstmt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
frepayflgDefault(){ frepayflgDefault(){
this.executeDefault("setmod.redamt").then((res) => { this.executeDefault("setmod.redamt").then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
......
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
placeholder="请选择Booking Procedure" placeholder="请选择Booking Procedure"
> >
<el-option <el-option
v-for="item in codes.rebkpflg" v-for="item in codes.rebkpflg1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
...@@ -349,16 +349,17 @@ export default { ...@@ -349,16 +349,17 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
multipleSelect() { async change() {
console.log(111); if (this.model.bodgrp.rec.focflg === "X") {
},
change() {
if (this.model.bodgrp.rec.focflg) {
this.isDisabled = true; this.isDisabled = true;
this.model.setmod.redamt = this.model.setmod.docamt; this.model.setmod.redamt = this.model.setmod.docamt;
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_matpertyp;
} else { } else {
this.isDisabled = false; this.isDisabled = false;
this.model.setmod.redamt = "0.00"; this.model.setmod.redamt = "0.00";
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
} }
}, },
async multipleSelect(selection) { async multipleSelect(selection) {
......
...@@ -49,6 +49,10 @@ ...@@ -49,6 +49,10 @@
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
...@@ -100,6 +104,8 @@ import Pattern from "~/model/Brtdcr/Pattern" ...@@ -100,6 +104,8 @@ import Pattern from "~/model/Brtdcr/Pattern"
import Utlp from "./Utlp" import Utlp from "./Utlp"
import Brtdcrd from "./Brtdcrd" import Brtdcrd from "./Brtdcrd"
import Mt750p from "./Mt750p" import Mt750p from "./Mt750p"
import Glepan from "~/views/Public/Glepan";
// import Engp from "./Engp" // import Engp from "./Engp"
// import Setpan from "./Setpan" // import Setpan from "./Setpan"
...@@ -128,6 +134,8 @@ export default { ...@@ -128,6 +134,8 @@ export default {
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
"m-glepan": Glepan,
}, },
provide() { provide() {
return { return {
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
></c-input> ></c-input>
</c-col> </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.gitp.dzbhflg">电子保函标志</c-checkbox> <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin"> <el-form-item v-show="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<c-select :disabled="model.gitp.inc760==''" v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose "> <c-select :disabled="model.gitp.inc760==''" v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose ">
<el-option <el-option
v-for="item in codes.purposin" v-for="item in codes.purposin"
...@@ -219,6 +219,18 @@ ...@@ -219,6 +219,18 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Handling Type" prop="gidgrp.rec.hndtyp"> <el-form-item v-if="model.gitp.swiftflg=='N'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select <c-select
v-model="model.gidgrp.rec.hndtyp" v-model="model.gidgrp.rec.hndtyp"
...@@ -266,6 +278,24 @@ ...@@ -266,6 +278,24 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISCO'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp4"
: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'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp"> <el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select <c-select
...@@ -274,6 +304,24 @@ ...@@ -274,6 +304,24 @@
placeholder="请选择Handling Type" placeholder="请选择Handling Type"
> >
<el-option <el-option
v-for="item in codes.hndtyp3"
: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=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp5" v-for="item in codes.hndtyp5"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
...@@ -759,7 +807,7 @@ ...@@ -759,7 +807,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable"> <c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.teskeyunc"> <c-checkbox v-model="model.gidgrp.rec.teskeyunc">
Test Key Unconfirmity Test Key Unconfirmity
</c-checkbox> </c-checkbox>
...@@ -845,19 +893,9 @@ ...@@ -845,19 +893,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp!='OT'" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-ptap v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" :model="model" :argadr="{
title: 'Adv/Rcv bank',
grp: 'gidgrp',
rol: 'adv',
}"
@onAplpDet="onAdvpDet">
</c-ptap>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref">
...@@ -916,7 +954,7 @@ ...@@ -916,7 +954,7 @@
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family:'宋体';font-weight:bold">i</span>
</c-button> </c-button>
<c-button :disabled="model.gidgrp.rec.hndtyp=='OT'" size="small" type="primary" @click="onBenpDet"> <c-button disabled size="small" type="primary" @click="onBenpDet">
Details Details
</c-button> </c-button>
</template> </template>
...@@ -925,9 +963,10 @@ ...@@ -925,9 +963,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="被保证人" prop="gidgrp.gidcxm.warran"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="被保证人" prop="gidgrp.gidcxm.warran">
<c-input <c-input
......
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000210 Undertaking Text --> <!--gitp PD000210 Undertaking Text -->
<!-- <el-tab-pane label="Undertaking Text" name="gidtxtp"> <el-tab-pane label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/> <m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Details" name="confp"> <el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF')" label="Confirmation Details" name="confp">
<m-confp :model="model" :codes="codes"/> <m-confp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
......
...@@ -53,23 +53,19 @@ ...@@ -53,23 +53,19 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr"> <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr">
<c-input :disabled="model.gidgrp.rec.delto==''" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input> <c-input :disabled="model.gidgrp.rec.delto==''" rows="4" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond"> <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> <c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Charges Condition">
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato"> <el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by"> <c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by">
<el-option <el-option
...@@ -94,7 +90,7 @@ ...@@ -94,7 +90,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt"> <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-fullbox> <c-fullbox>
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input> <c-input type="textarea" rows="4" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
... ...
...@@ -103,10 +99,7 @@ ...@@ -103,10 +99,7 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> <c-col :span="24">
</c-col>
<c-col :span="13">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper"> <el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<c-input :disabled="model.gitp.prepermodflg == ''" type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input> <c-input :disabled="model.gitp.prepermodflg == ''" type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
...@@ -122,6 +115,8 @@ ...@@ -122,6 +115,8 @@
vs. &History vs. &History
</c-button> </c-button>
</c-col> </c-col>
</c-col>
</c-col>
</c-col> </c-col>
</c-row> </c-row>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
<!--PD000043 --> <!--PD000043 -->
<el-tab-pane label="Parties" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/> <c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='Y'||model.gitp.swiftflg==''" label="Presentation/Delivery" name="preperp"> <el-tab-pane v-if="model.gitp.swiftflg=='Y'||model.gitp.swiftflg==''" label="Presentation/Delivery" name="preperp">
......
...@@ -333,7 +333,8 @@ export default { ...@@ -333,7 +333,8 @@ export default {
'1 1 "编号" 200', '1 1 "编号" 200',
'2 2 "交易名称" 100', '2 2 "交易名称" 100',
'3 3 "日期" 200', '3 3 "日期" 200',
'4 4 "状态" 50', // '4 4 "状态" 100',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80', '5 5 "币种" 80',
'6 6 "金额" 80', '6 6 "金额" 80',
], ],
...@@ -344,13 +345,13 @@ export default { ...@@ -344,13 +345,13 @@ export default {
columns: [ columns: [
'2 1 "Reference" 100 ', '2 1 "Reference" 100 ',
'3 2 "Resp. User" 100 ', '3 2 "Resp. User" 100 ',
'6 3 "Party Number" 150 ', '6 3 "Applicant Party Number" 200 ',
'7 4 "Applicant" 150 ', '7 4 "Applicant" 150 ',
'8 5 "Party Number" 150 ', '8 5 "Beneficiary Party Number" 200 ',
'9 6 "Beneficiary" 150 ', '9 6 "Beneficiary" 150 ',
'10 7 "Party Number" 150 ', '10 7 "Issuing Party Number" 200 ',
'11 8 "Issuing Bank" 150 ', '11 8 "Issuing Bank" 150 ',
'12 9 "Party Number" 150 ', '12 9 "Purchasing Party Number" 200 ',
'13 10 "Purchasing bank" 150 ', '13 10 "Purchasing bank" 150 ',
'1 11 "转卖日期" 150 ', '1 11 "转卖日期" 150 ',
'4 12 "Opened" 150 ', '4 12 "Opened" 150 ',
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
placeholder="请选择贸易类型" placeholder="请选择贸易类型"
> >
<el-option <el-option
v-for="item in codes.mylx" v-for="item in codes.mytype"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -675,7 +675,8 @@ export default { ...@@ -675,7 +675,8 @@ export default {
'1 1 "编号" 200', '1 1 "编号" 200',
'2 2 "交易名称" 100', '2 2 "交易名称" 100',
'3 3 "日期" 200', '3 3 "日期" 200',
'4 4 "状态" 50', // '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80', '5 5 "币种" 80',
'6 6 "金额" 80', '6 6 "金额" 80',
], ],
...@@ -686,11 +687,11 @@ export default { ...@@ -686,11 +687,11 @@ export default {
'1 1 "Reference" 100 ', '1 1 "Reference" 100 ',
'2 2 "Resp. User" 100', '2 2 "Resp. User" 100',
'3 3 "Tenor day" 100', '3 3 "Tenor day" 100',
'7 4 "Party Number" 150 ', '7 4 "Applicant Party Number" 200 ',
'8 5 "Applicant" 150 ', '8 5 "Applicant" 150 ',
'9 6 "Party Number" 150 ', '9 6 "Beneficiary Party Number" 200 ',
'10 7 "Beneficiary" 150 ', '10 7 "Beneficiary" 150 ',
'11 8 "Party Number" 150 ', '11 8 "Issuing Party Number" 200 ',
'12 9 "Issuing Bank" 150 ', '12 9 "Issuing Bank" 150 ',
'4 10 "Opened" 150 ', '4 10 "Opened" 150 ',
'5 11 "Expired" 150 ', '5 11 "Expired" 150 ',
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
</c-col> </c-col>
<!-- L/C Amount --> <!-- L/C Amount -->
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur"> <el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-select <c-select
...@@ -27,7 +28,6 @@ ...@@ -27,7 +28,6 @@
></c-select> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input <c-input
...@@ -38,14 +38,14 @@ ...@@ -38,14 +38,14 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3" :offset="1"> <c-col :span="3" :offset="1">
<c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled <c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled
>Add. Amount</c-checkbox >Add. Amount</c-checkbox
> >
</c-col> </c-col>
</c-col>
<!-- Open Amount --> <!-- Open Amount -->
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select <c-select
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
></c-select> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input <c-input
...@@ -68,12 +67,12 @@ ...@@ -68,12 +67,12 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3" :offset="1"> <c-col :span="3" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.revflg" disabled <c-checkbox v-model="model.ledgrp.rec.revflg" disabled
>Revolving L/C</c-checkbox >Revolving L/C</c-checkbox
> >
</c-col> </c-col>
</c-col>
<!-- Available with --> <!-- Available with -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.avbnam"> <el-form-item label="Available with" prop="ledgrp.avbnam">
...@@ -93,6 +92,7 @@ ...@@ -93,6 +92,7 @@
v-model="model.ledgrp.rec.avbby" v-model="model.ledgrp.rec.avbby"
style="width: 100%" style="width: 100%"
placeholder="请选择Available by [AVBBY0]" placeholder="请选择Available by [AVBBY0]"
:code="codes.avbby0"
disabled disabled
> >
</c-select> </c-select>
...@@ -165,6 +165,7 @@ ...@@ -165,6 +165,7 @@
v-model="model.ledgrp.rec.lcrtyp" v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择Form of L/C" placeholder="请选择Form of L/C"
:code="codes.lcrtyp1"
disabled disabled
> >
</c-select> </c-select>
...@@ -178,6 +179,7 @@ ...@@ -178,6 +179,7 @@
v-model="model.ledgrp.rec.cnfdet" v-model="model.ledgrp.rec.cnfdet"
style="width: 100%" style="width: 100%"
placeholder="请选择Confirmation Instruct." placeholder="请选择Confirmation Instruct."
:code="codes.cnfins"
disabled disabled
> >
</c-select> </c-select>
...@@ -190,6 +192,7 @@ ...@@ -190,6 +192,7 @@
v-model="model.ledgrp.rec.cnfsta" v-model="model.ledgrp.rec.cnfsta"
style="width: 100%" style="width: 100%"
placeholder="请选择Confirmation Status " placeholder="请选择Confirmation Status "
:code="codes.cnfsta"
disabled disabled
> >
</c-select> </c-select>
...@@ -263,7 +266,7 @@ ...@@ -263,7 +266,7 @@
<!-- =========================== 右边 ==========================--> <!-- =========================== 右边 ==========================-->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="name" prop="letp.letp0.recget.sdamod.dadsnd"> <el-form-item label="name" prop="letp.letp0.recget.sdamod.dadsnd">
<c-input <c-input
v-model="model.letp.letp0.recget.sdamod.dadsnd" v-model="model.letp.letp0.recget.sdamod.dadsnd"
...@@ -271,10 +274,10 @@ ...@@ -271,10 +274,10 @@
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nam"> <el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input <c-input
v-model="model.ledgrp.rec.nam" v-model="model.ledgrp.rec.nam"
maxlength="40" maxlength="40"
...@@ -308,7 +311,7 @@ ...@@ -308,7 +311,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Issuer Ref." prop="ledgrp.iss.pts.ref"> <el-form-item label="Iss.Bank Original LC No." prop="ledgrp.iss.pts.ref">
<c-input <c-input
v-model="model.ledgrp.iss.pts.ref" v-model="model.ledgrp.iss.pts.ref"
maxlength="16" maxlength="16"
...@@ -330,7 +333,7 @@ ...@@ -330,7 +333,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref"> <el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input <c-input
v-model="model.ledgrp.ben.pts.ref" v-model="model.ledgrp.ben.pts.ref"
...@@ -341,12 +344,12 @@ ...@@ -341,12 +344,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.ben.pts.nam"> <el-form-item label="" prop="ledgrp.ben.pts.nam">
<c-input <c-input
v-model="model.ledgrp.ben.pts.nam" v-model="model.ledgrp.ben.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入Date/Place of Expiry" placeholder="请输入"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="Booking" name="glepan"> <!-- <el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
......
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
v-model="model.ledgrp.rec.apprul" v-model="model.ledgrp.rec.apprul"
style="width: 100%" style="width: 100%"
placeholder="请选择适用规则" placeholder="请选择适用规则"
:code="codes.apprul" :code="codes.apprul1"
@change="apprulChange" @change="apprulChange"
> >
</c-select> </c-select>
...@@ -354,7 +354,7 @@ ...@@ -354,7 +354,7 @@
v-model="model.ledgrp.rec.shppar" v-model="model.ledgrp.rec.shppar"
style="width: 100%" style="width: 100%"
placeholder="请选择分批装运" placeholder="请选择分批装运"
:code="codes.shppars18" :code="codes.shptrss18"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
v-model="model.ledgrp.rec.apprul" v-model="model.ledgrp.rec.apprul"
style="width: 100%" style="width: 100%"
placeholder="请选择适用规则" placeholder="请选择适用规则"
:code="codes.apprul" :code="codes.apprul1"
@change="apprulChange" @change="apprulChange"
> >
</c-select> </c-select>
......
<template> <template>
<c-page title="出口信用证预通知"> <c-page title="出口信用证预通知">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮--> <!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
...@@ -28,7 +28,12 @@ ...@@ -28,7 +28,12 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--PD000017 --> <!--PD000017 -->
<el-tab-pane label="内容" name="ovwp"> <el-tab-pane label="内容" name="ovwp">
<c-content> <c-content>
...@@ -36,9 +41,15 @@ ...@@ -36,9 +41,15 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 Additional Amount 附加金额/额外款项--> <!--PD000001 Additional Amount 附加金额/额外款项-->
<el-tab-pane label="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg=='X'"> <el-tab-pane
<m-aamp :model="model" :codes="codes"/> label="附加金额"
name="aamp"
v-if="model.letp.aamp.aammod.addamtflg == 'X'"
>
<c-content>
<m-aamp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000063 --> <!--PD000063 -->
...@@ -57,17 +68,23 @@ ...@@ -57,17 +68,23 @@
<!--PD000055 --> <!--PD000055 -->
<el-tab-pane label="货物说明" name="dogp"> <el-tab-pane label="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" /> <c-content>
<m-dogp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000057 --> <!--PD000057 -->
<el-tab-pane label="单据要求" name="dorp"> <el-tab-pane label="单据要求" name="dorp">
<m-dorp :model="model" :codes="codes" /> <c-content>
<m-dorp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000060 --> <!--PD000060 -->
<el-tab-pane label="其他条款" name="adcp"> <el-tab-pane label="其他条款" name="adcp">
<m-adcp :model="model" :codes="codes" /> <c-content>
<m-adcp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
...@@ -79,28 +96,45 @@ ...@@ -79,28 +96,45 @@
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" /> <c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" /> <c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000422 --> <!--PD000422 -->
<el-tab-pane label="银行专用特殊付款条件" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg=='X'"> <el-tab-pane
<m-spcrcvp :model="model" :codes="codes"/> label="银行专用特殊付款条件"
name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg == 'X'"
>
<c-content>
<m-spcrcvp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000394 --> <!--PD000394 -->
<el-tab-pane label="受益人特殊付款条件" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg=='X'"> <el-tab-pane
<m-spcbenp :model="model" :codes="codes"/> label="受益人特殊付款条件"
name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg == 'X'"
>
<c-content>
<m-spcbenp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
...@@ -112,90 +146,89 @@ ...@@ -112,90 +146,89 @@
</c-page> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from '~/service/Api'
import Utils from "~/utils/index"; import Utils from '~/utils/index'
import CodeTable from "~/config/CodeTable"; import CodeTable from '~/config/CodeTable'
import Letnot from "~/model/Letnot"; import Letnot from '~/model/Letnot'
import commonProcess from "~/mixin/commonProcess"; import commonProcess from '~/mixin/commonProcess'
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from '~/mixin/commonFuncs'
import Check from "~/model/Letnot/Check"; import Check from '~/model/Letnot/Check'
import Default from "~/model/Letnot/Default"; import Default from '~/model/Letnot/Default'
import Pattern from "~/model/Letnot/Pattern"; import Pattern from '~/model/Letnot/Pattern'
import Ovwp from "./Ovwp"; import Ovwp from './Ovwp'
import Aamp from "./Aamp"; import Aamp from './Aamp'
import Spcrcvp from "./Spcrcvp"; import Spcrcvp from './Spcrcvp'
import Spcbenp from "./Spcbenp"; import Spcbenp from './Spcbenp'
import Detp from "./Detp"; import Detp from './Detp'
import Ptyp from "./Ptyp"; import Ptyp from './Ptyp'
import Dogp from "./Dogp"; import Dogp from './Dogp'
import Dorp from "./Dorp"; import Dorp from './Dorp'
import Adcp from "./Adcp"; import Adcp from './Adcp'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from '~/views/Public/Coninfp'
import Setpan from "~/views/Public/Setpan"; import Setpan from '~/views/Public/Setpan'
import Docpan from "~/views/Public/Docpan"; import Docpan from '~/views/Public/Docpan'
import Doctre from "~/views/Public/Doctre"; import Doctre from '~/views/Public/Doctre'
export default { export default {
name: "Letnot", name: 'Letnot',
components: { components: {
"m-ovwp": Ovwp, 'm-ovwp': Ovwp,
"m-aamp" : Aamp, 'm-aamp': Aamp,
"m-detp": Detp, 'm-detp': Detp,
"m-ptyp": Ptyp, 'm-ptyp': Ptyp,
"m-dogp": Dogp, 'm-dogp': Dogp,
"m-dorp": Dorp, 'm-dorp': Dorp,
"m-adcp": Adcp, 'm-adcp': Adcp,
// "m-notcha": Notcha, // "m-notcha": Notcha,
"m-setpan": Setpan, 'm-setpan': Setpan,
"m-coninfp": Coninfp, 'm-coninfp': Coninfp,
"m-docpan": Docpan, 'm-docpan': Docpan,
"m-doctre": Doctre, 'm-doctre': Doctre,
"m-spcrcvp" : Spcrcvp, 'm-spcrcvp': Spcrcvp,
"m-spcbenp" : Spcbenp, 'm-spcbenp': Spcbenp,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; }
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: 'ovwp',
trnName: "letnot", trnName: 'letnot',
model: new Letnot().data, model: new Letnot().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
}; }
}, },
methods: { methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} },
}, },
created: async function () { created: async function () {
console.log("进入letnot交易"); console.log('进入letnot交易')
let rtnmsg = await this.init({}); let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//更新数据 //更新数据
// Utils.copyValueFromVO(this.model, rtnmsg.data); // Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay()
} }
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: '错误', message: '服务请求失败!' })
} }
}, },
}; }
</script> </script>
<style> <style></style>
</style>
...@@ -164,17 +164,15 @@ export default { ...@@ -164,17 +164,15 @@ export default {
created:async function(){ created:async function(){
console.log("进入litacp交易"); console.log("进入litacp交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
} } else {
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} }
</script> </script>
<style> <style>
......
...@@ -47,7 +47,9 @@ ...@@ -47,7 +47,9 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Available by" prop="lidgrp.rec.avbby"> <el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式"> <c-select
:code="codes.avbby"
disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -80,7 +82,10 @@ ...@@ -80,7 +82,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> <c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Booking" name="glepan"> <el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :code="codes"/> <m-glepan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
...@@ -58,10 +58,12 @@ ...@@ -58,10 +58,12 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Litcan from "~/model/Litcan" import Litcan from "~/model/Litcan"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litcan/Check" import Check from "~/model/Litcan/Check"
import Default from "~/model/Litcan/Default" import Default from "~/model/Litcan/Default"
import Pattern from "~/model/Litcan/Pattern" import Pattern from "~/model/Litcan/Pattern"
...@@ -96,6 +98,7 @@ export default { ...@@ -96,6 +98,7 @@ export default {
} }
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
...@@ -120,19 +123,16 @@ export default { ...@@ -120,19 +123,16 @@ export default {
created:async function(){ created:async function(){
console.log("进入litcan交易"); console.log("进入litcan交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
} } else {
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
...@@ -362,10 +362,17 @@ export default { ...@@ -362,10 +362,17 @@ export default {
"model.brdgrp.rec.advtyp":{ "model.brdgrp.rec.advtyp":{
immediate:true, immediate:true,
handler(){ handler(){
if(this.model.brdgrp.rec.advtyp == '750' || this.model.brdgrp.rec.advtyp == 'OTH'){ if(this.model.brdgrp.rec.advtyp == '750' ){
this.model.brdgrp.rec.advdat = ' ' this.model.brdgrp.rec.advdat = ' '
}else if(this.model.brdgrp.rec.advtyp == '754' || this.model.brdgrp.rec.advtyp == 'OTH'){ }else if(this.model.brdgrp.rec.advtyp == '754'){
this.model.brdgrp.rec.disdat = ' ' this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= ""
// this.model.brdgrp.blk.docdis= ''
}else if( this.model.brdgrp.rec.advtyp == 'OTH'){
this.model.brdgrp.rec.advdat = ' '
this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= ""
// this.model.brdgrp.blk.docdis= ''
} }
} }
} }
......
...@@ -155,7 +155,8 @@ export default { ...@@ -155,7 +155,8 @@ export default {
return {}; return {};
}, },
methods: { ...Event }, methods: { ...Event },
created: function() {} created: function() {},
}; };
</script> </script>
<style> <style>
......
...@@ -145,17 +145,15 @@ export default { ...@@ -145,17 +145,15 @@ export default {
created:async function(){ created:async function(){
console.log("进入litdck交易"); console.log("进入litdck交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
if(rtnmsg.respCode == SUCCESS) Utils.copyValueFromVO(this.model, rtnmsg.data);
{ //TODO 处理数据逻辑 if (this.isInDisplay) {
this.updateModel(rtnmsg.data); this.restoreDisplay();
} }
else } else {
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
},
}
} }
</script> </script>
<style> <style>
......
...@@ -48,7 +48,10 @@ ...@@ -48,7 +48,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby"> <el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by"> <c-select
disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -88,7 +91,10 @@ ...@@ -88,7 +91,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"> <c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -75,7 +75,10 @@ ...@@ -75,7 +75,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Amount Specification" prop="trnmod.swiadd.nomspc"> <el-form-item label="Amount Specification" prop="trnmod.swiadd.nomspc">
<c-select disabled v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明"> <c-select
disabled
:code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -3,7 +3,12 @@ ...@@ -3,7 +3,12 @@
<el-col :span="11"> <el-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available with" prop="lidgrp.rec.avbwth"> <el-form-item label="Available with" prop="lidgrp.rec.avbwth">
<c-select disabled v-model="model.lidgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with"> <c-select
disabled
:code="codes.avbwth"
v-model="model.lidgrp.rec.avbwth"
style="width:100%"
placeholder="请选择Available with">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -42,20 +47,27 @@ ...@@ -42,20 +47,27 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby"> <el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled <c-select
disabled
:rows="4" :rows="4"
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by"> v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Deferred Payment Details" prop="lidgrp.blk.defdet"> <el-form-item label="Deferred Payment Details" prop="lidgrp.blk.defdet">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input> <c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Drafts at" prop="lidgrp.blk.dftat"> <el-form-item label="Drafts at" prop="lidgrp.blk.dftat">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input> <c-input
:rows="4"
disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -130,7 +142,10 @@ ...@@ -130,7 +142,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Presentation Period" prop="lidgrp.blk.preper"> <el-form-item label="Presentation Period" prop="lidgrp.blk.preper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input> <c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -138,24 +153,33 @@ ...@@ -138,24 +153,33 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Details of Charges" prop="lidgrp.blk.feetxt"> <el-form-item label="Details of Charges" prop="lidgrp.blk.feetxt">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input> <c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="315" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Charges Condition" prop="lidgrp.rec.chato"> <el-form-item label="Charges Condition" prop="lidgrp.rec.chato">
<c-select disabled v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at"> <c-select disabled
:code="codes.chato"
v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Country or region Code" prop="lidgrp.rec.stacty"> <el-form-item label="Country or region Code" prop="lidgrp.rec.stacty">
<c-select disabled v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country"> <c-select
disabled
:code="codes.stacty"
v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Mixed Payment Details" prop="lidgrp.blk.mixdet"> <el-form-item label="Mixed Payment Details" prop="lidgrp.blk.mixdet">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input> <c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -165,7 +189,9 @@ ...@@ -165,7 +189,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Shipment Period" prop="lidgrp.blk.shpper"> <el-form-item label="Shipment Period" prop="lidgrp.blk.shpper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input> <c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"> <c-select
:code="codes.lcrtyp"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -70,7 +72,9 @@ ...@@ -70,7 +72,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Amount Specification" prop="lidgrp.rec.nomspc"> <el-form-item label="Amount Specification" prop="lidgrp.rec.nomspc">
<c-select disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification"> <c-select
:code="codes.nomspc"
disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -153,13 +157,17 @@ ...@@ -153,13 +157,17 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Confirm.Instructions" prop="lidgrp.rec.cnfdet"> <el-form-item label="Confirm.Instructions" prop="lidgrp.rec.cnfdet">
<c-select disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions"> <c-select
:code="codes.cnfdet"
disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions">
</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="Mortgage Flag" prop="lidgrp.rec.guaflg"> <el-form-item label="Mortgage Flag" prop="lidgrp.rec.guaflg">
<c-select disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag"> <c-select
:code="codes.guaflg"
disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -213,7 +221,7 @@ ...@@ -213,7 +221,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.apl.pts.adrblk"> <el-form-item label="Address Block" prop="lidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.apl.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -248,7 +256,7 @@ ...@@ -248,7 +256,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.adv.pts.adrblk"> <el-form-item label="Address Block" prop="lidgrp.adv.pts.adrblk">
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.adv.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.adv.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -219,17 +219,15 @@ export default { ...@@ -219,17 +219,15 @@ export default {
created:async function(){ created:async function(){
console.log("进入litdla交易"); console.log("进入litdla交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
} } else {
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} }
</script> </script>
<style> <style>
......
...@@ -83,7 +83,6 @@ ...@@ -83,7 +83,6 @@
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -160,17 +159,15 @@ export default { ...@@ -160,17 +159,15 @@ export default {
created:async function(){ created:async function(){
console.log("进入litrog交易"); console.log("进入litrog交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
} } else {
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} }
</script> </script>
<style> <style>
......
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