This commit is contained in:
parent
188cd0d941
commit
9de69c5a97
|
|
@ -340,7 +340,7 @@ function setFormInput(value, type) {
|
||||||
if (type === 1) { // 本次退回量
|
if (type === 1) { // 本次退回量
|
||||||
html += '<input class="layui-input" name="ghNum" onblur="checkValue(this,1)" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
html += '<input class="layui-input" name="ghNum" onblur="checkValue(this,1)" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
||||||
} else if (type === 2) { // 备注
|
} else if (type === 2) { // 备注
|
||||||
html += '<input class="layui-input" placeholder="请输入备注" id="remark" name="remark" value="' + setNullValue(value) + '" maxLength="255" lay-affix="clear"></input>';
|
html += '<input class="layui-input" placeholder="请输入备注" id="remark" name="remark" value="' + setNullValue(value) + '" maxLength="60" lay-affix="clear"></input>';
|
||||||
}
|
}
|
||||||
html += '</div></form>';
|
html += '</div></form>';
|
||||||
return html;
|
return html;
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ function setFormInput(value, type) {
|
||||||
if (type === 1) { // 报废数量
|
if (type === 1) { // 报废数量
|
||||||
html += '<input class="layui-input" name="scrapNum" onblur="checkValue(this,1)" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
html += '<input class="layui-input" name="scrapNum" onblur="checkValue(this,1)" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
||||||
} else if (type === 2) { // 备注
|
} else if (type === 2) { // 备注
|
||||||
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="255" lay-affix="clear"></input>';
|
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="60" lay-affix="clear"></input>';
|
||||||
}
|
}
|
||||||
html += '</div></form>';
|
html += '</div></form>';
|
||||||
return html;
|
return html;
|
||||||
|
|
|
||||||
|
|
@ -333,7 +333,7 @@ function setFormInput(value, type) {
|
||||||
setSelectData(value) +
|
setSelectData(value) +
|
||||||
'</select>';
|
'</select>';
|
||||||
} else if (type === 4) { // 备注
|
} else if (type === 4) { // 备注
|
||||||
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="255" lay-affix="clear"></input>';
|
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="60" lay-affix="clear"></input>';
|
||||||
}
|
}
|
||||||
html += '</div></form>';
|
html += '</div></form>';
|
||||||
return html;
|
return html;
|
||||||
|
|
|
||||||
|
|
@ -314,7 +314,7 @@ function setFormInput(value, type) {
|
||||||
setSelectData(value) +
|
setSelectData(value) +
|
||||||
'</select>';
|
'</select>';
|
||||||
} else if (type === 4) { // 备注
|
} else if (type === 4) { // 备注
|
||||||
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="255" lay-affix="clear"></input>';
|
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="60" lay-affix="clear"></input>';
|
||||||
}
|
}
|
||||||
html += '</div></form>';
|
html += '</div></form>';
|
||||||
return html;
|
return html;
|
||||||
|
|
|
||||||
|
|
@ -247,9 +247,9 @@ function initTable() {
|
||||||
}
|
}
|
||||||
} else if (field === 'remarks') { // 备注
|
} else if (field === 'remarks') { // 备注
|
||||||
if (value) {
|
if (value) {
|
||||||
if (value.length > 255) {
|
if (value.length > 60) {
|
||||||
obj.reedit();
|
obj.reedit();
|
||||||
return layer.msg('备注最多输入255位!', { icon: 7 })
|
return layer.msg('备注最多输入60位!', { icon: 7 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -256,9 +256,9 @@ function initTable() {
|
||||||
}
|
}
|
||||||
} else if (field === 'remarks') { // 备注
|
} else if (field === 'remarks') { // 备注
|
||||||
if (value) {
|
if (value) {
|
||||||
if (value.length > 255) {
|
if (value.length > 60) {
|
||||||
obj.reedit();
|
obj.reedit();
|
||||||
return layer.msg('备注最多输入255位!', { icon: 7 })
|
return layer.msg('备注最多输入60位!', { icon: 7 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -205,9 +205,9 @@ function initTable() {
|
||||||
}
|
}
|
||||||
} else if (field === 'remark') { // 备注
|
} else if (field === 'remark') { // 备注
|
||||||
if (value) {
|
if (value) {
|
||||||
if (value.length > 255) {
|
if (value.length > 60) {
|
||||||
obj.reedit();
|
obj.reedit();
|
||||||
return layer.msg('备注最多输入255位!', { icon: 7 })
|
return layer.msg('备注最多输入60位!', { icon: 7 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -205,9 +205,9 @@ function initTable() {
|
||||||
}
|
}
|
||||||
} else if (field === 'remarks') { // 备注
|
} else if (field === 'remarks') { // 备注
|
||||||
if (value) {
|
if (value) {
|
||||||
if (value.length > 255) {
|
if (value.length > 60) {
|
||||||
obj.reedit();
|
obj.reedit();
|
||||||
return layer.msg('备注最多输入255位!', { icon: 7 })
|
return layer.msg('备注最多输入60位!', { icon: 7 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -323,7 +323,7 @@ function setFormInput(value, type) {
|
||||||
if (type === 1) { // 本次盘点量
|
if (type === 1) { // 本次盘点量
|
||||||
html += '<input class="layui-input" name="checkNum" onblur="checkValue(this,1)" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
html += '<input class="layui-input" name="checkNum" onblur="checkValue(this,1)" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
||||||
} else if (type === 2) { // 备注
|
} else if (type === 2) { // 备注
|
||||||
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="255" lay-affix="clear"></input>';
|
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="60" lay-affix="clear"></input>';
|
||||||
}
|
}
|
||||||
html += '</div></form>';
|
html += '</div></form>';
|
||||||
return html;
|
return html;
|
||||||
|
|
|
||||||
|
|
@ -231,7 +231,7 @@ function setFormInput(value, type) {
|
||||||
} else if (type === 2) { // 需用天数
|
} else if (type === 2) { // 需用天数
|
||||||
html += '<input class="layui-input" name="times" onblur="checkValue(this,2,\'需用天数\')" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
html += '<input class="layui-input" name="times" onblur="checkValue(this,2,\'需用天数\')" value="' + setNullValue(value) + '" autocomplete="off" lay-verify="required" maxlength="9">';
|
||||||
} else if (type === 3) { // 备注
|
} else if (type === 3) { // 备注
|
||||||
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="255" lay-affix="clear"></input>';
|
html += '<input class="layui-input" placeholder="请输入备注" id="remarks" name="remarks" value="' + setNullValue(value) + '" maxLength="60" lay-affix="clear"></input>';
|
||||||
}
|
}
|
||||||
html += '</div></form>';
|
html += '</div></form>';
|
||||||
return html;
|
return html;
|
||||||
|
|
|
||||||
|
|
@ -287,9 +287,9 @@ function initTable() {
|
||||||
}
|
}
|
||||||
} else if (field === 'outId') { // 备注
|
} else if (field === 'outId') { // 备注
|
||||||
if (value) {
|
if (value) {
|
||||||
if (value.length > 255) {
|
if (value.length > 60) {
|
||||||
obj.reedit();
|
obj.reedit();
|
||||||
return layer.msg('备注最多输入255位!', { icon: 7 })
|
return layer.msg('备注最多输入60位!', { icon: 7 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
<label class="layui-form-label" id="auditRemarksLabel">审核意见</label>
|
<label class="layui-form-label" id="auditRemarksLabel">审核意见</label>
|
||||||
<div class="layui-input-inline" style="width: 250px;">
|
<div class="layui-input-inline" style="width: 250px;">
|
||||||
<textarea placeholder="不通过必须填写审核意见" id="auditRemarks" name="auditRemarks" class="layui-textarea"
|
<textarea placeholder="不通过必须填写审核意见" id="auditRemarks" name="auditRemarks" class="layui-textarea"
|
||||||
maxLength="500"></textarea>
|
maxLength="60"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue