给序列号的出库页面的限制改成2000
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<a-col :md="24" :sm="24">
|
<a-col :md="24" :sm="24">
|
||||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="序列号">
|
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="序列号">
|
||||||
<a-textarea style="width:400px;"
|
<a-textarea style="width:400px;"
|
||||||
placeholder="多个序列号用逗号隔开,请少于1000个字符"
|
placeholder="多个序列号用逗号隔开,请少于2000个字符"
|
||||||
:auto-size="{ minRows: 2, maxRows: 4 }"
|
:auto-size="{ minRows: 2, maxRows: 4 }"
|
||||||
v-model="queryParam.multiName" />
|
v-model="queryParam.multiName" />
|
||||||
<div style="float:left;">
|
<div style="float:left;">
|
||||||
@@ -206,8 +206,8 @@
|
|||||||
if(!this.queryParam.multiName) {
|
if(!this.queryParam.multiName) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(this.queryParam.multiName && this.queryParam.multiName.length>1000) {
|
if(this.queryParam.multiName && this.queryParam.multiName.length>2000) {
|
||||||
this.$message.warning('序列号长度不能超出1000个字符!');
|
this.$message.warning('序列号长度不能超出2000个字符!');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.queryParam.multiName = this.queryParam.multiName.replaceAll(',',',')
|
this.queryParam.multiName = this.queryParam.multiName.replaceAll(',',',')
|
||||||
|
|||||||
@@ -333,8 +333,8 @@
|
|||||||
this.selectionRows = selectionRows;
|
this.selectionRows = selectionRows;
|
||||||
},
|
},
|
||||||
onSearch() {
|
onSearch() {
|
||||||
if(this.queryParam.name && this.queryParam.name.length>1000) {
|
if(this.queryParam.name && this.queryParam.name.length>2000) {
|
||||||
this.$message.warning('序列号长度不能超出1000个字符!');
|
this.$message.warning('序列号长度不能超出2000个字符!');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.loadData(1);
|
this.loadData(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user