From 2bf2ab69b94bf4d55e49928d18447a47b709fb35 Mon Sep 17 00:00:00 2001
From: yanxiaojun <Administrator@USER-20210208XY>
Date: 星期一, 04 十月 2021 23:52:19 +0800
Subject: [PATCH] 新增用户模块增加对应器具信息页签

---
 SCM/SCM.csproj                  |   11 -
 SCM/系统管理/Xt_UserNew.designer.cs |  159 +++++++++++++++++++++-----
 SCM/系统管理/Xt_UserNew.cs          |  132 +++++++++++++++++++++
 SCM/系统管理/Xt_UserNew.resx        |   30 +++++
 NETSCM/NETSCM.csproj            |   11 +
 SCM/公用类/ClsPub1.cs              |    6 
 6 files changed, 302 insertions(+), 47 deletions(-)

diff --git a/NETSCM/NETSCM.csproj b/NETSCM/NETSCM.csproj
index 4acde9b..adc3e1f 100644
--- a/NETSCM/NETSCM.csproj
+++ b/NETSCM/NETSCM.csproj
@@ -1,4 +1,5 @@
-锘�<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current">
+锘�<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -52,10 +53,6 @@
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="BaseSet, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\BaseSet\bin\Debug\BaseSet.dll</HintPath>
-    </Reference>
     <Reference Include="BLL, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\DLL\BLL.dll</HintPath>
@@ -201,6 +198,10 @@
     </None>
   </ItemGroup>
   <ItemGroup>
+    <ProjectReference Include="..\BaseSet\BaseSet.csproj">
+      <Project>{65568d21-c65c-4796-8826-df4a083bf500}</Project>
+      <Name>BaseSet</Name>
+    </ProjectReference>
     <ProjectReference Include="..\DAL\DAL.csproj">
       <Project>{7C30E3C9-58B7-420A-AB92-0A5117B82DDA}</Project>
       <Name>DAL</Name>
diff --git a/SCM/SCM.csproj b/SCM/SCM.csproj
index 84b9aa3..719fadb 100644
--- a/SCM/SCM.csproj
+++ b/SCM/SCM.csproj
@@ -1,4 +1,5 @@
-锘�<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current">
+锘�<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -794,14 +795,6 @@
       <VersionMinor>0</VersionMinor>
       <Lcid>0</Lcid>
       <WrapperTool>aximp</WrapperTool>
-      <Isolated>False</Isolated>
-    </COMReference>
-    <COMReference Include="gregn6Lib">
-      <Guid>{4018F953-1BFE-441E-8A04-DC8BA1FF060E}</Guid>
-      <VersionMajor>6</VersionMajor>
-      <VersionMinor>0</VersionMinor>
-      <Lcid>0</Lcid>
-      <WrapperTool>tlbimp</WrapperTool>
       <Isolated>False</Isolated>
     </COMReference>
     <COMReference Include="stdole">
diff --git "a/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs" "b/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs"
index cf1bccf..476a827 100644
--- "a/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs"
+++ "b/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs"
@@ -14,9 +14,11 @@
         //public static string WEBSURL = "http://124.70.129.242/WEBS-WMS/WebService1.asmx";             //闆呯惇璇�
         //public static string WEBSURL = "http://192.168.1.29/WEBS-WMS/WebService1.asmx";               //鍦i緳    鍐呯綉
         //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx";            //鍦i緳(涓嶇敤)
-        public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx";       //鍥涚淮灏�   澶栫綉
+        //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx";       //鍥涚淮灏�   澶栫綉
         //public static string WEBSURL = "http://192.168.0.66/WEBS-WMS/WebService1.asmx";               //鍥涚淮灏�   鍐呯綉
         //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS-TEST/WebService1.asmx";  //鍥涚淮灏旀祴璇�
