车辆公里数正数问题修改
This commit is contained in:
parent
368299bc98
commit
8061958455
|
|
@ -190,14 +190,14 @@ function initTable() {
|
|||
},
|
||||
},
|
||||
{
|
||||
field: "needDay",
|
||||
field: "backDate",
|
||||
width: '10%',
|
||||
title: "需用天数",
|
||||
title: "退还日期",
|
||||
unresize: true,
|
||||
align: "center",
|
||||
sort: true,
|
||||
templet: function (d) {
|
||||
return setNumColor(d.needDay);
|
||||
return d.backDate;
|
||||
},
|
||||
|
||||
},
|
||||
|
|
|
|||
|
|
@ -82,9 +82,9 @@ function submitApply(data) {
|
|||
if (parseInt(list[i].needNum) === 0) {
|
||||
return layer.msg('申请明细数据' + (i + 1) + '行,未填写需用量', { icon: 7 });
|
||||
}
|
||||
if (parseInt(list[i].needDay) === 0) {
|
||||
return layer.msg('申请明细数据' + (i + 1) + '行,未填写需用天数', { icon: 7 });
|
||||
}
|
||||
// if (parseInt(list[i].needDay) === 0) {
|
||||
// return layer.msg('申请明细数据' + (i + 1) + '行,未填写需用天数', { icon: 7 });
|
||||
// }
|
||||
}
|
||||
let loadingMsg = layer.msg('正在提交保存,请稍等...', { icon: 16, shade: 0.01, time: '0' });
|
||||
let url = dataUrl + 'backstage/carNeedPlan/addNeedPlanData';
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" id="auditRemarksLabel">审核意见</label>
|
||||
<div class="layui-input-inline" style="width: 250px;">
|
||||
<textarea placeholder="不通过必须填写审核意见" id="remark" name="remark" class="layui-textarea"
|
||||
maxLength="60"></textarea>
|
||||
<textarea placeholder="不通过必须填写审核意见" id="remark" name="remark" class="layui-textarea" maxLength="60">审核通过
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
||||
|
|
|
|||
Loading…
Reference in New Issue