| | |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnUnlock" id="btnUnlock">瑙i攣</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnCompleteSetAnalysis" id="btnCompleteSetAnalysis">榻愬鍒嗘瀽</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnTLYS" id="btnTLYS">鎻愭枡杩愮畻</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnYLYS" id="btnYLYS">瑕佹枡杩愮畻</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnICMOBill" id="btnICMOBill">鐢熶骇璁㈠崟閫夊崟</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnReady" id="btnReady">鍑嗗</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnProPC" id="btnProPC">鎺掍骇</button> |
| | |
| | | //鎻愭枡杩愮畻 |
| | | form.on('submit(btnTLYS)', function (data) { |
| | | get_btnTLYS(); |
| | | }) |
| | | |
| | | //瑕佹枡杩愮畻 |
| | | form.on('submit(btnYLYS)', function (data) { |
| | | get_btnYLYS(); |
| | | }) |
| | | |
| | | //鐢熶骇璁㈠崟閫夊崟 |
| | |
| | | }); |
| | | } |
| | | |
| | | //瑕佹枡杩愮畻 |
| | | function get_btnYLYS() { |
| | | sWhere = { |
| | | HProdORGID: $("#HProdORGID").val() |
| | | , HWorkShopID: $("#HWorkShopID").val() |
| | | } |
| | | sWhere = JSON.stringify(sWhere); |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/JIT_DayPlanPlatFormBill/JIT_YLYS', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | get_FastQuery(2); |
| | | layer.msg(data1.Message); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | //鐢熶骇璁㈠崟閫夊崟 |
| | | function get_btnICMOBill() { |
| | | var HDeptID = $("#HWorkShopID").val() == "" ? 0 : $("#HWorkShopID").val(); |