+        //public static string WEBSURL = "http://220.189.218.154:8092/WEBS-WMS/WebService1.asmx";   //鍥涚淮灏�    鏂颁腑闂村眰    澶栫綉
+        //public static string WEBSURL = "http://192.168.0.178/WEBS-WMS/WebService1.asmx";          //鍥涚淮灏�    鏂颁腑闂村眰    鍐呯綉
         //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx";        //闊╃數    澶栫綉JIT锛堜笉鐢級
         //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx";         //闊╃數    澶栫綉
         //public static string WEBSURL = "http://192.168.10.60/WMSWEBS/WebService1.asmx";               //闊╃數    鍐呯綉瀹佹尝
@@ -25,7 +27,7 @@
         //public static string WEBSURL = "http://120.195.29.36:1230/WEBS-WMS/WebService1.asmx";         //姹熻嫃榫欎酣
         //public static string WEBSURL = "http://192.168.63.139/WEBS-WMS/WebService1.asmx";
         //public static string WEBSURL = "http://192.168.2.18/WEBS-WMS/WebService1.asmx";              //鍏徃鍙板紡鏈�
-        //public static string WEBSURL = "http://192.168.0.108/WEBS-WMS/WebService1.asmx";              //瀹�
+        public static string WEBSURL = "http://192.168.0.107/WEBS-WMS/WebService1.asmx";              //瀹�
         public static long HOrgID = 0;
         public static string HOrgNumber = "";
         public static long HPersonL = 2;   // 浠撳簱浜哄憳涓�1锛岃溅闂翠汉鍛樹负2
diff --git "a/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.cs" "b/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.cs"
index f941dff..bfd9eae 100644
--- "a/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.cs"
+++ "b/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.cs"
@@ -136,6 +136,8 @@
             txtHWhID.ReadOnly = true;
             txtHSCWH.ReadOnly = true;
             txtHSupID.ReadOnly = true;
