From bbd55a7466e770e7acb86ccc9d83ab20bde17980 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期四, 26 九月 2024 19:30:45 +0800
Subject: [PATCH] 增加申请空托跺出库接口

---
 Pda/View/AsnSetting/productEnterQuantity.html |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/Pda/View/AsnSetting/productEnterQuantity.html b/Pda/View/AsnSetting/productEnterQuantity.html
index 223ec3a..6550d26 100644
--- a/Pda/View/AsnSetting/productEnterQuantity.html
+++ b/Pda/View/AsnSetting/productEnterQuantity.html
@@ -586,14 +586,12 @@
                     form.render('select');
 
                     var param = {
-                        Type: "0,1,3"
+                        Type: "0"
                     };
                     sendData(IP + "/PdaAsn/GetArrivalNotices", param, 'post', function (res) {
                         if (res.code == 0) { //鎴愬姛
                             for (var i = 0; i < res.data.length; i++) {
-                                $("#bar").append('<option value =' + res.data[i].ASNNo + '>' + res.data[i]
-                                    .ASNNo +
-                                    '</option>');
+                                $("#bar").append('<option value =' + res.data[i] + '>' + res.data[i] + '</option>');
                             }
                             form.render('select');
 
@@ -621,14 +619,13 @@
                     form.render('select');
 
                     var param = {
-                        Type: "1,2,3,4,5,6,7"
+                        Type: "1"
                     };
                     sendData(IP + "/PdaAsn/GetArrivalNotices", param, 'post', function (res) {
                         if (res.code == 0) { //鎴愬姛
+                            console.log(res.data);
                             for (var i = 0; i < res.data.length; i++) {
-                                $("#bar1").append('<option value =' + res.data[i].ASNNo + '>' + res.data[i]
-                                    .ASNNo +
-                                    '</option>');
+                                $("#bar1").append('<option value =' + res.data[i] + '>' + res.data[i] +'</option>');
                             }
                             form.render('select');
 
@@ -1250,6 +1247,7 @@
             function checkBoxInfo() {
                 var param = {
                     "BoxNo": $("#BOXCODE").val(),
+                    "AsnNo":$("#bar").val(),
                 }
                 sendData(IP + "/PdaAsn/GetBindBoxInfos", param, 'post', function (res) {
                     if (res.code == 0) { //鎴愬姛

--
Gitblit v1.8.0