diff --git a/js/car_demand_plan/child/apply_plan_detail.js b/js/car_demand_plan/child/apply_plan_detail.js index 4429657..d978aaf 100644 --- a/js/car_demand_plan/child/apply_plan_detail.js +++ b/js/car_demand_plan/child/apply_plan_detail.js @@ -4,7 +4,7 @@ let form, layer, table; let isPage = getUrlParam('isPage'); if (isPage) { // 首页跳转 $('#plan-detail-box>div').eq(0).remove(); - $('#plan-detail-box').css({'justify-content':'end','height':'50px'}); + $('#plan-detail-box').css({ 'justify-content': 'end', 'height': '50px' }); $('body').css('margin', '0'); let obj = decodeURIComponent(getUrlParam('obj')) setParams(obj); @@ -276,9 +276,9 @@ function setOperRecordInfo(list, obj) { } let remark = setNullValue(item.auditRemark); // 操作流程 - if (item.auditType === '0') { + if (index === 0 && item.auditType === '1') { operData = '发起申请'; - } else if (item.auditType === '1') { + } else if (index > 0 && item.auditType === '1') { operData = '重新提交申请'; } else if (item.auditType === '2' && item.auditStatus === '2') { operData = '审核确认通过,共间隔:' + item.times + ' 原因备注:' + remark + '';