默认内容

This commit is contained in:
syruan 2025-03-17 13:45:34 +08:00
parent 921726c220
commit 828e0e5aa4
3 changed files with 7 additions and 6 deletions

View File

@ -159,9 +159,9 @@ function initTable() {
sort:true,
},
{
field: "times",
field: "backDate",
width: '10%',
title: "需用天数",
title: "退还日期",
unresize: true,
align: "center",
sort:true,

View File

@ -76,9 +76,9 @@ function submitApply(data) {
if (list[i].needNum === 0) {
return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用量', { icon: 7 });
}
if (list[i].times === 0) {
return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用天数', { icon: 7 });
}
// if (list[i].times === 0) {
// return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用天数', { icon: 7 });
// }
}
data.field.jsonData = JSON.stringify(list);
let loadingMsg = layer.msg('正在提交保存,请稍等...', { icon: 16, shade: 0.01, time: '0' });
@ -122,6 +122,7 @@ function getBaseTableData() {
unit: $(this).find('td').eq(5).html(),
needNum: needNum ? needNum : 0,
times: times ? times : 0,
backDate: times,
remarks: $(this).find('td').eq(8).find('input[name="remarks"]').val(),
})
})

View File

@ -24,7 +24,7 @@
<label class="layui-form-label" id="auditRemarksLabel">审核意见</label>
<div class="layui-input-inline" style="width: 250px;">
<textarea placeholder="不通过必须填写审核意见" id="auditRemarks" name="auditRemarks" class="layui-textarea"
maxLength="60"></textarea>
maxLength="60">审核通过</textarea>
</div>
</div>
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"