From 892e6297089b175b0264f42b9598db17e5379687 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 21 一月 2025 09:36:07 +0800
Subject: [PATCH] 墨西哥包装单标签打印优化
---
WebTM/views/车间管理/单品过站/Cj_ProcessItemStationPlatform.html | 5 +++++
WebTM/views/车间管理/产线/MES_BarcodeWhiteLabelReport.html | 2 +-
WebTM/views/车间管理/产线/MES_ProductionLinePackaging_MXG.html | 3 ++-
WebTM/views/车间管理/产线/Sc_GroupOrderBill.html | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_BarcodeWhiteLabelReport.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_BarcodeWhiteLabelReport.html"
index c44b355..f371509 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_BarcodeWhiteLabelReport.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_BarcodeWhiteLabelReport.html"
@@ -93,7 +93,7 @@
sWhere += " and 鏉$爜 like'%" + HBarcode+"%'";
}
if (HWhiteBardcode != "") {
- sWhere += " and 鐧芥爣 like'%" + HWhiteBardcode+"%'";
+ sWhere += " and 鐧芥爣 ='" + HWhiteBardcode+"'";
}
get_Display(sWhere);
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_ProductionLinePackaging_MXG.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_ProductionLinePackaging_MXG.html"
index fc98867..ca9ab09 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_ProductionLinePackaging_MXG.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/MES_ProductionLinePackaging_MXG.html"
@@ -865,6 +865,7 @@
}
});
}
+ $("#Print2").click();
$("#HBarCode_White").val("");
//瀛愪欢鏉$爜鏁伴噺宸叉壂瀹� 鏉$爜鎵畬鍚�
if (pcmQty == pcmQtyFlag) {
@@ -955,7 +956,7 @@
$.ajax({
type: "GET",
url: GetWEBURL() + "/Gy_SOPBillList/WindowPrintList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
- async: true,
+ async: false,
data: { "sWhere": sWhere },
success: function (data) {
if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/Sc_GroupOrderBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/Sc_GroupOrderBill.html"
index 64e0f0a..ba6b2ce 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/Sc_GroupOrderBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\344\272\247\347\272\277/Sc_GroupOrderBill.html"
@@ -454,7 +454,7 @@
if (data.count == 1) {
layer.close(index);
$('#Saver-btn').addClass("layui-btn-disabled").attr("disabled", true);
- $("#Print").click();
+ //$("#Print").click();
layer.confirm(
'淇濆瓨鎴愬姛锛佽缁х画閫夋嫨鎿嶄綔锛�',
{
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231/Cj_ProcessItemStationPlatform.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231/Cj_ProcessItemStationPlatform.html"
index f16eafb..728400b 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231/Cj_ProcessItemStationPlatform.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231/Cj_ProcessItemStationPlatform.html"
@@ -1232,6 +1232,11 @@
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"] ;
--
Gitblit v1.9.1