默认内容
This commit is contained in:
parent
921726c220
commit
828e0e5aa4
|
|
@ -159,9 +159,9 @@ function initTable() {
|
||||||
sort:true,
|
sort:true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "times",
|
field: "backDate",
|
||||||
width: '10%',
|
width: '10%',
|
||||||
title: "需用天数",
|
title: "退还日期",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
sort:true,
|
sort:true,
|
||||||
|
|
|
||||||
|
|
@ -76,9 +76,9 @@ function submitApply(data) {
|
||||||
if (list[i].needNum === 0) {
|
if (list[i].needNum === 0) {
|
||||||
return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用量', { icon: 7 });
|
return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用量', { icon: 7 });
|
||||||
}
|
}
|
||||||
if (list[i].times === 0) {
|
// if (list[i].times === 0) {
|
||||||
return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用天数', { icon: 7 });
|
// return layer.msg('机具明细,第' + (i + 1) + '行,未填写需用天数', { icon: 7 });
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
data.field.jsonData = JSON.stringify(list);
|
data.field.jsonData = JSON.stringify(list);
|
||||||
let loadingMsg = layer.msg('正在提交保存,请稍等...', { icon: 16, shade: 0.01, time: '0' });
|
let loadingMsg = layer.msg('正在提交保存,请稍等...', { icon: 16, shade: 0.01, time: '0' });
|
||||||
|
|
@ -122,6 +122,7 @@ function getBaseTableData() {
|
||||||
unit: $(this).find('td').eq(5).html(),
|
unit: $(this).find('td').eq(5).html(),
|
||||||
needNum: needNum ? needNum : 0,
|
needNum: needNum ? needNum : 0,
|
||||||
times: times ? times : 0,
|
times: times ? times : 0,
|
||||||
|
backDate: times,
|
||||||
remarks: $(this).find('td').eq(8).find('input[name="remarks"]').val(),
|
remarks: $(this).find('td').eq(8).find('input[name="remarks"]').val(),
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -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="60"></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