From 529a4be5be96bd66c6fe8dcea9f40e882775f990 Mon Sep 17 00:00:00 2001 From: erdanergou Date: Fri, 5 May 2023 14:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=87=BA=E5=BA=93=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E6=97=B6=E5=BC=80=E6=94=BE=E4=BB=93=E5=BA=93=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/application/application-transfer.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/pages/application/application-transfer.html b/src/main/resources/templates/pages/application/application-transfer.html index 70b4cad7..120f61b8 100644 --- a/src/main/resources/templates/pages/application/application-transfer.html +++ b/src/main/resources/templates/pages/application/application-transfer.html @@ -1062,11 +1062,11 @@ form.on('select()', function (data) { var id = data.elem.id; if(id.includes("place")){ - - }else if(id.includes("unit"){ - + id = id.split("place")[1]; + }else if(id.includes("unit")){ + id = id.split("unit")[1]; } - /*var mcode = $("#code" + id).val(); // 获取到当前输入的物料编码 + var mcode = $("#code" + id).val(); // 获取到当前输入的物料编码 var unit = $("#unit" + id).val(); if (mcode === "" || mcode === undefined || mcode === null) { layer.msg("请输入物料的正确编码!", {icon: 0, time: 500}, function () { @@ -1103,7 +1103,7 @@ } }); } - }*/ + } });