Commit 9356305c by wangyanjiao

botdcr&botrad字段添加 条件修改

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