diff --git a/js/demandPlan/child/apply_plan_detail.js b/js/demandPlan/child/apply_plan_detail.js index 9c66375..dd64bca 100644 --- a/js/demandPlan/child/apply_plan_detail.js +++ b/js/demandPlan/child/apply_plan_detail.js @@ -159,9 +159,9 @@ function initTable() { sort:true, }, { - field: "times", + field: "backDate", width: '10%', - title: "需用天数", + title: "退还日期", unresize: true, align: "center", sort:true, diff --git a/js/demandPlan/child/apply_plan_form.js b/js/demandPlan/child/apply_plan_form.js index 5f93b4a..ab2986e 100644 --- a/js/demandPlan/child/apply_plan_form.js +++ b/js/demandPlan/child/apply_plan_form.js @@ -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(), }) }) diff --git a/page/accessory/child/audit_form.html b/page/accessory/child/audit_form.html index 83954ab..eea5721 100644 --- a/page/accessory/child/audit_form.html +++ b/page/accessory/child/audit_form.html @@ -24,7 +24,7 @@
+ maxLength="60">审核通过