| | |
| | | sWhere += " and æ¡ç like'%" + HBarcode+"%'"; |
| | | } |
| | | if (HWhiteBardcode != "") { |
| | | sWhere += " and ç½æ like'%" + HWhiteBardcode+"%'"; |
| | | sWhere += " and ç½æ ='" + HWhiteBardcode+"'"; |
| | | } |
| | | |
| | | get_Display(sWhere); |
| | |
| | | } |
| | | }); |
| | | } |
| | | $("#Print2").click(); |
| | | $("#HBarCode_White").val(""); |
| | | //åä»¶æ¡ç æ°éå·²æ«å® æ¡ç æ«å®å |
| | | if (pcmQty == pcmQtyFlag) { |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Gy_SOPBillList/WindowPrintList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | async: false, |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | if (data.count == 1) { |
| | | layer.close(index); |
| | | $('#Saver-btn').addClass("layui-btn-disabled").attr("disabled", true); |
| | | $("#Print").click(); |
| | | //$("#Print").click(); |
| | | layer.confirm( |
| | | 'ä¿åæåï¼è¯·ç»§ç»éæ©æä½ï¼', |
| | | { |
| | |
| | | function set_AddAssemblyBill() { |
| | | var data = { "field": { "HInterID": $("#HInterID").val(), "HBillNo": $("#HBillNo").val(), "HProcID": $("#HProcID").val(), "HMaterID": $("#HMaterID").val(), "HGroupID": $("#HGroupID").val(), "HSourceID": $("#HSourceID").val(), "HICMOInterID": $("#HICMOInterID").val(), "HICMOEntryID": $("#HICMOEntryID").val(), "HICMOBillNo": $("#HICMOBillNo").val(), "HBarCode_P": $("#HBarCode_P").val(), "HProdOrgID": sessionStorage["OrganizationID"], "HEmpID2": $("#HEmpID2").val(), "HEmpID": $("#HEmpID").val(), "HProcExchBillNo": $("#HProcExchBillNo").val(), "HProcExchInterID": $("#HProcExchInterID").val(), "HProcExchEntryID": $("#HProcExchEntryID").val(), "HPieceQty": $("#HPieceQty").val(), "HICMOQty": $("#HICMOQty").val(), "HDeptID": $("#HDeptID").val(), "HProcNo": $("#HProcNo").val()} }; |
| | | |
| | | if ($("#HSourceID").val() == "0") { |
| | | layer.msg("çäº§èµæºä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache["mainTable2"]); |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] ; |