From eacf0e50b4a7fe138a3788af7f71d894d3be0394 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期二, 16 三月 2021 13:44:49 +0800
Subject: [PATCH] 1.0.3 平仓入库调整-改为用uuid库区编码作为库区主键
---
src/main/webapp/static/js/locNormal/locNormal.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/locNormal/locNormal.js b/src/main/webapp/static/js/locNormal/locNormal.js
index a2cf486..c331026 100644
--- a/src/main/webapp/static/js/locNormal/locNormal.js
+++ b/src/main/webapp/static/js/locNormal/locNormal.js
@@ -43,7 +43,7 @@
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);
@@ -142,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