| | |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | <button type="button" class="layui-btn layuiadmin-btn-order" lay-submit="" lay-filter="Exit" id="btnReSearch" style="padding:0 5px">éåº</button> |
| | | <button type="button" class="layui-btn layuiadmin-btn-order" lay-submit="" lay-filter="Exit" id="Exit" style="padding:0 5px">éåº</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | layer.msg("设å¤ç¼å·ä¸è½ä¸ºç©º"); |
| | | return false; |
| | | } |
| | | if (OperationType == 1) { |
| | | get_HProcHBillNoId(linterid); |
| | | get_FastQuery(); |
| | | } else { |
| | | get_FastQuery(); |
| | | } |
| | | get_FastQuery(); |
| | | }); |
| | | |
| | | |
| | |
| | | function set_ClearBill() { |
| | | $("#HBeginDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | get_FastQuery(); |
| | | if (OperationType == 1) { |
| | | get_HProcHBillNoId(linterid); |
| | | get_FastQuery(); |
| | | } else { |
| | | get_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | //æ¥è¯¢æ°æ® |
| | |
| | | if (data1.count == 1) { |
| | | $("#HEquipNumber").val(data1.data[0].设å¤ç¼ç ); |
| | | $("#HEquipName").val(data1.data[0].设å¤åç§°); |
| | | if (data1.data[0].ç»ææ¶é´ <= data1.data[0].å¼å§æ¶é´) { |
| | | $("#HBeginDate").val(formatDate(data1.data[0].å¼å§æ¶é´)); |
| | | $("#HEndDate").val(formatDate(new Date())); |
| | | } else { |
| | | $("#HBeginDate").val(formatDate(data1.data[0].å¼å§æ¶é´)); |
| | | $("#HEndDate").val(formatDate(data1.data[0].ç»ææ¶é´)); |
| | | } |
| | | layer.close(wait); |
| | | } else { |
| | | layer.close(wait); |
| | | layer.alert(data1.Message, { icon: 5 }); |
| | |
| | | |
| | | //éåº |
| | | form.on('submit(Exit)', function (data) { |
| | | Pub_Close(1); |
| | | //window.parent.location.reload(); |
| | | if (OperationType == 1) { |
| | | Pub_Close(1); |
| | | } else { |
| | | Pub_Close(2); |
| | | } |
| | | |
| | | }); |
| | | |
| | | //#endregion |