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>
</el-form-item>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<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>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col>
</div>
<c-col :span="12">
<el-form-item>
<c-checkbox v-model="model.brdgrp.blk.docdisflg"
>discrepancies modified</c-checkbox
>
</el-form-item>
</c-col>
<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"
},
{
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(){
}
}
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,
......
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