From 0768f562cfcbcfb81ef02b2ebd5495a06d243383 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期六, 16 八月 2025 11:15:25 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/order/out.js |    6 ++++--
 src/main/webapp/views/order/out.html   |    2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/order/out.js b/src/main/webapp/static/js/order/out.js
index 9881ad1..9123594 100644
--- a/src/main/webapp/static/js/order/out.js
+++ b/src/main/webapp/static/js/order/out.js
@@ -348,11 +348,13 @@
                                             content: $('#staBatchSelectDialog').html(),
                                             success: function(layero2, index2){
                                                 // 娓叉煋涓嬫媺妗�
-                                                let select = $(layero2).find('select[name="batchSta"]');
+                                                let select = $(layero2).find('#batchSelectStaBox');
+                                                select.empty().append(`<option value="">璇烽�夋嫨缁勮揣鍗曞彿</option>`); // 淇濇寔榛樿绌�
                                                 res.data.forEach(item => {
                                                     select.append(`<option value="${item}">${item}</option>`);
                                                 });
-                                                layui.form.render('select');
+                                                layui.form.render('select'); // 閲嶆柊娓叉煋涓嬫媺妗�
+
 
                                                 // 纭鎸夐挳
                                                 form.on('submit(staBatchSelectConfirm)', function(obj){
diff --git a/src/main/webapp/views/order/out.html b/src/main/webapp/views/order/out.html
index c438001..81d00ce 100644
--- a/src/main/webapp/views/order/out.html
+++ b/src/main/webapp/views/order/out.html
@@ -194,11 +194,13 @@
 <script type="text/html" id="staBatchSelectDialog">
     <form class="layui-form" style="padding: 25px 50px 30px 50px;text-align: center">
         <select id="batchSelectStaBox" name="batchSta" lay-vertype="tips" lay-verify="required" required="">
+            <option value="">璇烽�夋嫨缁勮揣鍗曞彿</option> <!-- 榛樿绌哄�� -->
         </select>
         <button style="margin-top: 30px" class="layui-btn" lay-filter="staBatchSelectConfirm" lay-submit="">纭畾</button>
     </form>
 </script>
 
+
 <script type="text/html" id="locNoTpl">
     <span name="locNo"
           {{# if( d.lack === false){ }}

--
Gitblit v1.9.1