From 63de78593dde730afa310a401b757f6d89e79f0b Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 18 十一月 2022 17:32:43 +0800
Subject: [PATCH] 作业指导书

---
 WorkM/流转卡管理/MES_StationOutBill.cs |   84 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 84 insertions(+), 0 deletions(-)

diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs"
index 1a351f6..53f7bc5 100644
--- "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs"
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs"
@@ -566,6 +566,90 @@
             }
 
 
+
+            if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0211" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "鎴愬搧妫�楠�")
+            {
+                string HMXH = "";
+                string HZM = "";
+                string HZM2 = "";
+                string HZM3 = "";
+                HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text);
+                HZM = HMXH.Substring(0, 1);
+                HZM2 = HMXH.Substring(2, 1);
+                HZM3 = HMXH.Substring(3, 1);
+                if (HZM != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇涓�浣嶈閲嶆柊杈撳叆0");
+                    return false;
+                }
+                if (HZM2 != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇涓変綅璇烽噸鏂拌緭鍏�0");
+                    return false;
+                }
+                if (HZM3 != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇鍥涗綅璇烽噸鏂拌緭鍏�0");
+                    return false;
+                }
+            }
+
+            if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0266" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "鎴愬搧妫�楠�")
+            {
+                string HMXH = "";
+                string HZM = "";
+                string HZM2 = "";
+                string HZM3 = "";
+                HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text);
+                HZM = HMXH.Substring(0, 1);
+                HZM2 = HMXH.Substring(2, 1);
+                HZM3 = HMXH.Substring(3, 1);
+                if (HZM != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇涓�浣嶈閲嶆柊杈撳叆0");
+                    return false;
+                }
+                if (HZM2 != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇涓変綅璇烽噸鏂拌緭鍏�0");
+                    return false;
+                }
+                if (HZM3 != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇鍥涗綅璇烽噸鏂拌緭鍏�0");
+                    return false;
+                }
+            }
+
+
+            if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0267" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "鎴愬搧妫�楠�")
+            {
+                string HMXH = "";
+                string HZM = "";
+                string HZM2 = "";
+                string HZM3 = "";
+                HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text);
+                HZM = HMXH.Substring(0, 1);
+                HZM2 = HMXH.Substring(2, 1);
+                HZM3 = HMXH.Substring(3, 1);
+                if (HZM != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇涓�浣嶈閲嶆柊杈撳叆0");
+                    return false;
+                }
+                if (HZM2 != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇涓変綅璇烽噸鏂拌緭鍏�0");
+                    return false;
+                }
+                if (HZM3 != "0")
+                {
+                    MessageBox.Show("妯$┐鍙烽敊璇鍥涗綅璇烽噸鏂拌緭鍏�0");
+                    return false;
+                }
+            }
+
+
             //蹇呰緭椤圭洰鏄惁涓虹┖
 
             if (DBUtility.ClsPub.isLong(lngBillKey) <= 0)

--
Gitblit v1.9.1