Commit c290d1d2 by 潘际乾
parents e4be50b7 280c507b
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -184,17 +184,17 @@ export default { ...@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[ "dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.adlcnd":[ "dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.insbnk":[ "dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -330,25 +330,25 @@ export default { ...@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[ "dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.fqtime":[ "dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shpto":[ "dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.sdsrfs":[ "dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shppro":[ "dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.conno":[ "dedgrp.rec.conno":[
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -184,17 +184,17 @@ export default { ...@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[ "dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.adlcnd":[ "dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.insbnk":[ "dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -246,7 +246,7 @@ export default { ...@@ -246,7 +246,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.adv.pts.jigomc":[ "dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.bankno":[ "dedgrp.apc.pts.bankno":[
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.adv.pts.dizhii":[ "dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.jigomc":[ "dedgrp.apc.pts.jigomc":[
...@@ -330,25 +330,25 @@ export default { ...@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[ "dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.fqtime":[ "dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shpto":[ "dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.sdsrfs":[ "dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shppro":[ "dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.conno":[ "dedgrp.rec.conno":[
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12"> <c-col :span="12">
<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" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input> <c-fullbox>
<c-input
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入Discrepancies"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
@click="onDocdisButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> <el-form-item>
... <c-checkbox v-model="model.brdgrp.blk.docdisflg"
</c-button> >discrepancies modified</c-checkbox
>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24" style="height: 24px; margin-top: -10px">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span> <el-form-item :label="model.brtp.docgrdm.docdsclab" class="messageLabel"> </el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="table1"
:paginationShow="false"
:border="true"
>
<el-table-column label="1st" prop="cmail1" width="auto"></el-table-column>
<el-table-column label="2nd" prop="cmail2" width="auto"></el-table-column>
<el-table-column label="Document" width="auto">
<template>
<c-select
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
</c-table>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" 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/Brtdcr/Event" import Event from "~/model/Brtdcr/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
table1:[
} {
cmail1:"",
cmail2:"",
docnam:"10"
}, },
methods:{...Event}, {
created:function(){ cmail1:"",
cmail2:"",
} docnam:"20"
} },
{
cmail1:"",
cmail2:"",
docnam:"17"
},
],
codeTable:[
{ label: "Airway Bills", value: "1" },
{ label: "Beneficiary's Declaration", value: "2" },
{ label: "Bill of Lading Copies", value: "3" },
{ label: "Bill of Lading Originals", value: "4" },
{ label: "Certificate", value: "5" },
{ label: "Certificate of Analysis", value: "6" },
{ label: "Certificate of Origin", value: "7" },
{ label: "Certificate of Quality", value: "8" },
{ label: "Certificate of Quantity", value: "9" },
{ label: "Commercial Invoice", value: "10" },
{ label: "Courier Receipt", value: "11" },
{ label: "Draft", value: "12" },
{ label: "Export Licence", value: "13" },
{ label: "Fax Report", value: "14" },
{ label: "Inspection Cert", value: "15" },
{ label: "Insurance Policy", value: "16" },
{ label: "Packing List", value: "17" },
{ label: "Shipment Advice", value: "18" },
{ label: "Weight List", value: "19" },
{ label: "Original Bills of Lading", value: "20" },
]
};
},
methods: { ...Event },
created: function () {},
};
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style> </style>
...@@ -158,8 +158,8 @@ export default { ...@@ -158,8 +158,8 @@ export default {
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "detopn", trnName: "detame",
model: new Detopn().data, model: new Detame().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
......
...@@ -32,7 +32,10 @@ ...@@ -32,7 +32,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<c-form-item label="Open Amount" :prop="`${argadr.trans}.cbs.opn1.cur`"> <c-form-item
label="Open Amount"
:prop="`${argadr.trans}.cbs.opn1.cur`"
>
<c-input <c-input
disabled disabled
v-model="model[argadr.trans].cbs.opn1.cur" v-model="model[argadr.trans].cbs.opn1.cur"
...@@ -57,8 +60,12 @@ ...@@ -57,8 +60,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<div v-if="isAdvdat">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Received on" :prop="`${argadr.trans}.rec.rcvdat`"> <el-form-item
label="Received on"
:prop="`${argadr.trans}.rec.rcvdat`"
>
<c-date-picker <c-date-picker
type="date" type="date"
disabled disabled
...@@ -67,7 +74,6 @@ ...@@ -67,7 +74,6 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="Advised on" label="Advised on"
...@@ -82,109 +88,132 @@ ...@@ -82,109 +88,132 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </div>
<div v-else>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Maturity Date" prop="brtp.matp.mattxtlab"> <el-form-item
label="Received on"
:prop="`${argadr.trans}.rec.rcvdat`"
>
<c-date-picker <c-date-picker
type="date" type="date"
disabled disabled
v-model="model.brtp.matp.mattxtlab" v-model="model[argadr.trans].rec.rcvdat"
style="width: 100%" style="width: 100%"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Type" :prop="`${argadr.trans}.rec.docflg`"> <div v-if="isMattxtlab">
<c-input <c-col :span="13">
v-model="model[argadr.trans].rec.docflg" <el-form-item
style="width: 100%" label="Maturity Date"
prop="brtp.matp.mattxtlab"
>
<c-date-picker
type="date"
disabled disabled
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Start Date"
label-width="90px"
:prop="`${argadr.trans}.rec.advdat`"
> >
</c-input> <c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.stadat"
style="width: 100%"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div>
<div v-else>
<c-col :span="24"> <c-col :span="24">
<c-form-item <el-form-item
label="Document Set Status" label="Maturity Date"
:prop="`${argadr.trans}.rec.docsta`" prop="brtp.matp.mattxtlab"
> >
<c-input <c-date-picker
v-model="model[argadr.trans].rec.docsta" type="date"
maxlength="1"
disabled disabled
> v-model="model.brtp.matp.mattxtlab"
</c-input> style="width: 100%"
</c-form-item> ></c-date-picker>
</el-form-item>
</c-col> </c-col>
</div>
</c-col> </c-col>
<!-- <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="Applicant Ref." :prop="`${argadr.trans}.apl.pts.ref`"> <div v-if="isTenmaxday">
<c-col :span="13">
<el-form-item
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input <c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled disabled
v-model="model[argadr.trans].apl.pts.ref" >
maxlength="16" </c-input>
></c-input> </el-form-item>
</c-form-item>
</c-col> </c-col>
<c-col :span="11">
<c-col :span="24"> <el-form-item
<c-form-item label="Name of Party" :prop="`${argadr.trans}.apl.pts.nam`"> label="Tenor"
<c-input label-width="90px"
:prop="`${argadr.trans}.rec.tenmaxday`"
>
<c-date-picker
type="date"
disabled disabled
v-model="model[argadr.trans].apl.pts.nam" v-model="model[argadr.trans].rec.tenmaxday"
maxlength="40" style="width: 100%"
></c-input> ></c-date-picker>
</c-form-item> </el-form-item>
</c-col> </c-col>
</div>
<div v-else>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="Beneficiary Ref." :prop="`${argadr.trans}.ben.pts.ref`"> <el-form-item
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input <c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled disabled
v-model="model[argadr.trans].ben.pts.ref" >
maxlength="16" </c-input>
></c-input> </el-form-item>
</c-form-item>
</c-col> </c-col>
</div>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.ben.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].ben.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item <c-form-item
label="Presenting Bank Ref." label="Document Set Status"
:prop="`${argadr.trans}.prb.pts.ref`" :prop="`${argadr.trans}.rec.docsta`"
> >
<c-input <c-input
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
disabled disabled
v-model="model[argadr.trans].prb.pts.ref" >
maxlength="16" </c-input>
></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.prb.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].prb.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> -->
<!-- Right --> <!-- Right -->
<c-col :span="12"> <c-col :span="12">
...@@ -229,7 +258,19 @@ export default { ...@@ -229,7 +258,19 @@ export default {
}, },
rol: { rol: {
type: Array, type: Array,
default: ()=>[] default: () => [],
},
isAdvdat: {
type: Boolean,
default: false,
},
isMattxtlab: {
type: Boolean,
default: false,
},
isTenmaxday: {
type: Boolean,
default: false,
}, },
}, },
data() { data() {
......
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