From bfe5bf65ef91014ddbabaf1a8b6ed17b8fd49440 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Sat, 16 Nov 2024 17:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/accessory/child/inventory_count_detail.js | 6 +++--- js/demandPlan/child/apply_plan_form.js | 2 +- js/demandPlan/child/choose_tool_type_list.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/accessory/child/inventory_count_detail.js b/js/accessory/child/inventory_count_detail.js index bfa5148..2d05644 100644 --- a/js/accessory/child/inventory_count_detail.js +++ b/js/accessory/child/inventory_count_detail.js @@ -90,9 +90,9 @@ function queryTable(type) { if (type === 1) { reloadTable(1); } else if (type === 2) { - $('#type').val(''); - $('#name').val(''); - $('#model').val(''); + $('#partType').val(''); + $('#partName').val(''); + $('#partModel').val(''); layui.form.render(); reloadTable(1); } diff --git a/js/demandPlan/child/apply_plan_form.js b/js/demandPlan/child/apply_plan_form.js index b2f1b72..ed75f0e 100644 --- a/js/demandPlan/child/apply_plan_form.js +++ b/js/demandPlan/child/apply_plan_form.js @@ -264,7 +264,7 @@ function sel(selectStatus, that, id) { $(that).prop('checked', false); for (let i = 0; i < delIdArr.length; i++) { if (delIdArr[i] == id) { - arr.splice(i, 1); + delIdArr.splice(i, 1); break; } } diff --git a/js/demandPlan/child/choose_tool_type_list.js b/js/demandPlan/child/choose_tool_type_list.js index e50078e..40c6ff5 100644 --- a/js/demandPlan/child/choose_tool_type_list.js +++ b/js/demandPlan/child/choose_tool_type_list.js @@ -141,7 +141,7 @@ function initTable() { unresize: true, align: "center", edit: 'text', - style: 'outline: 1px solid #e6e6e6;outline-offset: -5px;' + style: 'outline: 1px solid #e6e6e6;outline-offset: -5px;', }, { field: "remarks",