diff --git a/js/car_demand_plan/child/dispatch_car_edit_record_detail.js b/js/car_demand_plan/child/dispatch_car_edit_record_detail.js index 0fbe482..cca5fa8 100644 --- a/js/car_demand_plan/child/dispatch_car_edit_record_detail.js +++ b/js/car_demand_plan/child/dispatch_car_edit_record_detail.js @@ -189,7 +189,7 @@ function getRecordDetailsList(id) { // 修改标识 function setEditSign(value, isUpdate) { - if (isInit) { + if (isInit === 'true') { return value; } else { if (isUpdate && isUpdate === '1') { @@ -200,7 +200,7 @@ function getRecordDetailsList(id) { } } function setEditSign2(imgNum, item, isUpdate) { - if (isInit) { + if (isInit === 'true') { return "" + imgNum + "查看附件>>"; } else { if (isUpdate && isUpdate === '1') { @@ -243,10 +243,8 @@ function getRecordDetailsList(id) { // 修改标识 function setEditSign(value, isUpdate) { if (isInit === 'true') { - // alert(1); return value; } else { - // alert(2); if (isUpdate && isUpdate === '1') { return '' + value + ''; } else { @@ -255,7 +253,7 @@ function getRecordDetailsList(id) { } } function setEditSign2(imgNum, item, isUpdate) { - if (isInit) { + if (isInit === 'true') { return "" + imgNum + "查看附件>>"; } else { if (isUpdate && isUpdate === '1') {