Commit d72280d9 by “yanyuxin”

输入限制修改

parent 3c0ffb3d
......@@ -442,11 +442,11 @@ export default {
"trnmod.swiadd.nartxt":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 1750,message:"长度不能超过1750"}
],
"oldlidgrp.blk.narhis":[
{type: "string", required: false, message: "必输项"},
{max: 500,message:"长度不能超过500"}
{max: 49950,message:"长度不能超过49950"}
],
......
......@@ -5,8 +5,8 @@
<el-form-item label="叙事的历史概述" prop="oldlidgrp.blk.narhis">
<c-input type="textarea"
disabled
:rows="20"
v-model="model.oldlidgrp.blk.narhis" maxlength="500" show-word-limit placeholder="" ></c-input>
:autosize="{ minRows: 20, maxRows: 999}"
v-model="model.oldlidgrp.blk.narhis" maxlength="49950" show-word-limit placeholder="" ></c-input>
</el-form-item>
</c-col>
</el-col>
......@@ -16,8 +16,8 @@
<el-form-item label="叙述内容" prop="trnmod.swiadd.nartxt">
<c-input type="textarea"
disabled
:rows="20"
v-model="model.trnmod.swiadd.nartxt" maxlength="500" show-word-limit placeholder="请输入内容" ></c-input>
:autosize="{ minRows: 20, maxRows: 35}"
v-model="model.trnmod.swiadd.nartxt" maxlength="1750" show-word-limit placeholder="请输入内容" ></c-input>
</el-form-item>
</c-col>
</el-col>
......
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