From ee8bd451dbc0a8e4d015b9cfb892eb6a8221d645 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期五, 24 十二月 2021 19:18:00 +0800
Subject: [PATCH] 新增了销售出库、生产入库、生产领料、直接调拨缓存列表

---
 WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html |   46 ++++++++++++++++++++++++++++------------------
 1 files changed, 28 insertions(+), 18 deletions(-)

diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
index cc49977..c315584 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
@@ -339,10 +339,10 @@
                         $("#HBillNo").val(d.data[0].HBillNo);
                         $("#HBillType").val(d.data[0].HSourceBillType);
                         $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
-                        $("#HWHID").val(d.data[0].HWhID);
-                        $("#HStockPlaceID").val(d.data[0].HSPID);
-                        $("#HKeeperID").val(d.data[0].HKeeperID);
-                        $("#HSecManagerID").val(d.data[0].HSecManagerID);
+                        //$("#HWHID").val(d.data[0].HWhID);
+                        //$("#HStockPlaceID").val(d.data[0].HSPID);
+                        //$("#HKeeperID").val(d.data[0].HKeeperID);
+                        //$("#HSecManagerID").val(d.data[0].HSecManagerID);
                     }
                 })
             }
@@ -352,20 +352,30 @@
             {
                 $("#HInterID").val(linterid);//淇敼鏃朵富琛↖D
                 //缂栬緫鍔犺浇鏁版嵁
-                $.ajax({
-                    url: GetWEBURL() + 'ProdIn/ProdInDetaiNew',
-                    type: "GET",
-                    data: { "HInterID": linterid },
-                    success: function (result) {
-                        if (result.count == 1) {
-                            option.data = result.list[0];
-                            table.render(option);
-                        } else {
-                            layer.alert(result.code + result.Message, { icon: 5 });
-                        }
-                    }, error: function () {
-                        layer.close(index0);
-                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                var sInterID = $("#HInterID").val();
+                table.render({
+                    elem: '#wl-table'
+                    //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
+                    , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
+                    , toolbar: '#toolbarDemo'
+                    , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
+                    , cols: [[
+                          { type: 'radio' }
+                        , { field: 'HQty', title: '鏁伴噺', width: 150 }
+                        , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 }
+                        , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
+                        , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
+                        , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
+                        , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
+                        , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
+                        , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
+                        , { field: 'HBatchNo', title: '鎵规', width: 150 }
+                    ]]
+                    // , data: [linterid]
+                    // , page: true
+                    , height: 500
+                    , done: function () {
+                        layer.closeAll("loading");
                     }
                 });
             }

--
Gitblit v1.9.1