+            txtHMouldWhID.ReadOnly = true;
+            txtHMouldSCWhID.ReadOnly = true;
             if (InputMode == Pub_Class.ClsPub.Enum_InputMode.InputMode_AddNew)
             {
                 txtCzybm.Text = "";
@@ -152,6 +154,8 @@
                 txtHWhID.Text = "";
                 txtHSCWH.Text = "";
                 txtHSupID.Text = "";
+                txtHMouldWhID.Text = "";
+                txtHMouldSCWhID.Text = "";
                 txtHCloudUserName.Text = "";
                 txtHCloudUserPsd.Text = "";
                 cmdAllRight.PerformClick();
@@ -183,7 +187,7 @@
             SCM.ClsIF_Supplier_View oSup = new SCM.ClsIF_Supplier_View();
             try
             {
-                oDs = oWeb.getDataSetBySQL("select Czybm,Czymc,Explain,HEmpID,HK3UserID,HCloudUserName,HCloudUserPsd,HKeeperID,HKeeper,HSecManagerID,HSecManager,HSellManID,HSellMan,HDeptID,HDept,HWhID,HWHName,HSCWHID,HSCWHName,HSupID,HSupName,HUSEORGID from Gy_Czygl where Czybm='" + sCzybm + "'", "Gy_Czygl", ref ClsPub.sExeReturnInfo);
+                oDs = oWeb.getDataSetBySQL("select Czybm,Czymc,Explain,HEmpID,HK3UserID,HCloudUserName,HCloudUserPsd,HKeeperID,HKeeper,HSecManagerID,HSecManager,HSellManID,HSellMan,HDeptID,HDept,HWhID,HWHName,HSCWHID,HSCWHName,HSupID,HSupName,HUSEORGID,HMouldWhID,HMouldSCWhID from Gy_Czygl where Czybm='" + sCzybm + "'", "Gy_Czygl", ref ClsPub.sExeReturnInfo);
                 if (oDs == null)
                 {
                     MessageBox.Show("显示失败!原因:" + ClsPub.sExeReturnInfo);
@@ -295,6 +299,26 @@
                         txtHSupID.Text = "";
                         txtHSupID.Tag = 0;
                     }
+                    if (oWh.GetInfoByIDandOrgID(ClsPub.isLong(oDs.Tables[0].Rows[0]["HMouldWhID"]), ClsPub.isLong(oDs.Tables[0].Rows[0]["HUSEORGID"])))
+                    {
+                        txtHMouldWhID.Text = ClsPub.isStrNull(oWh.omodel.HName);
+                        txtHMouldWhID.Tag = ClsPub.isLong(oWh.omodel.HItemID);
+                    }
+                    else
+                    {
+                        txtHMouldWhID.Text = "";
+                        txtHMouldWhID.Tag = 0;
+                    }
+                    if (oWh.GetInfoByIDandOrgID(ClsPub.isLong(oDs.Tables[0].Rows[0]["HMouldSCWhID"]), ClsPub.isLong(oDs.Tables[0].Rows[0]["HUSEORGID"])))
+                    {
+                        txtHMouldSCWhID.Text = ClsPub.isStrNull(oWh.omodel.HName);
+                        txtHMouldSCWhID.Tag = ClsPub.isLong(oWh.omodel.HItemID);
+                    }
+                    else
+                    {
+                        txtHMouldSCWhID.Text = "";
+                        txtHMouldSCWhID.Tag = 0;
+                    }
                     //txtHKeeperID.Text = oDs.Tables[0].Rows[0]["HKeeper"].ToString().Trim();
                     //txtHKeeperID.Tag = oDs.Tables[0].Rows[0]["HKeeperID"].ToString().Trim();
                     //txtHSecManagerID.Text = oDs.Tables[0].Rows[0]["HSecManager"].ToString().Trim();
@@ -396,6 +420,7 @@
                     ",HSellManID,HSellMan,HDeptID,HDept " +
                     ",HWhID,HWHName,HSupID,HSupName " +
                     ",HSCWHID,HSCWHName " +
+                    ",HMouldWhID,HMouldWhName,HMouldSCWhID,HMouldSCWhName " +
                     ",HCloudUserName,HCloudUserPsd,HUSEORGID)" +
                     "values ("
                     + "'" + txtCzybm.Text.ToString() + "','" + txtCzymc.Text.ToString() + "','" + ClsPub.StrToPsd(txtCzymm.Text.ToString()) + "','" + txtExplain.Text.ToString() + "'," + ClsPub.isLong(txtHEmpID.Tag).ToString() + "," + ClsPub.isLong(txtHK3UserID.Tag).ToString() +
@@ -403,6 +428,7 @@
                     "," + ClsPub.isLong(txtHSellManID.Tag).ToString() + ",'" + txtHSellManID.Text.ToString() + "'," + ClsPub.isLong(txtHDeptID.Tag).ToString() + ",'" + txtHDeptID.Text.ToString() + "'" +
                     "," + ClsPub.isLong(txtHWhID.Tag).ToString() + ",'" + txtHWhID.Text.ToString() + "'," + ClsPub.isLong(txtHSupID.Tag).ToString() + ",'" + txtHSupID.Text.ToString() + "'" +
                     "," + ClsPub.isLong(txtHSCWH.Tag).ToString() + ",'" + txtHSCWH.Text.ToString() + "'" +
+                    "," + ClsPub.isLong(txtHMouldWhID.Tag).ToString() + ",'" + txtHMouldWhID.Text.ToString() + "'," + ClsPub.isLong(txtHMouldSCWhID.Tag).ToString() + ",'" + txtHMouldSCWhID.Text.ToString() + "'" +
                     ",'" + txtHCloudUserName.Text.ToString() + "','" + txtHCloudUserPsd.Text.ToString() + "'," + HOrgID +
                     ")", ref DBUtility.ClsPub.sExeReturnInfo);
                 oDs = oWeb.getDataSetBySQL("Select * from Gy_Czygl where Czybm='" + txtCzybm.Text.ToString() + "'", "Gy_Czygl", ref DBUtility.ClsPub.sExeReturnInfo);
@@ -443,6 +469,10 @@
                     ",HCloudUserName='" + txtHCloudUserName.Text.ToString() + "'" +
                     ",HCloudUserPsd='" + txtHCloudUserPsd.Text.ToString() + "'" +
                     ",HUSEORGID=" + HOrgID.ToString() +
+                    ",HMouldWhID=" + ClsPub.isLong(txtHMouldWhID.Tag).ToString() +
+                    ",HMouldWhName='" + txtHMouldWhID.Text.ToString() + "'" +
+                    ",HMouldSCWhID=" + ClsPub.isLong(txtHMouldSCWhID.Tag).ToString() +
+                    ",HMouldSCWhName='" + txtHMouldSCWhID.Text.ToString() + "'" +
                     "where Czybm='" + Czybm + "'", ref DBUtility.ClsPub.sExeReturnInfo);
                 //
                 oWeb.getRunProc("delete from  System_UserGroupInfo where UserId='" + Czybm + "'", ref DBUtility.ClsPub.sExeReturnInfo);
