| | |
| | | var HBarCode_PNL = params[params[3]]; //PNLæ¡ç ç¼å· |
| | | var HSetNo = params[params[4]]; //setå· |
| | | var HPCSNo = params[params[5]]; //PCSå· |
| | | var HBadReason_Params = decodeURIComponent(params[params[6]]) ; //ä¸è¯åå |
| | | } |
| | | |
| | | layui.config({ |
| | |
| | | document.getElementById("HCheckProc").setAttribute("disabled", "disabled"); |
| | | form.render('select'); |
| | | } |
| | | else if (OperationType == 7) {//ç´æ¹å¾-avi å³å»æ°å¢ |
| | | set_AddFNew(); |
| | | $("#HBarCode").val(HBarCode_PNL); |
| | | $("#HSetNo").val(HSetNo); |
| | | $("#HPCSNo").val(HPCSNo); |
| | | $("#HCheckProc").val("AVI"); |
| | | $("#HBadReason").val(HBadReason_Params); |
| | | document.getElementById("HBarCode").setAttribute("disabled", "disabled"); |
| | | document.getElementById("HSetNo").setAttribute("disabled", "disabled"); |
| | | document.getElementById("HPCSNo").setAttribute("disabled", "disabled"); |
| | | document.getElementById("HCheckProc").setAttribute("disabled", "disabled"); |
| | | form.render('select'); |
| | | } |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | |
| | | let url = GetWEBURL() |
| | | if (OperationType == 3 || OperationType == 5) { |
| | | url += "/QC_CheckNote_PNL_TempController/EditBill" |
| | | } else if (OperationType == 1 || OperationType == 2 || OperationType == 4 || OperationType == 6) { |
| | | } else if (OperationType == 1 || OperationType == 2 || OperationType == 4 || OperationType == 6 || OperationType == 7) { |
| | | url += "/QC_CheckNote_PNL_TempController/AddBill" |
| | | } |
| | | $.ajax( |
| | |
| | | console.log("Reason" + sMainStr); |
| | | } |
| | | }); |
| | | |
| | | if (OperationType == 7) { |
| | | if (linterid == undefined) { |
| | | //å
³éé¡µç¾ |
| | | Pub_Close(2); |
| | | } |
| | | else { |
| | | //å
³éé¡µç¾ |
| | | Pub_Close(1); |
| | | } |
| | | } |
| | | }); |
| | | //éåº |
| | | form.on('submit(Exit)', function (data) {// |