From 92c40fb58098c9cbd7fe78bea65d820ea46db251 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期五, 27 五月 2022 16:54:58 +0800
Subject: [PATCH] Merge branch 'jkasrs' of http://47.97.1.152:5880/r/zy-asrs into jkasrs

---
 src/main/webapp/static/js/order/out.js |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/static/js/order/out.js b/src/main/webapp/static/js/order/out.js
index 974456b..c695fb7 100644
--- a/src/main/webapp/static/js/order/out.js
+++ b/src/main/webapp/static/js/order/out.js
@@ -209,20 +209,21 @@
                                     offset: 'auto',
                                     title: '璇烽�夋嫨绔欑偣',
                                     content: $('#staBatchSelectDialog').html(),
-                                    success: function (layero, dIndex) {
+                                    success: function (layero, ddIndex) {
                                         // 娓叉煋涓嬫媺妗�
                                         let template = Handlebars.compile($('#batchStaSelectTpl').html());
                                         $('#batchSelectStaBox').html(template({list: staBatchSelectVal}));
                                         // 纭
                                         form.on('submit(staBatchSelectConfirm)', function (obj) {
-                                            obj.field;
+                                            let batchSta = obj.field.batchSta;
+                                            console.log(batchSta)
                                             for (let i = 0; i<tableCache.length; i++) {
-                                                // if (tableCache[i].locNo === data.locNo) {
                                                 tableCache[i]['staNo'] = Number(181);
-                                                // }
                                             }
-                                            $('.order-sta-select').val(181);
                                             stoPreTabIdx.reload({data: tableCache})
+                                            $('.order-sta-select').val(181);
+                                            layui.form.render('select');
+                                            layer.close(ddIndex);
                                             return false;
                                         });
                                         // 寮圭獥涓嶅嚭鐜版粴鍔ㄦ潯

--
Gitblit v1.9.1