@@ -827,6 +857,106 @@
 
         #endregion
 
+        #region 对应模具基础资料设置
+
+        //调入仓库
+        private void cmdHMouldWhID_Click(object sender, EventArgs e)
+        {
+            HOrgID = oWeb.get_ORGANIZATIONSIDByName(cmbHOrgID.Text);
+            if (HOrgID == -1)
+            {
+                MessageBox.Show("选择组织有错误,获取信息失败!");
+                return;
+            }
+
+            SCM.ClsIF_Warehouse_View oWh = new SCM.ClsIF_Warehouse_View();
+            string DeWhere = "";
+            DeWhere = " and HUSEORGID = " + HOrgID;
+            if (oWh.RefreshView(DeWhere))
+            {
+                if (oWh.oModel.HItemID.ToString() == txtHMouldSCWhID.Tag.ToString())
+                {
+                    MessageBox.Show("对应仓库不能与调入仓库相同!");
+                    this.txtHMouldWhID.Text = "";
+                    return;
+                }
+                else
+                {
+                    this.txtHMouldWhID.Text = oWh.oModel.HName;
+                    this.txtHMouldWhID.Tag = oWh.oModel.HItemID.ToString();
+                }
+            }
+            else
+            {
+                this.txtHMouldWhID.Text = "";
+                this.txtHMouldWhID.Tag = 0;
+            }
+        }
+
+        private void txtHMouldWhID_TextChanged(object sender, EventArgs e)
+        {
+            if (txtHMouldWhID.Text.Trim() == "")
+            {
+                txtHMouldWhID.Tag = "0";
+            }
+        }
+
+        //调出仓库
+        private void cmdHMouldSCWhID_Click(object sender, EventArgs e)
+        {
+            HOrgID = oWeb.get_ORGANIZATIONSIDByName(cmbHOrgID.Text);
+            if (HOrgID == -1)
+            {
+                MessageBox.Show("选择组织有错误,获取信息失败!");
+                return;
+            }
+
+            SCM.ClsIF_Warehouse_View oWh = new SCM.ClsIF_Warehouse_View();
+            string DeWhere = "";
+            DeWhere = " and HUSEORGID = " + HOrgID;
+            if (oWh.RefreshView(DeWhere))
+            {
+                if (oWh.oModel.HItemID.ToString() == txtHMouldWhID.Tag.ToString())
+                {
+                    MessageBox.Show("调入仓库不能与对应仓库相同!");
+                    this.txtHMouldSCWhID.Text = "";
+                    return;
+                }
+                else
+                {
+                    this.txtHMouldSCWhID.Text = oWh.oModel.HName;
+                    this.txtHMouldSCWhID.Tag = oWh.oModel.HItemID.ToString();
+                }
+            }
+            else
+            {
+                this.txtHMouldSCWhID.Text = "";
+                this.txtHMouldSCWhID.Tag = 0;
+            }
+        }
+
+        private void txtHMouldSCWhID_TextChanged(object sender, EventArgs e)
+        {
+            if (txtHMouldSCWhID.Text.Trim() == "")
+            {
+                txtHMouldSCWhID.Tag = "0";
+            }
+        }
+
+        #endregion
+
+        private void cmbHOrgID_TextChanged(object sender, EventArgs e)
+        {
+            txtHDeptID.Text = "";
+            txtHWhID.Text = "";
+            txtHSCWH.Text = "";
+            txtHSupID.Text = "";
+            txtHMouldWhID.Text = "";
+            txtHMouldSCWhID.Text = "";
+        }
+
+
+
 
     }
 }
