From 0464969366317154fdbb51e106ca778b855bdd08 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 17 八月 2024 15:45:28 +0800 Subject: [PATCH] Merge branch 'master' into wxw --- Pda/View/SoSetting/pinTuoOut.html | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Pda/View/SoSetting/pinTuoOut.html b/Pda/View/SoSetting/pinTuoOut.html index c06d395..982a286 100644 --- a/Pda/View/SoSetting/pinTuoOut.html +++ b/Pda/View/SoSetting/pinTuoOut.html @@ -808,7 +808,9 @@ SoNo: $("#bar").val(), }; synData(IP + "/PdaSo/GetSoSkuLotNoListByPallet", param, 'post', function (res) { + console.log(res); if (res.code == 0) { //鎴愬姛 + for (var i = 0; i < res.data.length; i++) { if (i == 0) { $("#skuLotNo").append('<option value =' + res.data[i].SoDetailId + ' selected>' + res.data[i].SkuName + " - " + res.data[i].LotNo + '</option>'); @@ -835,6 +837,7 @@ SoDetailId: $("#skuLotNo").val(), }; synData(IP + "/PdaSo/GetPlanAndFinishQty", param, 'post', function (res) { + console.log("A00"); if (res.code == 0) { //鎴愬姛 console.log(res.data); $("#planQty").val(res.data.PlanQty) @@ -1256,8 +1259,8 @@ console.log(2) updateSkuLotNoList2(); updateQtyList2(); - getBar2(); - GetDataInfo(); + // getBar2(); + // GetDataInfo(); } } else { //涓嶆垚鍔� @@ -1306,6 +1309,8 @@ SoNo: $("#bar2").val(), }; synData(IP + "/PdaSo/GetSoSkuLotNoListByPallet", param, 'post', function (res) { + + console.log(res); if (res.code == 0) { //鎴愬姛 for (var i = 0; i < res.data.length; i++) { if (i == 0) { @@ -1337,12 +1342,14 @@ //鍒濆鍖栨覆鍗曟嵁鐨勮鍒掓暟閲忓拰瀹屾垚鏁伴噺 function updateQtyList2() { clear23(); + console.log("AA"); var param = { SoDetailId: $("#skuLotNo2").val(), }; synData(IP + "/PdaSo/GetPlanAndFinishQty", param, 'post', function (res) { + console.log(res); + console.log(res.data); if (res.code == 0) { //鎴愬姛 - console.log(res.data); $("#planQty2").val(res.data.PlanQty) $("#finishQty2").val(res.data.FinishQty) } else { //涓嶆垚鍔� -- Gitblit v1.8.0