src/main/webapp/static/js/order/out.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/webapp/views/order/out.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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){ 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){ }}