Commit 0a816426 by lianyang

brtdck交易页面事件修改

parent 221d81d1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<!-- 左边 --> <!-- =================================左边================================= -->
<c-col :span="12"> <c-col :span="12">
<!-- S0000198 : 信用证编号 --> <!-- S0000198 : 信用证编号 -->
<c-col :span="24"> <c-col :span="24">
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
maxlength="16" maxlength="16"
placeholder="" placeholder=""
style="width: 100%" style="width: 100%"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -44,6 +45,7 @@ ...@@ -44,6 +45,7 @@
v-model="model.lidgrp.rec.expdat" v-model="model.lidgrp.rec.expdat"
style="width: 100%" style="width: 100%"
placeholder="请输入Expiry" placeholder="请输入Expiry"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -56,6 +58,7 @@ ...@@ -56,6 +58,7 @@
v-model="model.brdgrp.rec.ownref" v-model="model.brdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -88,6 +91,7 @@ ...@@ -88,6 +91,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入Document Amount" placeholder="请输入Document Amount"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -98,6 +102,7 @@ ...@@ -98,6 +102,7 @@
<c-input <c-input
v-model="model.brdgrp.cbs.max.amt" v-model="model.brdgrp.cbs.max.amt"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -116,6 +121,7 @@ ...@@ -116,6 +121,7 @@
v-model="model.brdgrp.cbs.opn1.cur" v-model="model.brdgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入Open Amount" placeholder="请输入Open Amount"
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -125,6 +131,7 @@ ...@@ -125,6 +131,7 @@
<c-input <c-input
v-model="model.brdgrp.cbs.opn1.amt" v-model="model.brdgrp.cbs.opn1.amt"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -138,6 +145,7 @@ ...@@ -138,6 +145,7 @@
v-model="model.brdgrp.rec.rcvdat" v-model="model.brdgrp.rec.rcvdat"
style="width: 100%" style="width: 100%"
placeholder="请输入" placeholder="请输入"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -149,6 +157,7 @@ ...@@ -149,6 +157,7 @@
v-model="model.brdgrp.rec.advdat" v-model="model.brdgrp.rec.advdat"
style="width: 100%" style="width: 100%"
placeholder="请输入Advised on" placeholder="请输入Advised on"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -171,6 +180,7 @@ ...@@ -171,6 +180,7 @@
v-model="model.brdgrp.rec.stadat" v-model="model.brdgrp.rec.stadat"
style="width: 100%" style="width: 100%"
placeholder="请输入 Start Date" placeholder="请输入 Start Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -182,6 +192,7 @@ ...@@ -182,6 +192,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入Document Type" placeholder="请输入Document Type"
:code="codes.docflg" :code="codes.docflg"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -196,6 +207,7 @@ ...@@ -196,6 +207,7 @@
<c-input <c-input
v-model="model.brdgrp.rec.tenmaxday" v-model="model.brdgrp.rec.tenmaxday"
placeholder="请输入Tenor" placeholder="请输入Tenor"
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -207,6 +219,7 @@ ...@@ -207,6 +219,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入" placeholder="请输入"
:code="codes.docsta" :code="codes.docsta"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -217,7 +230,7 @@ ...@@ -217,7 +230,7 @@
<c-select <c-select
v-model="model.brdgrp.rec.docflg" v-model="model.brdgrp.rec.docflg"
style="width: 100%" style="width: 100%"
placeholder="请输入Document Type" placeholder="请选择Document Type"
:code="codes.docflg" :code="codes.docflg"
> >
</c-select> </c-select>
...@@ -232,6 +245,7 @@ ...@@ -232,6 +245,7 @@
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -255,6 +269,7 @@ ...@@ -255,6 +269,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入Drawn Add Amount" placeholder="请输入Drawn Add Amount"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -357,10 +372,15 @@ ...@@ -357,10 +372,15 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
v-model="model.brdgrp.rec.dscinsflg" v-model="dscinsflg"
style="width: 100%; margin-left: 40px" style="width: 100%; margin-left: 40px"
>Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox >Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox
> >
<!-- <c-checkbox
v-model="model.brdgrp.rec.dscinsflg"
style="width: 100%; margin-left: 40px"
>Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox
> -->
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item <c-form-item
...@@ -372,12 +392,13 @@ ...@@ -372,12 +392,13 @@
:placeholder=" :placeholder="
$t('other.please_enter') + 'Count of Received Document Sets' $t('other.please_enter') + 'Count of Received Document Sets'
" "
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- 右边 --> <!-- =================================右边=============================== -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<!-- S0000192 : 信用证余额 --> <!-- S0000192 : 信用证余额 -->
...@@ -387,6 +408,7 @@ ...@@ -387,6 +408,7 @@
v-model="model.lidgrp.cbs.opn1.cur" v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
:placeholder="$t('other.please_enter') + 'Currency'" :placeholder="$t('other.please_enter') + 'Currency'"
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -395,6 +417,7 @@ ...@@ -395,6 +417,7 @@
<c-input <c-input
v-model="model.lidgrp.cbs.opn1.amt" v-model="model.lidgrp.cbs.opn1.amt"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -405,6 +428,7 @@ ...@@ -405,6 +428,7 @@
v-model="model.brdgrp.rec.nam" v-model="model.brdgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入" placeholder="请输入"
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -412,6 +436,7 @@ ...@@ -412,6 +436,7 @@
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }" :argadr="{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }"
disabled
> >
</c-ptsmsg> </c-ptsmsg>
</c-col> </c-col>
...@@ -419,6 +444,7 @@ ...@@ -419,6 +444,7 @@
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }" :argadr="{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }"
disabled
> >
</c-ptsmsg> </c-ptsmsg>
</c-col> </c-col>
...@@ -430,6 +456,7 @@ ...@@ -430,6 +456,7 @@
grp: 'brdgrp', grp: 'brdgrp',
rol: 'prb', rol: 'prb',
}" }"
disabled1
> >
</c-ptsmsg> </c-ptsmsg>
</c-col> </c-col>
...@@ -476,7 +503,7 @@ ...@@ -476,7 +503,7 @@
<c-select <c-select
v-model="model.brdgrp.rec.docprbrol" v-model="model.brdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请输入 Presented by" placeholder="请选择 Presented by"
:code="codes.docprbrol" :code="codes.docprbrol"
> >
</c-select> </c-select>
...@@ -508,6 +535,18 @@ ...@@ -508,6 +535,18 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
disabled1
>
</c-ptap1>
<!-- <c-ptap <!-- <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -722,6 +761,14 @@ export default { ...@@ -722,6 +761,14 @@ export default {
flag() { flag() {
return this.model.brdgrp.prb.pts.extkey == ""; return this.model.brdgrp.prb.pts.extkey == "";
}, },
dscinsflg: {
get() {
return this.model.brdgrp.rec.dscinsflg != ''
},
set(val) {
this.model.brdgrp.rec.dscinsflg = val ? "X" : ""
}
},
}, },
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!--=== ==========左边=============== --> <!--================================左边================================== -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="21" > <c-col :span="21" >
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis" > <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis" >
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" <c-input type="textarea" v-model="model.brdgrp.blk.docdis"
maxlength="50" show-word-limit placeholder="请输入Discrepancies" rows="5"> maxlength="50" show-word-limit placeholder="请输入Discrepancies" rows="5"
:disabled="!docdisflg">
</c-input> </c-input>
<!-- :disabled="!docdisflg" 任意非空串 取非后即为false,,空串取非后即为true -->
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3"> <c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"
:disabled="!docdisflg">
... ...
</c-button> </c-button>
</c-col> </c-col>
...@@ -34,18 +36,20 @@ ...@@ -34,18 +36,20 @@
</c-button> </c-button>
</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">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox> <c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> <c-checkbox v-model="docdisflg">discrepancies modified</c-checkbox>
<!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp" > <el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp" >
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received" <c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received"
:code="codes.advtyp"> :code="codes.advtyp"
disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -56,7 +60,8 @@ ...@@ -56,7 +60,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat" label-width="155px"> <el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat" label-width="155px">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker> <c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"
disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -86,7 +91,7 @@ ...@@ -86,7 +91,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.brtp.cre732flg">Create MT 732</c-checkbox> <c-checkbox v-model="model.brtp.cre732flg" disabled>Create MT 732</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
...@@ -118,6 +123,16 @@ export default { ...@@ -118,6 +123,16 @@ export default {
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
computed: {
docdisflg: {
get() {
return this.model.brdgrp.blk.docdisflg != ""
},
set(val) {
this.model.brdgrp.blk.docdisflg = val ? "X" : ""
}
},
},
}; };
</script> </script>
<style> <style>
......
...@@ -121,17 +121,40 @@ ...@@ -121,17 +121,40 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="16"> <c-col :span="20">
<el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr"> <el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
<c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address" <c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address"
rows="4"></c-input> rows="4"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="4">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg">Release Goods to Applicant ?</c-checkbox> <el-form-item label="" label-width="0" prop="brdgrp.rec.rtoaplflg">
<c-checkbox v-model="rtoaplflg" @change="rtoaplflgChangeEvent">to Applicant</c-checkbox>
<!-- <el-input v-model="model.brdgrp.rec.rtoaplflg"></el-input> -->
</el-form-item>
<!-- <c-checkbox v-model="model.brdgrp.rec.rtoaplflg">to Applicant</c-checkbox> 简化model前,,原始-->
<!-- Release Goods to Applicant? -->
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: 'Shapping Company',
grp: 'brdgrp',
rol: 'shp',
}"
:disabled="true"
:isAdrblk="false"
disabled1
>
</c-ptap1>
<!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',-->
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="brtp.shpp.ptsget.sdamod.dadsnd"> <el-form-item label="Drag Drop Sender" prop="brtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item> </el-form-item>
...@@ -153,9 +176,9 @@ ...@@ -153,9 +176,9 @@
<c-button size="small" type="primary" @click="onShppDet"> <c-button size="small" type="primary" @click="onShppDet">
Details Details
</c-button> </c-button>
</c-col> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="名称" prop="brdgrp.shp.namelc"> <el-form-item label="名称" prop="brdgrp.shp.namelc">
<c-input type="textarea" v-model="model.brdgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> <c-input type="textarea" v-model="model.brdgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item> </el-form-item>
...@@ -165,9 +188,9 @@ ...@@ -165,9 +188,9 @@
<el-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk"> <el-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input type="textarea" v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" 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">
<el-form-item label="Chinese address" prop="brdgrp.shp.dbfadrblkcn"> <el-form-item label="Chinese address" prop="brdgrp.shp.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item> </el-form-item>
...@@ -177,7 +200,7 @@ ...@@ -177,7 +200,7 @@
<el-form-item label="地址" prop="brdgrp.shp.adrelc"> <el-form-item label="地址" prop="brdgrp.shp.adrelc">
<c-input type="textarea" v-model="model.brdgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> <c-input type="textarea" v-model="model.brdgrp.shp.adrelc" 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 label="Notify Party" prop="brdgrp.blk.notpty"> <el-form-item label="Notify Party" prop="brdgrp.blk.notpty">
...@@ -187,7 +210,8 @@ ...@@ -187,7 +210,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Goods code" prop="brdgrp.rec.ngrcod"> <el-form-item label="Goods code" prop="brdgrp.rec.ngrcod">
<c-select v-model="model.brdgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code"> <c-select v-model="model.brdgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code"
:code="codes.bnrsec">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -199,8 +223,14 @@ import Api from "~/service/Api" ...@@ -199,8 +223,14 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event" import Event from "~/model/Brtdck/Event"
import Ptap1 from "~/views/Public/Ptap1"
export default { export default {
components: {
"c-ptap1": Ptap1,
// "c-ptap": Ptap,
// "c-ptsmsg": Ptsmsg,
},
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -209,7 +239,26 @@ export default { ...@@ -209,7 +239,26 @@ export default {
} }
}, },
methods:{...Event}, computed:{
rtoaplflg:{
get() {
return this.model.brdgrp.rec.rtoaplflg != ''
},
set(val) {
this.model.brdgrp.rec.rtoaplflg = val ? "X" : ""
}
}
},
methods:{
...Event,
rtoaplflgChangeEvent() {
this.executeDefault("brdgrp.rec.rtoaplflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created:function(){ created:function(){
} }
......
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--brtp PD000062 Discr./Instr. --> <!--brtp PD000062 Discr./Instr. -->
<el-tab-pane label="Discr./Instr." name="docpre"> <el-tab-pane label="Discr./Instr." name="docpre" v-if="model.brdgrp.rec.dscinsflg">
<m-docpre :model="model" :codes="codes"/> <m-docpre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--brtp PD000079 Shipping Details --> <!--brtp PD000079 Shipping Details -->
<el-tab-pane label="Shipping Details" name="shpdet"> <el-tab-pane label="Shipping Details" name="shpdet" v-if="model.brdgrp.rec.dscinsflg">
<c-content> <c-content>
<m-shpdet :model="model" :codes="codes"/> <m-shpdet :model="model" :codes="codes"/>
</c-content> </c-content>
......
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