\ No newline at end of file
diff --git "a/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.designer.cs" "b/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.designer.cs"
index 4cda8f6..31f9601 100644
--- "a/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.designer.cs"
+++ "b/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.designer.cs"
@@ -64,6 +64,9 @@
             this.tabControl1 = new System.Windows.Forms.TabControl();
             this.tabPage1 = new System.Windows.Forms.TabPage();
             this.tabPage2 = new System.Windows.Forms.TabPage();
+            this.cmdHSCWH = new System.Windows.Forms.Button();
+            this.label19 = new System.Windows.Forms.Label();
+            this.txtHSCWH = new System.Windows.Forms.TextBox();
             this.cmdHSupID = new System.Windows.Forms.Button();
             this.label18 = new System.Windows.Forms.Label();
             this.txtHSupID = new System.Windows.Forms.TextBox();
@@ -89,14 +92,19 @@
             this.label17 = new System.Windows.Forms.Label();
             this.txtHCloudUserName = new System.Windows.Forms.TextBox();
             this.label15 = new System.Windows.Forms.Label();
-            this.cmdHSCWH = new System.Windows.Forms.Button();
-            this.label19 = new System.Windows.Forms.Label();
-            this.txtHSCWH = new System.Windows.Forms.TextBox();
+            this.tabPage4 = new System.Windows.Forms.TabPage();
+            this.cmdHMouldSCWH = new System.Windows.Forms.Button();
+            this.label20 = new System.Windows.Forms.Label();
+            this.txtHMouldSCWhID = new System.Windows.Forms.TextBox();
+            this.cmdHMouldWhID = new System.Windows.Forms.Button();
+            this.label22 = new System.Windows.Forms.Label();
+            this.txtHMouldWhID = new System.Windows.Forms.TextBox();
             this.groupBox2.SuspendLayout();
             this.tabControl1.SuspendLayout();
             this.tabPage1.SuspendLayout();
             this.tabPage2.SuspendLayout();
             this.tabPage3.SuspendLayout();
+            this.tabPage4.SuspendLayout();
             this.SuspendLayout();
             // 
             // cmdHK3UserID
@@ -414,6 +422,7 @@
             this.tabControl1.Controls.Add(this.tabPage1);
             this.tabControl1.Controls.Add(this.tabPage2);
             this.tabControl1.Controls.Add(this.tabPage3);
+            this.tabControl1.Controls.Add(this.tabPage4);
             this.tabControl1.Location = new System.Drawing.Point(12, 10);
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.SelectedIndex = 0;
@@ -483,6 +492,38 @@
             this.tabPage2.Text = "瀵瑰簲閲戣澏淇℃伅";
             this.tabPage2.UseVisualStyleBackColor = true;
             // 
+            // cmdHSCWH
+            // 
+            this.cmdHSCWH.BackColor = System.Drawing.Color.Transparent;
+            this.cmdHSCWH.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSCWH.Image")));
+            this.cmdHSCWH.ImageAlign = System.Drawing.ContentAlignment.TopRight;
+            this.cmdHSCWH.Location = new System.Drawing.Point(235, 165);
+            this.cmdHSCWH.Name = "cmdHSCWH";
+            this.cmdHSCWH.Size = new System.Drawing.Size(22, 22);
+            this.cmdHSCWH.TabIndex = 93;
+            this.cmdHSCWH.UseVisualStyleBackColor = false;
+            this.cmdHSCWH.Click += new System.EventHandler(this.cmdHSCWH_Click);
+            // 
+            // label19
+            // 
+            this.label19.AutoSize = true;
+            this.label19.ForeColor = System.Drawing.Color.Black;
+            this.label19.Location = new System.Drawing.Point(14, 170);
+            this.label19.Name = "label19";
+            this.label19.Size = new System.Drawing.Size(53, 12);
+            this.label19.TabIndex = 91;
+            this.label19.Text = "璋冨叆浠撳簱";
+            // 
+            // txtHSCWH
+            // 
+            this.txtHSCWH.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHSCWH.Location = new System.Drawing.Point(85, 166);
+            this.txtHSCWH.Name = "txtHSCWH";
+            this.txtHSCWH.Size = new System.Drawing.Size(145, 21);
+            this.txtHSCWH.TabIndex = 92;
+            this.txtHSCWH.Tag = "0";
+            this.txtHSCWH.TextChanged += new System.EventHandler(this.txtHSCWH_TextChanged);
+            // 
             // cmdHSupID
             // 
             this.cmdHSupID.BackColor = System.Drawing.Color.Transparent;
