From 4e36cf33cda2a9fee04e7e33691bcc0c0d68576f Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 02 八月 2025 14:41:31 +0800 Subject: [PATCH] 修改问题 --- Pda/View/SoSetting/palletOut.html | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Pda/View/SoSetting/palletOut.html b/Pda/View/SoSetting/palletOut.html index a539625..a43d54b 100644 --- a/Pda/View/SoSetting/palletOut.html +++ b/Pda/View/SoSetting/palletOut.html @@ -61,18 +61,16 @@ <label class="layui-form-label">鎵樼洏鍨涙暟锛�</label> <div class="layui-input-block"> <input id="STOCKCODE" type="number" lay-verify="stock" placeholder="鎵樼洏鍨涙暟" - autocomplete="off" class="layui-input" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"> + autocomplete="off" class="layui-input" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')" value="1" disabled> </div> </div> <div id="layout-bill" class="layui-form-item layout-dropdownlist" > - <label class="layui-form-label">鍑哄簱鍙o細</label> + <label class="layui-form-label">鍑哄簱浣嶇疆锛�</label> <div class="layui-input-block" id="selectDiv"> <select id="bar" lay-filter="getbar" lay-verify="required" lay-search> <option value=""></option> - <option value="1">1</option> - <option value="2">2</option> - <option value="3">3</option> - <option value="4">4</option> + <option value="B080101">B080101</option> + <option value="B080102">B080102</option> </select> <!-- <img src="/assets/down_arraw.png" > --> </div> @@ -159,13 +157,13 @@ console.log(param) sendData(IP + "/PdaSo/IssuePlnOutHouse", param, 'post', function(res) { console.log("鍑哄簱锛�"+JSON.stringify(res)) - if (res.code == 0) { //鎴愬姛 - layer.msg(res.msg, { + if (res.Success == "0") { //鎴愬姛 + layer.msg(res.Message, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function() {isChongFu = true;clear();}); } else { //涓嶆垚鍔� - layer.msg(res.msg, { + layer.msg(res.Message, { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function() {isChongFu = true;clear();}); -- Gitblit v1.8.0