From 42a7f5850954a1bee4fdd864b03bf158670a0d9d Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期三, 01 二月 2023 13:54:31 +0800
Subject: [PATCH] 111

---
 WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html |   47 ++++++++++++++++++-----------------------------
 1 files changed, 18 insertions(+), 29 deletions(-)

diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html
index cfc0b96..fc6c901 100644
--- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html
+++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html
@@ -218,6 +218,7 @@
                     , { field: '鐘舵��', title: '鐘舵��', width: 100, sort: true/*, fixed: true*/ }
                     , { field: '鏉$爜缂栧彿', title: '鏉$爜缂栧彿', width: 180, sort: true/*, fixed: true*/ }
                     , { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120, sort: true/*, fixed: true*/ }
+                    , { field: '鏃х墿鏂欑紪鐮�', title: '鏃х墿鏂欑紪鐮�', width: 120, sort: true/*, fixed: true*/ }
                     , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 120, sort: true/*, fixed: true*/ }
                     , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 120, sort: true }
                     , { field: '鏁伴噺', title: '鏁伴噺', width: 100, sort: true }
@@ -237,7 +238,7 @@
                 //, skin: 'row' //琛ㄦ牸椋庢牸
                 // , even: true
                 , page: true //鏄惁鏄剧ず鍒嗛〉
-                , limits: [10, 20, 50, 100]
+                , limits: [10, 20, 50, 100,500,5000,10000]
                 , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
                 //, height: 500
                 , done: function (res, curr, count) {
@@ -283,6 +284,21 @@
                             layer.msg("鑷冲皯閫夋嫨涓�琛岃褰曪紒")
                         }
                         else {
+                            var url = "linteridSession";
+                            $.ajax({
+                                type: "POST",
+                                url: GetWEBURL() + url, //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
+                                async: true,
+                                data: { "linterid": rows.toString(), "HUserName": sessionStorage["HUserName"] },
+                                dataType: "json",
+                                success: function (data) {
+                                    layer.closeAll("loading");
+                                },
+                                error: function (err) {
+                                    layer.alert("閿欒:" + err, { icon: 5 });
+                                }
+                            });
+                            sessionStorage["linterid"] = rows.toString();
                             layer.open({
                                 type: 2
                                 , area: ['50%', '50%']
@@ -290,37 +306,10 @@
                                 , shade: 0.6 //閬僵閫忔槑搴�
                                 , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
                                 , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
-                                , content: ['../../views/BaseSet/SRM_OpenTmpList.html?linterid=' + rows.toString() + '&HBarcode=' + rows2.toString() + '&Type=HBarCodePrint', 'yes']
+                                , content: ['../../views/BaseSet/SRM_OpenTmpList.html?linterid=' + sessionStorage["HUserName"] + '&HBarcode=&Type=SRM_POOrderBillList', 'yes']// 瀹夌憺 type ='SRM_POOrderBillList' 鍘焧ype = 'HBarCodePrint'
                                 , resize: false
-                                //, cancel: function () {
-                                //    $(".layui-btn").removeClass("layui-btn-disabled");
-                                //}
                             })
                         }
-                        //if (OpenTmp != "")
-                        //{
-                        //    window.open("../../views/SRM/HBarPlanPrint.html?linterid=" + rows.toString() + "&Type=HBarCodePrint&OpenTmp=" + OpenTmp.toString());
-                        //    $.ajax(
-                        //    {
-                        //        type: "POST",
-                        //        url: GetWEBURL() + "UpdateBarcodePrintQty", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
-                        //        async: true,
-                        //        data: { "msg": rows2 },
-                        //        dataType: "json",
-                        //        success: function (data) {
-                        //            //if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
-                        //            //    layer.msg(data.Message, { icon: 1 });
-                        //            //}
-                        //            //else {
-                        //            //    layer.msg(data.Message, { icon: 5 });
-                        //            //}
-                        //            layer.closeAll("loading");
-                        //        },
-                        //        error: function (err) {
-                        //            f_alert("閿欒:" + err);
-                        //        }
-                        //    });
-                        //}
                         break;
                     case 'btn-Delete':
                         var checkStatus = table.checkStatus('mainTable')

--
Gitblit v1.9.1