Commit 20ed97b0 by tianxinyu

bctdav页面必输项问题改正

parent 5ccc4c4a
......@@ -45,7 +45,7 @@ export default {
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -55,7 +55,7 @@ export default {
],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -116,8 +116,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
],
......
......@@ -171,7 +171,7 @@
<c-col :span="12">
<el-form-item label="单据期限" prop="bcdgrp.rec.matpercnt">
<c-input
v-model="model.bcdgrp.rec.matpercnt"
v-model.number="model.bcdgrp.rec.matpercnt"
placeholder="请输入单据期限"
:disabled="model.bcdgrp.rec.doctypcod === 'P'"
></c-input>
......
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