Commit c80b23ef by 潘际乾

请求参数model提取至公共函数

parent d683917a
......@@ -270,8 +270,8 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"},
{pattern: /\d{0,3}/,message:"长度不能超过3"}
],
"litp1.agep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -28,7 +28,7 @@
<el-col :span="24">
<el-form-item label="付款期限" prop="lidgrp.rec.tenmaxday">
<c-input
v-model="model.lidgrp.rec.tenmaxday"
v-model.number="model.lidgrp.rec.tenmaxday"
placeholder="请输入付款期限"
:disabled="model.lidgrp.rec.avbby === '1'"
></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