From 4df27b74053cabd4cf8417c38aa6ece311a70a04 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Wed, 26 Mar 2025 17:50:17 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=9C=80=E6=B1=82=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=BD=92=E8=BF=98=E6=97=A5=E6=9C=9F=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E6=94=B9=E4=B8=BA=E9=A2=84=E8=AE=A1=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/aq_demand_plan/child/choose_type_list.js | 4 ++-- js/aq_demand_plan/child/send_out_pro_detail.js | 2 +- js/aq_demand_plan/send_out_list.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/aq_demand_plan/child/choose_type_list.js b/js/aq_demand_plan/child/choose_type_list.js index 3818e42..b5269b5 100644 --- a/js/aq_demand_plan/child/choose_type_list.js +++ b/js/aq_demand_plan/child/choose_type_list.js @@ -425,7 +425,7 @@ function updateTableWithImportedData(data) { const importedItem = data.find((item) => item.id === rowData.id) if (importedItem) { // 更新表格数据 - rowData.needNum = importedItem.needNum + rowData.needNum = Number(importedItem.needNum) rowData.times = importedItem.times rowData.remarks = importedItem.remarks updated = true @@ -433,7 +433,7 @@ function updateTableWithImportedData(data) { // 更新表格中对应单元格的显示 const rowIndex = rowData.LAY_INDEX // 更新需用量单元格 - $(`tr[data-index="${rowIndex}"] td[data-field="needNum"] .layui-table-cell`).text(importedItem.needNum || "") + $(`tr[data-index="${rowIndex}"] td[data-field="needNum"] .layui-table-cell`).text(Number(importedItem.needNum) || "") // 更新退还日期单元格 $(`tr[data-index="${rowIndex}"] td[data-field="times"] .layui-table-cell`).text(importedItem.times || "") // 更新备注单元格 diff --git a/js/aq_demand_plan/child/send_out_pro_detail.js b/js/aq_demand_plan/child/send_out_pro_detail.js index fdc2ab7..ed7410b 100644 --- a/js/aq_demand_plan/child/send_out_pro_detail.js +++ b/js/aq_demand_plan/child/send_out_pro_detail.js @@ -263,7 +263,7 @@ function initTable() { ], ], limits: [10, 15, 20, 25, 50, 100], - limit: 10, + limit: 20, page: true, done: function (res, curr, count) { pageNum = tableIns.config.page.curr; diff --git a/js/aq_demand_plan/send_out_list.js b/js/aq_demand_plan/send_out_list.js index c352ae7..79d7db8 100644 --- a/js/aq_demand_plan/send_out_list.js +++ b/js/aq_demand_plan/send_out_list.js @@ -285,7 +285,7 @@ function initTable() { ], ], limits: [10, 15, 20, 25, 50, 100], - limit: 10, + limit: 20, page: true, done: function (res, curr, count) { pageNum = tableIns.config.page.curr; From 005db7d51143b32eeb0ffad877b4e91bce762c6a Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Fri, 28 Mar 2025 10:40:27 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E9=9C=80=E6=B1=82=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=BD=92=E8=BF=98=E6=97=A5=E6=9C=9F=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E6=94=B9=E4=B8=BA=E9=A2=84=E8=AE=A1=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/aq_demand_plan/child/apply_plan_detail.js | 6 ++-- .../child/apply_plan_edit_form.js | 10 +++--- .../child/choose_crane_type_list.js | 35 +++++++++++++++---- .../child/choose_tool_type_list.js | 35 +++++++++++++++---- js/aq_demand_plan/child/choose_type_list.js | 6 ++-- .../child/apply_plan_edit_form.html | 4 +-- 6 files changed, 69 insertions(+), 27 deletions(-) diff --git a/js/aq_demand_plan/child/apply_plan_detail.js b/js/aq_demand_plan/child/apply_plan_detail.js index 0c6e6a7..021c959 100644 --- a/js/aq_demand_plan/child/apply_plan_detail.js +++ b/js/aq_demand_plan/child/apply_plan_detail.js @@ -184,7 +184,7 @@ function initTable() { { field: "backDate", width: '10%', - title: "退还日期", + title: "预计使用时间", unresize: true, align: "center", sort: true, @@ -277,7 +277,7 @@ function setOperRecordInfo(list, obj) { operData = '完结-审核确认通过,共耗时:' + item.hours + '小时' + minutes + '分钟 原因备注:' + remark + ''; } else if (item.auditStatus === '3') { operData = '驳回-给发起人' + creator + ',共间隔:' + item.hours + '小时' + minutes + '分钟 原因备注:' + remark + ''; - } + } html += '