Commit 4b0c3853 by “yanyuxin”

输入框最大输入长度设置

parent 940db3df
......@@ -401,14 +401,14 @@ export default {
],
"lidgrp.blk.feetxt":[
{ required: true, message: "必输项"},
{type: "string",max: 35*6,message:"长度不能超过35"}
{type: "string",max: 210,message:"长度不能超过210"}
],
"lidgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"lidgrp.blk.dftat":[
......@@ -443,7 +443,7 @@ export default {
],
"lidgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"lidgrp.drw.adrelc":[
{type: "string", required: true, message: "必输项"},
......
......@@ -110,7 +110,7 @@ export default {
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过35*4"}
{max: 140,message:"长度不能超过140"}
],
"lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -158,7 +158,7 @@ export default {
],
"lidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
{max: 140,message:"长度不能超过140"}
],
"lidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -4,17 +4,17 @@
<c-col :span="24">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input
:rows="12"
:autosize="{ minRows: 12, maxRows: 800}"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="1650" show-word-limit placeholder="请输入附加条款" ></c-input>
type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="52000" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.adlcndamep.usrblk">
<c-input
:disabled="this.flag2"
:rows="22"
type="textarea" v-model="model.litamep.adlcndamep.usrblk" maxlength="1650" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input>
:autosize="{ minRows: 22, maxRows: 800}"
type="textarea" v-model="model.litamep.adlcndamep.usrblk" maxlength="52000" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
......@@ -29,9 +29,9 @@
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.adlcndame">
<c-input
:rows="12"
:autosize="{ minRows: 12, maxRows: 999}"
disabled
type="textarea" v-model="model.lidgrp.blk.adlcndame" maxlength="50" show-word-limit placeholder="请输入Additional Conditions Amendment History" ></c-input>
type="textarea" v-model="model.lidgrp.blk.adlcndame" maxlength="4950" show-word-limit placeholder="请输入Additional Conditions Amendment History" ></c-input>
</el-form-item>
</c-col>
......
......@@ -77,7 +77,7 @@
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input type="textarea"
v-model="model.lidgrp.blk.defdet"
maxlength="50"
maxlength="140"
:rows="3"
show-word-limit
placeholder="请输入延期付款指示"
......@@ -188,6 +188,7 @@
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input v-model="model.lidgrp.rec.prepers18"
style="width:100%"
:disabled="true"
placeholder="请输入Period for Presentation in Days"></c-input>
</el-form-item>
</c-col>
......@@ -195,7 +196,12 @@
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="140" show-word-limit placeholder="请输入寄单期限" ></c-input>
<c-input type="textarea"
v-model="model.lidgrp.rec.prepertxts18"
:disabled="true"
maxlength="140"
show-word-limit
placeholder="请输入寄单期限" ></c-input>
<template slot="footer">
<c-button
size="small"
......@@ -213,7 +219,7 @@
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<c-fullbox>
<c-input type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="80" :rows="6" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<c-input type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="210" :rows="6" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel"></c-button>
......@@ -256,7 +262,7 @@
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
maxlength="35" :rows="4"
maxlength="140" :rows="4"
show-word-limit
placeholder="请输入内容"
:disabled="this.flag3"
......
......@@ -5,9 +5,9 @@
<c-col :span="24">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input
:rows="12"
:autosize="{ minRows: 12, maxRows: 800}"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="1650" show-word-limit placeholder="请输入描述信息" ></c-input>
type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" show-word-limit placeholder="请输入描述信息" ></c-input>
</el-form-item>
</c-col>
......@@ -15,8 +15,8 @@
<el-form-item label="在当前修订中添加/删除文本" prop="litamep.lcrgodamep.usrblk">
<c-input
:disabled="this.flag2"
:rows="22"
type="textarea" v-model="model.litamep.lcrgodamep.usrblk" maxlength="1650" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input>
:autosize="{ minRows: 22, maxRows: 800}"
type="textarea" v-model="model.litamep.lcrgodamep.usrblk" maxlength="52000" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
......@@ -32,9 +32,9 @@
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame">
<c-input
:rows="12"
:autosize="{ minRows: 12, maxRows: 999}"
disabled
type="textarea" v-model="model.lidgrp.blk.lcrgodame" maxlength="50" show-word-limit placeholder="请输入Description of Goods Amendment History" ></c-input>
type="textarea" v-model="model.lidgrp.blk.lcrgodame" maxlength="4950" show-word-limit placeholder="请输入Description of Goods Amendment History" ></c-input>
</el-form-item>
</c-col>
......
......@@ -4,9 +4,9 @@
<c-col :span="24">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input
:rows="12"
:autosize="{ minRows: 12, maxRows: 800}"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据要求" ></c-input>
type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="52000" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
......@@ -15,9 +15,9 @@
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="1650"
maxlength="52000"
show-word-limit placeholder="请输入添加/删除补充信息"
:rows="22"
:autosize="{ minRows: 22, maxRows: 800}"
></c-input>
</el-form-item>
</c-col>
......@@ -33,9 +33,9 @@
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame">
<c-input
:rows="12"
:autosize="{ minRows: 12, maxRows: 999}"
disabled
type="textarea" v-model="model.lidgrp.blk.lcrdocame" maxlength="50" show-word-limit placeholder="请输入单据要求 Amendment History" ></c-input>
type="textarea" v-model="model.lidgrp.blk.lcrdocame" maxlength="4950" show-word-limit placeholder="请输入单据要求 Amendment History" ></c-input>
</el-form-item>
</c-col>
......
......@@ -448,7 +448,7 @@
type="textarea"
:rows="4"
v-model="model.lidgrp.apl.pts.adrblk"
maxlength="50"
maxlength="140"
disabled
show-word-limit
placeholder="请输入名称地址"
......@@ -547,7 +547,7 @@
type="textarea"
:rows="4"
v-model="model.lidgrp.adv.pts.adrblk"
maxlength="80"
maxlength="140"
disabled
show-word-limit
placeholder="请输入名称地址"
......@@ -642,7 +642,8 @@
type="textarea"
:rows="4"
v-model="model.lidgrp.ben.pts.adrblk"
maxlength="80"
maxlength="140"
:disabled="model.lidgrp.ben.pts.extkey!=''||model.lidgrp.ben.pts.extkey!=null"
show-word-limit
placeholder="请输入名称地址"
></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