From 1667372f02fb00dc76e172b5348c8e75ffb79bb9 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期一, 10 五月 2021 16:58:45 +0800
Subject: [PATCH] 1.盘点出库状态工作任务不进行删除 2.托盘码为空不允许进行盘点出库

---
 src/main/webapp/static/js/locNormal/locNormal.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/locNormal/locNormal.js b/src/main/webapp/static/js/locNormal/locNormal.js
index 0af0383..c331026 100644
--- a/src/main/webapp/static/js/locNormal/locNormal.js
+++ b/src/main/webapp/static/js/locNormal/locNormal.js
@@ -43,11 +43,10 @@
             var html = "";
             if (res.data && res.data.length > 0) {
                 html += res.data.map(function (item) {
-                    return "<Option value=" + item.id + ">" + item.name + "</Option>";
+                    return "<Option value=" + item.uuid + ">" + item.name + "</Option>";
                 });
             }
             $('#putSiteSelect').append(html);
-            form.render('select');
         } else if (res.code === 403) {
             top.location.href = baseUrl + "/";
         } else {
@@ -143,7 +142,7 @@
             var records = res.data.records;
             records.map(function (item) {
                 locArea.map(function (d) {
-                    if (d.id == item.warehouse) {
+                    if (d.uuid == item.warehouse) {
                         item.warehouse = d.name;
                     }
                 })

--
Gitblit v1.9.1