From 8a36bbee40f5e1069b15a98b1e64ac9719ee8a46 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期二, 23 四月 2024 17:17:13 +0800
Subject: [PATCH] 1.销售出库单 增加 反写源单 销售订单和发货通知单   超出 关联数量  关闭源单 2.应收单 增加  反写源单 销售出库单 和 销售订单  超出关联数量  关闭源单 3.动态获取源单增加参数 Num 0蓝单   1红单  2全部 4.销售流程的测试并完善功能; 销售订单-》发货通知单-》销售出库单-》应收单 (注意: 源单类型的下拉框 需要 根据数据库 表动态加载, 关联数量 要准确 , 审核 且 未关闭 未行关闭的行 才能下推 ,关联数量超额后,要 反写 关闭 源单 )

---
 WebTM/views/领料发货/销售出库/Kf_SellOutBillList_BarCodeNote.html |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList_BarCodeNote.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList_BarCodeNote.html"
index 436d35d..d2e7c0e 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList_BarCodeNote.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList_BarCodeNote.html"
@@ -20,6 +20,7 @@
                     <div style="padding: 2px; ">
                         <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="Cancel" id="Cancel">閫�鍑�</button>
                         <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btn-Print" id="btn-Print">鎵撳嵃鐮佸崟</button>
+                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btn-PrintByCusDefine" id="btn-PrintByCusDefine">鎵撳嵃鐮佸崟(瀹㈡埛鐗╂枡)</button>
                     </div>
 
                     <div class="layui-tab" lay-filter="tab-POStockInBill">
@@ -127,6 +128,21 @@
         })
         //#endregion
 
+        //#region 鎵撳嵃鐮佸崟(瀹㈡埛鑷畾涔�)
+        form.on('submit(btn-PrintByCusDefine)', function () {
+            layer.open({
+                type: 2
+                , area: ['50%', '50%']
+                , title: '鎵撳嵃妯$増閫夋嫨'
+                , shade: 0.6 //閬僵閫忔槑搴�
+                , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
+                , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + linterid + '&MyMsg=' + linterid + '&Type=Kf_SellOutBillList_BarCodeNote_ByCusDefine', 'yes']
+                , resize: false
+            })
+        })
+        //#endregion
+
         //#region 瀛愯〃0锛氬ご宸ュ叿鏍忎簨浠�
         table.on('toolbar(mainTable0)', function (obj) {
             switch (obj.event) {
@@ -193,7 +209,7 @@
                 , height: 550
                 //, page: true
                 , cellMinWidth: 90
-                //, limit: 50
+                , limit: 5000
                 //, limits: [50, 500, 5000, 20000]
             };
 
@@ -204,7 +220,7 @@
                 , height: 550
                 //, page: true
                 , cellMinWidth: 90
-                //, limit: 50
+                , limit: 5000
                 //, limits: [50, 500, 5000, 20000]
             };
 
@@ -215,7 +231,7 @@
                 , height: 550
                 //, page: true
                 , cellMinWidth: 90
-                //, limit: 50
+                , limit: 5000
                 //, limits: [50, 500, 5000, 20000]
             };
         }

--
Gitblit v1.9.1