| | |
| | | |
| | | // çæåæ®å· |
| | | function createBillNo() { |
| | | var sql = "select * from Sc_StationOutBillMain where HProcExchBillNo='" + $("#HProcExchBillNo").val() + "' and HProcID=" + $("#HProcID").val() +" order by HDate desc" |
| | | var sql = "select * from Sc_StationOutBillMain with(nolock) where HProcExchBillNo='" + $("#HProcExchBillNo").val() + "' and HProcID=" + $("#HProcID").val() +" order by HDate desc" |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Gy_SOPBillList/WindowPrintList", |
| | | url: GetWEBURL() + "/Cj_SingleStation/SingleItemTransit_CZD", |
| | | async: false, |
| | | type: "GET", |
| | | data: { "sWhere": sql }, |
| | |
| | | , { field: 'æ¥æ', title: 'æ¥æ' } |
| | | , { field: 'HName', title: '产ååç§°' } |
| | | , { field: 'HNumber', title: '产å代ç ' } |
| | | , { field: 'HBarCode', title: 'SNç ', width: 300 } |
| | | , { |
| | | field: 'HBarCode', title: 'SNç ', width: 300, templet: function (d) { |
| | | return '<span style="white-space: pre; font-family: monospace;">' + d.HBarCode + '</span>'; |
| | | } |
| | | } |
| | | , { field: 'ä¸è¯åå ', title: 'ä¸è¯åå ' } |
| | | , { field: 'HBatchNo', title: 'ä¸è¯ç±»å' } |
| | | , { field: 'HInterID', title: 'HInterID', hide: true } |
| | |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: 'äº§åæ¡ç ', title: 'SNç ', width: 300} |
| | | , { |
| | | field: 'äº§åæ¡ç ', title: 'SNç ', width: 300, templet: function (d) { |
| | | return '<span style="white-space: pre; font-family: monospace;">' + d.äº§åæ¡ç + '</span>'; |
| | | } |
| | | } |
| | | //, { field: 'é
ä»¶æ¡ç ', title: 'é
ä»¶SNç ' } |
| | | //, { field: 'ä»»å¡åå·', title: '订åå·' } |
| | | , { field: 'HICMOInterID', title: 'HICMOInterID', hide: true } |
| | |
| | | |
| | | |
| | | //ä¿å产线ç»è£
主å表 å·¥åºåºç«å主å表 |
| | | function set_AddAssemblyBill() { |
| | | 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") { |