| | |
| | | //æ°å¢æé® |
| | | form.on('submit(btn-AddNew)', function (data) { |
| | | layer.confirm('æ°å¢å页颿°æ®å°æ¶å¤±ï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | location.replace('QC_Add_Edit_FirstPieceCheckBill.html?OperationType=1&linterid=&HSouceBillType=0&closeType=2'); |
| | | location.replace('/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=1&linterid=&HSouceBillType=0&closeType=2'); |
| | | }); |
| | | }); |
| | | |
| | |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | $("#HTakeSampleCheckBillID").val(result.data[0]["hmainid"]); |
| | | $("#HTakeSampleCheckBillNo").val(result.data[0]["åæ®å·"]); |
| | | if (result.data.length > 0) { |
| | | $("#HTakeSampleCheckBillID").val(result.data[0]["hmainid"]); |
| | | $("#HTakeSampleCheckBillNo").val(result.data[0]["åæ®å·"]); |
| | | } |
| | | } |
| | | }, |
| | | error: function (err) { |