From 0d6b4b140790e7343276803f53d7d97435536312 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Thu, 23 Jan 2025 11:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../child/dispatch_car_edit_record_detail.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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') {