@@ -533,6 +574,7 @@
             this.cmbHOrgID.Name = "cmbHOrgID";
             this.cmbHOrgID.Size = new System.Drawing.Size(172, 20);
             this.cmbHOrgID.TabIndex = 86;
+            this.cmbHOrgID.TextChanged += new System.EventHandler(this.cmbHOrgID_TextChanged);
             // 
             // cmdHSellManID
             // 
@@ -703,7 +745,7 @@
             this.tabPage3.Location = new System.Drawing.Point(4, 22);
             this.tabPage3.Name = "tabPage3";
             this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
-            this.tabPage3.Size = new System.Drawing.Size(348, 196);
+            this.tabPage3.Size = new System.Drawing.Size(348, 221);
             this.tabPage3.TabIndex = 2;
             this.tabPage3.Text = "CLOUD璐﹀彿璁剧疆";
             this.tabPage3.UseVisualStyleBackColor = true;
@@ -746,37 +788,85 @@
             this.label15.TabIndex = 90;
             this.label15.Text = "瀵瑰簲CLOUD璐﹀彿";
             // 
-            // cmdHSCWH
+            // tabPage4
             // 
-            this.cmdHSCWH.BackColor = System.Drawing.Color.Transparent;
-            this.cmdHSCWH.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSCWH.Image")));
-            this.cmdHSCWH.ImageAlign = System.Drawing.ContentAlignment.TopRight;
-            this.cmdHSCWH.Location = new System.Drawing.Point(235, 165);
-            this.cmdHSCWH.Name = "cmdHSCWH";
-            this.cmdHSCWH.Size = new System.Drawing.Size(22, 22);
-            this.cmdHSCWH.TabIndex = 93;
-            this.cmdHSCWH.UseVisualStyleBackColor = false;
-            this.cmdHSCWH.Click += new System.EventHandler(this.cmdHSCWH_Click);
+            this.tabPage4.Controls.Add(this.cmdHMouldSCWH);
+            this.tabPage4.Controls.Add(this.label20);
+            this.tabPage4.Controls.Add(this.txtHMouldSCWhID);
+            this.tabPage4.Controls.Add(this.cmdHMouldWhID);
+            this.tabPage4.Controls.Add(this.label22);
+            this.tabPage4.Controls.Add(this.txtHMouldWhID);
+            this.tabPage4.Location = new System.Drawing.Point(4, 22);
+            this.tabPage4.Name = "tabPage4";
+            this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
+            this.tabPage4.Size = new System.Drawing.Size(348, 221);
+            this.tabPage4.TabIndex = 3;
+            this.tabPage4.Text = "瀵瑰簲鍣ㄥ叿淇℃伅";
+            this.tabPage4.UseVisualStyleBackColor = true;
             // 
-            // label19
+            // cmdHMouldSCWH
             // 
