Commit 9356305c by wangyanjiao

botdcr&botrad字段添加 条件修改

parent 1b496945
......@@ -156,16 +156,14 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -197,8 +195,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -178,12 +178,10 @@ export default {
],
"bodgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -194,8 +192,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -218,12 +215,10 @@ export default {
],
"bodgrp.col.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -234,8 +229,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -264,20 +258,17 @@ export default {
],
"bodgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.blk.cctinscol":[
{type: "string", required: true, message: "必输项"},
......
......@@ -102,6 +102,7 @@ export default class Botrad {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
docpre:"", // bodgrp.blk.docpre
colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam
goddes: "", // Description of Goods .bodgrp.blk.goddes
......
......@@ -55,15 +55,15 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled :code="codes.docstabot" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......
......@@ -56,15 +56,15 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
disabled>
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod" disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" :code="codes.docstabot" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......
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