From ca872bff1c1acfaf1a3106fe583a024c3865a38c Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期一, 19 二月 2024 16:36:55 +0800
Subject: [PATCH] 托盘绑定无标签绑定托盘参数赋值错误

---
 Pda/View/AsnSetting/productEnterQuantity .html |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/Pda/View/AsnSetting/productEnterQuantity .html b/Pda/View/AsnSetting/productEnterQuantity .html
index 19566a4..d21234b 100644
--- a/Pda/View/AsnSetting/productEnterQuantity .html
+++ b/Pda/View/AsnSetting/productEnterQuantity .html
@@ -598,7 +598,7 @@
                     form.render('select');
 
                     var param = {
-                        Type: "2,5,6"
+                        Type: "2,5,6,7"
                     };
                     sendData(IP + "/PdaAsn/GetArrivalNotices", param, 'post', function (res) {
                         if (res.code == 0) { //鎴愬姛
@@ -903,12 +903,14 @@
                             for (var i = 0; i < res.data.length; i++) {
                                 if (i == 0) {
                                     $("#goodSelect1").append('<option value =' + res.data[i].Id + ' selected>' + res.data[i]
-                                        .SkuName + "-" + res.data[i].LotNo +
-                                        '</option>');
+                                        .SkuName);
                                 } else {
                                     $("#goodSelect1").append('<option value =' + res.data[i].Id + '>' + res.data[i]
-                                        .SkuName + "-" + res.data[i].LotNo +
-                                        '</option>');
+                                        .SkuName);
+                                }
+                                if (res.data[i].LotNo != null)
+                                {
+                                    $("#goodSelect1").append("-" + res.data[i].LotNo + '</option>');
                                 }
 
                             }
@@ -975,9 +977,9 @@
                                         yes: function () {
 
                                             var param = {
-                                                Id: Id,
+                                                boxNo: res.data[i].BoxNo,
                                             };
-                                            sendData(IP + "/BllAsn//DelBindBoxInfo'", param, 'post', function (res) {
+                                            sendData(IP + "/BllAsn/DelBindBoxInfo", param, 'get', function (res) {
                                                 if (res.code == 0) { //鎴愬姛
                                                     layer.msg(res.msg, {
                                                         icon: 1,

--
Gitblit v1.8.0