Commit 41051119 by huangxin

页面时间类型报错处理,面函字段添加

parent 4cd8b5cb
...@@ -5,6 +5,8 @@ import Pub from "../Public" ...@@ -5,6 +5,8 @@ import Pub from "../Public"
export default class Botcan{ export default class Botcan{
constructor () { constructor () {
this.data = { this.data = {
botdrrl1blk:"",
botcoll1blk:"",
strinf:"", // Narrative .strinf strinf:"", // Narrative .strinf
bodgrp:{ bodgrp:{
rec:{ rec:{
......
...@@ -78,21 +78,21 @@ export default { ...@@ -78,21 +78,21 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.rcvdat":[ "bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.shpdat":[ "bodgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.drr.adrelc":[ "bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.predat":[ "bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.advdat":[ "bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.col.pts.ref":[ "bodgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
], ],
"bodgrp.rec.matdat":[ "bodgrp.rec.matdat":[
{ required: false, message: "输入正确的日期"} //{ required: false, message: "输入正确的日期"}
], ],
"bodgrp.col.namelc":[ "bodgrp.col.namelc":[
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
], ],
"bodgrp.rec.matdat":[ "bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
...@@ -66,10 +66,10 @@ export default { ...@@ -66,10 +66,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"bodgrp.rec.rcvdat":[ "bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.predat":[ "bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"rejtypsel":[ "rejtypsel":[
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
], ],
"bodgrp.rec.matdat":[ "bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
...@@ -66,10 +66,10 @@ export default { ...@@ -66,10 +66,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"bodgrp.rec.rcvdat":[ "bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.predat":[ "bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.blk.colinssnm":[ "bodgrp.blk.colinssnm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -5,6 +5,8 @@ import Pub from "../Public" ...@@ -5,6 +5,8 @@ import Pub from "../Public"
export default class Botset{ export default class Botset{
constructor () { constructor () {
this.data = { this.data = {
botdrrl1blk:"",
botcoll1blk:"",
bodgrp:{ bodgrp:{
blk:{ blk:{
colins:"", // Collection Instructions .bodgrp.blk.colins colins:"", // Collection Instructions .bodgrp.blk.colins
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Responsible User" prop="ditp.usr.extkey" style="width: 100%"> <el-form-item label="Responsible User" prop="botp.usr.extkey" style="width: 100%">
<c-row> <c-row>
<c-col :span="20"> <c-col :span="20">
<c-input style="width: 95%" v-model="model.botp.usr.extkey" maxlength="8" placeholder="请输入User ID" <c-input style="width: 95%" v-model="model.botp.usr.extkey" maxlength="8" placeholder="请输入User ID"
......
...@@ -142,7 +142,6 @@ export default { ...@@ -142,7 +142,6 @@ export default {
}, },
}, },
created:function(){ created:function(){
onsole.log(this.root);
} }
} }
</script> </script>
......
...@@ -167,7 +167,6 @@ ...@@ -167,7 +167,6 @@
}, },
}, },
created: function () { created: function () {
onsole.log(this.root);
} }
} }
</script> </script>
......
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