From c2db1ba1de0a9b2916585ae823972bdc18a229e6 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 18 二月 2025 16:21:50 +0800
Subject: [PATCH] 储位

---
 HTML/views/WareHouseSetting/StorageLegend.html |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/HTML/views/WareHouseSetting/StorageLegend.html b/HTML/views/WareHouseSetting/StorageLegend.html
index 380f98c..25fad75 100644
--- a/HTML/views/WareHouseSetting/StorageLegend.html
+++ b/HTML/views/WareHouseSetting/StorageLegend.html
@@ -253,7 +253,7 @@
 			});
 			getRoadway(); //鑾峰彇浠撳簱宸烽亾
 			getRow(); //鑾峰彇宸烽亾涓帓
-			funDepth(); //鑾峰彇鎺掔殑娣卞害
+			//funDepth(); //鑾峰彇鎺掔殑娣卞害
 			GetSlotVm($("#WareHouseNo").val(), $("#RoadwayNo").val(), $("#Row").val(), $("#Depth").val()); //鑾峰彇鏁版嵁娓叉煋搴撲綅鍥�
 			GetSlotChart($("#WareHouseNo").val()); //鑾峰彇鍦嗗舰淇℃伅
 			GetSlotChartz($("#WareHouseNo").val(), $("#RoadwayNo").val()) //鑾峰彇鏌辩姸淇℃伅
@@ -376,10 +376,11 @@
 				}
 				getRow(); //鑾峰彇宸烽亾涓帓
 				GetSlotChartz($("#WareHouseNo").val(), $("#RoadwayNo").val()); //鑾峰彇鏌辩姸淇℃伅
+				GetSlotVm($("#WareHouseNo").val(), $("#RoadwayNo").val(), $("#Row").val(), $("#Depth").val());
 			})
 			//鎺掑彉鏇�
 			form.on('select(SelectRow)', function (data) {
-				funDepth(); //鑾峰彇鎺掍腑娣卞害
+				//funDepth(); //鑾峰彇鎺掍腑娣卞害
 			});
 			//娣卞害鍙樻洿
 			form.on('select(SelectDepth)', function (data) {
@@ -389,7 +390,7 @@
 			function getRow()
 			{
 				$("#Row").empty();//娓呯┖涓婁竴涓煡璇笅鎷夊��
-				synData(IP + "/Sys/ByRoadwayGetRow", { roadwayNo: $("#RoadwayNo").val() }, 'get', function (res) {
+				synData(IP + "/Sys/ByRoadwayGetRow", { warehouseNo:$("#WareHouseNo").val(), roadwayNo: $("#RoadwayNo").val() }, 'get', function (res) {
 					// console.log(res)
 					if (res.code == 0) { //鎴愬姛
 						for (var i = 0; i < res.data.length; i++) {
@@ -397,7 +398,7 @@
 						}
 						$("#Row option[value='" + res.data[0] + "']").attr("selected", "selected")
 						form.render('select');
-						funDepth(); //鑾峰彇娣卞害
+						//funDepth(); //鑾峰彇娣卞害
 					} else { //涓嶆垚鍔�
 						layer.msg(res.msg, {
 							icon: 2,
@@ -521,6 +522,7 @@
 						var html = '';
 						var list = res.data;
 						//鎸夊眰娓叉煋
+						debugger
 						for (let i = res.maxlayer; i > 0; i--) {
 
 							html += '<tr style="height:10px;">';

--
Gitblit v1.8.0