| | |
| | | <th>设å¤åç§°</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HBarName" class="layui-input LineHeight" id="HBarName" style="border-radius: 50px;background-color:#EDEDED;" readonly> |
| | | <input type="hidden" name="HNumber" id="HNumber" value="" autocomplete="off" class="layui-input"> |
| | | <input type="hidden" name="HEquipID" id="HEquipID" value="0" autocomplete="off" class="layui-input"> |
| | | </td> |
| | | </tr> |
| | |
| | | |
| | | //表头信æ¯éæ©åæ®å¼¹çª |
| | | form.on('submit(XDHList)', function () { |
| | | var hnumber = $("HNumber").val() |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | |
| | | title: '设å¤ç»´ä¿®ç»è®°å', |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | content: ['../设å¤ç®¡ç/Sb_EqpConkBookBillList.html', 'yes'], |
| | | content: ['../设å¤ç®¡ç/Sb_EqpConkBookBillList.html?type=2&HNumber='+hnumber, 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | $("#HMainSourceBillNo").val(checkStatus.data[0].åæ®å·); |
| | | $("#HMainSourceInterID").val(checkStatus.data[0].hmainid); |
| | | $("#HMainSourceEntryID").val(checkStatus.data[0].hsubid); |
| | | |
| | | $("#HEquipID").val(checkStatus.data[0].hmainid); |
| | | $("#HNumber").val(checkStatus.data[0].设å¤ä»£ç ); |
| | | $("#HBarName").val(checkStatus.data[0].设å¤åç§°); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | |
| | | if (result.count == 1) { |
| | | var data = result.data[0]; |
| | | $("#HEquipID").val(data.HInterID); |
| | | $("#HNumber").val(data.HEquipFileNumber); |
| | | $("#HBarName").val(data.HName); |
| | | $("#HBarSpec").val(data.HModel); |
| | | $("#HBarModel").val(data.HModel2); |
| | |
| | | |
| | | HProcExchBillNoFlag = true; |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | else { |
| | | $("#HBarCode").val(""); |