-            this.label19.AutoSize = true;
-            this.label19.ForeColor = System.Drawing.Color.Black;
-            this.label19.Location = new System.Drawing.Point(14, 170);
-            this.label19.Name = "label19";
-            this.label19.Size = new System.Drawing.Size(53, 12);
-            this.label19.TabIndex = 91;
-            this.label19.Text = "璋冨叆浠撳簱";
+            this.cmdHMouldSCWH.BackColor = System.Drawing.Color.Transparent;
+            this.cmdHMouldSCWH.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMouldSCWH.Image")));
+            this.cmdHMouldSCWH.ImageAlign = System.Drawing.ContentAlignment.TopRight;
+            this.cmdHMouldSCWH.Location = new System.Drawing.Point(235, 38);
+            this.cmdHMouldSCWH.Name = "cmdHMouldSCWH";
+            this.cmdHMouldSCWH.Size = new System.Drawing.Size(22, 22);
+            this.cmdHMouldSCWH.TabIndex = 99;
+            this.cmdHMouldSCWH.UseVisualStyleBackColor = false;
+            this.cmdHMouldSCWH.Click += new System.EventHandler(this.cmdHMouldSCWhID_Click);
             // 
-            // txtHSCWH
+            // label20
             // 
-            this.txtHSCWH.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHSCWH.Location = new System.Drawing.Point(85, 166);
-            this.txtHSCWH.Name = "txtHSCWH";
-            this.txtHSCWH.Size = new System.Drawing.Size(145, 21);
-            this.txtHSCWH.TabIndex = 92;
-            this.txtHSCWH.Tag = "0";
-            this.txtHSCWH.TextChanged += new System.EventHandler(this.txtHSCWH_TextChanged);
+            this.label20.AutoSize = true;
+            this.label20.ForeColor = System.Drawing.Color.Black;
+            this.label20.Location = new System.Drawing.Point(14, 43);
+            this.label20.Name = "label20";
+            this.label20.Size = new System.Drawing.Size(53, 12);
+            this.label20.TabIndex = 97;
+            this.label20.Text = "璋冨叆浠撳簱";
+            // 
+            // txtHMouldSCWhID
+            // 
+            this.txtHMouldSCWhID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHMouldSCWhID.Location = new System.Drawing.Point(85, 39);
+            this.txtHMouldSCWhID.Name = "txtHMouldSCWhID";
+            this.txtHMouldSCWhID.Size = new System.Drawing.Size(145, 21);
+            this.txtHMouldSCWhID.TabIndex = 98;
+            this.txtHMouldSCWhID.Tag = "0";
+            this.txtHMouldSCWhID.TextChanged += new System.EventHandler(this.txtHMouldSCWhID_TextChanged);
+            // 
+            // cmdHMouldWhID
+            // 
+            this.cmdHMouldWhID.BackColor = System.Drawing.Color.Transparent;
+            this.cmdHMouldWhID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMouldWhID.Image")));
+            this.cmdHMouldWhID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
+            this.cmdHMouldWhID.Location = new System.Drawing.Point(235, 15);
+            this.cmdHMouldWhID.Name = "cmdHMouldWhID";
+            this.cmdHMouldWhID.Size = new System.Drawing.Size(22, 22);
+            this.cmdHMouldWhID.TabIndex = 96;
+            this.cmdHMouldWhID.UseVisualStyleBackColor = false;
+            this.cmdHMouldWhID.Click += new System.EventHandler(this.cmdHMouldWhID_Click);
+            // 
+            // label22
+            // 
+            this.label22.AutoSize = true;
+            this.label22.ForeColor = System.Drawing.Color.Black;
+            this.label22.Location = new System.Drawing.Point(14, 20);
+            this.label22.Name = "label22";
+            this.label22.Size = new System.Drawing.Size(53, 12);
+            this.label22.TabIndex = 94;
+            this.label22.Text = "瀵瑰簲浠撳簱";
+            // 
+            // txtHMouldWhID
+            // 
+            this.txtHMouldWhID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHMouldWhID.Location = new System.Drawing.Point(85, 16);
+            this.txtHMouldWhID.Name = "txtHMouldWhID";
+            this.txtHMouldWhID.Size = new System.Drawing.Size(145, 21);
+            this.txtHMouldWhID.TabIndex = 95;
+            this.txtHMouldWhID.Tag = "0";
+            this.txtHMouldWhID.TextChanged += new System.EventHandler(this.txtHMouldWhID_TextChanged);
             // 
             // Xt_UserNew
             // 
