From f64352290217f13c049ed18ec4733ab044cadfc2 Mon Sep 17 00:00:00 2001 From: "LAPTOP-UV1MNL38\\18023" <1802330370@qq.com> Date: Fri, 7 Jun 2024 13:34:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/js/purchaseRequest/requestToContract.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/erp/src/main/resources/template/js/purchaseRequest/requestToContract.js b/erp/src/main/resources/template/js/purchaseRequest/requestToContract.js index 68d65d9ec..c7acedb27 100644 --- a/erp/src/main/resources/template/js/purchaseRequest/requestToContract.js +++ b/erp/src/main/resources/template/js/purchaseRequest/requestToContract.js @@ -19,6 +19,7 @@ layui.config({ table = layui.table; var selOption = getFileContent('tpl/template/select-option.tpl'); var serviceClassName = sysServiceMation["purchaseRequest"]["key"]; + console.log(serviceClassName) // 表单模板信息 let beanTemplate = $("#beanTemplate").html(); var id = GetUrlParam("id"); @@ -205,11 +206,6 @@ layui.config({ } //商品对象 var material = allChooseProduct["tr" + thisRowKey]; - if (inTableDataArrayByAssetarId(material.materialId, item.normsId, tableData)) { - winui.window.msg('一张单中不允许出现相同单位的商品信息.', {icon: 2, time: 2000}); - noError = true; - return false; - } item["materialId"] = material.materialId; tableData.push(item); }); -- GitLab