Commit c290d1d2 by 潘际乾
parents e4be50b7 280c507b
......@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conno":[
......
......@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -246,7 +246,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.bankno":[
......@@ -254,7 +254,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.jigomc":[
......@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conno":[
......
<template>
<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">
<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>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
<el-form-item>
<c-checkbox v-model="model.brdgrp.blk.docdisflg"
>discrepancies modified</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
<c-col :span="24" style="height: 24px; margin-top: -10px">
<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>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdcr/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
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>
<style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
......@@ -158,8 +158,8 @@ export default {
data() {
return {
tabVal: "ovwp",
trnName: "detopn",
model: new Detopn().data,
trnName: "detame",
model: new Detame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
......
......@@ -32,7 +32,10 @@
<c-col :span="24">
<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
disabled
v-model="model[argadr.trans].cbs.opn1.cur"
......@@ -57,8 +60,12 @@
</c-col>
<c-col :span="24">
<div v-if="isAdvdat">
<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
type="date"
disabled
......@@ -67,7 +74,6 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Advised on"
......@@ -82,109 +88,132 @@
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
<div v-else>
<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
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
v-model="model[argadr.trans].rec.rcvdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" :prop="`${argadr.trans}.rec.docflg`">
<c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
<div v-if="isMattxtlab">
<c-col :span="13">
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
>
<c-date-picker
type="date"
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>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<c-form-item
label="Document Set Status"
:prop="`${argadr.trans}.rec.docsta`"
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
>
<c-input
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
<c-date-picker
type="date"
disabled
>
</c-input>
</c-form-item>
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- <c-col :span="12">
<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
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
v-model="model[argadr.trans].apl.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.apl.pts.nam`">
<c-input
<c-col :span="11">
<el-form-item
label="Tenor"
label-width="90px"
:prop="`${argadr.trans}.rec.tenmaxday`"
>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].apl.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
v-model="model[argadr.trans].rec.tenmaxday"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<div v-else>
<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
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
v-model="model[argadr.trans].ben.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
>
</c-input>
</el-form-item>
</c-col>
<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>
</div>
</c-col>
<c-col :span="24">
<c-form-item
label="Presenting Bank Ref."
:prop="`${argadr.trans}.prb.pts.ref`"
label="Document Set Status"
:prop="`${argadr.trans}.rec.docsta`"
>
<c-input
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
disabled
v-model="model[argadr.trans].prb.pts.ref"
maxlength="16"
></c-input>
>
</c-input>
</c-form-item>
</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> -->
<!-- Right -->
<c-col :span="12">
......@@ -229,7 +258,19 @@ export default {
},
rol: {
type: Array,
default: ()=>[]
default: () => [],
},
isAdvdat: {
type: Boolean,
default: false,
},
isMattxtlab: {
type: Boolean,
default: false,
},
isTenmaxday: {
type: Boolean,
default: false,
},
},
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