@@ -804,6 +894,8 @@
             this.tabPage2.PerformLayout();
             this.tabPage3.ResumeLayout(false);
             this.tabPage3.PerformLayout();
+            this.tabPage4.ResumeLayout(false);
+            this.tabPage4.PerformLayout();
             this.ResumeLayout(false);
             this.PerformLayout();
 
@@ -874,5 +966,12 @@
         private System.Windows.Forms.Button cmdHSCWH;
         private System.Windows.Forms.Label label19;
         private System.Windows.Forms.TextBox txtHSCWH;
+        private System.Windows.Forms.TabPage tabPage4;
+        private System.Windows.Forms.Button cmdHMouldSCWH;
+        private System.Windows.Forms.Label label20;
+        private System.Windows.Forms.TextBox txtHMouldSCWhID;
+        private System.Windows.Forms.Button cmdHMouldWhID;
+        private System.Windows.Forms.Label label22;
+        private System.Windows.Forms.TextBox txtHMouldWhID;
     }
 }
\ No newline at end of file
diff --git "a/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.resx" "b/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.resx"
index 0708f2d..51ab98e 100644
--- "a/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.resx"
+++ "b/SCM/\347\263\273\347\273\237\347\256\241\347\220\206/Xt_UserNew.resx"
@@ -268,4 +268,34 @@
         FIYcEAA7
 </value>
   </data>
+  <data name="cmdHMouldSCWH.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        R0lGODlhEAAQAIZBAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp
+        /yOn/2jD/q3h/le8/sz3/5zg/7bt/73l/7Xs/2fH/4DT///bnZXb/97//2rK/wWb/8np/6zf/1S//77x
+        /73w/8Xv/1+//wmc/1jA/5Db/5LV/6rn/6Xb/zCt/33O/9X3/4LO/7jj/4PT/x+m/7nk/3XP/3PJ/3bQ
+        /6Tb/5Td/zCv/3fM/029/4za/6Pf/ZHc/6Pk/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQB
+        AABBACwAAAAAEAAQAAAIqACDCBwoMIDBAAQTBjEYIcKECQYVLmQQ44KJFhBmQECYMAAOEAJYnPjgwAHH
+        gQEYqAhBA4YOBDwQIDg5cYcLGyg8LOixYAFNABJkZBBRI8cDEg98ACAIlIOGGylWGOhgwMBSphUq/ACC
+        wQAFClcFEiAAQICAEhZGvDAbloCCDQUAlDUrQO5AtwkKHBgQRK7duwryHmjAV2IQAoIJGxY4QK/ixYwH
+        FIYcEAA7
+</value>
+  </data>
+  <data name="cmdHMouldWhID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        R0lGODlhEAAQAIZBAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp
+        /yOn/2jD/q3h/le8/sz3/5zg/7bt/73l/7Xs/2fH/4DT///bnZXb/97//2rK/wWb/8np/6zf/1S//77x
+        /73w/8Xv/1+//wmc/1jA/5Db/5LV/6rn/6Xb/zCt/33O/9X3/4LO/7jj/4PT/x+m/7nk/3XP/3PJ/3bQ
+        /6Tb/5Td/zCv/3fM/029/4za/6Pf/ZHc/6Pk/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQB
+        AABBACwAAAAAEAAQAAAIqACDCBwoMIDBAAQTBjEYIcKECQYVLmQQ44KJFhBmQECYMAAOEAJYnPjgwAHH
+        gQEYqAhBA4YOBDwQIDg5cYcLGyg8LOixYAFNABJkZBBRI8cDEg98ACAIlIOGGylWGOhgwMBSphUq/ACC
+        wQAFClcFEiAAQICAEhZGvDAbloCCDQUAlDUrQO5AtwkKHBgQRK7duwryHmjAV2IQAoIJGxY4QK/ixYwH
+        FIYcEAA7
+</value>
+  </data>
 </root>
\ No newline at end of file

--
Gitblit v1.9.1