Commit 7e3e90ea by Wuyuqiu

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 c0e55e12 b59a9834
[0908/094200.007:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
[0908/141403.897:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
[0909/090947.311:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
[1011/090658.486:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
......@@ -7187,6 +7187,11 @@ const CodeTable = {
{label:"HK HONG KONG",value:"HK"},
{label:"GB Great Britain",value:"GB"},
],
ctytxt2:[
{label:"People's Republic of China",value:"CN"},
{label:"HONG KONG",value:"HK"},
{label:"Great Britain",value:"GB"},
],
trndoc_advdoc: [
{ label: "经核验,证实电相符/印鉴相符。", value: "" },
{ label: "信用证真实性待核实。", value: "2" },
......
......@@ -63,6 +63,7 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.newamt":[
......
......@@ -219,8 +219,9 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{ required: false, },
{type: "number", required: false, message: "请输入数字"},
{type: "number",max: 999,message:"不能超过999"},
{pattern: /^-?[1-9][0-9]{0,2}$/, message: "应在-999至999之间" }
],
"litp.avbp.ptsget.sdamod.dadsnd":[
......@@ -320,8 +321,10 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{ required: true, },
{type: "number", required: false, message: "请输入数字"},
{type: "number",max: 999,message:"不能超过999"},
{pattern: /(^-?[1-9][0-9]{0,2}$)|0/, message: "-999至999之间" }
// ^-?[1-9]\d*$   //匹配整数
],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......
......@@ -16,9 +16,9 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT:'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')">
@click="showGridPromptDialog('bttp.docdis.buttxmsel', null, null,{TXT:'btdgrp.blk.docdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-button>
</c-col>
</el-row>
<el-row>
......@@ -32,7 +32,7 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.intdis.buttxmsel', null, null,{TXT:'brdgrp.blk.intdis'}, {TXT: false},'doxpDialog')">
@click="showGridPromptDialog('bttp.intdis.buttxmsel', null, null,{TXT:'btdgrp.blk.intdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -48,7 +48,7 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.comcon.buttxmsel', null, null,{TXT:'brdgrp.blk.comcon'}, {TXT: false},'doxpDialog')">
@click="showGridPromptDialog('bttp.comcon.buttxmsel', null, null,{TXT:'btdgrp.blk.comcon'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -65,7 +65,7 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.setins.buttxmsel', null, null,{TXT:'brdgrp.blk.setinsbt'}, {TXT: false},'doxpDialog')">
@click="showGridPromptDialog('bttp.setins.buttxmsel', null, null,{TXT:'btdgrp.blk.setinsbt'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
......@@ -74,6 +74,7 @@
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe1"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
......@@ -87,6 +88,7 @@
<c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe2"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
......
......@@ -27,7 +27,9 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="保兑" name="conp">
<c-content>
<m-conp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="概要" name="ovwp">
......
......@@ -197,7 +197,6 @@
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select
disabled
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
......@@ -343,7 +342,7 @@
<c-col :span="24">
<el-form-item label="保函文本格式" prop="gidgrp.rec.gtxinr">
<c-select
disabled
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
......
......@@ -63,6 +63,7 @@
<c-input
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
disabled
placeholder="请输入申请人参考号"
></c-input>
</el-form-item>
......@@ -77,6 +78,7 @@
<c-input
v-model="model.gidgrp.con.pts.extkey"
maxlength="16"
disabled
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.con.pts.extkey`)
......@@ -113,6 +115,7 @@
<c-input
type="textarea"
rows="4"
disabled
v-model="model.gidgrp.con.pts.adrblk"
maxlength="140"
show-word-limit
......@@ -130,6 +133,7 @@
<c-input
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
disabled
placeholder="请输入保兑行参考号"
></c-input>
</el-form-item>
......@@ -208,6 +212,7 @@
<c-input
v-model="model.gidgrp.ben.pts.extkey"
maxlength="16"
:disabled="model.gidgrp.ben.pts.adrblk!=''"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
......
......@@ -49,7 +49,7 @@
</el-tab-pane>
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane
v-if="model.gitp.swiftflg == 'Y'"
v-if="false"
label="演示/交付"
name="preperp"
>
......
......@@ -194,7 +194,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label=""合同币种和金额" " prop="gidgrp.rec.orccur">
<el-form-item label="合同币种和金额" prop="gidgrp.rec.orccur">
<c-select
disabled
v-model="model.gidgrp.rec.orccur"
......@@ -299,12 +299,14 @@
label="仲裁法律"
prop="gidgrp.rec.jurlaw"
>
<c-input
<c-select
disabled
v-model="model.gidgrp.rec.jurlaw"
maxlength="35"
:code="codes.ctytxt2"
style="width: 100%"
placeholder="请输入仲裁法律"
></c-input>
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -658,6 +660,19 @@ export default {
return {};
},
methods: { ...Event },
watch:{
"model.gidgrp.rec.jurlaws20": function(){
if(this.model.gidgrp.rec.jurlaws20=="GB"){
this.model.gidgrp.rec.jurlaw="GB"
}else if(this.model.gidgrp.rec.jurlaws20=="CN"){
this.model.gidgrp.rec.jurlaw="CN"
}else if(this.model.gidgrp.rec.jurlaws20=="HK"){
this.model.gidgrp.rec.jurlaw="HK"
}else if(this.model.gidgrp.rec.jurlaws20==""){
this.model.gidgrp.rec.jurlaw=""
}
}
},
created: function () {},
};
</script>
......
......@@ -1981,6 +1981,11 @@ export default {
this.model.gidgrp.rec.liaflg = "X";
}
},
"model.gidgrp.rec.gartyp": function() {
if(this.model.gidgrp.rec.gartyp=='1'){
this.model.gidgrp.rec.gtxinr="<NILTXT>"
}
}
},
methods: {
...Event,
......
......@@ -386,13 +386,13 @@
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label=""账户/对象"参考号"
label="账户/对象参考号"
prop="gidgrp.ctr.pts.ref"
>
<c-input
v-model="model.gidgrp.ctr.pts.ref"
maxlength="16"
placeholder="请输入"账户/对象"参考号"
placeholder="请输入账户/对象参考号"
></c-input>
</el-form-item>
</c-col>
......@@ -403,7 +403,7 @@
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label=""账户/对象""
label="账户/对象"
prop="gidgrp.ctr.pts.extkey"
>
<c-fullbox>
......
......@@ -300,12 +300,14 @@
<c-col :span="24">
<el-form-item label="仲裁法律" prop="gidgrp.rec.jurlaw">
<c-input
<c-select
disabled
v-model="model.gidgrp.rec.jurlaw"
maxlength="35"
:code="codes.ctytxt2"
placeholder="请输入仲裁法律"
></c-input>
style="width:100%"
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -508,6 +510,19 @@ export default {
};
},
methods: { ...Event },
watch:{
"model.gidgrp.rec.jurlaws20": function(){
if(this.model.gidgrp.rec.jurlaws20=="GB"){
this.model.gidgrp.rec.jurlaw="GB"
}else if(this.model.gidgrp.rec.jurlaws20=="CN"){
this.model.gidgrp.rec.jurlaw="CN"
}else if(this.model.gidgrp.rec.jurlaws20=="HK"){
this.model.gidgrp.rec.jurlaw="HK"
}else if(this.model.gidgrp.rec.jurlaws20==""){
this.model.gidgrp.rec.jurlaw=""
}
}
},
created: function () {},
};
</script>
......
......@@ -1554,7 +1554,7 @@ export default {
}
},
},
created: function () {},
created: function () {},
watch: {
"model.gidgrp.rec.expflg": function () {
if (
......@@ -1564,8 +1564,13 @@ export default {
this.model.gidgrp.rec.liaflg = "X";
}
},
declareParams() {},
},
declareParams() {},
"model.gidgrp.rec.gartyp": function() {
if(this.model.gidgrp.rec.gartyp=='1'){
this.model.gidgrp.rec.gtxinr="<NILTXT>"
}
}
},
};
</script>
<style>
......
......@@ -126,7 +126,7 @@
placeholder="请选择费用承担人"
>
<el-option
v-for="item in codes.chato"
v-for="item in codes.gitopn_chato"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -156,10 +156,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.blk.preper">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18">
<c-input
type="textarea"
v-model="model.oldlidgrp.blk.preper"
v-model="model.oldlidgrp.rec.prepertxts18"
maxlength="35"
show-word-limit
placeholder="请输入寄单期限"
......
<template>
<div class="eibs-tab">
<!-- ========================左边======================== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.rec.avbwth">
<c-select v-model="model.lidgrp.rec.avbwth"
style="width:100%" placeholder="请选择Available with"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
:disabled="this.flag5"
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAvbpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
<c-input
:disabled="this.flag6"
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入名称地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="!this.flag4">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input
type="textarea" v-model="model.lidgrp.blk.avbwthtxt" maxlength="135" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
v-model="model.lidgrp.rec.avbby"
style="width:100%"
placeholder="请选择Available by"
:code="codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input type="textarea"
v-model="model.lidgrp.blk.defdet"
maxlength="140"
:rows="3"
show-word-limit
placeholder="请输入延期付款指示"
:disabled="this.flag1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input type="textarea"
v-model="model.lidgrp.blk.dftat"
maxlength="105"
:rows="3"
show-word-limit
placeholder="请输入汇票期限"
<div class="eibs-tab">
<!-- ========================左边======================== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.rec.avbwth">
<c-select v-model="model.lidgrp.rec.avbwth"
style="width:100%" placeholder="请选择Available with"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
:disabled="this.flag5"
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAvbpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
<c-input
:disabled="this.flag6"
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入名称地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="!this.flag4">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input
type="textarea" v-model="model.lidgrp.blk.avbwthtxt" maxlength="135" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
v-model="model.lidgrp.rec.avbby"
style="width:100%"
placeholder="请选择Available by"
:code="codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input type="textarea"
v-model="model.lidgrp.blk.defdet"
maxlength="140"
:rows="3"
show-word-limit
placeholder="请输入延期付款指示"
:disabled="this.flag1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input type="textarea"
v-model="model.lidgrp.blk.dftat"
maxlength="105"
:rows="3"
show-word-limit
placeholder="请输入汇票期限"
:disabled="this.flag2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受票人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.drw.pts.extkey"
maxlength="16"
placeholder=""
@keyup.enter.native="showGridPromptDialog('lidgrp.drw.pts.extkey')"
:disabled="this.flag2"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf('lidgrp.drw.pts.extkey')"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受票人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.drw.pts.extkey"
maxlength="16"
placeholder=""
@keyup.enter.native="showGridPromptDialog('lidgrp.drw.pts.extkey')"
:disabled="this.flag2"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf('lidgrp.drw.pts.extkey')"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag2"
@click="onDrwpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.drw.pts.adrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.lidgrp.drw.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运地点" prop="lidgrp.rec.shpfro">
<c-input v-model="model.lidgrp.rec.shpfro" maxlength="65" placeholder="请输入地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input v-model="model.lidgrp.rec.porloa" maxlength="65" placeholder="请输入Air-/Port of Departure"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input v-model="model.lidgrp.rec.pordis" maxlength="65" placeholder="请输入Air-/Port of Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input v-model="model.lidgrp.rec.shpto" maxlength="65" placeholder="请输入Final Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<c-input type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="390" :rows="6" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input v-model="model.lidgrp.rec.prepers18"
style="width:100%"
:disabled="true"
placeholder="请输入Period for Presentation in Days"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input type="textarea"
v-model="model.lidgrp.rec.prepertxts18"
:disabled="true"
maxlength="140"
show-word-limit
placeholder="请输入寄单期限" ></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
@click="onDrwpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.drw.pts.adrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.lidgrp.drw.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<c-fullbox>
<c-input type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="210" :rows="6" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费条件" prop="lidgrp.rec.chato">
<c-select
v-model="model.lidgrp.rec.chato"
style="width:100%"
:code="chato"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国家地区代码" prop="lidgrp.rec.stacty">
<c-select
v-model="model.lidgrp.rec.stacty"
style="width:100%"
:code="codes.stacty"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款详情" prop="lidgrp.blk.mixdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
maxlength="140" :rows="4"
show-word-limit
placeholder="请输入内容"
:disabled="this.flag3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限日" prop="lidgrp.rec.tenmaxday">
<c-input v-model="model.lidgrp.rec.tenmaxday" placeholder="请输入Maximum tenor in days"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
chato: [
{ label: `OUR FEES BORNE BY ABROAD`, value: `B` },
{ label: `OTHER`, value: `O` },
{ label: `SPLIT FEES`, value: `S` },
{ label: `OUR FEES BORNE BY CLIENT`, value: `U` },
],
flag1:true,
flag2:true,
flag3:true,
flag4:true,
flag5:false,
flag6:false
}
},
methods:{...Event,
onAvbpDet(){
console.log(this.model.lidgrp.rec.avbby)
}
},
created:function(){
},
watch:{
"model.lidgrp.rec.avbwth":{
immediate:true,
handler(val,oldVal){
//Any Bank
if(val == 'O'){
this.flag4=false;
this.changeFormItemRequired('lidgrp.avb.pts.adrblk',false)
this.flag6=false
}//Advising Bank
else if(val == 'A'){
this.flag4=true;
this.flag5=true;
this.flag6=true;
}//Issuing Bank
else if(val == 'I'){
this.flag4=true;
this.flag5=false;
this.flag6=true;
}//Confirming Bank
else if(val == 'C'){
this.flag4=true;
this.flag5=true;
this.flag6=true;
}//Specified Bank
else if(val == 'S'){
this.flag4=true;
this.flag5=false;
this.flag6=false;
}
}
},
"model.lidgrp.rec.avbby": {
immediate:true,
handler(val,oldVal){
if (val=="D") {
this.flag1=false
this.flag2=true
this.flag3=true
}
if(val=="N"){
this.flag1=false
this.flag2=false
this.flag3=true
}
if (val=="P") {
this.flag1=true
this.flag2=false
this.flag3=true
}
if (val=="M") {
this.flag1=true
this.flag2=true
this.flag3=false
}
if (val=="A") {
this.flag1=true
this.flag2=false
this.flag3=true
}
},
},
},
}
</script>
<style>
.centerLable {
margin-left: -10px;
height: 32px;
line-height: 32px;
}
.marginLable {
padding-left: 160px;
}
</style>
<c-col :span="24">
<el-form-item label="装运地点" prop="lidgrp.rec.shpfro">
<c-input v-model="model.lidgrp.rec.shpfro" maxlength="65" placeholder="请输入地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input v-model="model.lidgrp.rec.porloa" maxlength="65" placeholder="请输入Air-/Port of Departure"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input v-model="model.lidgrp.rec.pordis" maxlength="65" placeholder="请输入Air-/Port of Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input v-model="model.lidgrp.rec.shpto" maxlength="65" placeholder="请输入Final Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<c-input type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="390" :rows="6" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input v-model="model.lidgrp.rec.prepers18"
style="width:100%"
:disabled="true"
placeholder="请输入Period for Presentation in Days"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input type="textarea"
v-model="model.lidgrp.rec.prepertxts18"
:disabled="true"
maxlength="140"
show-word-limit
placeholder="请输入寄单期限" ></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<c-fullbox>
<c-input type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="210" :rows="6" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费条件" prop="lidgrp.rec.chato">
<c-select
v-model="model.lidgrp.rec.chato"
style="width:100%"
:code="chato"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国家地区代码" prop="lidgrp.rec.stacty">
<c-select
v-model="model.lidgrp.rec.stacty"
style="width:100%"
:code="codes.stacty"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款详情" prop="lidgrp.blk.mixdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
maxlength="140" :rows="4"
show-word-limit
placeholder="请输入内容"
:disabled="this.flag3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限日" prop="lidgrp.rec.tenmaxday">
<c-input :disabled="this.model.lidgrp.rec.avbby=='P'" v-model="model.lidgrp.rec.tenmaxday" placeholder="请输入Maximum tenor in days"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
chato: [
{ label: `OUR FEES BORNE BY ABROAD`, value: `B` },
{ label: `OTHER`, value: `O` },
{ label: `SPLIT FEES`, value: `S` },
{ label: `OUR FEES BORNE BY CLIENT`, value: `U` },
],
flag1:true,
flag2:true,
flag3:true,
flag4:true,
flag5:false,
flag6:false
}
},
methods:{...Event,
onAvbpDet(){
console.log(this.model.lidgrp.rec.avbby)
}
},
created:function(){
},
watch:{
"model.lidgrp.rec.avbwth":{
immediate:true,
handler(val,oldVal){
//Any Bank
if(val == 'O'){
this.flag4=false;
this.changeFormItemRequired('lidgrp.avb.pts.adrblk',false)
this.flag6=false
}//Advising Bank
else if(val == 'A'){
this.flag4=true;
this.flag5=true;
this.flag6=true;
}//Issuing Bank
else if(val == 'I'){
this.flag4=true;
this.flag5=false;
this.flag6=true;
}//Confirming Bank
else if(val == 'C'){
this.flag4=true;
this.flag5=true;
this.flag6=true;
}//Specified Bank
else if(val == 'S'){
this.flag4=true;
this.flag5=false;
this.flag6=false;
}
}
},
"model.lidgrp.rec.avbby": {
immediate:true,
handler(val,oldVal){
if (val=="D") {
this.flag1=false
this.flag2=true
this.flag3=true
}
if(val=="N"){
this.flag1=false
this.flag2=false
this.flag3=true
}
if (val=="P") {
this.flag1=true
this.flag2=false
this.flag3=true
}
if (val=="M") {
this.flag1=true
this.flag2=true
this.flag3=false
}
if (val=="A") {
this.flag1=true
this.flag2=false
this.flag3=true
}
},
},
},
}
</script>
<style>
.centerLable {
margin-left: -10px;
height: 32px;
line-height: 32px;
}
.marginLable {
padding-left: 160px;
}
</style>
\ No newline at end of file
......@@ -36,8 +36,8 @@
<!--PD000021 -->
<el-tab-pane label="叙述内容" name="narp">
<c-content>
<m-narp :model="model" :codes="codes" />
</c-content>
<m-narp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000077 -->
......@@ -64,29 +64,29 @@
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000328 -->
......
<template>
<div class="eibs-tab">
<!-- =====================左========================== -->
<el-col :span="11">
<el-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox>
......@@ -16,7 +16,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -112,7 +111,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -145,7 +143,7 @@
</c-col>
</el-col>
<!-- ========================右======================= -->
<el-col :span="11" :offset="1">
<el-col :span="12" class="col-right">
<c-col :span="24" >
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
......@@ -160,10 +158,9 @@
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人" :disabled="true"></c-input>
v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input :disabled="true" v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入名称"></c-input>
......@@ -225,7 +222,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -233,7 +229,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
获取
</c-button>
......
<template>
<c-page title="进口信用证通知">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
</c-function-btn>
<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">
<!--PD000045 name="davp"-->
<el-tab-pane label="收到通知" name="davp">
<c-content>
<m-davp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == '750' " label="不符点通知" name="mt750p">
<c-content>
<m-mt750p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == '754' " label="付款通知" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == 'OTH' " label="其他通知" name="othadvtypp">
<c-content>
<m-othadvtypp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000045 name="davp"-->
<el-tab-pane label="收到通知" name="davp">
<c-content>
<m-davp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane
v-if="this.model.brdgrp.rec.advtyp == '750'"
label="不符点通知"
name="mt750p"
>
<c-content>
<m-mt750p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文和面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
<!--PD000147 -->
<el-tab-pane
v-if="this.model.brdgrp.rec.advtyp == '754'"
label="付款通知"
name="mt754p"
>
<c-content>
<m-mt754p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane
v-if="this.model.brdgrp.rec.advtyp == 'OTH'"
label="其他通知"
name="othadvtypp"
>
<c-content>
<m-othadvtypp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="engp,setpan">
<c-content>
<el-collapse v-model="fyzw">
<el-collapse-item title="表外记账" name="engp">
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litdav from "~/model/Litdav"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litdav/Check"
import Default from "~/model/Litdav/Default"
import Pattern from "~/model/Litdav/Pattern"
import Davp from "./Davp"
//import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Othadvtypp from "./Othadvtypp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Litdav from "~/model/Litdav";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Litdav/Check";
import Default from "~/model/Litdav/Default";
import Pattern from "~/model/Litdav/Pattern";
import Davp from "./Davp";
import Mt750p from "./Mt750p";
import Mt754p from "./Mt754p";
import Othadvtypp from "./Othadvtypp";
import Utils from "~/utils";
//import Glepan from "~/views/Public/Glepan";
......@@ -118,62 +132,55 @@ import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "./Limitbody";
export default {
name:"Litdav",
components:{
"m-davp" : Davp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-othadvtypp" : Othadvtypp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "litdav",
model: new Litdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
},
methods:{
},
created:async function(){
console.log("进入litdav交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
//更新数据
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
name: "Litdav",
components: {
"m-davp": Davp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-mt750p": Mt750p,
"m-mt754p": Mt754p,
"m-othadvtypp": Othadvtypp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "davp",
trnName: "litdav",
model: new Litdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
fyzw: ['engp']
};
},
methods: {},
created: async function () {
console.log("进入litdav交易");
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -121,8 +121,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.blk.preper">
<c-input disabled type="textarea" v-model="model.oldlidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入寄单期限" ></c-input>
<el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18">
<c-input disabled type="textarea" v-model="model.oldlidgrp.rec.prepertxts18" maxlength="35" show-word-limit placeholder="请输入寄单期限" ></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.rec.avbwth">
<c-select
disabled
:code="codes.avbwth"
v-model="model.lidgrp.rec.avbwth"
style="width:100%"
placeholder="请选择Available with">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.avb.pts.extkey" maxlength="16" placeholder="请输入内容"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.avb.pts.adrblk">
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
disabled
:rows="4"
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入延期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input
:rows="4"
disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入汇票期限" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受票人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.drw.pts.extkey" maxlength="16" placeholder="请输入地址编码"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.drw.pts.adrblk">
<c-input disabled type="textarea"
:rows="4"
v-model="model.lidgrp.drw.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
<!-- ========================左边======================== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.rec.avbwth">
<c-select disabled v-model="model.lidgrp.rec.avbwth"
style="width:100%" placeholder="请选择Available with"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAvbpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
<c-input
disabled
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入名称地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="!this.flag4">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input
type="textarea" disabled v-model="model.lidgrp.blk.avbwthtxt" maxlength="135" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
disabled
v-model="model.lidgrp.rec.avbby"
style="width:100%"
placeholder="请选择Available by"
:code="codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input type="textarea"
v-model="model.lidgrp.blk.defdet"
maxlength="50"
:rows="3"
show-word-limit
placeholder="请输入延期付款指示"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input type="textarea"
v-model="model.lidgrp.blk.dftat"
maxlength="105"
:rows="3"
show-word-limit
placeholder="请输入汇票期限"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受票人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.drw.pts.extkey"
maxlength="16"
placeholder=""
@keyup.enter.native="showGridPromptDialog('lidgrp.drw.pts.extkey')"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf('lidgrp.drw.pts.extkey')"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
@click="onDrwpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.drw.pts.adrblk">
<c-input type="textarea"
disabled
v-model="model.lidgrp.drw.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运地点" prop="lidgrp.rec.shpfro">
<c-input disabled v-model="model.lidgrp.rec.shpfro" maxlength="65" placeholder="请输入地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input disabled v-model="model.lidgrp.rec.porloa" maxlength="65" placeholder="请输入Air-/Port of Departure"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input disabled v-model="model.lidgrp.rec.pordis" maxlength="65" placeholder="请输入Air-/Port of Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input disabled v-model="model.lidgrp.rec.shpto" maxlength="65" placeholder="请输入Final Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" :rows="6" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="装船/发运地" prop="lidgrp.rec.shpfro">
<c-input disabled v-model="model.lidgrp.rec.shpfro" maxlength="65" placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<!-- ========================右边======================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input disabled v-model="model.lidgrp.rec.prepers18"
style="width:100%"
placeholder="请输入Period for Presentation in Days"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input disabled type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="35" show-word-limit placeholder="请输入寄单期限" ></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input disabled v-model="model.lidgrp.rec.porloa" maxlength="65" placeholder="请输入Air-/Port of Departure"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input disabled v-model="model.lidgrp.rec.pordis" maxlength="65" placeholder="请输入Air-/Port of Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input disabled v-model="model.lidgrp.rec.shpto" maxlength="65" placeholder="请输入Final Destination"></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ====================================================================================== -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepers18">
<c-input disabled v-model="model.lidgrp.rec.prepers18" placeholder="请输入交单期限"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单描述" prop="lidgrp.rec.prepertxts18">
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="35" show-word-limit placeholder="请输入内容" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox disabled v-model="model.lidgrp.blk.preperflg">修改寄单期限</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<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>
</c-col>
<c-col :span="24">
<el-form-item label="收费条件" prop="lidgrp.rec.chato">
<c-select disabled
:code="codes.chato"
v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国家地区代码" prop="lidgrp.rec.stacty">
<c-select
disabled
:code="codes.stacty"
v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择内容">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款详情" prop="lidgrp.blk.mixdet">
<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>
</c-col>
<c-col :span="24">
<el-form-item label="期限日" prop="lidgrp.rec.tenmaxday">
<c-input disabled v-model="model.lidgrp.rec.tenmaxday" placeholder="请输入Maximum tenor in days"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<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>
</c-col>
</el-col>
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<c-fullbox>
<c-input disabled type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="80" :rows="6" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费条件" prop="lidgrp.rec.chato">
<c-select
disabled
v-model="model.lidgrp.rec.chato"
style="width:100%"
:code="chato"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国家地区代码" prop="lidgrp.rec.stacty">
<c-select
disabled
v-model="model.lidgrp.rec.stacty"
style="width:100%"
:code="codes.stacty"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款详情" prop="lidgrp.blk.mixdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
maxlength="35" :rows="4"
show-word-limit
placeholder="请输入内容"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限日" prop="lidgrp.rec.tenmaxday">
<c-input disabled v-model="model.lidgrp.rec.tenmaxday" placeholder="请输入Maximum tenor in days"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import Event from "~/model/Litame/Event"
export default {
inject: ['root'],
......@@ -212,15 +292,31 @@ export default {
mixins: [commonProcess],
data(){
return {
chato: [
{ label: `OUR FEES BORNE BY ABROAD`, value: `B` },
{ label: `OTHER`, value: `O` },
{ label: `SPLIT FEES`, value: `S` },
{ label: `OUR FEES BORNE BY CLIENT`, value: `U` },
],
}
},
methods:{...Event},
created:function(){
methods:{...Event,
onAvbpDet(){
console.log(this.model.lidgrp.rec.avbby)
}
},
created:function(){
},
}
</script>
<style>
.centerLable {
margin-left: -10px;
height: 32px;
line-height: 32px;
}
.marginLable {
padding-left: 160px;
}
</style>
......@@ -167,12 +167,14 @@
type="textarea" v-model="model.lidgrp.a2b.pts.adrblk" maxlength="180" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24" v-if="this.model.lidgrp.rec.avbwth!='O'">
<el-form-item label="可用银行参考号" prop="lidgrp.avb.pts.ref">
<c-input disabled v-model="model.lidgrp.avb.pts.ref" maxlength="16" placeholder="请输入编号 for Address Optional"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24" v-if="this.model.lidgrp.rec.avbwth!='O'">
<el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.avb.pts.extkey" maxlength="16" placeholder="请输入地址编码"></c-input>
......@@ -200,7 +202,8 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24" v-if="this.model.lidgrp.rec.avbwth!='O'">
<el-form-item label="地址信息" prop="lidgrp.avb.pts.adrblk">
<c-input
:rows="4"
......
......@@ -347,7 +347,7 @@
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input
v-model="model.lidgrp.rec.prepers18"
v-model.number="model.lidgrp.rec.prepers18"
style="width: 100%"
placeholder="请输入天数"
></c-input>
......@@ -449,7 +449,7 @@
>
<c-input
:disabled="!!(this.model.lidgrp.rec.avbby == 'P')"
v-model="model.lidgrp.rec.tenmaxday"
v-model.number="model.lidgrp.rec.tenmaxday"
placeholder="请输入天数"
></c-input>
</el-form-item>
......
<!-- 附言公共页面 -->
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="15">
<el-form-item
style="height: 200px"
label="一般提示"
label-width="70px"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input-xml
......@@ -24,7 +24,6 @@
<c-col :span="7" :offset="1">
<el-form-item
label="提示类型"
label-width="70px"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
......@@ -43,7 +42,6 @@
<el-form-item
label="付款提示"
style="height: 200px"
label-width="70px"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input-xml
......@@ -61,7 +59,6 @@
<c-col :span="7" :offset="1">
<el-form-item
label="提示类型"
label-width="70px"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
......@@ -77,12 +74,11 @@
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="执行日期" label-width="70px" prop="mtabut.coninf.conexedat">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 60%,margin-left:70px"
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
......@@ -90,14 +86,11 @@
<c-col :span="7" :offset="1">
<el-form-item
label="指定复核人"
label-width="80px"
style="display:inline-block"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled="disabled"
placeholder="请输入用户编码"
......@@ -106,6 +99,7 @@
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
// 附言页签,勿改
......
<template>
<div class="eibs-tab">
<c-col :span="24" style="height: 24px">
<c-col :span="24" style="height: 24px;margin-bottom: 20px;">
<el-form-item label="发出面函/报文" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
......@@ -31,7 +31,7 @@
</c-istream-table-docpan>
</c-col>
<c-col :span="24" style="height: 24px;margin-top: 20px;">
<c-col :span="24" style="height: 24px;margin-top: 20px;;margin-bottom: 20px;">
<el-form-item label="前置面函/报文" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
......
......@@ -75,6 +75,7 @@
label-width="0"
:prop="'liaall.liaallg.' + scope.$index + '.acc'"
>
{{scope.row.acc}}
<!-- <c-input
v-model="scope.row.acc"
style="width: 100%"
......
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