From 46bd5f9ef309795daf448d7349c7f09fe8b86484 Mon Sep 17 00:00:00 2001 From: YL <YL@LAPTOP-SE03PLUR> Date: 星期四, 10 三月 2022 14:54:08 +0800 Subject: [PATCH] 生产任务单下推工序流转卡 --- WebTM/views/Baseset/SRM_OpenTmpList.html | 42 ++++++++++++++++++------------------------ 1 files changed, 18 insertions(+), 24 deletions(-) diff --git a/WebTM/views/Baseset/SRM_OpenTmpList.html b/WebTM/views/Baseset/SRM_OpenTmpList.html index a1f1ed6..f445970 100644 --- a/WebTM/views/Baseset/SRM_OpenTmpList.html +++ b/WebTM/views/Baseset/SRM_OpenTmpList.html @@ -228,41 +228,35 @@ var checkStatus = table.checkStatus('mainTable') , data = checkStatus.data; var OpenTmp = data[0].妯℃澘鍚嶇О; - + console.log(linterid.toString()); //鎵撳紑鎵撳嵃妯℃澘 window.open("../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/HBarPlanPrint.html?linterid=" + linterid.toString() + "&Type=" + Type.toString() + "&OpenTmp=" + OpenTmp.toString()); //鏍规嵁妯″潡鑾峰彇WEBAPI閾炬帴 var url = ""; switch (Type) { - case "HBarCodePrint": - url = "UpdateBarcodePrintQty" + case "HGy_BarCodeBill": //HBarCodePrint + url = "/Sc_BarCode/UpdateBarcodePrintQty" break; case "HPOInStockBill": url = "UpdatePOInStockBillPrintQty" break; } //鏇存柊鎵撳嵃鏁伴噺 - $.ajax( - { - type: "POST", - url: GetWEBURL() + url, //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� - async: true, - data: { "msg": MyMsg }, - dataType: "json", - contentType: 'application/json', - success: function (data) { - //if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - // layer.msg(data.Message, { icon: 1 }); - //} - //else { - // layer.msg(data.Message, { icon: 5 }); - //} - layer.closeAll("loading"); - }, - error: function (err) { - parent.f_alert("閿欒:" + err); - } - }); + //$.ajax( + // { + // type: "POST", + // url: GetWEBURL() + url, //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + // async: true, + // data: { "msg": MyMsg }, + // dataType: "json", + // contentType: 'application/json', + // success: function (data) { + // layer.closeAll("loading"); + // }, + // error: function (err) { + // parent.f_alert("閿欒:" + err); + // } + // }); //鍏抽棴褰撳墠绐楀彛 var index = parent.layer.getFrameIndex(window.name); -- Gitblit v1.9.1