| | |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="UniformMater" id="UniformMater">齿</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="LackMater" id="LackMater">缺æ</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="Revoke" id="Revoke">æ¤é</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="WorkShopTure" id="WorkShopTure">车é´ç¡®è®¤æ§è¡</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="WorkShopRevoke" id="WorkShopRevoke">æ¤é车é´ç¡®è®¤</button> |
| | | </div> |
| | | <div class="layui-collapse"> |
| | | <div class="layui-colla-item"> |
| | |
| | | //æ¤é |
| | | form.on('submit(Revoke)', function (data) { |
| | | btnMaterOperation(0); |
| | | }); |
| | | |
| | | //车é´ç¡®è®¤æ§è¡ |
| | | form.on('submit(WorkShopTure)', function (data) { |
| | | btnWorkShopTure(0); |
| | | }); |
| | | |
| | | //æ¤é车é´ç¡®è®¤ |
| | | form.on('submit(WorkShopRevoke)', function (data) { |
| | | btnWorkShopTure(1); |
| | | }); |
| | | |
| | | //#endregion |
| | |
| | | } |
| | | } |
| | | |
| | | function btnWorkShopTure(staus) { |
| | | var check = table.checkStatus("mainTable"); |
| | | |
| | | if (check.data.length == 0) { |
| | | return layer.msg("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | } |
| | | else { |
| | | var HSourceID = check.data[0]["HSourceID"]; |
| | | var HICMOInterID = check.data[0]["HICMOInterID"]; |
| | | var HDate = check.data[0]["æ¥æ"]; |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/JIT_ICMOSortBill/JIT_ICMOSortBillWorkShopTure', |
| | | type: "GET", |
| | | data: { "HSourceID": HSourceID, "HICMOInterID": HICMOInterID, "HDate": HDate, "HStatus": staus, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message); |
| | | get_FastQuery(); |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | |
| | | //éèå设置 |
| | | function get_HideColumn() { |
| | | var colName = ""; |