王 垚
2022-06-17 d3a871c81b7d3fe63422af54fe53ba27dd2b1bb4
nothing
37个文件已修改
3个文件已添加
7387 ■■■■ 已修改文件
BLL/公用模块/FrmLogin.cs 212 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BLL/公用模块/FrmLogin.designer.cs 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BLL/公用模块/FrmLogin.resx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/车间管理/ClsSc_ProcessExchangeBill.cs 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/车间管理/ClsSc_StationInBill.cs 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/基础资料/基础资料/ClsGy_Source_Model.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/车间管理/ClsSc_ProcessExchangeBillMain.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Class/CustomerCls/ClsXt_SystemParameter.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/Sc_MESNowWorkBill_Fast.cs 1593 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/Sc_MESNowWorkBill_Fast.designer.cs 2070 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/Sc_MESNowWorkBill_Fast.resx 777 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/WarM.csproj 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/WarM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/条码打印/Sc_ICMOToBarCode.cs 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/条码打印/Sc_ICMOToBarCode.designer.cs 328 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/条码打印/Sc_ICMOToBarCode.resx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/BaseSet/Gy_GroupController.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/BaseSet/Gy_ProcessController.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/BaseSet/Gy_WorkCenterController.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs 523 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/LMESController.cs 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/POStockInBillController.cs 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SCGL/日计划管理/JIT_Cg_PODemandPlanBillController.cs 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SCGL/日计划管理/JIT_DayPlanPlatFormImportController.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SCGL/日计划管理/NpoiHelper.cs 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/生产管理/报工台工序/Sc_MESBeginStepWorkBillController.cs 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/生产管理/生产任务单/Sc_ICMOBillController.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/DLL/ClsGy_Source_Ctl.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/InvokeHelper.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Models/ClsQK_PackingBill.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Models/Gy_Group.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Models/Gy_RoutingBill.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Models/Gy_WorkCenter.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Models/基础资料/Gy_Process.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Web.config 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationInBill.cs 139 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationInBill.designer.cs 556 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/Sc_ProcessExchangeBill.cs 514 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BLL/¹«ÓÃÄ£¿é/FrmLogin.cs
@@ -271,6 +271,7 @@
            {
                textBox1.Visible = true;
                button1.Visible = true;
                textBox1.Focus();
            }
            else
            {
@@ -455,107 +456,122 @@
        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            //string HPassWord = textBox1.Text.Trim().ToString();
            ////MessageBox.Show(HPassWord);
            //SQLHelper.ClsCN oCn1 = new SQLHelper.ClsCN();
            ////1.查找数据库操作员管理表里面是否有对应这个加密字符串对应的记录
            //DataSet DSet = oCn1.RunProcReturn("select Czybm,Czmm from Gy_Czygl where   HICNumber  ='" + HPassWord + "'", "Gy_Czygl");
            //if (DSet == null || DSet.Tables[0].Rows.Count == 0)
            ////if (DSet == null|| DSet.Tables[0].Rows.Count == 0)
            //{
            //    MessageBox.Show("没有找到对应职员信息,请重新刷卡" + DBUtility.ClsPub.sExeReturnInfo);
            //    //textBox1.Text = "";
            //    return;
            //}
            //else
            //{
            //    cmbUser.Text = ClsPub.isStrNull(DSet.Tables[0].Rows[0]["Czybm"]);
            //    if (AllowLogin() != true)
            //        return;
            //    DataSet ds = null;
            //    ClsCNmaster oCn = new ClsCNmaster();
            //    ClsCN oCnLoc = new ClsCN();
            //    string sDataBase;
            //    string sDataBase_K3 = "";
            //    string sDataBase_K32 = "";
            //    string sDataBase_K33 = "";
            //    sDataBase = oCn.GetDataBase(cmbAccount.Text.Trim(), ref sDataBase_K3);
            //    ClsIni oIni = new ClsIni();
            //    ClsIni.WriteIni("Erp", "DataBase", sDataBase.Trim(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    ClsIni.WriteIni("K3Erp", "DataBase", sDataBase_K3.Trim(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    DAL.ClsUser oUser = new DAL.ClsUser();
        }
            //    ds = oUser.CheckCzymc(cmbUser.Text.Trim(),textBox1.Text.Trim());
            //    if (ds == null)
            //    {
            //        MessageBox.Show("选择的帐套不存在!", "提示");
            //        return;
            //    }
            //    if (ds.Tables[0].Rows.Count > 0)
            //    {
            //        ClsPub.CurUserID = ds.Tables[0].Rows[0]["Czybm"].ToString();
            //        this.Close();
            //        isOk = true;
            //    }
            //    else
            //    {
            //        MessageBox.Show("错误的用户密码!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            //        return;
            //    }
            //    //得到当前会计期间
            //    int sYear = 0;
            //    int sPeriod = 0;
            //    if (!ClsPub.Sub_GetCurPeriod(ref sYear, ref sPeriod))
            //    {
            //        MessageBox.Show("得到当前会计期间失败!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            //        isOk = false;
            //        return;
            //    }
            //    //
            //    this.Close();
            //    isOk = true;
            //    ClsIni.WriteIni("Erp", "DataBaseNumber", cmbAccount.Text.Trim(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    //存入用户名密码
            //    //
            //    UserName = cmbUser.Text.Trim() + "," + UserName;
            //    string[] str = UserName.Split(',');
            //    List<string> listStr = new List<string>();
            //    foreach (string eachStr in str)
            //    {
            //        if (!listStr.Contains(eachStr))
            //            listStr.Add(eachStr);
            //    }
            //    UserName = "";
            //    if (listStr.Count > 10)
            //    {
            //        listStr.RemoveAt(10);
            //    }
            //    foreach (string eachStr in listStr)
            //    {
            //        UserName = UserName + eachStr + ",";
            //    }
            //    UserName = UserName.Remove(UserName.LastIndexOf(","), 1);
            //    //
            //    ClsIni.WriteIni("UserInfo", "UserName", UserName, DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    ClsIni.WriteIni("UserInfo", "HOrgName", cmbHOrg.Text.ToString(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    ClsPub.CurUserName = cmbUser.Text.Trim();
            //    ClsPub.AppPath = System.Environment.CurrentDirectory;
            //    ClsPub.HOrgID = ClsPub.get_ORGANIZATIONSIDByName(ClsPub.isStrNull(cmbHOrg.Text));
            //    ClsPub.HOrgNumber = ClsPub.get_ORGANIZATIONSNOByName(ClsPub.isStrNull(cmbHOrg.Text));
            //    ClsPub.HOrgName = ClsPub.isStrNull(cmbHOrg.Text);
            //    if (chkRemember.Checked == true)
            //    {
            //        ClsIni.WriteIni("UserInfo", "UserPsd", "", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //        ClsIni.WriteIni("UserInfo", "Remember", "1", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    }
            //    else
            //    {
            //        ClsIni.WriteIni("UserInfo", "UserPsd", "", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //        ClsIni.WriteIni("UserInfo", "Remember", "0", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
            //    }
            //}
        private void textBox1_KeyDown(object sender, KeyEventArgs e)
        {
            string HPassWord = textBox1.Text.Trim().ToString();
            if (HPassWord.Length < 10)
            {
                return;
            }
            //MessageBox.Show(HPassWord);
            //演示视频用,平时屏蔽掉
            if (HPassWord.Trim() == "3012460306-1" || HPassWord.Contains("3012460306-1") == true)
            {
                MessageBox.Show("您刷的员工卡,没有经过技能的培训,不能在本工站上岗!");
                return;
            }
            //
            SQLHelper.ClsCN oCn1 = new SQLHelper.ClsCN();
            //1.查找数据库操作员管理表里面是否有对应这个加密字符串对应的记录
            DataSet DSet = oCn1.RunProcReturn("select Czybm,Czmm from Gy_Czygl where   HICNumber  ='" + HPassWord + "'", "Gy_Czygl");
            if (DSet == null || DSet.Tables[0].Rows.Count == 0)
            //if (DSet == null|| DSet.Tables[0].Rows.Count == 0)
            {
                MessageBox.Show("没有找到对应职员信息,请重新刷卡" + DBUtility.ClsPub.sExeReturnInfo);
                //textBox1.Text = "";
                return;
            }
            else
            {
                cmbUser.Text = ClsPub.isStrNull(DSet.Tables[0].Rows[0]["Czybm"]);
                if (AllowLogin() != true)
                    return;
                //DataSet ds = null;
                ClsCNmaster oCn = new ClsCNmaster();
                ClsCN oCnLoc = new ClsCN();
                string sDataBase;
                string sDataBase_K3 = "";
                string sDataBase_K32 = "";
                string sDataBase_K33 = "";
                sDataBase = oCn.GetDataBase(cmbAccount.Text.Trim(), ref sDataBase_K3);
                ClsIni oIni = new ClsIni();
                ClsIni.WriteIni("Erp", "DataBase", sDataBase.Trim(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                ClsIni.WriteIni("K3Erp", "DataBase", sDataBase_K3.Trim(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                DAL.ClsUser oUser = new DAL.ClsUser();
                //ds = oUser.CheckCzymc(cmbUser.Text.Trim(), textBox1.Text.Trim());
                //if (ds == null)
                //{
                //    MessageBox.Show("选择的帐套不存在!", "提示");
                //    return;
                //}
                //if (ds.Tables[0].Rows.Count > 0)
                //{
                    ClsPub.CurUserID = DSet.Tables[0].Rows[0]["Czybm"].ToString();
                    this.Close();
                    isOk = true;
                //}
                //else
                //{
                //    MessageBox.Show("错误的用户密码!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
                //    return;
                //}
                //得到当前会计期间
                int sYear = 0;
                int sPeriod = 0;
                if (!ClsPub.Sub_GetCurPeriod(ref sYear, ref sPeriod))
                {
                    MessageBox.Show("得到当前会计期间失败!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    isOk = false;
                    return;
                }
                //
                this.Close();
                isOk = true;
                ClsIni.WriteIni("Erp", "DataBaseNumber", cmbAccount.Text.Trim(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                //存入用户名密码
                //
                UserName = cmbUser.Text.Trim() + "," + UserName;
                string[] str = UserName.Split(',');
                List<string> listStr = new List<string>();
                foreach (string eachStr in str)
                {
                    if (!listStr.Contains(eachStr))
                        listStr.Add(eachStr);
                }
                UserName = "";
                if (listStr.Count > 10)
                {
                    listStr.RemoveAt(10);
                }
                foreach (string eachStr in listStr)
                {
                    UserName = UserName + eachStr + ",";
                }
                UserName = UserName.Remove(UserName.LastIndexOf(","), 1);
                //
                ClsIni.WriteIni("UserInfo", "UserName", UserName, DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                ClsIni.WriteIni("UserInfo", "HOrgName", cmbHOrg.Text.ToString(), DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                ClsPub.CurUserName = cmbUser.Text.Trim();
                ClsPub.AppPath = System.Environment.CurrentDirectory;
                ClsPub.HOrgID = ClsPub.get_ORGANIZATIONSIDByName(ClsPub.isStrNull(cmbHOrg.Text));
                ClsPub.HOrgNumber = ClsPub.get_ORGANIZATIONSNOByName(ClsPub.isStrNull(cmbHOrg.Text));
                ClsPub.HOrgName = ClsPub.isStrNull(cmbHOrg.Text);
                if (chkRemember.Checked == true)
                {
                    ClsIni.WriteIni("UserInfo", "UserPsd", "", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                    ClsIni.WriteIni("UserInfo", "Remember", "1", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                }
                else
                {
                    ClsIni.WriteIni("UserInfo", "UserPsd", "", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                    ClsIni.WriteIni("UserInfo", "Remember", "0", DBUtility.ClsPub.AppPath + @"/HXERP.ini");
                }
            }
        }
    }
}
BLL/¹«ÓÃÄ£¿é/FrmLogin.designer.cs
@@ -58,18 +58,20 @@
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.White;
            this.label1.Location = new System.Drawing.Point(279, 260);
            this.label1.Location = new System.Drawing.Point(372, 325);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(59, 12);
            this.label1.Size = new System.Drawing.Size(76, 15);
            this.label1.TabIndex = 0;
            this.label1.Text = "用 æˆ· å:";
            // 
            // txtUser
            // 
            this.txtUser.ImeMode = System.Windows.Forms.ImeMode.On;
            this.txtUser.Location = new System.Drawing.Point(78, 149);
            this.txtUser.Location = new System.Drawing.Point(104, 186);
            this.txtUser.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtUser.Name = "txtUser";
            this.txtUser.Size = new System.Drawing.Size(167, 21);
            this.txtUser.Size = new System.Drawing.Size(221, 25);
            this.txtUser.TabIndex = 1;
            this.txtUser.Visible = false;
            this.txtUser.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtUser_KeyUp);
@@ -77,10 +79,11 @@
            // txtPsd
            // 
            this.txtPsd.ImeMode = System.Windows.Forms.ImeMode.On;
            this.txtPsd.Location = new System.Drawing.Point(347, 290);
            this.txtPsd.Location = new System.Drawing.Point(463, 362);
            this.txtPsd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtPsd.Name = "txtPsd";
            this.txtPsd.PasswordChar = '*';
            this.txtPsd.Size = new System.Drawing.Size(167, 21);
            this.txtPsd.Size = new System.Drawing.Size(221, 25);
            this.txtPsd.TabIndex = 3;
            this.txtPsd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPsd_KeyUp);
            // 
@@ -88,17 +91,19 @@
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.White;
            this.label2.Location = new System.Drawing.Point(279, 293);
            this.label2.Location = new System.Drawing.Point(372, 366);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(59, 12);
            this.label2.Size = new System.Drawing.Size(76, 15);
            this.label2.TabIndex = 2;
            this.label2.Text = "密  ã€€ç :";
            // 
            // btnOK
            // 
            this.btnOK.Location = new System.Drawing.Point(391, 339);
            this.btnOK.Location = new System.Drawing.Point(521, 424);
            this.btnOK.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(81, 25);
            this.btnOK.Size = new System.Drawing.Size(108, 31);
            this.btnOK.TabIndex = 4;
            this.btnOK.Text = "确定(&O)";
            this.btnOK.UseVisualStyleBackColor = true;
@@ -106,9 +111,10 @@
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(502, 339);
            this.button2.Location = new System.Drawing.Point(669, 424);
            this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(81, 25);
            this.button2.Size = new System.Drawing.Size(108, 31);
            this.button2.TabIndex = 5;
            this.button2.Text = "取消(&C)";
            this.button2.UseVisualStyleBackColor = true;
@@ -118,9 +124,10 @@
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.White;
            this.label3.Location = new System.Drawing.Point(279, 222);
            this.label3.Location = new System.Drawing.Point(372, 278);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(59, 12);
            this.label3.Size = new System.Drawing.Size(75, 15);
            this.label3.TabIndex = 6;
            this.label3.Text = "选择帐套:";
            // 
@@ -129,17 +136,19 @@
            this.cmbAccount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbAccount.FormattingEnabled = true;
            this.cmbAccount.ImeMode = System.Windows.Forms.ImeMode.On;
            this.cmbAccount.Location = new System.Drawing.Point(347, 219);
            this.cmbAccount.Location = new System.Drawing.Point(463, 274);
            this.cmbAccount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmbAccount.Name = "cmbAccount";
            this.cmbAccount.Size = new System.Drawing.Size(167, 20);
            this.cmbAccount.Size = new System.Drawing.Size(221, 23);
            this.cmbAccount.TabIndex = 7;
            // 
            // lblStatus
            // 
            this.lblStatus.BackColor = System.Drawing.Color.Transparent;
            this.lblStatus.Location = new System.Drawing.Point(240, 339);
            this.lblStatus.Location = new System.Drawing.Point(320, 424);
            this.lblStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.Size = new System.Drawing.Size(145, 21);
            this.lblStatus.Size = new System.Drawing.Size(193, 26);
            this.lblStatus.TabIndex = 8;
            this.lblStatus.Click += new System.EventHandler(this.lblStatus_Click);
            // 
@@ -152,9 +161,10 @@
            // 
            this.chkRemember.AutoSize = true;
            this.chkRemember.BackColor = System.Drawing.Color.White;
            this.chkRemember.Location = new System.Drawing.Point(520, 295);
            this.chkRemember.Location = new System.Drawing.Point(693, 369);
            this.chkRemember.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.chkRemember.Name = "chkRemember";
            this.chkRemember.Size = new System.Drawing.Size(72, 16);
            this.chkRemember.Size = new System.Drawing.Size(89, 19);
            this.chkRemember.TabIndex = 9;
            this.chkRemember.Text = "保存密码";
            this.chkRemember.UseVisualStyleBackColor = false;
@@ -163,36 +173,40 @@
            // lblChangePsd
            // 
            this.lblChangePsd.BackColor = System.Drawing.Color.Transparent;
            this.lblChangePsd.Location = new System.Drawing.Point(547, 6);
            this.lblChangePsd.Location = new System.Drawing.Point(729, 8);
            this.lblChangePsd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblChangePsd.Name = "lblChangePsd";
            this.lblChangePsd.Size = new System.Drawing.Size(66, 21);
            this.lblChangePsd.Size = new System.Drawing.Size(88, 26);
            this.lblChangePsd.TabIndex = 10;
            this.lblChangePsd.Click += new System.EventHandler(this.lblChangePsd_Click);
            // 
            // lblSetServer
            // 
            this.lblSetServer.BackColor = System.Drawing.Color.Transparent;
            this.lblSetServer.Location = new System.Drawing.Point(459, 6);
            this.lblSetServer.Location = new System.Drawing.Point(612, 8);
            this.lblSetServer.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblSetServer.Name = "lblSetServer";
            this.lblSetServer.Size = new System.Drawing.Size(66, 21);
            this.lblSetServer.Size = new System.Drawing.Size(88, 26);
            this.lblSetServer.TabIndex = 11;
            this.lblSetServer.Click += new System.EventHandler(this.lblSetServer_Click);
            // 
            // lblVersion
            // 
            this.lblVersion.BackColor = System.Drawing.Color.Transparent;
            this.lblVersion.Location = new System.Drawing.Point(454, 130);
            this.lblVersion.Location = new System.Drawing.Point(605, 162);
            this.lblVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblVersion.Name = "lblVersion";
            this.lblVersion.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblVersion.Size = new System.Drawing.Size(150, 15);
            this.lblVersion.Size = new System.Drawing.Size(200, 19);
            this.lblVersion.TabIndex = 12;
            // 
            // lblVersion2
            // 
            this.lblVersion2.BackColor = System.Drawing.Color.Transparent;
            this.lblVersion2.Location = new System.Drawing.Point(451, 152);
            this.lblVersion2.Location = new System.Drawing.Point(601, 190);
            this.lblVersion2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblVersion2.Name = "lblVersion2";
            this.lblVersion2.Size = new System.Drawing.Size(150, 15);
            this.lblVersion2.Size = new System.Drawing.Size(200, 19);
            this.lblVersion2.TabIndex = 13;
            this.lblVersion2.Visible = false;
            // 
@@ -202,9 +216,10 @@
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Font = new System.Drawing.Font("宋体", 7.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.ForeColor = System.Drawing.Color.Yellow;
            this.label4.Location = new System.Drawing.Point(486, 104);
            this.label4.Location = new System.Drawing.Point(648, 130);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(49, 10);
            this.label4.Size = new System.Drawing.Size(63, 13);
            this.label4.TabIndex = 14;
            this.label4.Text = "手动更新";
            this.label4.Click += new System.EventHandler(this.label4_Click);
@@ -213,17 +228,19 @@
            // 
            this.lblIPAddress.AutoSize = true;
            this.lblIPAddress.BackColor = System.Drawing.Color.Transparent;
            this.lblIPAddress.Location = new System.Drawing.Point(389, 380);
            this.lblIPAddress.Location = new System.Drawing.Point(519, 475);
            this.lblIPAddress.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblIPAddress.Name = "lblIPAddress";
            this.lblIPAddress.Size = new System.Drawing.Size(0, 12);
            this.lblIPAddress.Size = new System.Drawing.Size(0, 15);
            this.lblIPAddress.TabIndex = 15;
            // 
            // cmbUser
            // 
            this.cmbUser.FormattingEnabled = true;
            this.cmbUser.Location = new System.Drawing.Point(347, 257);
            this.cmbUser.Location = new System.Drawing.Point(463, 321);
            this.cmbUser.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmbUser.Name = "cmbUser";
            this.cmbUser.Size = new System.Drawing.Size(167, 20);
            this.cmbUser.Size = new System.Drawing.Size(221, 23);
            this.cmbUser.TabIndex = 16;
            // 
            // cmbHOrg
@@ -231,46 +248,51 @@
            this.cmbHOrg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbHOrg.FormattingEnabled = true;
            this.cmbHOrg.ImeMode = System.Windows.Forms.ImeMode.On;
            this.cmbHOrg.Location = new System.Drawing.Point(347, 187);
            this.cmbHOrg.Location = new System.Drawing.Point(463, 234);
            this.cmbHOrg.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmbHOrg.Name = "cmbHOrg";
            this.cmbHOrg.Size = new System.Drawing.Size(167, 20);
            this.cmbHOrg.Size = new System.Drawing.Size(221, 23);
            this.cmbHOrg.TabIndex = 18;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.White;
            this.label5.Location = new System.Drawing.Point(279, 190);
            this.label5.Location = new System.Drawing.Point(372, 238);
            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(59, 12);
            this.label5.Size = new System.Drawing.Size(77, 15);
            this.label5.TabIndex = 17;
            this.label5.Text = "组    ç»‡:";
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(269, 339);
            this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.button1.Location = new System.Drawing.Point(359, 424);
            this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(81, 25);
            this.button1.Size = new System.Drawing.Size(108, 31);
            this.button1.TabIndex = 19;
            this.button1.Text = "刷卡登陆";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // textBox1
            // 
            this.textBox1.ImeMode = System.Windows.Forms.ImeMode.On;
            this.textBox1.Location = new System.Drawing.Point(347, 149);
            this.textBox1.Location = new System.Drawing.Point(463, 186);
            this.textBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(167, 21);
            this.textBox1.Size = new System.Drawing.Size(221, 25);
            this.textBox1.TabIndex = 20;
            this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
            this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
            // 
            // FrmLogin
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.ClientSize = new System.Drawing.Size(613, 401);
            this.ClientSize = new System.Drawing.Size(817, 501);
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.cmbHOrg);
@@ -294,6 +316,7 @@
            this.Controls.Add(this.label1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.ImeMode = System.Windows.Forms.ImeMode.On;
            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FrmLogin";
BLL/¹«ÓÃÄ£¿é/FrmLogin.resx
@@ -121,7 +121,7 @@
    <value>17, 17</value>
  </metadata>
  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>25</value>
    <value>66</value>
  </metadata>
  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="$this.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
DAL/³µ¼ä¹ÜÀí/ClsSc_ProcessExchangeBill.cs
@@ -117,6 +117,7 @@
                ",HMaterTexture='" + omodel.HMaterTexture + "'" +
                ",HProductNum='" + omodel.HProductNum + "'" +
                ",HVerNum='" + omodel.HVerNum + "'" +
                ",HWorkBillSortNo='" + omodel.HWorkBillSortNo + "'" +
                //加入生产类型
                ",HWorkTypeNum='" + omodel.HWorkTypeNum + "'" +
                " where HInterID=" + lngBillKey.ToString());
@@ -167,7 +168,7 @@
                      ",'" + oSub.HKeyProc + "','" + oSub.HFstProc + "'," + oSub.HICMOInterID.ToString() + ",'" + oSub.HICMOBillNo + "'," + oSub.HWWOrderInterID.ToString() +
                      "," + oSub.HWWOrderEntryID.ToString() + ",'" + oSub.HWWOrderBillNo + "'," + oSub.HReportQty.ToString() + "," + Convert.ToString(oSub.HBackProc ? 1 : 0) +
                      "," + oSub.HSupID.ToString() + "," + Convert.ToString(oSub.HSupFlag ? 1 : 0) + "," + oSub.HOverRate.ToString() + "," + oSub.HMaxQty.ToString() + ",'" + oSub.HTechnologyParameter + "','" + oSub.HProcCheckNote + "','" + oSub.HPicNum + "'" +
                      ",'" + oSub.HMouldNo?.ToString() + "','" + oSub.HProcWorkNum?.ToString() + "','"+ omodel.HSeOrderInterID.ToString() + "','"+ omodel.HSeOrderEntryID.ToString() + "'"+
                      ",'" + oSub.HMouldNo.ToString() + "','" + oSub.HProcWorkNum.ToString() + "','" + DBUtility.ClsPub.isStrNull(omodel.HSeOrderInterID) + "','" + DBUtility.ClsPub.isStrNull(omodel.HSeOrderEntryID) + "'"+
                      ") ");
                    oCn.RunProc(sql1);
                }
@@ -268,6 +269,7 @@
        //新增单据
        public override bool AddBill(ref string sReturn)
        {
            string sErr = "";
            try
            {
                //得到mainid
@@ -278,6 +280,7 @@
                //omodel.HProjectNum = "";
                //omodel.HProjectNum = GetNewCodeByNum(omodel.HInterID, 1, 3).ToString();
                //
                oCn.BeginTran();
                //主表
                oCn.RunProc("Insert Into Sc_ProcessExchangeBillMain   " +
@@ -291,7 +294,7 @@
                ",HProdMaterName,HCusName,HWorkRemark,HImportNote,HMaterNumber_A" +
                ",HMaterNumber_B,HMaterNumber_C,HMaterNumber_D,HProdType,HMaterShortName" +
                ",HMaterIDA,HMaterIDB,HMaterIDC,HMaterIDD,HICMOEntryID" +
                ",HPicNumVer,HPicNumAssemble,HMaterTexture,HProductNum,HVerNum,HPRDORGID,HBLFlag" +
                ",HPicNumVer,HPicNumAssemble,HMaterTexture,HProductNum,HVerNum,HPRDORGID,HBLFlag,HWorkBillSortNo" +
                ") " +
                " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "','" + omodel.HMaker + "',getdate()," + "" + (omodel.HPrevMainSourceInterID == 0 ? omodel.HInterID : omodel.HPrevMainSourceInterID) +
                "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HBatchNo + "'," + omodel.HMainMaterID.ToString() + "," + omodel.HKeyMaterID.ToString() + "," + omodel.HNo.ToString() + ",'" + omodel.HOrderProcNO + "'" +
@@ -303,8 +306,9 @@
                ",'" + omodel.HProdMaterName + "','" + omodel.HCusName + "','" + omodel.HWorkRemark + "','" + omodel.HImportNote + "','" + omodel.HMaterNumber_A + "'" +
                ",'" + omodel.HMaterNumber_B + "','" + omodel.HMaterNumber_C + "','" + omodel.HMaterNumber_D + "','" + omodel.HProdType + "','" + omodel.HMaterShortName + "'" +
                ",'" + omodel.HMaterIDA + "','" + omodel.HMaterIDB + "','" + omodel.HMaterIDC + "','" + omodel.HMaterIDD + "'," + omodel.HICMOEntryID +
                ",'" + omodel.HPicNumVer + "','" + omodel.HPicNumAssemble + "','" + omodel.HMaterTexture + "','" + omodel.HProductNum + "','" + omodel.HVerNum + "','"+ omodel.HPRDORGID+ "','"+omodel.HBLFlag+"'" +
                ") ");
                ",'" + omodel.HPicNumVer + "','" + omodel.HPicNumAssemble + "','" + omodel.HMaterTexture + "','" + omodel.HProductNum + "','" + omodel.HVerNum + "','"+ omodel.HPRDORGID+ "','"+omodel.HBLFlag+"','" + omodel.HWorkBillSortNo +
                "') ");
                sErr = sErr + "1;";
                //插入子表
                foreach (Model.ClsSc_ProcessExchangeBillSub oSub in DetailColl)
                {
@@ -344,9 +348,11 @@
                      ",'" + oSub.HKeyProc + "','" + oSub.HFstProc + "'," + oSub.HICMOInterID.ToString() + ",'" + oSub.HICMOBillNo + "'," + oSub.HWWOrderInterID.ToString() +
                      "," + oSub.HWWOrderEntryID.ToString() + ",'" + oSub.HWWOrderBillNo + "'," + oSub.HReportQty.ToString() + "," + Convert.ToString(oSub.HBackProc ? 1 : 0) +
                      "," + oSub.HSupID.ToString() + "," + Convert.ToString(oSub.HSupFlag ? 1 : 0) + "," + oSub.HOverRate.ToString() + "," + oSub.HMaxQty.ToString() + ",'" + oSub.HTechnologyParameter + "','" + oSub.HProcCheckNote + "','" + oSub.HPicNum + "'" +
                      ",'" + oSub.HMouldNo?.ToString() + "','" + oSub.HProcWorkNum?.ToString() + "','" + omodel.HSeOrderInterID.ToString() + "','" + omodel.HSeOrderEntryID.ToString() + "'" +
                      ",'" + oSub.HMouldNo.ToString() + "','" + oSub.HProcWorkNum.ToString() + "','" + DBUtility.ClsPub.isStrNull( omodel.HSeOrderInterID) + "','" + DBUtility.ClsPub.isStrNull(omodel.HSeOrderEntryID) + "'" +
                      ") ");
                    sErr = sErr + sql1 + "2;";
                    oCn.RunProc(sql1);
                    sErr = sErr + "2;";
                    //更新所选流转卡数量
                    if (!oSub.HBackProc)
                    {
@@ -357,10 +363,13 @@
                        }
                    }
                    sErr = sErr + "3;";
                }
                oCn.RunProc("exec h_p_Sc_ProcessExchangeBill_SetRemark " + omodel.HInterID.ToString()); //设置 å¤‡æ³¨ ä¸º å·¥è‰ºæµ
                sErr = sErr + "4;";
                oCn.RunProc("exec h_p_Sc_ProcessExchangeBill_SetUpdate " + omodel.HInterID.ToString()); //设置 æœ«é“ é¦–道 è½¬ ç­‰ä¿¡æ¯
                sErr = sErr + "5;";
                DataSet ds = new DataSet();
                //设置条码号  å›žå¡« é¢†æ–™æ‰¹æ¬¡
                ds = oCn.RunProcReturn("exec h_p_Mes_ProcessExchangeBackBarCode " + omodel.HInterID.ToString(), "h_p_Mes_ProcessExchangeBackBarCode");
@@ -371,10 +380,11 @@
                    return false;
                }
                sErr = sErr + "6;";
                //oCn.RunProc("exec h_p_Sc_ProcessExchangeBill_SetDate " + omodel.HInterID.ToString());  //回填 å¼€å·¥å®Œå·¥æ—¥æœŸ 
                //oCn.RunProc("exec h_p_Sc_ProcessExchangeBill_RelationQty " + omodel.HInterID.ToString() + ",1"); //返工流转卡 åå†™ æ‹†åˆ†æ•°é‡  å›žå¡«ä»»åŠ¡å• æµè½¬å¡æ•°é‡  å›žå¡«ä»»åŠ¡å•ä¸Šé™æ•°é‡
                //控制关联数量
                ds = null;
                ds = oCn.RunProcReturn("exec h_p_Sc_ProcessExchangeBill_Checkqty " + omodel.HInterID.ToString(), "h_p_Sc_ProcessExchangeBill_Checkqty");
@@ -385,6 +395,7 @@
                    return false;
                }
                sErr = sErr + "7;";
                //
                sReturn = "新增单据成功!";
@@ -393,7 +404,7 @@
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                sReturn = sErr + "," +  e.Message;
                oCn.RollBack();
                throw (e);
            }
DAL/³µ¼ä¹ÜÀí/ClsSc_StationInBill.cs
@@ -323,9 +323,12 @@
        public override bool AddBill(ref string sReturn)
        {
            try
            {
            {
                //得到mainid
                omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                if (DBUtility.ClsPub.isLong(omodel.HInterID) == 0)
                {
                    omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                }
                //若MAINDI重复则重新获取
                oCn.BeginTran();
                //主表
@@ -389,7 +392,11 @@
                //////
                oCn.RunProc("exec h_p_Mes_ProcessExchangeRelationQty_In " + omodel.HInterID.ToString() + ",1");
                //==================进站单启用配件清单绑定, è¿›è¡Œ ä¿å­˜å¼ºåˆ¶æŽ§åˆ¶
                //==============================
                //判断是否是 é¦–道工序
                DataSet ds1;
                ds1 = oCn.RunProcReturn(" select HLastProc,HFstProc from Sc_ProcessExchangeBillMain a  " + 
Model/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/ClsGy_Source_Model.cs
@@ -22,5 +22,6 @@
        public double HMaxWorkTimes;//money        //单班最大工时             --addnew
        public double HMinAdd;//        money        //最小进阶             --addnew
        public Int64 HClassCount;//    int        //每日班次                  --addnew
        public int HUSEORGID;
    }
}
Model/³µ¼ä¹ÜÀí/ClsSc_ProcessExchangeBillMain.cs
@@ -66,5 +66,6 @@
        public string HVerNum;//版本
        public string HSeOrderEntryID;
        public string HSeOrderInterID;
        public string HWorkBillSortNo;
    }
}
Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -406,6 +406,10 @@
                    {
                        omodel.Kf_OtherInBill_BillTypeOneScan = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                    }
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherInBillCheck_MustQtyCtl")
                    {
                        omodel.Kf_OtherInBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                    }
                    //其他出库单
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherOutBill_AutoCheck")
                    {
@@ -422,6 +426,10 @@
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherOutBill_BillTypeOneScan")
                    {
                        omodel.Kf_OtherOutBill_BillTypeOneScan = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                    }
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherOutBillCheck_MustQtyCtl")
                    {
                        omodel.Kf_OtherOutBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                    }
                    //调拨单
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBill_AutoCheck")
@@ -667,7 +675,12 @@
                    {
                        omodel.MES_StationInBill_DeleteCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                    }
                    //进站接收时是否绑定该工序的配件清单
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationInBill_LineBindCtl")
                    {
                        omodel.MES_StationInBill_LineBindCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                    }
                    //===============出站单
                    //出站数量不能大于本道进站汇总数
                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_QtyCtl")
Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -98,12 +98,14 @@
        public string Kf_OtherInBill_MustQtyCtl;
        public string Kf_OtherInBill_BarCodeMustSameSourceBill;   // æ¡ç å¿…须同源单一致
        public string Kf_OtherInBill_BillTypeOneScan;//本单据类型内只允许一次扫码(唯一码,含缓存列表)
        public string Kf_OtherInBillCheck_MustQtyCtl;   //校验数量控制
        //其他出库
        public string Kf_OtherOutBill_AutoCheck;
        public string Kf_OtherOutBill_ERPMode;
        public string Kf_OtherOutBill_MustQtyCtl;
        public string Kf_OtherOutBill_BarCodeMustSameSourceBill;   // æ¡ç å¿…须同源单一致
        public string Kf_OtherOutBill_BillTypeOneScan;//本单据类型内只允许一次扫码(唯一码,含缓存列表)
        public string Kf_OtherOutBillCheck_MustQtyCtl;   //校验数量控制
        //调拨
        public string Kf_MoveStockBill_AutoCheck;
        public string Kf_MoveStockBill_ERPMode;
@@ -179,6 +181,7 @@
        public string MES_StationInBill_FirstCheckOut;          //必须首件检验通过才能保存单据
        public string MES_StationInBill_ProcessCheckCtl;        //进站单当前工序的上道工序是否做工序检验
        public string MES_StationInBill_DeleteCtl;              //删除单据时制单人与删除人必须一致
        public string MES_StationInBill_LineBindCtl;              //进站接收时是否绑定该工序的配件清单
        //出站单
        public string MES_StationOutBill_QtyCtl;                //出站数量不能大于本道进站汇总数
        public string MES_StationOutBill_ProcessCheckOut;          //必须工序检验通过才能保存单据
WarM/Sc_MESNowWorkBill_Fast.cs
New file
@@ -0,0 +1,1593 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using gregn6Lib;
using Pub_Class;
using System.IO;
namespace WarM
{
    public partial class Sc_MESNowWorkBill_Fast : Form
    {
        //BLL.BardCodeHooK BarCode = new BLL.BardCodeHooK();
        public Sc_MESNowWorkBill_Fast()
        {
            InitializeComponent();
            //BarCode.BarCodeEvent += new BLL.BardCodeHooK.BardCodeDeletegate(BarCode_BarCodeEvent);
        }
        //定义列
        public const Int16 HTagCol = 0;
        public const Int16 HSnoCol = 1;
        public const Int16 HProcIDCol = 2;
        public const Int16 HProcNumberCol = 3;
        public const Int16 HProcNameCol = 4;
        public const Int16 HMaterIDCol = 5;
        public const Int16 HMaterNumberCol = 6;
        public const Int16 HMaterNameCol = 7;
        public const Int16 HEmpIDCol = 8;
        public const Int16 HEmpNumberCol = 9;
        public const Int16 HEmpNameCol = 10;
        public const Int16 HGroupIDCol = 11;
        public const Int16 HGroupNumberCol = 12;
        public const Int16 HGroupNameCol = 13;
        public const Int16 HSourceIDCol = 14;
        public const Int16 HSourceNumberCol = 15;
        public const Int16 HSourceNameCol = 16;
        public const Int16 HBadBarCodeCol = 17;
        public const Int16 HBadReasonIDCol = 18;
        public const Int16 HBadReasonNumberCol = 19;
        public const Int16 HBadReasonNameCol = 20;
        public const Int16 HBadCountCol = 21;
        public const Int16 HBadPrirceCol = 22;
        public const Int16 HBadMoneyCol = 23;
        public const Int16 HCheckEmpIDCol = 24;
        public const Int16 HCheckEmpNumberCol = 25;
        public const Int16 HCheckEmpNameCol = 26;
        public const Int16 HICMOInterIDCol = 27;
        public const Int16 HICMOBillNoCol = 28;
        public const Int16 HWWOrderInterIDCol = 29;
        public const Int16 HWWOrderEntryIDCol = 30;
        public const Int16 HWWOrderBillNoCol = 31;
        public const Int16 HSeOrderInterIDCol = 32;
        public const Int16 HSeOrderEntryIDCol = 33;
        public const Int16 HSeOrderBillNoCol = 34;
        public const Int16 HProcExchInterIDCol = 35;
        public const Int16 HProcExchEntryIDCol = 36;
        public const Int16 HProcExchBillNoCol = 37;
        public const Int16 HProcExchReportInterIDCol = 38;
        public const Int16 HProcExchReportEntryIDCol = 39;
        public const Int16 HProcExchReportBillNoCol = 40;
        public const Int16 HEntryIDCol = 41;
        public const Int16 HCloseManCol = 42;
        public const Int16 HEntryCloseDateCol = 43;
        public const Int16 HCloseTypeCol = 44;
        public const Int16 HRemarkCol = 45;
        public const Int16 HSourceInterIDCol = 46;
        public const Int16 HSourceEntryIDCol = 47;
        public const Int16 HSourceBillNoCol = 48;
        public const Int16 HSourceBillTypeCol = 49;
        public const Int16 HRelationQtyCol = 50;
        public const Int16 HRelationMoneyCol = 51;
        //
        //
        //表2
        public const Int16 SecHTagCol = 0;
        public const Int16 SecHSnoCol = 1;
        public const Int16 SecHMaterIDCol = 2;
        public const Int16 SecHMaterNumberCol = 3;
        public const Int16 SecHMaterNameCol = 4;
        public const Int16 SecHMaterModelCol = 5;
        public const Int16 SecHBarCodeCol = 6;
        public const Int16 SecHQtyCol = 7;
        public const Int16 SecHWhIDCol = 8;
        public const Int16 SecHWhNumberCol = 9;
        public const Int16 SecHWhNameCol = 10;
        public const Int16 SecHSourceInterIDCol = 11;
        public const Int16 SecHSourceEntryIDCol = 12;
        public const Int16 SecHSourceBillTypeCol = 13;
        public const Int16 SecHSourceBillNoCol = 14;
        //
        public const string ModName = "3787";                   //单据类型
        public string ModCaption = "工位作业指导书";          //单据名称
        public const string ModRightName = "Sc_MESBeginWorkBill";
        public const string ModRightNameEdit = ModRightName + "_Edit";
        public const string ModRightNameCheck = ModRightName + "_Check";
        public const string ModRightNameClose = ModRightName + "_Close";
        public const string ModRightNameDelete = ModRightName + "_Delete";
        public const string ModRightNameMoney = ModRightName + "_Money";
        public const string ModRightNameQty = ModRightName + "_Qty";
        public bool BillChange;                                 //单据修改状态
        //
        public DBUtility.ClsPub.Enum_BillStatus BillStatus;     //单据状态(新增,修改,浏览,更新单价,变更)
        public Int64 KeyID;                                     //单据主内码
        public bool  grdStatus;                                 //网格状态(不可编辑,可编辑)
        public long HICMOInterID = 0;
        public string HICMOBillNo = "";
        public long HMaterID = 0;
        public string HBatchNo = "";
        public DAL.ClsSc_MESBeginWorkBill BillNew =new  DAL.ClsSc_MESBeginWorkBill();   //对应单据类
        public DAL.ClsSc_MESBeginWorkBill BillOld = new DAL.ClsSc_MESBeginWorkBill();   //对应单据类
        Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum();
        //-------------------------------------------------------------------------
        #region å›ºå®šä»£ç 
        //清空界面
        public void Sub_ClearBill()
        {
            DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp);
            //
        }
        //窗体加载
        private void Sc_MESNowWorkBill_Fast_Load(object sender, EventArgs e)
        {
            //打印初始化
            //
            //oSumGrid_Sub.NoCol = SecHSnoCol;
            //oSumGrid_Sub.ogrdMain = grdSub;
            //oSumGrid_Sub.oGridsum = grdSumSub;
            this.Text = ModCaption;     //命名窗体标题
            this.lblCaption.Text = ModCaption;//命名单据标题
            //
            //BarCode.Start();
        }
        //首张
        private void Sub_First()
        {
            BillStatus =DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
            BillOld = new DAL.ClsSc_MESBeginWorkBill();
            if (BillOld.GetFirstBill(ref  ClsPub.sExeReturnInfo))
            {
                this.Sub_ShowBill();
            }
            else  //没有找到则 å˜ä¸ºæ–°å¢žçŠ¶æ€
            {
                this.Sub_AddBill();
            }
        }
        //上张
        private void Sub_Prev()
        {
            BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
            if (BillOld.GetPrevousBill(ref  ClsPub.sExeReturnInfo,txtHBillNo.Text))
            {
                this.Sub_ShowBill();
            }
        }
        //下张
        private void Sub_Next()
        {
            BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
            if (BillOld.GetNextBill(ref  ClsPub.sExeReturnInfo, txtHBillNo.Text))
            {
                this.Sub_ShowBill();
            }
        }
        //末张
        private void Sub_Last()
        {
            BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
            BillOld = new DAL.ClsSc_MESBeginWorkBill();
            if (BillOld.GetLastBill(ref  ClsPub.sExeReturnInfo))
            {
                this.Sub_ShowBill();
            }
        }
        //审核单据
        private void Sub_CheckBill()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            string s = "";
            if (!DBUtility.Xt_BaseBillFun.Fun_AllowCheckBill(BillOld, ref s))
            {
                MessageBox.Show(s + ",不允许审核", "提示");
                return;
            }
            if (BillOld.CheckBill(BillOld.omodel.HInterID, ref ClsPub.sExeReturnInfo) == true)
            {
                BillChange = true;
                this.Sub_ShowBill();
            }
            else
            {
                MessageBox.Show("审核失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            }
        }
        //反审单据
        private void Sub_AbandonCheck()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameCheck, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            string s = "";
            if (DBUtility.Xt_BaseBillFun.Fun_AllowAbandonCheckBill(BillOld.omodel.HChecker, ref s) == false)
            {
                MessageBox.Show("当前操作员与审核人不一致,不允许反审核!", "提示");
                return;
            }
            if (BillOld.AbandonCheck(BillOld.omodel.HInterID, ref ClsPub.sExeReturnInfo) == true)
            {
                BillChange = true;
                this.Sub_ShowBill();
            }
            else
            {
                MessageBox.Show("反审核失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            }
        }
        //关闭单据
        private void Sub_CloseBill()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameClose, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            string s = "";
            if (!DBUtility.Xt_BaseBillFun.Fun_AllowCloseBill(BillOld, ref s))
            {
                MessageBox.Show(s + ",不允许关闭", "提示");
                return;
            }
            if (BillOld.CloseBill(BillOld.omodel.HInterID, ref ClsPub.sExeReturnInfo) == true)
            {
                BillChange = true;
                this.Sub_ShowBill();
            }
            else
            {
                MessageBox.Show("关闭失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            }
        }
        //反关闭单据
        private void Sub_Cancel()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameClose, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            string s = "";
            if (!DBUtility.Xt_BaseBillFun.Fun_AllowCancelBill(BillOld, ref s))
            {
                MessageBox.Show(s + ",不允许恢复", "提示");
                return;
            }
            if (BillOld.CancelClose(BillOld.omodel.HInterID, ref ClsPub.sExeReturnInfo) == true)
            {
                BillChange = true;
                this.Sub_ShowBill();
            }
            else
            {
                MessageBox.Show("恢复失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            }
        }
        //作废单据
        private void Sub_Cancelltion()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameDelete, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            string s = "";
            if (!DBUtility.Xt_BaseBillFun.Fun_AllowCancelltionBill(BillOld, ref s))
            {
                MessageBox.Show(s + ",不允许作废", "提示");
                return;
            }
            if (BillOld.Cancelltion(BillOld.omodel.HInterID, ref ClsPub.sExeReturnInfo) == true)
            {
                BillChange = true;
                this.Sub_ShowBill();
            }
            else
            {
                MessageBox.Show("作废失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            }
        }
        //反作废
        private void Sub_AbandonCancelltion()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameDelete, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            string s = "";
            if (!DBUtility.Xt_BaseBillFun.Fun_AllowAbandonCancelltionBill(BillOld, ref s))
            {
                MessageBox.Show(s + ",不允许恢复正常", "提示");
                return;
            }
            if (BillOld.AbandonCancelltion(BillOld.omodel.HInterID, ref ClsPub.sExeReturnInfo) == true)
            {
                BillChange = true;
                this.Sub_ShowBill();
            }
            else
            {
                MessageBox.Show("作废失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            }
        }
        //新增按纽
        private void xz_Click(object sender, EventArgs e)
        {
            //cmbSourceBillType.Items.Clear();
            //cmbSourceBillType.Items.Add("发货通知单");
            //cmbSourceBillType.Items.Add("手工录入");
            //cmbSourceBillType.SelectedIndex = 0;
            redblue.Checked = false;
            this.Sub_AddBill();
        }
        //修改按纽
        private void xg_Click(object sender, EventArgs e)
        {
        }
        //删除按钮
        private void sc_Click(object sender, EventArgs e)
        {
        }
        //保存按钮
        private void bc_Click(object sender, EventArgs e)
        {
        }
        //放弃按钮
        private void fq_Click(object sender, EventArgs e)
        {
        }
        //审核按钮
        private void sh_Click(object sender, EventArgs e)
        {
        }
        //放弃审核按钮
        private void qsh_Click(object sender, EventArgs e)
        {
        }
        //关闭按钮
        private void gb_Click(object sender, EventArgs e)
        {
        }
        //恢复按钮
        private void hf_Click(object sender, EventArgs e)
        {
        }
        //作废按钮
        private void zf_Click(object sender, EventArgs e)
        {
        }
        //反作废按钮
        private void zc_Click(object sender, EventArgs e)
        {
        }
        //首张单据按钮
        private void sz_Click(object sender, EventArgs e)
        {
        }
        //上一张按钮
        private void syz_Click(object sender, EventArgs e)
        {
        }
        //下一张按钮
        private void xyz_Click(object sender, EventArgs e)
        {
        }
        //末张按钮
        private void mz_Click(object sender, EventArgs e)
        {
        }
        //退出按钮
        private void tc_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        //根据编辑状态 è®¾ç½® æŽ§ä»¶æ˜¯å¦å…è®¸å½•å…¥
        private void Sub_LrtextStatus(bool TextEnabled)
        {
            if (TextEnabled == true)
            {
                //控件全部有效
                gbUp.Enabled = true;
            }
            else
            {   //控件全部无效
                gbUp.Enabled = false;
            }
        }
        //复制单据
        private void Sub_CopyBill()
        {
            this.BillStatus =DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
            this.Sub_OperStatus();//设置TOOLBAR
            this.txtHBillNo.Text = ClsPub.CreateBillCode(BillNew.BillType, ref ClsPub.sExeReturnInfo, true);//得到新单号
            this.txtHBillNo.Enabled = true;
            //this.txtHBillNo.Focus();
            //清空GIRD æºå•信息
            //DBUtility.Xt_BaseBillFun.SetDataGrid(grdMain, 0, HPOOrderEntryIDCol, grdMain.Rows.Count - 1, HCloseTypeCol, "");
        }
        //复制按钮
        private void fz_Click(object sender, EventArgs e)
        {
            Sub_CopyBill();
        }
        //timer
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            //DAL.ClsK3_Material_View oMater = new DAL.ClsK3_Material_View();
            this.Sub_AddBill();
            this.ShowPic();
            //txtHICMOBillNo.Text = HICMOBillNo;
            //txtHBatchNo.Text = HBatchNo;
            //if (oMater.GetInfoByID(HMaterID))
            //{
            //    txtHMaterID.Text = oMater.omodel.HNumber;
            //    txtHName.Text = oMater.omodel.HName;
            //    txtHModel.Text = oMater.omodel.HModel;
            //}
        }
        //窗体卸载
        private void Sc_MESNowWorkBill_Fast_FormClosing(object sender, FormClosingEventArgs e)
        {
            BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        }
        //新增单据
        private void Sub_AddBill()
        {
            //this.BillNew = new DAL.ClsSc_MESBeginWorkBill();
            //this.BillOld = new DAL.ClsSc_MESBeginWorkBill();
            this.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
            this.Sub_OperStatus();//设置TOOLBAR
            this.Sub_ClearBill();//清空界面
            //this.txtHBillNo.Text = ClsPub.CreateBillCode(BillNew.BillType, ref ClsPub.sExeReturnInfo, true);//得到新单号
            //this.txtHBillNo.Enabled = true;
            this.txtHICMOBillNo.Focus();
            //灰度源单类型
            //cmbSourceBillType.Enabled = true;
            //txtHBeginWorkTime.Text = DBUtility.ClsPub.GetServerDate(-1);
        }
        //TOOLBAR状态  æŒ‰é’®æ˜¯å¦ç°åº¦
        public void Sub_OperStatus()
        {
            switch (BillStatus)
            {
                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View:
                    //浏览状态
                    dy.Enabled = true;
                    yl.Enabled = true;
                    xz.Enabled = true;
                    xg.Enabled = true;
                    sc.Enabled = true;
                    AddRow.Enabled = false;
                    DelRow.Enabled = false;
                    bc.Enabled = false;
                    fq.Enabled = false;
                    sz.Enabled = true;
                    syz.Enabled = true;
                    xyz.Enabled = true;
                    mz.Enabled = true;
                    tc.Enabled = true;
                    redblue.Enabled = false;
                    //未审核
                    Sub_LrtextStatus(false);
                    grdStatus = false;
                    break;
                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew:
                    //新增状态
                    dy.Enabled = false;
                    yl.Enabled = false;
                    xz.Enabled = false;
                    xg.Enabled = false;
                    sc.Enabled = false;
                    AddRow.Enabled = true;
                    DelRow.Enabled = true;
                    bc.Enabled = true;
                    fq.Enabled = true;
                    sh.Enabled = false;
                    qsh.Enabled = false;
                    //gb.Enabled = false;
                    //hf.Enabled = false;
                    //zf.Enabled = false;
                    //zc.Enabled = false;
                    sz.Enabled = false;
                    syz.Enabled = false;
                    xyz.Enabled = false;
                    mz.Enabled = false;
                    tc.Enabled = true;
                    Sub_LrtextStatus(true);
                    grdStatus = true;
                    redblue.Enabled = true;
                    //未审核
                    pic1.Visible = false;
                    pic1.Image = null;
                    //
                    break;
                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify:
                    //修改状态
                    dy.Enabled = false;
                    yl.Enabled = false;
                    xz.Enabled = false;
                    xg.Enabled = false;
                    sc.Enabled = false;
                    AddRow.Enabled = true;
                    DelRow.Enabled = true;
                    bc.Enabled = true;
                    fq.Enabled = true;
                    sh.Enabled = false;
                    qsh.Enabled = false;
                    //gb.Enabled = false;
                    //hf.Enabled = false;
                    //zf.Enabled = false;
                    //zc.Enabled = false;
                    sz.Enabled = false;
                    syz.Enabled = false;
                    xyz.Enabled = false;
                    mz.Enabled = false;
                    tc.Enabled = true;
                    Sub_LrtextStatus(true);
                    grdStatus = true;
                    redblue.Enabled = true;
                    //未审核
                    pic1.Visible = false;
                    pic1.Image = null;
                    //
                    break;
            }
        }
        #endregion
        #region  è¯»å†™ç±»
        //显示单据
        public void Sub_ShowBill()
        {
            //DAL.ClsK3_Department_View oDept = new DAL.ClsK3_Department_View();
            //DAL.ClsGy_Group_View oGroup = new DAL.ClsGy_Group_View();//班组
            //DAL.ClsK3_Unit_View oUnit = new DAL.ClsK3_Unit_View();
            //DAL.ClsK3_Process_View oPro = new DAL.ClsK3_Process_View();//工序
            //DAL.ClsK3_Material_View oMater = new DAL.ClsK3_Material_View();
            //DAL.ClsK3_Employee_View oEmp = new DAL.ClsK3_Employee_View();
            //DAL.ClsGy_Source_View oSource = new DAL.ClsGy_Source_View();//生产资源
            ////判断是否存在单据
            //if (BillOld.ShowBill(BillOld.omodel.HInterID, ref  ClsPub.sExeReturnInfo) == false)
            //{
            //    MessageBox.Show(ClsPub.sExeReturnInfo, "提示");
            //    return;
            //}
            ////清空
            //Sub_ClearBill();
            ////加载表头
            //if (oDept.GetInfoByID(BillOld.omodel.HDeptID))
            //{
            //    this.txtHDeptID.Tag = oDept.omodel.HItemID.ToString().Trim();
            //    this.txtHDeptID.Text = oDept.omodel.HName;
            //    //this.txtHDeptNumber.Text = oDept.omodel.HNumber;
            //}
            //else
            //{
            //    this.txtHDeptID.Text = "";
            //    //this.txtHDeptNumber.Text = "";
            //}
            ////
            //if (oMater.GetInfoByID(BillOld.omodel.HMaterID))
            //{
            //    this.txtHMaterID.Tag = oMater.omodel.HItemID.ToString().Trim();
            //    this.txtHMaterID.Text = oMater.omodel.HNumber;
            //    this.txtHName.Text = oMater.omodel.HName;
            //    this.txtHModel.Text = oMater.omodel.HModel;
            //}
            //else
            //{
            //    this.txtHMaterID.Text = "";
            //    this.txtHName.Text = "";
            //    this.txtHModel.Text = "";
            //}
            ////
            ////if (oUnit.GetInfoByID(BillOld.omodel.HUnitID))
            ////{
            ////    this.txtHUnitID.Tag = oUnit.omodel.HItemID.ToString().Trim();
            ////    this.txtHUnitID.Text = oUnit.omodel.HName;
            ////    //this.txtHUnitNumber.Text = oUnit.omodel.HNumber;
            ////}
            ////else
            ////{
            ////    this.txtHUnitID.Text = "";
            ////    //this.txtHUnitNumber.Text = "";
            ////}
            ////
            //if (oPro.GetInfoByID(BillOld.omodel.HProcID))
            //{
            //    this.txtHProcID.Tag = oPro.omodel.HItemID.ToString().Trim();
            //    this.txtHProcID.Text = oPro.omodel.HName;
            //}
            //else
            //{
            //    this.txtHProcID.Text = "";
            //}
            ////
            //if (oSource.GetInfoByID(BillOld.omodel.HSourceID))
            //{
            //    this.txtHSourceID.Tag = oSource.omodel.HItemID.ToString().Trim();
            //    this.txtHSourceID.Text = oSource.omodel.HName;
            //}
            //else
            //{
            //    this.txtHSourceID.Text = "";
            //}
            ////
            //if (oEmp.GetInfoByID(BillOld.omodel.HEmpID))
            //{
            //    this.txtHWorkEmpID.Tag = oEmp.omodel.HItemID.ToString().Trim();
            //    this.txtHWorkEmpID.Text = oEmp.omodel.HName;
            //}
            //else
            //{
            //    this.txtHWorkEmpID.Text = "";
            //}
            ////
            //if (oGroup.GetInfoByID(BillOld.omodel.HGroupID))
            //{
            //    this.txtHGroupID.Tag = oGroup.omodel.HItemID.ToString().Trim();
            //    this.txtHGroupID.Text = oGroup.omodel.HName;
            //}
            //else
            //{
            //    this.txtHGroupID.Text = "";
            //}
            ////============================================================
            ////单据固定赋值
            //this.dtpHDate.Value = BillOld.omodel.HDate;
            //this.txtHBillNo.Text = BillOld.omodel.HBillNo;
            //this.txtHRemark.Text = BillOld.omodel.HRemark;
            ////
            //this.txtHICMOBillNo.Tag = BillOld.omodel.HICMOInterID.ToString();
            //this.txtHICMOBillNo.Text = BillOld.omodel.HICMOBillNo;
            //this.txtHBatchNo.Text = BillOld.omodel.HBatchNo;
            //this.txtHBeginWorkTime.Text = BillOld.omodel.HBeginWorkTime.ToString();
            ////this.txtHProcExchInterID.Text = BillOld.omodel.HProcExchInterID.ToString().Trim();
            ////this.txtHProcExchEntryID.Text = BillOld.omodel.HProcExchEntryID.ToString().Trim();
            ////this.txtHProcExchBillNo.Text = BillOld.omodel.HProcExchBillNo;
            //////加载表体
            ////initGrid();
            //////initGrid_Sub();
            ////int i = 0;
            ////foreach (Model.ClsSc_MESBeginWorkBillSub oSub in BillOld.DetailColl)
            ////{
            ////    if (i >= grdMain.RowCount - 1)
            ////        grdMain.Rows.Add();
            ////    //单据固定赋值
            ////    grdMain.Rows[i].Cells[HTagCol].Value = "*";
            ////    grdMain.Rows[i].Cells[HEntryIDCol].Value = oSub.HEntryID.ToString();
            ////    grdMain.Rows[i].Cells[HRemarkCol].Value = oSub.HRemark;
            ////    grdMain.Rows[i].Cells[HCloseManCol].Value = oSub.HCloseMan;
            ////    grdMain.Rows[i].Cells[HEntryCloseDateCol].Value = oSub.HEntryCloseDate;
            ////    grdMain.Rows[i].Cells[HCloseTypeCol].Value = oSub.HCloseType;
            ////    grdMain.Rows[i].Cells[HSourceBillNoCol].Value = oSub.HSourceBillNo;
            ////    grdMain.Rows[i].Cells[HSourceInterIDCol].Value = oSub.HSourceInterID.ToString();
            ////    grdMain.Rows[i].Cells[HSourceEntryIDCol].Value = oSub.HSourceEntryID.ToString();
            ////    grdMain.Rows[i].Cells[HSourceBillTypeCol].Value = oSub.HSourceBillType.Trim();
            ////    grdMain.Rows[i].Cells[HRelationQtyCol].Value = oSub.HRelationQty.ToString();
            ////    grdMain.Rows[i].Cells[HRelationMoneyCol].Value = oSub.HRelationMoney.ToString();
            ////    //======================================================================================
            ////    //
            ////    grdMain.Rows[i].Cells[HProcIDCol].Value = oSub.HProcID.ToString();
            ////    if (oPro.GetInfoByID(oSub.HProcID))
            ////    {
            ////        grdMain.Rows[i].Cells[HProcNumberCol].Value = oPro.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HProcNameCol].Value = oPro.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HProcNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HProcNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HMaterIDCol].Value = oSub.HMaterID.ToString();
            ////    if (oMater.GetInfoByID(oSub.HMaterID))
            ////    {
            ////        grdMain.Rows[i].Cells[HMaterNumberCol].Value = oMater.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HMaterNameCol].Value = oMater.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HMaterNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HMaterNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HEmpIDCol].Value = oSub.HEmpID.ToString();
            ////    if (oEmp.GetInfoByID(oSub.HEmpID))
            ////    {
            ////        grdMain.Rows[i].Cells[HEmpNumberCol].Value = oEmp.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HEmpNameCol].Value = oEmp.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HEmpNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HEmpNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HGroupIDCol].Value = oSub.HGroupID.ToString();
            ////    if (oGroup.GetInfoByID(oSub.HGroupID))
            ////    {
            ////        grdMain.Rows[i].Cells[HGroupNumberCol].Value = oGroup.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HGroupNameCol].Value = oGroup.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HGroupNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HGroupNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HSourceIDCol].Value = oSub.HSourceID.ToString();
            ////    if (oSource.GetInfoByID(oSub.HSourceID))
            ////    {
            ////        grdMain.Rows[i].Cells[HSourceNumberCol].Value = oSource.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HSourceNameCol].Value = oSource.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HSourceNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HSourceNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HBadReasonIDCol].Value = oSub.HBadReasonID.ToString();
            ////    if (oBad.GetInfoByID(oSub.HBadReasonID))
            ////    {
            ////        grdMain.Rows[i].Cells[HBadReasonNumberCol].Value = oBad.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HBadReasonNameCol].Value = oBad.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HBadReasonNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HBadReasonNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HCheckEmpIDCol].Value = oSub.HCheckEmpID.ToString();
            ////    if (oEmp.GetInfoByID(oSub.HCheckEmpID))
            ////    {
            ////        grdMain.Rows[i].Cells[HCheckEmpNumberCol].Value = oEmp.omodel.HNumber;
            ////        grdMain.Rows[i].Cells[HCheckEmpNameCol].Value = oEmp.omodel.HName;
            ////    }
            ////    else
            ////    {
            ////        grdMain.Rows[i].Cells[HCheckEmpNumberCol].Value = "";
            ////        grdMain.Rows[i].Cells[HCheckEmpNameCol].Value = "";
            ////    }
            ////    //
            ////    grdMain.Rows[i].Cells[HBadBarCodeCol].Value = oSub.HBadBarCode.ToString();
            ////    grdMain.Rows[i].Cells[HBadCountCol].Value = oSub.HBadCount.ToString();
            ////    grdMain.Rows[i].Cells[HBadPrirceCol].Value = oSub.HBadPrirce.ToString();
            ////    grdMain.Rows[i].Cells[HBadMoneyCol].Value = oSub.HBadMoney.ToString();
            ////    grdMain.Rows[i].Cells[HICMOInterIDCol].Value = oSub.HICMOInterID.ToString();
            ////    grdMain.Rows[i].Cells[HICMOBillNoCol].Value = oSub.HICMOBillNo;
            ////    grdMain.Rows[i].Cells[HWWOrderInterIDCol].Value = oSub.HWWOrderInterID.ToString();
            ////    grdMain.Rows[i].Cells[HWWOrderEntryIDCol].Value = oSub.HWWOrderEntryID.ToString();
            ////    grdMain.Rows[i].Cells[HWWOrderBillNoCol].Value = oSub.HWWOrderBillNo;
            ////    grdMain.Rows[i].Cells[HSeOrderInterIDCol].Value = oSub.HSeOrderInterID.ToString();
            ////    grdMain.Rows[i].Cells[HSeOrderEntryIDCol].Value = oSub.HSeOrderEntryID.ToString();
            ////    grdMain.Rows[i].Cells[HSeOrderBillNoCol].Value = oSub.HSeOrderBillNo;
            ////    grdMain.Rows[i].Cells[HProcExchInterIDCol].Value = oSub.HProcExchInterID.ToString();
            ////    grdMain.Rows[i].Cells[HProcExchEntryIDCol].Value = oSub.HProcExchEntryID.ToString();
            ////    grdMain.Rows[i].Cells[HProcExchBillNoCol].Value = oSub.HProcExchBillNo;
            ////    grdMain.Rows[i].Cells[HProcExchReportInterIDCol].Value = oSub.HProcExchReportInterID.ToString();
            ////    grdMain.Rows[i].Cells[HProcExchReportEntryIDCol].Value = oSub.HProcExchReportEntryID.ToString();
            ////    grdMain.Rows[i].Cells[HProcExchReportBillNoCol].Value = oSub.HProcExchReportBillNo;
            ////    i = i + 1;
            //}
            ////GRID允许刷新
            //DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
            ////
            //Sub_OperStatus();
            ////灰度源单类型
            ////cmbSourceBillType.Enabled = false;
        }
        //单据完整性判断          æœªå®Œæˆ
        private bool Sub_AllowSave()
        {
            //必输项目是否为空
            //if (DBUtility.ClsPub.isDoule(txtHQty.Text) <= 0)
            //{
            //    MessageBox.Show("实做数量不能为0!", "提示");
            //    return false;
            //}
            if (DBUtility.ClsPub.isLong(txtHProcID.Tag) == 0)
            {
                MessageBox.Show("工序没有选择!", "提示");
                return false;
            }
            if (DBUtility.ClsPub.isLong(txtHMaterID.Tag) == 0)
            {
                MessageBox.Show("产品没有选择!", "提示");
                return false;
            }
            //if (DBUtility.ClsPub.isLong(txtHUnitID.Tag) == 0)
            //{
            //    MessageBox.Show("单位没有选择!", "提示");
            //    return false;
            //}
            //单据号是否重复
            if (BillNew.IsExistBillNo(ref ClsPub.sExeReturnInfo, txtHBillNo.Text.Trim(), BillStatus, BillOld.omodel.HInterID))
            {
                MessageBox.Show("单据号重复!不允许保存!", "提示");
                return false;
            }
            ////明细表是否为零行
            //bool b = false;
            //for (int i = 0; i < grdMain.RowCount; i++)
            //{
            //    if (!IsNullRow(i))
            //    {
            //        b = true;
            //        break;
            //    }
            //}
            //if (b == false)
            //{
            //    MessageBox.Show("表体明细行不存在!请录入!", "提示");
            //    return false;
            //}
            return true;
        }
        //保存单据
        private bool Sub_SaveBill()
        {
            //Model.ClsSc_MESBeginWorkBillSub oBillSub = new Model.ClsSc_MESBeginWorkBillSub();
            ////判断权限
            ////if (!ClsPub.Security_Log(ModRightNameEdit, 1, true, DBUtility.ClsPub.CurUserName))
            ////{
            return false;
            ////}
            ////
            //Int32 i;
            //bool bResult;
            //BillNew = new DAL.ClsSc_MESBeginWorkBill();
            ////失去焦点
            //lblCaption.Focus();
            //if (!Sub_AllowSave())//单据完整性判断
            //    return false;
            ////赋值ID
            //if (BillStatus ==DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
            //    BillNew.omodel.HInterID = BillOld.omodel.HInterID;
            //else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_UpdatePrice)
            //    BillNew.omodel.HInterID = BillOld.omodel.HInterID;
            ////主类赋值
            ////判断会计期是否合理
            //string s = "";
            //int sYear = 0;
            //int sPeriod = 0;
            //if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(dtpHDate.Value, ref sYear, ref sPeriod, ref s)==false)
            //{
            //    MessageBox.Show(s, "提示");
            //    return false;
            //}
            ////源单信息
            ////BillNew.omodel.HMainSourceBillType = cmbSourceBillType.Text;
            ////
            //BillNew.omodel.HYear = sYear;
            //BillNew.omodel.HPeriod = sPeriod;
            ////固定赋值=================================
            //BillNew.omodel.HBillNo = this.txtHBillNo.Text.Trim();  //在赋值类前就处理好字符串和数字
            //BillNew.omodel.HDate = this.dtpHDate.Value;
            //BillNew.omodel.HRemark = this.txtHRemark.Text.Trim();
            ////====================================================
            //BillNew.omodel.HICMOInterID = ClsPub.isLong(this.txtHICMOBillNo.Tag);
            //BillNew.omodel.HICMOBillNo = ClsPub.isStrNull(this.txtHICMOBillNo.Text);
            //BillNew.omodel.HDeptID = ClsPub.isLong(this.txtHDeptID.Tag);
            //BillNew.omodel.HGroupID = ClsPub.isLong(this.txtHGroupID.Tag);
            //BillNew.omodel.HSourceID = ClsPub.isLong(this.txtHSourceID.Tag);
            //BillNew.omodel.HProcID = ClsPub.isLong(this.txtHProcID.Tag);
            //BillNew.omodel.HMaterID = ClsPub.isLong(this.txtHMaterID.Tag);
            //BillNew.omodel.HBatchNo = ClsPub.isStrNull(this.txtHBatchNo.Text);
            //BillNew.omodel.HBeginWorkTime = ClsPub.isDate(this.txtHBeginWorkTime.Text);
            //BillNew.omodel.HBarCodeMakeDate = ClsPub.isDate("1900-01-01");
            ////BillNew.omodel.HPlanQty = ClsPub.isDoule(this.txtHPlanQty.Text);
            ////明细类赋值
            ////BillNew.DetailColl=new List<Model.ClsSc_MESBeginWorkBillSub>();
            ////Model.ClsSc_MESBeginWorkBillSub oSub = new Model.ClsSc_MESBeginWorkBillSub();
            //////固定赋值========================================
            ////oSub.HEntryID = 1;
            ////oSub.HRemark = this.txtHRemark.Text.Trim();
            ////oSub.HSourceInterID = 0;
            ////oSub.HSourceEntryID = 0;
            ////oSub.HSourceBillType = "";
            ////oSub.HSourceBillNo = "";
            ////oSub.HRelationQty = 0;
            ////oSub.HRelationMoney = 0;
            ////oSub.HCloseMan = "";
            ////oSub.HEntryCloseDate = ClsPub.isDate("1900-10-10");
            ////oSub.HCloseType = false;
            //////=============================
            ////BillNew.DetailColl.Add(oSub);
            ////保存完毕后处理
            //if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
            //{
            //    bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo );
            //}
            //else
            //{
            //    bResult = BillNew.ModifyBill(BillNew.omodel.HInterID, ref ClsPub.sExeReturnInfo);
            //}
            ////提示
            //if (bResult == true)
            //{
            //    BillChange = true;
            //    //MessageBox.Show("单据存盘完毕!单据号:" + this.txtHBillNo.Text.Trim(), "提示");
            //    if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
            //    {
            //        BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
            //        BillOld.omodel.HInterID = BillNew.omodel.HInterID;
            //        this.Sub_ShowBill();
            //    }
            //    else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
            //    {
            //        BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
            //        this.Sub_ShowBill();
            //    }
            //    this.Sub_OperStatus();
            //    return true;
            //}
            //else
            //{
            //    MessageBox.Show("保存失败!原因:" + ClsPub.sExeReturnInfo, "提示");
            //    return false;
            //}
        }
        #endregion
        #region çª—体处理方法
        //初始化GRID
        private void cmdHDeptID_Click(object sender, EventArgs e)
        {
            //DAL.ClsK3_Department_View oDep = new DAL.ClsK3_Department_View();
            //if (oDep.RefreshView())
            //{
            //    this.txtHDeptID.Text = oDep.oModel.HName;
            //    this.txtHDeptID.Tag = oDep.oModel.HItemID.ToString();
            //    //this.txtHDeptNumber.Text = oDep.oModel.HNumber;
            //}
            //else
            //{
            //    this.txtHDeptID.Text = "";
            //    //this.txtHDeptNumber.Text = "";
            //}
        }
        private void txtHDeptID_TextChanged(object sender, EventArgs e)
        {
            if (txtHDeptID.Text.Trim() == "")
            {
                txtHDeptID.Tag = "0";
            }
        }
        #endregion
        #region  æºå•处理
        //
        private void FillSelectData(List<DBUtility.BillSelect> oList)
        {
            DataSet Ds;
            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            oSumGrid.Changelock = true;
            //initGrid();
            int i = -1;
            foreach (DBUtility.BillSelect oSelectRow in oList)
            {
                i = i + 1;
                if (oSelectRow.BillType == "3710")//生产任务单
                {
                    //grdMain.Rows.Add();
                    //grdMain.Rows[i].Cells[HTagCol].Value = "*";
                    //得到信息
                    Ds = oCn.RunProcReturn("select * from h_v_K3_ICMOBillList where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_K3_ICMOBillList");
                    //写入信息
                    Sub_WriteInForm_SM(Ds.Tables[0], i);
                }
            }
            //
            oSumGrid.Changelock = false;
            //DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
        }
        //private void Sub_ChangeSourceBill()
        //{
        //    if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew || BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
        //    {
        //        if (MessageBox.Show("单据尚未保存,确定要更换红蓝字?", "提示", MessageBoxButtons.OKCancel) == DialogResult.Cancel)
        //        {
        //            if (redblue.Checked == true)
        //            {
        //                redblue.Checked = false;
        //            }
        //            else
        //            {
        //                redblue.Checked = true;
        //            }
        //            return;
        //        }
        //        if (redblue.Checked == false)//当蓝字被选中
        //        {
        //            //得到对应源单信息
        //            BLL.ClsPub_BLL.GetBillSource(ModName, redblue.Checked, cmbSourceBillType);
        //            cmbSourceBillType.SelectedIndex = 0;
        //        }
        //        else if (redblue.Checked == true)
        //        {
        //            //得到对应源单信息
        //            BLL.ClsPub_BLL.GetBillSource(ModName, redblue.Checked, cmbSourceBillType);
        //            cmbSourceBillType.SelectedIndex = 0;
        //        }
        //        else
        //        {
        //        }
        //        Sub_AddBill();
        //    }
        //}
        //private void redblue_Click(object sender, EventArgs e)
        //{
        //    if (redblue.Checked == true)
        //    {
        //        redblue.Checked = false;
        //    }
        //    else
        //    {
        //        redblue.Checked = true;
        //    }
        //    Sub_ChangeSourceBill();
        //}
        #endregion
        private void yc_Click(object sender, EventArgs e)
        {
        }
        private void åå®¡æ ¸ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Sub_AbandonCheck();
        }
        private void å…³é—­ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Sub_CloseBill();
        }
        private void å®¡æ ¸ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Sub_CheckBill();
        }
        private void åå…³é—­ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Sub_Cancel();
        }
        private void ä½œåºŸToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Sub_Cancelltion();
        }
        private void æ’¤é”€ä½œåºŸToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Sub_AbandonCancelltion();
        }
        private void éšè—åˆ—设置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }
        private void cmdHProcID_Click(object sender, EventArgs e)
        {
            //DAL.ClsK3_Process_View oProc = new DAL.ClsK3_Process_View();
            //if (oProc.RefreshView())
            //{
            //    this.txtHProcNo.Text = oProc.oModel.HNumber;
            //    this.txtHProcID.Text = oProc.oModel.HName;
            //    this.txtHProcID.Tag = oProc.oModel.HItemID.ToString();
            //    //this.txtHICMOBillNo.Focus();
            //}
            //else
            //{
            //    this.txtHProcNo.Text = "";
            //    this.txtHProcID.Text = "";
            //    this.txtHProcID.Tag = 0;
            //}
        }
        private void txtHProcID_TextChanged(object sender, EventArgs e)
        {
            if (txtHProcID.Text.Trim() == "")
            {
                txtHProcID.Tag = "0";
            }
        }
        private void cmdSM_Click(object sender, EventArgs e)
        {
            //if (DBUtility.ClsPub.isInt(txtHProcID.Tag) == 0)
            //{
            //    MessageBox.Show("请先选择汇报工序!");
            //    return;
            //}
            //DataSet Ds;
            //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            //long HInterID = 19623;
            ////得到信息
            //Ds = oCn.RunProcReturn("select * from h_v_Sc_ProcessExchangeBillList  where hmainid=" + HInterID + " and HProcID=" + txtHProcID.Tag, "h_v_Sc_ProcessExchangeBillList");
            ////写入信息
            //if (Ds == null || Ds.Tables[0].Rows.Count == 0)
            //{
            //    return;
            //}
            //for (int i = 0; i < Ds.Tables[0].Rows.Count; i++)
            //{
            //    Sub_WriteInForm_SM(Ds.Tables[0], i);
            //}
        }
        //根据TABLE写入界面
        private void Sub_WriteInForm_SM(DataTable oTable, int i)
        {
            //
            //this.txtHICMOBillNo.Tag = oTable.Rows[0]["HMainID"].ToString();
            //this.txtHICMOBillNo.Text = oTable.Rows[0]["单据号"].ToString();
            //this.txtHMaterID.Tag = oTable.Rows[0]["HMaterID"].ToString();
            //this.txtHMaterID.Text = oTable.Rows[0]["物料代码"].ToString();
            //this.txtHName.Text = oTable.Rows[0]["物料名称"].ToString();
            //this.txtHModel.Text = oTable.Rows[0]["规格型号"].ToString();
            //this.txtHBatchNo.Text = oTable.Rows[0]["批号"].ToString();
            //this.txtHUnitID.Tag = oTable.Rows[0]["HUnitID"].ToString();
            //this.txtHUnitID.Text = oTable.Rows[0]["计量单位"].ToString();
            //this.txtHDeptID.Tag = oTable.Rows[0]["HDeptID"].ToString();
            //this.txtHDeptID.Text = oTable.Rows[0]["部门"].ToString();
            ////this.txtHQty.Text = DBUtility.ClsPub.isDoule(oTable.Rows[0]["计划数量"], 0);
            ////this.txtHPlanQty.Text = DBUtility.ClsPub.isDoule(oTable.Rows[0]["计划数量"], 0);
            ////this.txtHWorkEmpID.Tag = oTable.Rows[0]["HWorkerID"].ToString();
            ////this.txtHWorkEmpID.Text = oTable.Rows[0]["操作工"].ToString();
            //this.dtpHPlanBeginDate.Value = ClsPub.isDate(oTable.Rows[0]["计划开工日期"]);
            //this.dtpHPlanEndDate.Value = ClsPub.isDate(oTable.Rows[0]["计划完工日期"]);
            ////
            //long sProcID = 0;
            //string sProcNo = "";
            //string sProcName = "";
            //if (BillOld.GetICMOProc(DBUtility.ClsPub.isLong(oTable.Rows[0]["HMainID"]), ref sProcID, ref sProcNo, ref sProcName, ref ClsPub.sExeReturnInfo))
            //{
            //    txtHProcID.Tag = sProcID.ToString();
            //    txtHProcID.Text = sProcName;
            //    txtHProcNo.Text = sProcNo;
            //}
        }
        //根据TABLE写入界面
        private void Sub_WriteInForm_SM2(DataTable oTable, int i)
        {
            //DAL.ClsK3_Material_View oMater = new DAL.ClsK3_Material_View();
            //this.txtHProcExchInterID.Text = oTable.Rows[0]["hmainid"].ToString();
            //this.txtHProcExchEntryID.Text = oTable.Rows[0]["hsubid"].ToString();
            ////
            //this.txtHProcID.Tag = oTable.Rows[0]["HProcID"].ToString();
            //this.txtHProcID.Text = oTable.Rows[0]["工序"].ToString();
            //this.txtHDeptID.Tag = oTable.Rows[0]["HDeptID"].ToString();
            //this.txtHDeptID.Text = oTable.Rows[0]["加工车间"].ToString();
            //this.txtHGroupID.Tag = oTable.Rows[0]["HGroupID"].ToString();
            //this.txtHGroupID.Text = oTable.Rows[0]["班组"].ToString();
            ////this.txtHWorkEmpID.Tag = oTable.Rows[0]["HWorkerID"].ToString();
            ////this.txtHWorkEmpID.Text = oTable.Rows[0]["操作工"].ToString();
            //this.txtHSourceID.Tag = oTable.Rows[0]["HSourceID"].ToString();
            //this.txtHSourceID.Text = oTable.Rows[0]["生产资源"].ToString();
        }
        private void cmdHGroupID_Click(object sender, EventArgs e)
        {
            //DAL.ClsK3_Group_View oGroup = new DAL.ClsK3_Group_View();
            //if (oGroup.RefreshView())
            //{
            //    this.txtHGroupID.Text = oGroup.oModel.HName;
            //    this.txtHGroupID.Tag = oGroup.oModel.HItemID.ToString();
            //}
            //else
            //{
            //    this.txtHGroupID.Text = "";
            //    this.txtHGroupID.Tag = 0;
            //}
        }
        private void txtHGroupID_TextChanged(object sender, EventArgs e)
        {
            if (txtHGroupID.Text.Trim() == "")
            {
                txtHGroupID.Tag = "0";
            }
        }
        private void cmdHWorkEmpID_Click(object sender, EventArgs e)
        {
            //DAL.ClsK3_Employee_View oEmp = new DAL.ClsK3_Employee_View();
            //if (oEmp.RefreshView())
            //{
            //    this.txtHWorkEmpID.Text = oEmp.oModel.HName;
            //    this.txtHWorkEmpID.Tag = oEmp.oModel.HItemID.ToString();
            //}
            //else
            //{
            //    this.txtHWorkEmpID.Text = "";
            //    this.txtHWorkEmpID.Tag = 0;
            //}
        }
        private void txtHWorkEmpID_TextChanged(object sender, EventArgs e)
        {
            if (txtHWorkEmpID.Text.Trim() == "")
            {
                txtHWorkEmpID.Tag = "0";
            }
        }
        private void cmdHSourceID_Click(object sender, EventArgs e)
        {
            DAL.ClsGy_Source_View oSource = new DAL.ClsGy_Source_View();
            if (oSource.RefreshView())
            {
                this.txtHSourceID.Text = oSource.oModel.HName;
                this.txtHSourceID.Tag = oSource.oModel.HItemID.ToString();
            }
            else
            {
                this.txtHSourceID.Text = "";
                this.txtHSourceID.Tag = 0;
            }
        }
        private void txtHSourceID_TextChanged(object sender, EventArgs e)
        {
            if (txtHSourceID.Text.Trim() == "")
            {
                txtHSourceID.Tag = "0";
            }
        }
        private void txtHProcExchBillNo_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Return)
            {
                if (txtHProcExchBillNo.Text.Trim() == "")
                {
                    MessageBox.Show("工序流转卡卡号,不能为空!");
                    return;
                }
                //if (DBUtility.ClsPub.isLong(txtHProcID.Tag) == 0)
                //{
                //    MessageBox.Show("请先选择汇报工序!");
                //    return;
                //}
                DataSet Ds;
                SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
                string sBillNo = txtHProcExchBillNo.Text.Trim();
                //得到信息
                Ds = oCn.RunProcReturn("select top 1 * from h_v_Sc_ProcessExchangeBillList  where å•据号= '" + sBillNo + "'", "h_v_Sc_ProcessExchangeBillList");
                //写入信息
                if (Ds == null || Ds.Tables[0].Rows.Count == 0)
                {
                    txtHProcExchBillNo.Text = "";
                    MessageBox.Show("未查询到流转卡信息!");
                    return;
                }
                for (int i = 0; i < Ds.Tables[0].Rows.Count; i++)
                {
                    Sub_WriteInForm_SM(Ds.Tables[0], i);
                }
                Sub_ShowBill();
                txtHProcNo.Focus();
            }
        }
        //private delegate void ShowInfoDelegate(BLL.BardCodeHooK.BarCodes barCode);
        //private void ShowInfo(BLL.BardCodeHooK.BarCodes barCode)
        //{
        //    if (this.InvokeRequired)
        //    {
        //        this.BeginInvoke(new ShowInfoDelegate(ShowInfo), new object[] { barCode });
        //    }
        //    else
        //    {
        //        if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_View)
        //        {
        //            if (barCode.KeyName == "Enter")
        //            {
        //                this.Sub_AddBill();
        //            }
        //        }
        //        txtHProcExchBillNo.Text = barCode.IsValid ? barCode.BarCode : txtHProcExchBillNo.Text;//是否为扫描枪输入,如果为true则是 å¦åˆ™ä¸ºé”®ç›˜è¾“å…¥
        //    }
        //}
        //void BarCode_BarCodeEvent(BLL.BardCodeHooK.BarCodes barCode)
        //{
        //    ShowInfo(barCode);
        //}
        private void txtHQty_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Return)
            {
                Sub_SaveBill();
            }
        }
        private void txtHProcNo_TextChanged(object sender, EventArgs e)
        {
            if (txtHProcNo.Text.Trim() == "")
            {
                txtHProcID.Tag = "0";
                txtHProcID.Text = "";
            }
        }
        private void txtHWorkEmpNo_TextChanged(object sender, EventArgs e)
        {
            if (txtHWorkEmpNo.Text.Trim() == "")
            {
                txtHWorkEmpID.Tag = "0";
                txtHWorkEmpID.Text = "";
            }
        }
        private void txtHProcNo_KeyDown(object sender, KeyEventArgs e)
        {
            //DataSet Ds;
            //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            //string sProcNo = txtHProcNo.Text.Trim();
            //string sBillNo = txtHProcExchBillNo.Text.Trim();
            //if (e.KeyCode == Keys.Return)
            //{
            //    //得到信息
            //    Ds = oCn.RunProcReturn("select * from h_v_Sc_ProcessExchangeBillList  where å•据号= '" + sBillNo + "' and å·¥åºå·='" + sProcNo + "'", "h_v_Sc_ProcessExchangeBillList");
            //    //写入信息
            //    if (Ds == null || Ds.Tables[0].Rows.Count == 0)
            //    {
            //        txtHProcNo.Text = "";
            //        MessageBox.Show("工序号错误,请重新输入!");
            //        return;
            //    }
            //    for (int i = 0; i < Ds.Tables[0].Rows.Count; i++)
            //    {
            //        Sub_WriteInForm_SM2(Ds.Tables[0], i);
            //    }
            //    txtHWorkEmpNo.Focus();
            //}
        }
        private void txtHWorkEmpNo_KeyDown(object sender, KeyEventArgs e)
        {
            //DAL.ClsK3_Employee_View oEmp = new DAL.ClsK3_Employee_View();
            //string sEmp = txtHWorkEmpNo.Text.Trim();
            //if (e.KeyCode == Keys.Return)
            //{
            //    if (oEmp.GetInfoByEmpNo(sEmp))
            //    {
            //        txtHWorkEmpID.Tag = oEmp.omodel.HItemID;
            //        txtHWorkEmpID.Text = oEmp.omodel.HName;
            //    }
            //    else
            //    {
            //        txtHWorkEmpNo.Text = "";
            //        MessageBox.Show("员工工号错误,请重新输入!");
            //        return;
            //    }
            //}
        }
        private void tabControl1_KeyDown(object sender, KeyEventArgs e)
        {
            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_View)
            {
                if (e.KeyCode == Keys.Return)
                {
                    this.Sub_AddBill();
                    txtHProcExchBillNo.Focus();
                }
            }
        }
        private void timer2_Tick(object sender, EventArgs e)
        {
            //if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_View)
            //{
            //    tabControl1.Focus();
            //}
            //else
            //{
            //    if (txtHProcExchBillNo.Text.Trim() == "")
            //    {
            //        txtHProcExchBillNo.Focus();
            //    }
            //}
        }
        private void cmdHICMOBillNo_Click(object sender, EventArgs e)
        {
            //DAL.Cls_S_K3_ICMOBill oICMOBill = new DAL.Cls_S_K3_ICMOBill();
            //string sWhere = " ";
            //if (oICMOBill.Refresh(sWhere))  //选择原单
            //{
            //    FillSelectData(oICMOBill.oBillSelectColl);
            //}
        }
        private void txtHICMOBillNo_KeyDown(object sender, KeyEventArgs e)
        {
            //DataSet Ds;
            //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            //long sICMOInterID = DBUtility.ClsPub.isLong(txtHICMOBillNo.Text.Trim());
            //if (e.KeyCode == Keys.Return)
            //{
            //    //得到信息
            //    Ds = oCn.RunProcReturn("select * from h_v_K3_ICMOBillList where hmainid=" + sICMOInterID.ToString() + " and hsubid=0", "h_v_K3_ICMOBillList");
            //    //写入信息
            //    if (Ds == null || Ds.Tables[0].Rows.Count == 0)
            //    {
            //        txtHICMOBillNo.Text = "";
            //        MessageBox.Show("任务单内码错误,请重新扫描!");
            //        return;
            //    }
            //    for (int i = 0; i < Ds.Tables[0].Rows.Count; i++)
            //    {
            //        Sub_WriteInForm_SM(Ds.Tables[0], i);
            //    }
            //}
        }
        private int ImageCount;
        private List<string> ImagePaths;
        private int nowCount = 0;
        private void ShowPic()
        {
            //FolderBrowserDialog oDialog = new FolderBrowserDialog();
            //oDialog.SelectedPath = Pub_Class.ClsPub.AppPath + @"\" + "PT" + @"\";
            ImagePaths = new List<string>();
            nowCount = 0;
            //if (oDialog.ShowDialog() == DialogResult.OK)
            //{
                foreach (string Path in Directory.GetFiles(Pub_Class.ClsPub.AppPath + @"\" + "PT" + @"\EV30G-7"))
                {
                    ImagePaths.Add(Path);
                }
                if (ImagePaths.Count != 0)
                {
                    ImageCount = ImagePaths.Count;
                }
            //}
            if (nowCount < ImageCount)
            {
                this.pictureBox1.Image = Bitmap.FromFile(ImagePaths[nowCount]);
            }
        }
        private void Select_Click(object sender, EventArgs e)
        {
            FolderBrowserDialog oDialog = new FolderBrowserDialog();
            oDialog.SelectedPath = Pub_Class.ClsPub.AppPath + @"\" + "PT" + @"\";
            ImagePaths = new List<string>();
            nowCount = 0;
            if (oDialog.ShowDialog() == DialogResult.OK)
            {
                foreach (string Path in Directory.GetFiles(oDialog.SelectedPath))
                {
                    ImagePaths.Add(Path);
                }
                if (ImagePaths.Count != 0)
                {
                    ImageCount = ImagePaths.Count;
                }
            }
            if (nowCount < ImageCount)
            {
                this.pictureBox1.Image = Bitmap.FromFile(ImagePaths[nowCount]);
            }
        }
        private void cmbBack_Click(object sender, EventArgs e)
        {
            nowCount--;
            if (nowCount < 0)
            {
                nowCount = 0;
            }
            if (nowCount < ImageCount && nowCount>=0)
            {
                this.pictureBox1.Image = Bitmap.FromFile(ImagePaths[nowCount]);
            }
        }
        private void cmdNext_Click(object sender, EventArgs e)
        {
            nowCount++;
            if (nowCount > ImageCount)
            {
                nowCount = ImageCount - 1;
            }
            if (nowCount < ImageCount && nowCount >= 0)
            {
                this.pictureBox1.Image = Bitmap.FromFile(ImagePaths[nowCount]);
            }
        }
    }
}
WarM/Sc_MESNowWorkBill_Fast.designer.cs
New file
@@ -0,0 +1,2070 @@
namespace WarM
{
    partial class Sc_MESNowWorkBill_Fast
    {
        /// <summary>
        /// å¿…需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// æ¸…理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows çª—体设计器生成的代码
        /// <summary>
        /// è®¾è®¡å™¨æ”¯æŒæ‰€éœ€çš„æ–¹æ³• - ä¸è¦
        /// ä½¿ç”¨ä»£ç ç¼–辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sc_MESNowWorkBill_Fast));
            this.Tool = new System.Windows.Forms.ToolStrip();
            this.set = new System.Windows.Forms.ToolStripButton();
            this.dy = new System.Windows.Forms.ToolStripButton();
            this.yl = new System.Windows.Forms.ToolStripButton();
            this.Select = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.Back = new System.Windows.Forms.ToolStripButton();
            this.Next = new System.Windows.Forms.ToolStripButton();
            this.xz = new System.Windows.Forms.ToolStripButton();
            this.xg = new System.Windows.Forms.ToolStripButton();
            this.sc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
            this.AddRow = new System.Windows.Forms.ToolStripButton();
            this.DelRow = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.bc = new System.Windows.Forms.ToolStripButton();
            this.fq = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.sh = new System.Windows.Forms.ToolStripButton();
            this.qsh = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.sz = new System.Windows.Forms.ToolStripButton();
            this.syz = new System.Windows.Forms.ToolStripButton();
            this.xyz = new System.Windows.Forms.ToolStripButton();
            this.mz = new System.Windows.Forms.ToolStripButton();
            this.tm = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
            this.redblue = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.qt = new System.Windows.Forms.ToolStripDropDownButton();
            this.关闭ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.反关闭ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator();
            this.审核ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.反审核ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator();
            this.作废ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.撤销作废ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
            this.隐藏列设置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.复制单据ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
            this.tc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator();
            this.mrlk = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
            this.bclk = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
            this.lblCaption = new System.Windows.Forms.Label();
            this.P1 = new System.Windows.Forms.Panel();
            this.pic1 = new System.Windows.Forms.PictureBox();
            this.cmdHICMOBillNo = new System.Windows.Forms.Button();
            this.gbUp = new System.Windows.Forms.GroupBox();
            this.cmdHWorkEmpID = new System.Windows.Forms.Button();
            this.cmdHProcID = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.txtHBeginWorkTime = new System.Windows.Forms.TextBox();
            this.label34 = new System.Windows.Forms.Label();
            this.txtHName = new System.Windows.Forms.TextBox();
            this.label51 = new System.Windows.Forms.Label();
            this.cmdHDeptID = new System.Windows.Forms.Button();
            this.txtHDeptID = new System.Windows.Forms.TextBox();
            this.label50 = new System.Windows.Forms.Label();
            this.dtpHPlanEndDate = new System.Windows.Forms.DateTimePicker();
            this.label48 = new System.Windows.Forms.Label();
            this.dtpHPlanBeginDate = new System.Windows.Forms.DateTimePicker();
            this.label49 = new System.Windows.Forms.Label();
            this.txtHWorkEmpNo = new System.Windows.Forms.TextBox();
            this.txtHProcNo = new System.Windows.Forms.TextBox();
            this.label45 = new System.Windows.Forms.Label();
            this.label46 = new System.Windows.Forms.Label();
            this.label43 = new System.Windows.Forms.Label();
            this.txtHModel = new System.Windows.Forms.TextBox();
            this.label42 = new System.Windows.Forms.Label();
            this.txtHBatchNo = new System.Windows.Forms.TextBox();
            this.label38 = new System.Windows.Forms.Label();
            this.txtHTimes = new System.Windows.Forms.TextBox();
            this.dtpHRelEndDate = new System.Windows.Forms.DateTimePicker();
            this.label36 = new System.Windows.Forms.Label();
            this.dtpHRelBeginDate = new System.Windows.Forms.DateTimePicker();
            this.label31 = new System.Windows.Forms.Label();
            this.cmdHSourceID = new System.Windows.Forms.Button();
            this.label37 = new System.Windows.Forms.Label();
            this.txtHSourceID = new System.Windows.Forms.TextBox();
            this.label35 = new System.Windows.Forms.Label();
            this.txtHWorkEmpID = new System.Windows.Forms.TextBox();
            this.cmdHGroupID = new System.Windows.Forms.Button();
            this.txtHGroupID = new System.Windows.Forms.TextBox();
            this.cmdSM = new System.Windows.Forms.Button();
            this.label33 = new System.Windows.Forms.Label();
            this.txtHProcID = new System.Windows.Forms.TextBox();
            this.label30 = new System.Windows.Forms.Label();
            this.txtHProcExchBillNo = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.txtHSumTimes = new System.Windows.Forms.TextBox();
            this.label16 = new System.Windows.Forms.Label();
            this.txtHInStockQty = new System.Windows.Forms.TextBox();
            this.label32 = new System.Windows.Forms.Label();
            this.txtHExplanation = new System.Windows.Forms.TextBox();
            this.cmdHUnitID = new System.Windows.Forms.Button();
            this.label26 = new System.Windows.Forms.Label();
            this.txtHUnitID = new System.Windows.Forms.TextBox();
            this.label14 = new System.Windows.Forms.Label();
            this.txtHMaterID = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtHICMOBillNo = new System.Windows.Forms.TextBox();
            this.txtHRemark = new System.Windows.Forms.TextBox();
            this.label20 = new System.Windows.Forms.Label();
            this.dtpHDate = new System.Windows.Forms.DateTimePicker();
            this.label9 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.txtHBillNo = new System.Windows.Forms.TextBox();
            this.label47 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.txtHProcExchEntryID = new System.Windows.Forms.TextBox();
            this.label29 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.txtHProcExchInterID = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.txtHProcExchReportEntryID = new System.Windows.Forms.TextBox();
            this.txtHProcExchReportInterID = new System.Windows.Forms.TextBox();
            this.txtHInnerBillNo = new System.Windows.Forms.TextBox();
            this.label22 = new System.Windows.Forms.Label();
            this.cmdHMaterID = new System.Windows.Forms.Button();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.panel1 = new System.Windows.Forms.Panel();
            this.cmbBack = new System.Windows.Forms.Button();
            this.panel3 = new System.Windows.Forms.Panel();
            this.cmdNext = new System.Windows.Forms.Button();
            this.grdPrint = new System.Windows.Forms.DataGridView();
            this.timer2 = new System.Windows.Forms.Timer(this.components);
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.Tool.SuspendLayout();
            this.P1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit();
            this.gbUp.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.SuspendLayout();
            //
            // Tool
            //
            this.Tool.AutoSize = false;
            this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage")));
            this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22);
            this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.set,
            this.dy,
            this.yl,
            this.Select,
            this.toolStripSeparator2,
            this.Back,
            this.Next,
            this.xz,
            this.xg,
            this.sc,
            this.toolStripSeparator8,
            this.AddRow,
            this.DelRow,
            this.toolStripSeparator4,
            this.bc,
            this.fq,
            this.toolStripSeparator5,
            this.sh,
            this.qsh,
            this.toolStripSeparator1,
            this.sz,
            this.syz,
            this.xyz,
            this.mz,
            this.tm,
            this.toolStripSeparator6,
            this.redblue,
            this.toolStripSeparator3,
            this.qt,
            this.toolStripSeparator9,
            this.tc,
            this.toolStripSeparator12,
            this.toolStripSeparator13,
            this.mrlk,
            this.toolStripSeparator11,
            this.bclk,
            this.toolStripSeparator10});
            this.Tool.Location = new System.Drawing.Point(0, 0);
            this.Tool.Name = "Tool";
            this.Tool.Padding = new System.Windows.Forms.Padding(0);
            this.Tool.Size = new System.Drawing.Size(1344, 62);
            this.Tool.Stretch = true;
            this.Tool.TabIndex = 17;
            this.Tool.Text = "toolStrip1";
            //
            // set
            //
            this.set.AutoSize = false;
            this.set.Image = ((System.Drawing.Image)(resources.GetObject("set.Image")));
            this.set.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.set.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.set.ImageTransparentColor = System.Drawing.Color.White;
            this.set.Name = "set";
            this.set.Size = new System.Drawing.Size(35, 47);
            this.set.Text = "设置";
            this.set.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.set.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.set.Visible = false;
            //
            // dy
            //
            this.dy.AutoSize = false;
            this.dy.Image = ((System.Drawing.Image)(resources.GetObject("dy.Image")));
            this.dy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.dy.ImageTransparentColor = System.Drawing.Color.White;
            this.dy.Name = "dy";
            this.dy.Size = new System.Drawing.Size(35, 47);
            this.dy.Text = "打印";
            this.dy.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.dy.Visible = false;
            //
            // yl
            //
            this.yl.AutoSize = false;
            this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image")));
            this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.yl.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.yl.Name = "yl";
            this.yl.Size = new System.Drawing.Size(35, 47);
            this.yl.Text = "预览";
            this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.yl.Visible = false;
            //
            // Select
            //
            this.Select.AutoSize = false;
            this.Select.Image = ((System.Drawing.Image)(resources.GetObject("Select.Image")));
            this.Select.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.Select.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.Select.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Select.Name = "Select";
            this.Select.Size = new System.Drawing.Size(35, 47);
            this.Select.Text = "选择";
            this.Select.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.Select.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.Select.Click += new System.EventHandler(this.Select_Click);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator2.Visible = false;
            //
            // Back
            //
            this.Back.AutoSize = false;
            this.Back.Image = ((System.Drawing.Image)(resources.GetObject("Back.Image")));
            this.Back.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.Back.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.Back.ImageTransparentColor = System.Drawing.Color.White;
            this.Back.Name = "Back";
            this.Back.Size = new System.Drawing.Size(35, 47);
            this.Back.Text = "上张";
            this.Back.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.Back.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.Back.Visible = false;
            //
            // Next
            //
            this.Next.AutoSize = false;
            this.Next.Image = ((System.Drawing.Image)(resources.GetObject("Next.Image")));
            this.Next.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.Next.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.Next.ImageTransparentColor = System.Drawing.Color.White;
            this.Next.Name = "Next";
            this.Next.Size = new System.Drawing.Size(35, 47);
            this.Next.Text = "下张";
            this.Next.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.Next.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.Next.Visible = false;
            //
            // xz
            //
            this.xz.AutoSize = false;
            this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image")));
            this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.xz.ImageTransparentColor = System.Drawing.Color.White;
            this.xz.Name = "xz";
            this.xz.Size = new System.Drawing.Size(35, 47);
            this.xz.Text = "新增";
            this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.xz.Visible = false;
            this.xz.Click += new System.EventHandler(this.xz_Click);
            //
            // xg
            //
            this.xg.AutoSize = false;
            this.xg.Image = ((System.Drawing.Image)(resources.GetObject("xg.Image")));
            this.xg.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xg.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.xg.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.xg.Name = "xg";
            this.xg.Size = new System.Drawing.Size(35, 47);
            this.xg.Text = "修改";
            this.xg.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xg.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.xg.Visible = false;
            this.xg.Click += new System.EventHandler(this.xg_Click);
            //
            // sc
            //
            this.sc.AutoSize = false;
            this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image")));
            this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sc.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sc.Name = "sc";
            this.sc.Size = new System.Drawing.Size(35, 47);
            this.sc.Text = "删除";
            this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sc.Visible = false;
            this.sc.Click += new System.EventHandler(this.sc_Click);
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator8.Visible = false;
            //
            // AddRow
            //
            this.AddRow.AutoSize = false;
            this.AddRow.Image = ((System.Drawing.Image)(resources.GetObject("AddRow.Image")));
            this.AddRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.AddRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.AddRow.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.AddRow.Name = "AddRow";
            this.AddRow.Size = new System.Drawing.Size(35, 47);
            this.AddRow.Text = "增行";
            this.AddRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.AddRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.AddRow.Visible = false;
            //
            // DelRow
            //
            this.DelRow.AutoSize = false;
            this.DelRow.Image = ((System.Drawing.Image)(resources.GetObject("DelRow.Image")));
            this.DelRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.DelRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.DelRow.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.DelRow.Name = "DelRow";
            this.DelRow.Size = new System.Drawing.Size(35, 47);
            this.DelRow.Text = "删行";
            this.DelRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.DelRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.DelRow.Visible = false;
            //
            // toolStripSeparator4
            //
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator4.Visible = false;
            //
            // bc
            //
            this.bc.AutoSize = false;
            this.bc.Image = ((System.Drawing.Image)(resources.GetObject("bc.Image")));
            this.bc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.bc.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.bc.Name = "bc";
            this.bc.Size = new System.Drawing.Size(35, 47);
            this.bc.Text = "保存";
            this.bc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.bc.Visible = false;
            this.bc.Click += new System.EventHandler(this.bc_Click);
            //
            // fq
            //
            this.fq.AutoSize = false;
            this.fq.Image = ((System.Drawing.Image)(resources.GetObject("fq.Image")));
            this.fq.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.fq.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.fq.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.fq.Name = "fq";
            this.fq.Size = new System.Drawing.Size(35, 47);
            this.fq.Text = "放弃";
            this.fq.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.fq.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.fq.Visible = false;
            this.fq.Click += new System.EventHandler(this.fq_Click);
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 62);
            //
            // sh
            //
            this.sh.AutoSize = false;
            this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image")));
            this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sh.Name = "sh";
            this.sh.Size = new System.Drawing.Size(35, 47);
            this.sh.Text = "审核";
            this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sh.Visible = false;
            this.sh.Click += new System.EventHandler(this.sh_Click);
            //
            // qsh
            //
            this.qsh.AutoSize = false;
            this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image")));
            this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.qsh.Name = "qsh";
            this.qsh.Size = new System.Drawing.Size(35, 47);
            this.qsh.Text = "反审";
            this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.qsh.Visible = false;
            this.qsh.Click += new System.EventHandler(this.qsh_Click);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator1.Visible = false;
            //
            // sz
            //
            this.sz.AutoSize = false;
            this.sz.Image = ((System.Drawing.Image)(resources.GetObject("sz.Image")));
            this.sz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sz.ImageTransparentColor = System.Drawing.Color.White;
            this.sz.Name = "sz";
            this.sz.Size = new System.Drawing.Size(35, 47);
            this.sz.Text = "首张";
            this.sz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sz.Visible = false;
            this.sz.Click += new System.EventHandler(this.sz_Click);
            //
            // syz
            //
            this.syz.AutoSize = false;
            this.syz.Image = ((System.Drawing.Image)(resources.GetObject("syz.Image")));
            this.syz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.syz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.syz.ImageTransparentColor = System.Drawing.Color.White;
            this.syz.Name = "syz";
            this.syz.Size = new System.Drawing.Size(35, 47);
            this.syz.Text = "上张";
            this.syz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.syz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.syz.Visible = false;
            this.syz.Click += new System.EventHandler(this.syz_Click);
            //
            // xyz
            //
            this.xyz.AutoSize = false;
            this.xyz.Image = ((System.Drawing.Image)(resources.GetObject("xyz.Image")));
            this.xyz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xyz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.xyz.ImageTransparentColor = System.Drawing.Color.White;
            this.xyz.Name = "xyz";
            this.xyz.Size = new System.Drawing.Size(35, 47);
            this.xyz.Text = "下张";
            this.xyz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xyz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.xyz.Visible = false;
            this.xyz.Click += new System.EventHandler(this.xyz_Click);
            //
            // mz
            //
            this.mz.AutoSize = false;
            this.mz.Image = ((System.Drawing.Image)(resources.GetObject("mz.Image")));
            this.mz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.mz.ImageTransparentColor = System.Drawing.Color.White;
            this.mz.Name = "mz";
            this.mz.Size = new System.Drawing.Size(35, 47);
            this.mz.Text = "末张";
            this.mz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.mz.Visible = false;
            this.mz.Click += new System.EventHandler(this.mz_Click);
            //
            // tm
            //
            this.tm.AutoSize = false;
            this.tm.Image = ((System.Drawing.Image)(resources.GetObject("tm.Image")));
            this.tm.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tm.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.tm.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tm.Name = "tm";
            this.tm.Size = new System.Drawing.Size(35, 47);
            this.tm.Text = "条码";
            this.tm.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tm.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.tm.Visible = false;
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator6.Visible = false;
            //
            // redblue
            //
            this.redblue.AutoSize = false;
            this.redblue.Image = ((System.Drawing.Image)(resources.GetObject("redblue.Image")));
            this.redblue.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.redblue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.redblue.ImageTransparentColor = System.Drawing.Color.White;
            this.redblue.Name = "redblue";
            this.redblue.Size = new System.Drawing.Size(35, 47);
            this.redblue.Text = "红字";
            this.redblue.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.redblue.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.redblue.Visible = false;
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator3.Visible = false;
            //
            // qt
            //
            this.qt.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.关闭ToolStripMenuItem,
            this.反关闭ToolStripMenuItem,
            this.toolStripSeparator15,
            this.审核ToolStripMenuItem,
            this.反审核ToolStripMenuItem,
            this.toolStripSeparator14,
            this.作废ToolStripMenuItem,
            this.撤销作废ToolStripMenuItem,
            this.toolStripMenuItem1,
            this.隐藏列设置ToolStripMenuItem,
            this.复制单据ToolStripMenuItem});
            this.qt.Image = ((System.Drawing.Image)(resources.GetObject("qt.Image")));
            this.qt.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qt.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.qt.ImageTransparentColor = System.Drawing.Color.White;
            this.qt.Name = "qt";
            this.qt.Size = new System.Drawing.Size(53, 59);
            this.qt.Text = "其他";
            this.qt.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qt.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.qt.Visible = false;
            //
            // å…³é—­ToolStripMenuItem
            //
            this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem";
            this.关闭ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.关闭ToolStripMenuItem.Text = "关闭";
            this.关闭ToolStripMenuItem.Click += new System.EventHandler(this.关闭ToolStripMenuItem_Click);
            //
            // åå…³é—­ToolStripMenuItem
            //
            this.反关闭ToolStripMenuItem.Name = "反关闭ToolStripMenuItem";
            this.反关闭ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.反关闭ToolStripMenuItem.Text = "反关闭";
            this.反关闭ToolStripMenuItem.Click += new System.EventHandler(this.反关闭ToolStripMenuItem_Click);
            //
            // toolStripSeparator15
            //
            this.toolStripSeparator15.Name = "toolStripSeparator15";
            this.toolStripSeparator15.Size = new System.Drawing.Size(164, 6);
            //
            // å®¡æ ¸ToolStripMenuItem
            //
            this.审核ToolStripMenuItem.Name = "审核ToolStripMenuItem";
            this.审核ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.审核ToolStripMenuItem.Text = "审核";
            this.审核ToolStripMenuItem.Click += new System.EventHandler(this.审核ToolStripMenuItem_Click);
            //
            // åå®¡æ ¸ToolStripMenuItem
            //
            this.反审核ToolStripMenuItem.Name = "反审核ToolStripMenuItem";
            this.反审核ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.反审核ToolStripMenuItem.Text = "反审核";
            this.反审核ToolStripMenuItem.Click += new System.EventHandler(this.反审核ToolStripMenuItem_Click);
            //
            // toolStripSeparator14
            //
            this.toolStripSeparator14.Name = "toolStripSeparator14";
            this.toolStripSeparator14.Size = new System.Drawing.Size(164, 6);
            //
            // ä½œåºŸToolStripMenuItem
            //
            this.作废ToolStripMenuItem.Name = "作废ToolStripMenuItem";
            this.作废ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.作废ToolStripMenuItem.Text = "作废";
            this.作废ToolStripMenuItem.Click += new System.EventHandler(this.作废ToolStripMenuItem_Click);
            //
            // æ’¤é”€ä½œåºŸToolStripMenuItem
            //
            this.撤销作废ToolStripMenuItem.Name = "撤销作废ToolStripMenuItem";
            this.撤销作废ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.撤销作废ToolStripMenuItem.Text = "撤销作废";
            this.撤销作废ToolStripMenuItem.Click += new System.EventHandler(this.撤销作废ToolStripMenuItem_Click);
            //
            // toolStripMenuItem1
            //
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(164, 6);
            //
            // éšè—åˆ—设置ToolStripMenuItem
            //
            this.隐藏列设置ToolStripMenuItem.Name = "隐藏列设置ToolStripMenuItem";
            this.隐藏列设置ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.隐藏列设置ToolStripMenuItem.Text = "隐藏列设置";
            this.隐藏列设置ToolStripMenuItem.Click += new System.EventHandler(this.隐藏列设置ToolStripMenuItem_Click);
            //
            // å¤åˆ¶å•据ToolStripMenuItem
            //
            this.复制单据ToolStripMenuItem.Name = "复制单据ToolStripMenuItem";
            this.复制单据ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.复制单据ToolStripMenuItem.Text = "复制单据";
            //
            // toolStripSeparator9
            //
            this.toolStripSeparator9.Name = "toolStripSeparator9";
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator9.Visible = false;
            //
            // tc
            //
            this.tc.AutoSize = false;
            this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image")));
            this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.tc.ImageTransparentColor = System.Drawing.Color.White;
            this.tc.Name = "tc";
            this.tc.Size = new System.Drawing.Size(35, 47);
            this.tc.Text = "退出";
            this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.tc.Click += new System.EventHandler(this.tc_Click);
            //
            // toolStripSeparator12
            //
            this.toolStripSeparator12.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator12.Name = "toolStripSeparator12";
            this.toolStripSeparator12.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator12.Visible = false;
            //
            // toolStripSeparator13
            //
            this.toolStripSeparator13.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator13.Name = "toolStripSeparator13";
            this.toolStripSeparator13.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator13.Visible = false;
            //
            // mrlk
            //
            this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image")));
            this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.mrlk.ImageTransparentColor = System.Drawing.Color.White;
            this.mrlk.Name = "mrlk";
            this.mrlk.Size = new System.Drawing.Size(73, 59);
            this.mrlk.Text = "默认列宽";
            this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.mrlk.Visible = false;
            //
            // toolStripSeparator11
            //
            this.toolStripSeparator11.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator11.Name = "toolStripSeparator11";
            this.toolStripSeparator11.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator11.Visible = false;
            //
            // bclk
            //
            this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image")));
            this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.bclk.ImageTransparentColor = System.Drawing.Color.White;
            this.bclk.Name = "bclk";
            this.bclk.Size = new System.Drawing.Size(73, 59);
            this.bclk.Text = "保存列宽";
            this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.bclk.Visible = false;
            //
            // toolStripSeparator10
            //
            this.toolStripSeparator10.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator10.Name = "toolStripSeparator10";
            this.toolStripSeparator10.Size = new System.Drawing.Size(6, 62);
            //
            // lblCaption
            //
            this.lblCaption.Dock = System.Windows.Forms.DockStyle.Top;
            this.lblCaption.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblCaption.Location = new System.Drawing.Point(0, 0);
            this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(1237, 31);
            this.lblCaption.TabIndex = 18;
            this.lblCaption.Text = "单据编辑";
            this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // P1
            //
            this.P1.BackColor = System.Drawing.Color.Lavender;
            this.P1.Controls.Add(this.lblCaption);
            this.P1.Controls.Add(this.pic1);
            this.P1.Controls.Add(this.cmdHICMOBillNo);
            this.P1.Controls.Add(this.gbUp);
            this.P1.Controls.Add(this.label18);
            this.P1.Controls.Add(this.txtHProcExchEntryID);
            this.P1.Controls.Add(this.label29);
            this.P1.Controls.Add(this.label12);
            this.P1.Controls.Add(this.txtHProcExchInterID);
            this.P1.Controls.Add(this.label6);
            this.P1.Controls.Add(this.label3);
            this.P1.Controls.Add(this.txtHProcExchReportEntryID);
            this.P1.Controls.Add(this.txtHProcExchReportInterID);
            this.P1.Controls.Add(this.txtHInnerBillNo);
            this.P1.Controls.Add(this.label22);
            this.P1.Controls.Add(this.cmdHMaterID);
            this.P1.Dock = System.Windows.Forms.DockStyle.Top;
            this.P1.Location = new System.Drawing.Point(55, 62);
            this.P1.Margin = new System.Windows.Forms.Padding(4);
            this.P1.Name = "P1";
            this.P1.Size = new System.Drawing.Size(1237, 130);
            this.P1.TabIndex = 31;
            //
            // pic1
            //
            this.pic1.Location = new System.Drawing.Point(417, 4);
            this.pic1.Margin = new System.Windows.Forms.Padding(4);
            this.pic1.Name = "pic1";
            this.pic1.Size = new System.Drawing.Size(88, 38);
            this.pic1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pic1.TabIndex = 36;
            this.pic1.TabStop = false;
            this.pic1.Visible = false;
            //
            // cmdHICMOBillNo
            //
            this.cmdHICMOBillNo.BackColor = System.Drawing.Color.Transparent;
            this.cmdHICMOBillNo.Image = ((System.Drawing.Image)(resources.GetObject("cmdHICMOBillNo.Image")));
            this.cmdHICMOBillNo.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHICMOBillNo.Location = new System.Drawing.Point(267, -4);
            this.cmdHICMOBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHICMOBillNo.Name = "cmdHICMOBillNo";
            this.cmdHICMOBillNo.Size = new System.Drawing.Size(39, 35);
            this.cmdHICMOBillNo.TabIndex = 371;
            this.cmdHICMOBillNo.UseVisualStyleBackColor = false;
            this.cmdHICMOBillNo.Visible = false;
            this.cmdHICMOBillNo.Click += new System.EventHandler(this.cmdHICMOBillNo_Click);
            //
            // gbUp
            //
            this.gbUp.BackColor = System.Drawing.Color.Transparent;
            this.gbUp.Controls.Add(this.cmdHWorkEmpID);
            this.gbUp.Controls.Add(this.cmdHProcID);
            this.gbUp.Controls.Add(this.label2);
            this.gbUp.Controls.Add(this.txtHBeginWorkTime);
            this.gbUp.Controls.Add(this.label34);
            this.gbUp.Controls.Add(this.txtHName);
            this.gbUp.Controls.Add(this.label51);
            this.gbUp.Controls.Add(this.cmdHDeptID);
            this.gbUp.Controls.Add(this.txtHDeptID);
            this.gbUp.Controls.Add(this.label50);
            this.gbUp.Controls.Add(this.dtpHPlanEndDate);
            this.gbUp.Controls.Add(this.label48);
            this.gbUp.Controls.Add(this.dtpHPlanBeginDate);
            this.gbUp.Controls.Add(this.label49);
            this.gbUp.Controls.Add(this.txtHWorkEmpNo);
            this.gbUp.Controls.Add(this.txtHProcNo);
            this.gbUp.Controls.Add(this.label45);
            this.gbUp.Controls.Add(this.label46);
            this.gbUp.Controls.Add(this.label43);
            this.gbUp.Controls.Add(this.txtHModel);
            this.gbUp.Controls.Add(this.label42);
            this.gbUp.Controls.Add(this.txtHBatchNo);
            this.gbUp.Controls.Add(this.label38);
            this.gbUp.Controls.Add(this.txtHTimes);
            this.gbUp.Controls.Add(this.dtpHRelEndDate);
            this.gbUp.Controls.Add(this.label36);
            this.gbUp.Controls.Add(this.dtpHRelBeginDate);
            this.gbUp.Controls.Add(this.label31);
            this.gbUp.Controls.Add(this.cmdHSourceID);
            this.gbUp.Controls.Add(this.label37);
            this.gbUp.Controls.Add(this.txtHSourceID);
            this.gbUp.Controls.Add(this.label35);
            this.gbUp.Controls.Add(this.txtHWorkEmpID);
            this.gbUp.Controls.Add(this.cmdHGroupID);
            this.gbUp.Controls.Add(this.txtHGroupID);
            this.gbUp.Controls.Add(this.cmdSM);
            this.gbUp.Controls.Add(this.label33);
            this.gbUp.Controls.Add(this.txtHProcID);
            this.gbUp.Controls.Add(this.label30);
            this.gbUp.Controls.Add(this.txtHProcExchBillNo);
            this.gbUp.Controls.Add(this.label7);
            this.gbUp.Controls.Add(this.txtHSumTimes);
            this.gbUp.Controls.Add(this.label16);
            this.gbUp.Controls.Add(this.txtHInStockQty);
            this.gbUp.Controls.Add(this.label32);
            this.gbUp.Controls.Add(this.txtHExplanation);
            this.gbUp.Controls.Add(this.cmdHUnitID);
            this.gbUp.Controls.Add(this.label26);
            this.gbUp.Controls.Add(this.txtHUnitID);
            this.gbUp.Controls.Add(this.label14);
            this.gbUp.Controls.Add(this.txtHMaterID);
            this.gbUp.Controls.Add(this.label1);
            this.gbUp.Controls.Add(this.txtHICMOBillNo);
            this.gbUp.Controls.Add(this.txtHRemark);
            this.gbUp.Controls.Add(this.label20);
            this.gbUp.Controls.Add(this.dtpHDate);
            this.gbUp.Controls.Add(this.label9);
            this.gbUp.Controls.Add(this.label4);
            this.gbUp.Controls.Add(this.txtHBillNo);
            this.gbUp.Controls.Add(this.label47);
            this.gbUp.Location = new System.Drawing.Point(4, 34);
            this.gbUp.Margin = new System.Windows.Forms.Padding(4);
            this.gbUp.Name = "gbUp";
            this.gbUp.Padding = new System.Windows.Forms.Padding(4);
            this.gbUp.Size = new System.Drawing.Size(1236, 92);
            this.gbUp.TabIndex = 33;
            this.gbUp.TabStop = false;
            //
            // cmdHWorkEmpID
            //
            this.cmdHWorkEmpID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHWorkEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHWorkEmpID.Image")));
            this.cmdHWorkEmpID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHWorkEmpID.Location = new System.Drawing.Point(371, 351);
            this.cmdHWorkEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHWorkEmpID.Name = "cmdHWorkEmpID";
            this.cmdHWorkEmpID.Size = new System.Drawing.Size(39, 35);
            this.cmdHWorkEmpID.TabIndex = 326;
            this.cmdHWorkEmpID.UseVisualStyleBackColor = false;
            this.cmdHWorkEmpID.Visible = false;
            this.cmdHWorkEmpID.Click += new System.EventHandler(this.cmdHWorkEmpID_Click);
            //
            // cmdHProcID
            //
            this.cmdHProcID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHProcID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHProcID.Image")));
            this.cmdHProcID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHProcID.Location = new System.Drawing.Point(371, 298);
            this.cmdHProcID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHProcID.Name = "cmdHProcID";
            this.cmdHProcID.Size = new System.Drawing.Size(39, 35);
            this.cmdHProcID.TabIndex = 319;
            this.cmdHProcID.UseVisualStyleBackColor = false;
            this.cmdHProcID.Visible = false;
            this.cmdHProcID.Click += new System.EventHandler(this.cmdHProcID_Click);
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.ForeColor = System.Drawing.Color.Black;
            this.label2.Location = new System.Drawing.Point(415, 416);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(89, 20);
            this.label2.TabIndex = 369;
            this.label2.Text = "开工时间";
            this.label2.Visible = false;
            //
            // txtHBeginWorkTime
            //
            this.txtHBeginWorkTime.BackColor = System.Drawing.SystemColors.Window;
            this.txtHBeginWorkTime.Enabled = false;
            this.txtHBeginWorkTime.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBeginWorkTime.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBeginWorkTime.Location = new System.Drawing.Point(517, 408);
            this.txtHBeginWorkTime.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBeginWorkTime.Name = "txtHBeginWorkTime";
            this.txtHBeginWorkTime.Size = new System.Drawing.Size(277, 30);
            this.txtHBeginWorkTime.TabIndex = 370;
            this.txtHBeginWorkTime.Tag = "0";
            this.txtHBeginWorkTime.Visible = false;
            //
            // label34
            //
            this.label34.AutoSize = true;
            this.label34.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label34.ForeColor = System.Drawing.Color.Black;
            this.label34.Location = new System.Drawing.Point(809, 359);
            this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(89, 20);
            this.label34.TabIndex = 321;
            this.label34.Text = "生产班组";
            this.label34.Visible = false;
            //
            // txtHName
            //
            this.txtHName.BackColor = System.Drawing.SystemColors.Window;
            this.txtHName.Enabled = false;
            this.txtHName.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHName.Location = new System.Drawing.Point(517, 54);
            this.txtHName.Margin = new System.Windows.Forms.Padding(4);
            this.txtHName.Name = "txtHName";
            this.txtHName.ReadOnly = true;
            this.txtHName.Size = new System.Drawing.Size(277, 30);
            this.txtHName.TabIndex = 368;
            this.txtHName.Tag = "0";
            //
            // label51
            //
            this.label51.AutoSize = true;
            this.label51.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label51.ForeColor = System.Drawing.Color.Black;
            this.label51.Location = new System.Drawing.Point(420, 57);
            this.label51.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label51.Name = "label51";
            this.label51.Size = new System.Drawing.Size(89, 20);
            this.label51.TabIndex = 367;
            this.label51.Text = "产品名称";
            //
            // cmdHDeptID
            //
            this.cmdHDeptID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHDeptID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHDeptID.Image")));
            this.cmdHDeptID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHDeptID.Location = new System.Drawing.Point(371, 406);
            this.cmdHDeptID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHDeptID.Name = "cmdHDeptID";
            this.cmdHDeptID.Size = new System.Drawing.Size(39, 35);
            this.cmdHDeptID.TabIndex = 366;
            this.cmdHDeptID.UseVisualStyleBackColor = false;
            this.cmdHDeptID.Visible = false;
            this.cmdHDeptID.Click += new System.EventHandler(this.cmdHDeptID_Click);
            //
            // txtHDeptID
            //
            this.txtHDeptID.BackColor = System.Drawing.Color.Beige;
            this.txtHDeptID.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHDeptID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHDeptID.Location = new System.Drawing.Point(125, 408);
            this.txtHDeptID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHDeptID.Name = "txtHDeptID";
            this.txtHDeptID.Size = new System.Drawing.Size(257, 30);
            this.txtHDeptID.TabIndex = 365;
            this.txtHDeptID.Tag = "0";
            this.txtHDeptID.Visible = false;
            this.txtHDeptID.TextChanged += new System.EventHandler(this.txtHDeptID_TextChanged);
            //
            // label50
            //
            this.label50.AutoSize = true;
            this.label50.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label50.ForeColor = System.Drawing.Color.Black;
            this.label50.Location = new System.Drawing.Point(21, 411);
            this.label50.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(89, 20);
            this.label50.TabIndex = 364;
            this.label50.Text = "å·¥    æ®µ";
            this.label50.Visible = false;
            //
            // dtpHPlanEndDate
            //
            this.dtpHPlanEndDate.Enabled = false;
            this.dtpHPlanEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHPlanEndDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHPlanEndDate.Location = new System.Drawing.Point(933, 700);
            this.dtpHPlanEndDate.Margin = new System.Windows.Forms.Padding(4);
            this.dtpHPlanEndDate.Name = "dtpHPlanEndDate";
            this.dtpHPlanEndDate.Size = new System.Drawing.Size(244, 25);
            this.dtpHPlanEndDate.TabIndex = 363;
            this.dtpHPlanEndDate.Visible = false;
            //
            // label48
            //
            this.label48.AutoSize = true;
            this.label48.Enabled = false;
            this.label48.ForeColor = System.Drawing.Color.Black;
            this.label48.Location = new System.Drawing.Point(828, 705);
            this.label48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label48.Name = "label48";
            this.label48.Size = new System.Drawing.Size(97, 15);
            this.label48.TabIndex = 362;
            this.label48.Text = "计划完工日期";
            this.label48.Visible = false;
            //
            // dtpHPlanBeginDate
            //
            this.dtpHPlanBeginDate.Enabled = false;
            this.dtpHPlanBeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHPlanBeginDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHPlanBeginDate.Location = new System.Drawing.Point(549, 700);
            this.dtpHPlanBeginDate.Margin = new System.Windows.Forms.Padding(4);
            this.dtpHPlanBeginDate.Name = "dtpHPlanBeginDate";
            this.dtpHPlanBeginDate.Size = new System.Drawing.Size(244, 25);
            this.dtpHPlanBeginDate.TabIndex = 361;
            this.dtpHPlanBeginDate.Visible = false;
            //
            // label49
            //
            this.label49.AutoSize = true;
            this.label49.Enabled = false;
            this.label49.ForeColor = System.Drawing.Color.Black;
            this.label49.Location = new System.Drawing.Point(441, 705);
            this.label49.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label49.Name = "label49";
            this.label49.Size = new System.Drawing.Size(97, 15);
            this.label49.TabIndex = 360;
            this.label49.Text = "计划开工日期";
            this.label49.Visible = false;
            //
            // txtHWorkEmpNo
            //
            this.txtHWorkEmpNo.BackColor = System.Drawing.Color.Beige;
            this.txtHWorkEmpNo.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHWorkEmpNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWorkEmpNo.Location = new System.Drawing.Point(125, 352);
            this.txtHWorkEmpNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHWorkEmpNo.Name = "txtHWorkEmpNo";
            this.txtHWorkEmpNo.Size = new System.Drawing.Size(257, 30);
            this.txtHWorkEmpNo.TabIndex = 357;
            this.txtHWorkEmpNo.Tag = "0";
            this.txtHWorkEmpNo.Visible = false;
            this.txtHWorkEmpNo.TextChanged += new System.EventHandler(this.txtHWorkEmpNo_TextChanged);
            this.txtHWorkEmpNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHWorkEmpNo_KeyDown);
            //
            // txtHProcNo
            //
            this.txtHProcNo.BackColor = System.Drawing.Color.Beige;
            this.txtHProcNo.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcNo.Location = new System.Drawing.Point(125, 299);
            this.txtHProcNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcNo.Name = "txtHProcNo";
            this.txtHProcNo.Size = new System.Drawing.Size(257, 30);
            this.txtHProcNo.TabIndex = 356;
            this.txtHProcNo.Tag = "0";
            this.txtHProcNo.Visible = false;
            this.txtHProcNo.TextChanged += new System.EventHandler(this.txtHProcNo_TextChanged);
            this.txtHProcNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHProcNo_KeyDown);
            //
            // label45
            //
            this.label45.AutoSize = true;
            this.label45.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label45.ForeColor = System.Drawing.Color.Black;
            this.label45.Location = new System.Drawing.Point(417, 359);
            this.label45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label45.Name = "label45";
            this.label45.Size = new System.Drawing.Size(89, 20);
            this.label45.TabIndex = 355;
            this.label45.Text = "操 ä½œ å‘˜";
            this.label45.Visible = false;
            //
            // label46
            //
            this.label46.AutoSize = true;
            this.label46.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label46.ForeColor = System.Drawing.Color.Black;
            this.label46.Location = new System.Drawing.Point(417, 305);
            this.label46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label46.Name = "label46";
            this.label46.Size = new System.Drawing.Size(89, 20);
            this.label46.TabIndex = 354;
            this.label46.Text = "å·¥ åº å";
            this.label46.Visible = false;
            //
            // label43
            //
            this.label43.AutoSize = true;
            this.label43.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label43.ForeColor = System.Drawing.Color.Black;
            this.label43.Location = new System.Drawing.Point(815, 62);
            this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(89, 20);
            this.label43.TabIndex = 352;
            this.label43.Text = "规格型号";
            //
            // txtHModel
            //
            this.txtHModel.BackColor = System.Drawing.SystemColors.Window;
            this.txtHModel.Enabled = false;
            this.txtHModel.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHModel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHModel.Location = new System.Drawing.Point(912, 54);
            this.txtHModel.Margin = new System.Windows.Forms.Padding(4);
            this.txtHModel.Name = "txtHModel";
            this.txtHModel.ReadOnly = true;
            this.txtHModel.Size = new System.Drawing.Size(315, 30);
            this.txtHModel.TabIndex = 353;
            this.txtHModel.Tag = "0";
            //
            // label42
            //
            this.label42.AutoSize = true;
            this.label42.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label42.ForeColor = System.Drawing.Color.Black;
            this.label42.Location = new System.Drawing.Point(419, 25);
            this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(89, 20);
            this.label42.TabIndex = 348;
            this.label42.Text = "批    å·";
            //
            // txtHBatchNo
            //
            this.txtHBatchNo.BackColor = System.Drawing.SystemColors.Window;
            this.txtHBatchNo.Enabled = false;
            this.txtHBatchNo.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBatchNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBatchNo.Location = new System.Drawing.Point(517, 20);
            this.txtHBatchNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBatchNo.Name = "txtHBatchNo";
            this.txtHBatchNo.Size = new System.Drawing.Size(277, 30);
            this.txtHBatchNo.TabIndex = 349;
            this.txtHBatchNo.Tag = "0";
            //
            // label38
            //
            this.label38.AutoSize = true;
            this.label38.Enabled = false;
            this.label38.ForeColor = System.Drawing.Color.Black;
            this.label38.Location = new System.Drawing.Point(831, 571);
            this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(67, 15);
            this.label38.TabIndex = 342;
            this.label38.Text = "实做时间";
            this.label38.Visible = false;
            //
            // txtHTimes
            //
            this.txtHTimes.BackColor = System.Drawing.SystemColors.Window;
            this.txtHTimes.Enabled = false;
            this.txtHTimes.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHTimes.Location = new System.Drawing.Point(928, 566);
            this.txtHTimes.Margin = new System.Windows.Forms.Padding(4);
            this.txtHTimes.Name = "txtHTimes";
            this.txtHTimes.Size = new System.Drawing.Size(249, 25);
            this.txtHTimes.TabIndex = 343;
            this.txtHTimes.Tag = "0";
            this.txtHTimes.Visible = false;
            //
            // dtpHRelEndDate
            //
            this.dtpHRelEndDate.Enabled = false;
            this.dtpHRelEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHRelEndDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHRelEndDate.Location = new System.Drawing.Point(543, 565);
            this.dtpHRelEndDate.Margin = new System.Windows.Forms.Padding(4);
            this.dtpHRelEndDate.Name = "dtpHRelEndDate";
            this.dtpHRelEndDate.Size = new System.Drawing.Size(244, 25);
            this.dtpHRelEndDate.TabIndex = 341;
            this.dtpHRelEndDate.Visible = false;
            //
            // label36
            //
            this.label36.AutoSize = true;
            this.label36.Enabled = false;
            this.label36.ForeColor = System.Drawing.Color.Black;
            this.label36.Location = new System.Drawing.Point(437, 570);
            this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(97, 15);
            this.label36.TabIndex = 340;
            this.label36.Text = "实际完工日期";
            this.label36.Visible = false;
            //
            // dtpHRelBeginDate
            //
            this.dtpHRelBeginDate.Enabled = false;
            this.dtpHRelBeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHRelBeginDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHRelBeginDate.Location = new System.Drawing.Point(159, 565);
            this.dtpHRelBeginDate.Margin = new System.Windows.Forms.Padding(4);
            this.dtpHRelBeginDate.Name = "dtpHRelBeginDate";
            this.dtpHRelBeginDate.Size = new System.Drawing.Size(244, 25);
            this.dtpHRelBeginDate.TabIndex = 339;
            this.dtpHRelBeginDate.Visible = false;
            //
            // label31
            //
            this.label31.AutoSize = true;
            this.label31.Enabled = false;
            this.label31.ForeColor = System.Drawing.Color.Black;
            this.label31.Location = new System.Drawing.Point(51, 570);
            this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(97, 15);
            this.label31.TabIndex = 338;
            this.label31.Text = "实际开工日期";
            this.label31.Visible = false;
            //
            // cmdHSourceID
            //
            this.cmdHSourceID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID.Image")));
            this.cmdHSourceID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHSourceID.Location = new System.Drawing.Point(1189, 298);
            this.cmdHSourceID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID.Name = "cmdHSourceID";
            this.cmdHSourceID.Size = new System.Drawing.Size(39, 35);
            this.cmdHSourceID.TabIndex = 332;
            this.cmdHSourceID.UseVisualStyleBackColor = false;
            this.cmdHSourceID.Visible = false;
            this.cmdHSourceID.Click += new System.EventHandler(this.cmdHSourceID_Click);
            //
            // label37
            //
            this.label37.AutoSize = true;
            this.label37.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label37.ForeColor = System.Drawing.Color.Black;
            this.label37.Location = new System.Drawing.Point(807, 305);
            this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(89, 20);
            this.label37.TabIndex = 330;
            this.label37.Text = "生产资源";
            this.label37.Visible = false;
            //
            // txtHSourceID
            //
            this.txtHSourceID.BackColor = System.Drawing.Color.Beige;
            this.txtHSourceID.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHSourceID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID.Location = new System.Drawing.Point(913, 299);
            this.txtHSourceID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID.Name = "txtHSourceID";
            this.txtHSourceID.Size = new System.Drawing.Size(277, 30);
            this.txtHSourceID.TabIndex = 331;
            this.txtHSourceID.Tag = "0";
            this.txtHSourceID.Visible = false;
            this.txtHSourceID.TextChanged += new System.EventHandler(this.txtHSourceID_TextChanged);
            //
            // label35
            //
            this.label35.AutoSize = true;
            this.label35.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label35.ForeColor = System.Drawing.Color.Black;
            this.label35.Location = new System.Drawing.Point(21, 359);
            this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(89, 20);
            this.label35.TabIndex = 324;
            this.label35.Text = "å·¥    å·";
            this.label35.Visible = false;
            //
            // txtHWorkEmpID
            //
            this.txtHWorkEmpID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHWorkEmpID.Enabled = false;
            this.txtHWorkEmpID.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHWorkEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWorkEmpID.Location = new System.Drawing.Point(516, 355);
            this.txtHWorkEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHWorkEmpID.Name = "txtHWorkEmpID";
            this.txtHWorkEmpID.ReadOnly = true;
            this.txtHWorkEmpID.Size = new System.Drawing.Size(276, 30);
            this.txtHWorkEmpID.TabIndex = 3;
            this.txtHWorkEmpID.Tag = "0";
            this.txtHWorkEmpID.Visible = false;
            this.txtHWorkEmpID.TextChanged += new System.EventHandler(this.txtHWorkEmpID_TextChanged);
            //
            // cmdHGroupID
            //
            this.cmdHGroupID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHGroupID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHGroupID.Image")));
            this.cmdHGroupID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHGroupID.Location = new System.Drawing.Point(1189, 352);
            this.cmdHGroupID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHGroupID.Name = "cmdHGroupID";
            this.cmdHGroupID.Size = new System.Drawing.Size(39, 35);
            this.cmdHGroupID.TabIndex = 323;
            this.cmdHGroupID.UseVisualStyleBackColor = false;
            this.cmdHGroupID.Visible = false;
            this.cmdHGroupID.Click += new System.EventHandler(this.cmdHGroupID_Click);
            //
            // txtHGroupID
            //
            this.txtHGroupID.BackColor = System.Drawing.Color.Beige;
            this.txtHGroupID.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHGroupID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHGroupID.Location = new System.Drawing.Point(913, 352);
            this.txtHGroupID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHGroupID.Name = "txtHGroupID";
            this.txtHGroupID.Size = new System.Drawing.Size(277, 30);
            this.txtHGroupID.TabIndex = 322;
            this.txtHGroupID.Tag = "0";
            this.txtHGroupID.Visible = false;
            this.txtHGroupID.TextChanged += new System.EventHandler(this.txtHGroupID_TextChanged);
            //
            // cmdSM
            //
            this.cmdSM.Location = new System.Drawing.Point(4, -28);
            this.cmdSM.Margin = new System.Windows.Forms.Padding(4);
            this.cmdSM.Name = "cmdSM";
            this.cmdSM.Size = new System.Drawing.Size(100, 30);
            this.cmdSM.TabIndex = 320;
            this.cmdSM.Text = "扫码";
            this.cmdSM.UseVisualStyleBackColor = true;
            this.cmdSM.Visible = false;
            this.cmdSM.Click += new System.EventHandler(this.cmdSM_Click);
            //
            // label33
            //
            this.label33.AutoSize = true;
            this.label33.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label33.ForeColor = System.Drawing.Color.Black;
            this.label33.Location = new System.Drawing.Point(21, 305);
            this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(89, 20);
            this.label33.TabIndex = 317;
            this.label33.Text = "å·¥ åº å·";
            this.label33.Visible = false;
            //
            // txtHProcID
            //
            this.txtHProcID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProcID.Enabled = false;
            this.txtHProcID.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcID.Location = new System.Drawing.Point(517, 301);
            this.txtHProcID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcID.Name = "txtHProcID";
            this.txtHProcID.ReadOnly = true;
            this.txtHProcID.Size = new System.Drawing.Size(276, 30);
            this.txtHProcID.TabIndex = 2;
            this.txtHProcID.Tag = "0";
            this.txtHProcID.Visible = false;
            this.txtHProcID.TextChanged += new System.EventHandler(this.txtHProcID_TextChanged);
            //
            // label30
            //
            this.label30.AutoSize = true;
            this.label30.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label30.ForeColor = System.Drawing.Color.Black;
            this.label30.Location = new System.Drawing.Point(1063, 86);
            this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(89, 20);
            this.label30.TabIndex = 309;
            this.label30.Text = "流转卡号";
            this.label30.Visible = false;
            //
            // txtHProcExchBillNo
            //
            this.txtHProcExchBillNo.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcExchBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchBillNo.Location = new System.Drawing.Point(1167, 81);
            this.txtHProcExchBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcExchBillNo.Name = "txtHProcExchBillNo";
            this.txtHProcExchBillNo.Size = new System.Drawing.Size(283, 30);
            this.txtHProcExchBillNo.TabIndex = 1;
            this.txtHProcExchBillNo.Tag = "0";
            this.txtHProcExchBillNo.Visible = false;
            this.txtHProcExchBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHProcExchBillNo_KeyDown);
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Enabled = false;
            this.label7.ForeColor = System.Drawing.Color.Black;
            this.label7.Location = new System.Drawing.Point(801, 502);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(82, 15);
            this.label7.TabIndex = 303;
            this.label7.Text = "总工作时间";
            this.label7.Visible = false;
            //
            // txtHSumTimes
            //
            this.txtHSumTimes.BackColor = System.Drawing.SystemColors.Window;
            this.txtHSumTimes.Enabled = false;
            this.txtHSumTimes.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSumTimes.Location = new System.Drawing.Point(899, 498);
            this.txtHSumTimes.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSumTimes.Name = "txtHSumTimes";
            this.txtHSumTimes.Size = new System.Drawing.Size(249, 25);
            this.txtHSumTimes.TabIndex = 304;
            this.txtHSumTimes.Tag = "0";
            this.txtHSumTimes.Visible = false;
            //
            // label16
            //
            this.label16.AutoSize = true;
            this.label16.Enabled = false;
            this.label16.ForeColor = System.Drawing.Color.Black;
            this.label16.Location = new System.Drawing.Point(421, 504);
            this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(67, 15);
            this.label16.TabIndex = 301;
            this.label16.Text = "入库数量";
            this.label16.Visible = false;
            //
            // txtHInStockQty
            //
            this.txtHInStockQty.BackColor = System.Drawing.SystemColors.Window;
            this.txtHInStockQty.Enabled = false;
            this.txtHInStockQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHInStockQty.Location = new System.Drawing.Point(513, 499);
            this.txtHInStockQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHInStockQty.Name = "txtHInStockQty";
            this.txtHInStockQty.Size = new System.Drawing.Size(249, 25);
            this.txtHInStockQty.TabIndex = 302;
            this.txtHInStockQty.Tag = "0";
            this.txtHInStockQty.Visible = false;
            //
            // label32
            //
            this.label32.AutoSize = true;
            this.label32.Enabled = false;
            this.label32.ForeColor = System.Drawing.Color.Black;
            this.label32.Location = new System.Drawing.Point(67, 638);
            this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(69, 15);
            this.label32.TabIndex = 283;
            this.label32.Text = "摘    è¦";
            this.label32.Visible = false;
            //
            // txtHExplanation
            //
            this.txtHExplanation.BackColor = System.Drawing.SystemColors.Window;
            this.txtHExplanation.Enabled = false;
            this.txtHExplanation.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHExplanation.Location = new System.Drawing.Point(159, 632);
            this.txtHExplanation.Margin = new System.Windows.Forms.Padding(4);
            this.txtHExplanation.Name = "txtHExplanation";
            this.txtHExplanation.Size = new System.Drawing.Size(1019, 25);
            this.txtHExplanation.TabIndex = 284;
            this.txtHExplanation.Tag = "0";
            this.txtHExplanation.Visible = false;
            //
            // cmdHUnitID
            //
            this.cmdHUnitID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHUnitID.Enabled = false;
            this.cmdHUnitID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHUnitID.Image")));
            this.cmdHUnitID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHUnitID.Location = new System.Drawing.Point(735, 464);
            this.cmdHUnitID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHUnitID.Name = "cmdHUnitID";
            this.cmdHUnitID.Size = new System.Drawing.Size(29, 28);
            this.cmdHUnitID.TabIndex = 274;
            this.cmdHUnitID.UseVisualStyleBackColor = false;
            this.cmdHUnitID.Visible = false;
            //
            // label26
            //
            this.label26.AutoSize = true;
            this.label26.Enabled = false;
            this.label26.ForeColor = System.Drawing.Color.Black;
            this.label26.Location = new System.Drawing.Point(421, 470);
            this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(69, 15);
            this.label26.TabIndex = 272;
            this.label26.Text = "单    ä½";
            this.label26.Visible = false;
            //
            // txtHUnitID
            //
            this.txtHUnitID.BackColor = System.Drawing.Color.Beige;
            this.txtHUnitID.Enabled = false;
            this.txtHUnitID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHUnitID.Location = new System.Drawing.Point(513, 465);
            this.txtHUnitID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHUnitID.Name = "txtHUnitID";
            this.txtHUnitID.Size = new System.Drawing.Size(220, 25);
            this.txtHUnitID.TabIndex = 273;
            this.txtHUnitID.Tag = "0";
            this.txtHUnitID.Visible = false;
            //
            // label14
            //
            this.label14.AutoSize = true;
            this.label14.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label14.ForeColor = System.Drawing.Color.Black;
            this.label14.Location = new System.Drawing.Point(21, 62);
            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(89, 20);
            this.label14.TabIndex = 267;
            this.label14.Text = "产    å“";
            //
            // txtHMaterID
            //
            this.txtHMaterID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterID.Enabled = false;
            this.txtHMaterID.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID.Location = new System.Drawing.Point(125, 54);
            this.txtHMaterID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMaterID.Name = "txtHMaterID";
            this.txtHMaterID.ReadOnly = true;
            this.txtHMaterID.Size = new System.Drawing.Size(283, 30);
            this.txtHMaterID.TabIndex = 268;
            this.txtHMaterID.Tag = "0";
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.Black;
            this.label1.Location = new System.Drawing.Point(25, 24);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(89, 20);
            this.label1.TabIndex = 265;
            this.label1.Text = "任务单号";
            //
            // txtHICMOBillNo
            //
            this.txtHICMOBillNo.BackColor = System.Drawing.Color.Beige;
            this.txtHICMOBillNo.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOBillNo.Location = new System.Drawing.Point(125, 19);
            this.txtHICMOBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHICMOBillNo.Name = "txtHICMOBillNo";
            this.txtHICMOBillNo.Size = new System.Drawing.Size(283, 30);
            this.txtHICMOBillNo.TabIndex = 266;
            this.txtHICMOBillNo.Tag = "0";
            this.txtHICMOBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHICMOBillNo_KeyDown);
            //
            // txtHRemark
            //
            this.txtHRemark.Enabled = false;
            this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHRemark.Location = new System.Drawing.Point(159, 666);
            this.txtHRemark.Margin = new System.Windows.Forms.Padding(4);
            this.txtHRemark.Name = "txtHRemark";
            this.txtHRemark.Size = new System.Drawing.Size(1019, 25);
            this.txtHRemark.TabIndex = 264;
            this.txtHRemark.Visible = false;
            //
            // label20
            //
            this.label20.AutoSize = true;
            this.label20.Enabled = false;
            this.label20.ForeColor = System.Drawing.Color.Black;
            this.label20.Location = new System.Drawing.Point(67, 671);
            this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(69, 15);
            this.label20.TabIndex = 263;
            this.label20.Text = "备    æ³¨";
            this.label20.Visible = false;
            //
            // dtpHDate
            //
            this.dtpHDate.Enabled = false;
            this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHDate.Location = new System.Drawing.Point(139, 496);
            this.dtpHDate.Margin = new System.Windows.Forms.Padding(4);
            this.dtpHDate.Name = "dtpHDate";
            this.dtpHDate.Size = new System.Drawing.Size(244, 25);
            this.dtpHDate.TabIndex = 256;
            this.dtpHDate.Visible = false;
            //
            // label9
            //
            this.label9.AutoSize = true;
            this.label9.Enabled = false;
            this.label9.ForeColor = System.Drawing.Color.Black;
            this.label9.Location = new System.Drawing.Point(47, 501);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(69, 15);
            this.label9.TabIndex = 255;
            this.label9.Text = "日    æœŸ";
            this.label9.Visible = false;
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Enabled = false;
            this.label4.ForeColor = System.Drawing.Color.Black;
            this.label4.Location = new System.Drawing.Point(47, 468);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(68, 15);
            this.label4.TabIndex = 251;
            this.label4.Text = "单 æ® å·";
            this.label4.Visible = false;
            //
            // txtHBillNo
            //
            this.txtHBillNo.BackColor = System.Drawing.Color.Beige;
            this.txtHBillNo.Enabled = false;
            this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBillNo.Location = new System.Drawing.Point(139, 462);
            this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHBillNo.TabIndex = 252;
            this.txtHBillNo.Visible = false;
            //
            // label47
            //
            this.label47.AutoSize = true;
            this.label47.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label47.Location = new System.Drawing.Point(-8, 119);
            this.label47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label47.Name = "label47";
            this.label47.Size = new System.Drawing.Size(1673, 20);
            this.label47.TabIndex = 359;
            this.label47.Text = "—————————————————————————————————————————————————————————————————————————————————" +
    "———————————————————————";
            this.label47.Visible = false;
            //
            // label18
            //
            this.label18.AutoSize = true;
            this.label18.ForeColor = System.Drawing.Color.Black;
            this.label18.Location = new System.Drawing.Point(789, 12);
            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(69, 15);
            this.label18.TabIndex = 94;
            this.label18.Text = "摘    è¦";
            this.label18.Visible = false;
            //
            // txtHProcExchEntryID
            //
            this.txtHProcExchEntryID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProcExchEntryID.Enabled = false;
            this.txtHProcExchEntryID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchEntryID.Location = new System.Drawing.Point(931, 8);
            this.txtHProcExchEntryID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcExchEntryID.Name = "txtHProcExchEntryID";
            this.txtHProcExchEntryID.Size = new System.Drawing.Size(249, 25);
            this.txtHProcExchEntryID.TabIndex = 312;
            this.txtHProcExchEntryID.Tag = "0";
            this.txtHProcExchEntryID.Visible = false;
            //
            // label29
            //
            this.label29.AutoSize = true;
            this.label29.ForeColor = System.Drawing.Color.Black;
            this.label29.Location = new System.Drawing.Point(797, 14);
            this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(113, 15);
            this.label29.TabIndex = 311;
            this.label29.Text = "工序流转卡子ID";
            this.label29.Visible = false;
            //
            // label12
            //
            this.label12.AutoSize = true;
            this.label12.ForeColor = System.Drawing.Color.Black;
            this.label12.Location = new System.Drawing.Point(820, 14);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(98, 15);
            this.label12.TabIndex = 313;
            this.label12.Text = "工序流转卡ID";
            this.label12.Visible = false;
            //
            // txtHProcExchInterID
            //
            this.txtHProcExchInterID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProcExchInterID.Enabled = false;
            this.txtHProcExchInterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchInterID.Location = new System.Drawing.Point(939, 8);
            this.txtHProcExchInterID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcExchInterID.Name = "txtHProcExchInterID";
            this.txtHProcExchInterID.Size = new System.Drawing.Size(249, 25);
            this.txtHProcExchInterID.TabIndex = 314;
            this.txtHProcExchInterID.Tag = "0";
            this.txtHProcExchInterID.Visible = false;
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.ForeColor = System.Drawing.Color.Black;
            this.label6.Location = new System.Drawing.Point(825, 1);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(83, 30);
            this.label6.TabIndex = 305;
            this.label6.Text = "工序流转卡\r\n汇报单子ID";
            this.label6.Visible = false;
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.ForeColor = System.Drawing.Color.Black;
            this.label3.Location = new System.Drawing.Point(839, 6);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(82, 30);
            this.label3.TabIndex = 307;
            this.label3.Text = "工序流转卡\r\n汇报单ID";
            this.label3.Visible = false;
            //
            // txtHProcExchReportEntryID
            //
            this.txtHProcExchReportEntryID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProcExchReportEntryID.Enabled = false;
            this.txtHProcExchReportEntryID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchReportEntryID.Location = new System.Drawing.Point(931, 2);
            this.txtHProcExchReportEntryID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcExchReportEntryID.Name = "txtHProcExchReportEntryID";
            this.txtHProcExchReportEntryID.Size = new System.Drawing.Size(249, 25);
            this.txtHProcExchReportEntryID.TabIndex = 306;
            this.txtHProcExchReportEntryID.Tag = "0";
            this.txtHProcExchReportEntryID.Visible = false;
            //
            // txtHProcExchReportInterID
            //
            this.txtHProcExchReportInterID.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProcExchReportInterID.Enabled = false;
            this.txtHProcExchReportInterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchReportInterID.Location = new System.Drawing.Point(945, 8);
            this.txtHProcExchReportInterID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcExchReportInterID.Name = "txtHProcExchReportInterID";
            this.txtHProcExchReportInterID.Size = new System.Drawing.Size(249, 25);
            this.txtHProcExchReportInterID.TabIndex = 308;
            this.txtHProcExchReportInterID.Tag = "0";
            this.txtHProcExchReportInterID.Visible = false;
            //
            // txtHInnerBillNo
            //
            this.txtHInnerBillNo.Enabled = false;
            this.txtHInnerBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHInnerBillNo.Location = new System.Drawing.Point(935, 9);
            this.txtHInnerBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHInnerBillNo.Name = "txtHInnerBillNo";
            this.txtHInnerBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHInnerBillNo.TabIndex = 254;
            this.txtHInnerBillNo.Tag = "0";
            this.txtHInnerBillNo.Visible = false;
            //
            // label22
            //
            this.label22.AutoSize = true;
            this.label22.ForeColor = System.Drawing.Color.Black;
            this.label22.Location = new System.Drawing.Point(823, 15);
            this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(82, 15);
            this.label22.TabIndex = 253;
            this.label22.Text = "内部单据号";
            this.label22.Visible = false;
            //
            // cmdHMaterID
            //
            this.cmdHMaterID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHMaterID.Enabled = false;
            this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image")));
            this.cmdHMaterID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHMaterID.Location = new System.Drawing.Point(267, 5);
            this.cmdHMaterID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHMaterID.Name = "cmdHMaterID";
            this.cmdHMaterID.Size = new System.Drawing.Size(29, 28);
            this.cmdHMaterID.TabIndex = 269;
            this.cmdHMaterID.UseVisualStyleBackColor = false;
            this.cmdHMaterID.Visible = false;
            //
            // timer1
            //
            this.timer1.Enabled = true;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            //
            // panel1
            //
            this.panel1.Controls.Add(this.cmbBack);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel1.Location = new System.Drawing.Point(0, 62);
            this.panel1.Margin = new System.Windows.Forms.Padding(4);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(55, 849);
            this.panel1.TabIndex = 33;
            //
            // cmbBack
            //
            this.cmbBack.Dock = System.Windows.Forms.DockStyle.Fill;
            this.cmbBack.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmbBack.Location = new System.Drawing.Point(0, 0);
            this.cmbBack.Margin = new System.Windows.Forms.Padding(4);
            this.cmbBack.Name = "cmbBack";
            this.cmbBack.Size = new System.Drawing.Size(55, 849);
            this.cmbBack.TabIndex = 1;
            this.cmbBack.Text = "上    ä¸€    å¼ ";
            this.cmbBack.UseVisualStyleBackColor = true;
            this.cmbBack.Click += new System.EventHandler(this.cmbBack_Click);
            //
            // panel3
            //
            this.panel3.Controls.Add(this.cmdNext);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel3.Location = new System.Drawing.Point(1292, 62);
            this.panel3.Margin = new System.Windows.Forms.Padding(4);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(52, 849);
            this.panel3.TabIndex = 34;
            //
            // cmdNext
            //
            this.cmdNext.Dock = System.Windows.Forms.DockStyle.Fill;
            this.cmdNext.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdNext.Location = new System.Drawing.Point(0, 0);
            this.cmdNext.Margin = new System.Windows.Forms.Padding(4);
            this.cmdNext.Name = "cmdNext";
            this.cmdNext.Size = new System.Drawing.Size(52, 849);
            this.cmdNext.TabIndex = 0;
            this.cmdNext.Text = "下    ä¸€    å¼ ";
            this.cmdNext.UseVisualStyleBackColor = true;
            this.cmdNext.Click += new System.EventHandler(this.cmdNext_Click);
            //
            // grdPrint
            //
            this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdPrint.Location = new System.Drawing.Point(1079, 679);
            this.grdPrint.Margin = new System.Windows.Forms.Padding(4);
            this.grdPrint.Name = "grdPrint";
            this.grdPrint.RowHeadersWidth = 51;
            this.grdPrint.RowTemplate.Height = 23;
            this.grdPrint.Size = new System.Drawing.Size(33, 30);
            this.grdPrint.TabIndex = 46;
            this.grdPrint.Visible = false;
            //
            // timer2
            //
            this.timer2.Enabled = true;
            this.timer2.Interval = 500;
            this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
            //
            // pictureBox1
            //
            this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox1.Location = new System.Drawing.Point(55, 192);
            this.pictureBox1.Margin = new System.Windows.Forms.Padding(4);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(1237, 719);
            this.pictureBox1.TabIndex = 316;
            this.pictureBox1.TabStop = false;
            //
            // Sc_MESNowWorkBill_Fast
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Lavender;
            this.ClientSize = new System.Drawing.Size(1344, 911);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.P1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.Tool);
            this.Controls.Add(this.grdPrint);
            this.ForeColor = System.Drawing.Color.Black;
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(4);
            this.Name = "Sc_MESNowWorkBill_Fast";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "工位指导书";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Sc_MESNowWorkBill_Fast_FormClosing);
            this.Load += new System.EventHandler(this.Sc_MESNowWorkBill_Fast_Load);
            this.Tool.ResumeLayout(false);
            this.Tool.PerformLayout();
            this.P1.ResumeLayout(false);
            this.P1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pic1)).EndInit();
            this.gbUp.ResumeLayout(false);
            this.gbUp.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.ResumeLayout(false);
        }
        #endregion
        private System.Windows.Forms.ToolStrip Tool;
        private System.Windows.Forms.ToolStripButton yl;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
        private System.Windows.Forms.ToolStripButton xz;
        private System.Windows.Forms.ToolStripButton xg;
        private System.Windows.Forms.ToolStripButton sc;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
        private System.Windows.Forms.ToolStripButton bc;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripButton fq;
        private System.Windows.Forms.ToolStripButton sh;
        private System.Windows.Forms.ToolStripButton qsh;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
        private System.Windows.Forms.ToolStripButton sz;
        private System.Windows.Forms.ToolStripButton syz;
        private System.Windows.Forms.ToolStripButton xyz;
        private System.Windows.Forms.ToolStripButton mz;
        private System.Windows.Forms.Label lblCaption;
        private System.Windows.Forms.Panel P1;
        private System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.ToolStripButton AddRow;
        private System.Windows.Forms.ToolStripButton DelRow;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
        private System.Windows.Forms.GroupBox gbUp;
        private System.Windows.Forms.ToolStripButton redblue;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
        private System.Windows.Forms.ToolStripButton tc;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator12;
        private System.Windows.Forms.ToolStripButton mrlk;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator11;
        private System.Windows.Forms.ToolStripButton bclk;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator10;
        private System.Windows.Forms.PictureBox pic1;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Panel panel3;
        private System.Windows.Forms.DataGridView grdPrint;
        private System.Windows.Forms.ToolStripButton set;
        private System.Windows.Forms.ToolStripButton dy;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator13;
        private System.Windows.Forms.ToolStripDropDownButton qt;
        private System.Windows.Forms.ToolStripMenuItem å…³é—­ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem åå…³é—­ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator15;
        private System.Windows.Forms.ToolStripMenuItem å®¡æ ¸ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem åå®¡æ ¸ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator14;
        private System.Windows.Forms.ToolStripMenuItem ä½œåºŸToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem æ’¤é”€ä½œåºŸToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem éšè—åˆ—设置ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
        private System.Windows.Forms.ToolStripMenuItem å¤åˆ¶å•据ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
        private System.Windows.Forms.ToolStripButton tm;
        private System.Windows.Forms.Label label32;
        private System.Windows.Forms.TextBox txtHExplanation;
        private System.Windows.Forms.Button cmdHUnitID;
        private System.Windows.Forms.Label label26;
        private System.Windows.Forms.TextBox txtHUnitID;
        private System.Windows.Forms.Button cmdHMaterID;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txtHRemark;
        private System.Windows.Forms.Label label20;
        private System.Windows.Forms.DateTimePicker dtpHDate;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox txtHBillNo;
        private System.Windows.Forms.Label label22;
        private System.Windows.Forms.TextBox txtHInnerBillNo;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.TextBox txtHSumTimes;
        private System.Windows.Forms.Label label16;
        private System.Windows.Forms.TextBox txtHInStockQty;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.TextBox txtHProcExchInterID;
        private System.Windows.Forms.Label label29;
        private System.Windows.Forms.TextBox txtHProcExchEntryID;
        private System.Windows.Forms.Label label30;
        private System.Windows.Forms.TextBox txtHProcExchBillNo;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox txtHProcExchReportInterID;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox txtHProcExchReportEntryID;
        private System.Windows.Forms.Button cmdSM;
        private System.Windows.Forms.Button cmdHProcID;
        private System.Windows.Forms.Label label33;
        private System.Windows.Forms.TextBox txtHProcID;
        private System.Windows.Forms.Button cmdHGroupID;
        private System.Windows.Forms.Label label34;
        private System.Windows.Forms.TextBox txtHGroupID;
        private System.Windows.Forms.Button cmdHWorkEmpID;
        private System.Windows.Forms.Label label35;
        private System.Windows.Forms.TextBox txtHWorkEmpID;
        private System.Windows.Forms.Button cmdHSourceID;
        private System.Windows.Forms.Label label37;
        private System.Windows.Forms.TextBox txtHSourceID;
        private System.Windows.Forms.Label label38;
        private System.Windows.Forms.TextBox txtHTimes;
        private System.Windows.Forms.DateTimePicker dtpHRelEndDate;
        private System.Windows.Forms.Label label36;
        private System.Windows.Forms.DateTimePicker dtpHRelBeginDate;
        private System.Windows.Forms.Label label31;
        private System.Windows.Forms.Label label42;
        private System.Windows.Forms.Label label43;
        private System.Windows.Forms.TextBox txtHWorkEmpNo;
        private System.Windows.Forms.TextBox txtHProcNo;
        private System.Windows.Forms.Label label45;
        private System.Windows.Forms.Label label46;
        private System.Windows.Forms.Timer timer2;
        private System.Windows.Forms.Label label47;
        private System.Windows.Forms.DateTimePicker dtpHPlanEndDate;
        private System.Windows.Forms.Label label48;
        private System.Windows.Forms.DateTimePicker dtpHPlanBeginDate;
        private System.Windows.Forms.Label label49;
        private System.Windows.Forms.Label label50;
        private System.Windows.Forms.Button cmdHDeptID;
        private System.Windows.Forms.TextBox txtHDeptID;
        private System.Windows.Forms.Label label51;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txtHBeginWorkTime;
        private System.Windows.Forms.Button cmdHICMOBillNo;
        private System.Windows.Forms.ToolStripButton Select;
        private System.Windows.Forms.ToolStripButton Back;
        private System.Windows.Forms.ToolStripButton Next;
        private System.Windows.Forms.Button cmbBack;
        private System.Windows.Forms.Button cmdNext;
        private System.Windows.Forms.PictureBox pictureBox1;
        public System.Windows.Forms.TextBox txtHMaterID;
        public System.Windows.Forms.TextBox txtHICMOBillNo;
        public System.Windows.Forms.TextBox txtHBatchNo;
        public System.Windows.Forms.TextBox txtHModel;
        public System.Windows.Forms.TextBox txtHName;
    }
}
WarM/Sc_MESNowWorkBill_Fast.resx
New file
@@ -0,0 +1,777 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="Tool.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        /9j/4AAQSkZJRgABAQEASABIAAD/4QSARXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAAB
        AAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAUAAAAcgEyAAIAAAAUAAAAhodpAAQAAAAB
        AAAAmgAAAMYASAAAAAEAAABIAAAAAQAAQWRvYmUgUGhvdG9zaG9wIDcuMAAyMDA0OjEwOjE0IDE1OjUw
        OjUwAAADoAEAAwAAAAH//wAAoAIABAAAAAEAAAQAoAMABAAAAAEAAABoAAAAAAAAAAYBAwADAAAAAQAG
        AAABGgAFAAAAAQAAARQBGwAFAAAAAQAAARwBKAADAAAAAQACAAACAQAEAAAAAQAAASQCAgAEAAAAAQAA
        A1QAAAAAAAAASAAAAAEAAABIAAAAAf/Y/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4d
        GhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIy
        MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgABgCgAwEhAAIRAQMR
        Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE
        EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElK
        U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrC
        w8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAAB
        AgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkj
        M1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5
        eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm
        5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A9P8A+EAsf+fy4o/4QCy/5/Liuv6z/dOf2HmH/CAWX/P5
        cUf8IBZf8/lz+lH1n+6HsPMP+EAsv+fy5/Oj/hALL/n8uKPrP90PYeYf8IBZf8/lxR/wgFl/z+XFH1n+
        6HsPMP8AhALL/n8uKP8AhX9j/wA/lxR9Z/uh7B9w/wCFf2P/AD+XFH/CAWP/AD+XFH1n+6HsH3D/AIQC
        x/5/Lij/AIQCy/5/Lij6z/dD2HmH/CAWX/P5cUf8K/sf+fy4o+tf3Q9h5h/wgFj/AM/lxR/wgFl/z+XF
        H1r+6HsPMP8AhALL/n8uKP8AhALL/n8uKPrX90PYeZ//2f/bAEMAAgEBAgEBAgICAgICAgIDBQMDAwMD
        BgQEAwUHBgcHBwYHBwgJCwkICAoIBwcKDQoKCwwMDAwHCQ4PDQwOCwwMDP/bAEMBAgICAwMDBgMDBgwI
        BwgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIACoE
        AAMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUE
        BAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4
        OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmq
        srO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEB
        AQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIy
        gQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZn
        aGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV
        1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/APWB+2p4nH/MN0Qf9w20/wDjNL/w2t4o
        P/MP0X/wW2n/AMZri/8AhDh6Uf8ACHD0r9f/ALPp/wAp+cfXJ9zsj+2p4oOQdO0U/wDcMtP/AIzR/wAN
        peJ++m6KP+4Zaf8AxmuN/wCEOH93FH/CHD0prL4fyh9cn/Mdl/w2j4m/6B2if+Cy0/8AjNH/AA2n4mXr
        puiEf9g20/8AjNcb/wAIcPSj/hDh/dNL+z6f8qBYyf8AMdkf21fEv/QN0T/wW2n/AMZo/wCG1fEv/QN0
        T/wW2f8A8ZrjP+ENH9yl/wCEOA6KRR9Qp/yj+uz/AJmdl/w2r4l/6Buif+C2z/8AjNH/AA2r4l/6Buif
        +C2z/wDjNcb/AMIcP7po/wCEOH900/7Ph/KL65P+Y7Mftq+JMf8AIO0Uf9w20/8AjNB/bU8S5407RD/3
        DbT/AOM1xZ8HqOq0f8Iiv900v7Pp/wAofXZ/zHZf8NqeJe+m6L/4LbT/AOM0q/to+Je+naKP+4baf/Ga
        4z/hEV/umgeEAeimj+z4fyh9cn/Mdn/w2n4l/wCgdon/AILbT/4zR/w2n4l/6B2if+C20/8AjNcb/wAI
        cP7po/4Q4f3TR/Z8P5UH1yf8x2P/AA2p4l/6Bui/+C20/wDjNH/DaniX/oG6L/4LbT/4zXHf8IcP7ppP
        +ENH9yj+z4fyh9cn/MdmP21vEo66do3/AILbT/4zSj9tbxKemm6MT/2DbT/4zXF/8IcB/Cfyo/4RAf3T
        +VCy+n/KH1uf8x2g/bT8SnrpmiD/ALhtp/8AGaD+2n4lH/MN0QY/6htn/wDGa4z/AIQ9f7rflSHwcp/h
        P5U/7Pp/yjWMqfzM7Q/tp+Juo0zRP/BZZ/8AxmlX9tLxNj/kHaIP+4bZ/wDxmuK/4Q8eh/Kj/hDx6H8q
        X9n0/wCUFjJ92ds37aPiY8HTtEx/2DbP/wCM0L+2l4lLZOnaJ/4LbP8A+M1xP/CHj0P5UDweOPlb8qP7
        Pp/yieMn3Z2zftp+JP8AoG6Kf+4bZ/8Axmm/8Nq+Jf8AoF6L/wCC20/+M1xf/CID+435Uf8ACID+435U
        f2fT/lD65PuztP8AhtXxJ/0DdG/8Ftp/8Zo/4bU8Rj/mG6MP+4Zaf/Ga4v8A4RH0Q4+lH/CI/wCyw+go
        /s+n/Kg+tz7s7MftqeJP+gfop/7htp/8ZoP7aviUDjT9D/HTLT/4zXGDwgfRvypR4NY9FYj3WhZfT/lH
        9cn3Oy/4bU8Tf9A7Q/8AwWWn/wAZo/4bU8Tf9A7Q/wDwWWn/AMZrjv8AhDW/uH/vmk/4Q4/3f0oWX0/5
        QWNn/Mzsv+G1fEv/AED9Fx7abaf/ABmj/htbxN/0D9F/8Ftn/wDGa40+Dj/dP5Un/CHH+6fyp/2fT/lF
        9bn3Oy/4bV8Tf9A7Rf8AwW2f/wAZpf8AhtXxP/0DtF/8Ftn/APGa4z/hDx/dP5Uf8IgP7p/Kl/Z9P+Uf
        1yp3Oz/4bU8S/wDQP0b/AMFtn/8AGaP+G1vE3bTtFx/2DbP/AOM1xn/CID+6fypR4OB/hIoWX0/5RfW5
        92dkf21fEx66fog/7hln/wDGaP8AhtbxP/0D9E/8Ftp/8Zrjf+EOHpS/8Id/s/pQsvp/yoFjJ/zHY/8A
        Da3if/oH6J/4LbT/AOM0f8NqeJv+gfon/gttP/jNcePBuf4QPwo/4Qz2H5Uf2fT/AJR/XZ/zHXn9tXxL
        307RSf8AsG2n/wAZpR+2r4k/6B2ig/8AYNtP/jNcefBn+zTf+EOHpQsvp/yh9cqfzHZn9tPxKOPsGi/+
        C20/+M0H9tLxKQSLDRCR2/s20/8AjNcZ/wAIcPSl/wCEOH90flR/Z9P+UX1up/Mzsf8AhtTxN/0DtD/8
        Flp/8Zo/4bU8S99O0Q/TTbT/AOM1x3/CHj+6Pypf+ENH90/lQsvp/wAoLGVP5mdgf21PEo/5h2i/+C20
        /wDjNJ/w2r4m3Z/s7RT9NMtP/jNcefBo/un8qP8AhDB/dYfhR/Z9P+UPrlT+Y7H/AIbW8S9Dp2igf9gy
        0/8AjNJ/w2r4l/6B2i/+Cyz/APjNcd/whwzjaRR/whw9KP7Ph/KCxlTudl/w2r4l/wCgdon/AILbT/4z
        R/w2p4l/6B2if+C20/8AjNcb/wAIcPSl/wCEPH90flQsvp/ygsXU7nZf8Nq+JT007Rh/3DbT/wCM0f8A
        Danic9NP0U5/6hlp/wDGa43/AIQ8f3R+VJ/who67Cc0LL6f8o/rlT+Y7M/tp+Jz00/RT/wBwy0H/ALRp
        P+G0/E//AED9F/8ABZaf/Ga43/hDf9g0f8Ib/sGn/Z9P+VAsbP8AmZ2X/DaXif8A6B+in/uGWn/xmlH7
        anicDjTtE/8ABXaf/Ga43/hDP9k0f8IZ/sml/Z8P5UL67P8AmOw/4bS8T/8AQO0X/wAFlp/8Zpf+G0/E
        46afon/grtP/AIzXHf8ACGf7Jo/4Qz/ZNP6hD+VB9dqfzHY/8NpeJ/8AoG6L/wCCu0/+M0v/AA2p4n/6
        B+if+Cy0/wDjNcb/AMIZ/smj/hDP9k0ll9P+VB9dn/Mdl/w2l4nzn+ztEP8A3C7T/wCM0f8ADaXiftp2
        iH/uF2n/AMZrjP8AhDf9g0f8Ib/sGhZfT/lQfXJ/zHZf8NpeJiMf2douf+wZaf8Axmj/AIbT8T/9A7Rf
        /BZaf/Ga43/hDf8AYNH/AAhv+waay+H8qD65P+Y7H/htHxP/ANA3RP8AwW2n/wAZp3/DafifnOnaL/4L
        bT/4zXF/8IkP7h/KlHhEHqhA+lDy+n/Kh/XKnc7P/htTxP207Rf/AAWWn/xmlP7anicgf6Boo/7hlp/8
        ZrjP+EQX0P8A3zSf8Iev90n8KX9n0/5RfXKnc7P/AIbU8Tgc6fo2D/1DLT/4zSL+2n4l/wCfDRR/3C7T
        /wCM1xv/AAh6/wB1vypf+ENX0P5Uf2fT/lQ/rlTuzsv+G1fEo/5cNF/8Flnj/wBE0p/bV8Sn/lw0XH/Y
        Ms//AIzXGf8ACGr6H8qT/hDl9Dj6Uf2fT/lQvrdTuzs/+G0PEv8A0D9EI99MtP8A4zQf20PEwGRp2iE/
        9g20/wDjNcYfB6+hP4Uf8Iev91vyo/s+n/Kg+uVO7Oy/4bU8T/8AQO0X/wAFtp/8Zo/4bT8T/wDQO0X/
        AMFtp/8AGa43/hER/dP5Uf8ACIjsp/Kj+z6f8ofXKnc7L/htLxP1Om6L/wCC20/+M0n/AA2p4l76foo/
        7h1p/wDGa43/AIREf3Dz7Uf8IgP7jflT/s+n/KCxlTuzs/8AhtTxKemn6If+4dZ//GaP+G0vEv8A0DtE
        /wDBdaf/ABmuMHg8H+Aij/hEB/dP5Uv7Pp/yoPrdTudn/wANq+Jv+gdov/gttP8A4zR/w2p4m76fohH/
        AGDbT/4zXGf8IgP7p/Kj/hEB/dP5U1l9P+UFjKnc7P8A4bW8Tf8AQO0X/wAFtp/8ZoH7aviYf8w7RR/3
        DbT/AOM1xn/CID+6fypR4OB/hIpf2dT/AJUNYyp/Mzsx+2n4mPA07RMf9g20/wDjNB/bU8S9Dp+iZ/7B
        tn/8ZrjP+EOHpR/whw9KP7Pp/wAqB4yf8zOy/wCG1vE//QP0T/wWWf8A8ZpT+2r4m76foo/7hln/APGa
        4z/hDQOi0f8ACHD+6aP7Pp9IoHjJ/wAzOzP7afiY9dP0Xj/qGWf/AMZpB+2n4m3f8g/RM/8AYNtP/jNc
        aPBoPUYpf+ENHoKP7Ph/KhLGT/mOw/4bS8T5407RP/Bbaf8AxmlP7aXifHOn6Jj/ALBtp/8AGa43/hDh
        6Uf8IcPSj+z6f8qH9bqd2dl/w2n4m/6B2i49f7MtP/jNH/DafiXp/Z+iY/7Blp/8Zrjf+EOHpR/whw9K
        f9n0/wCUPrlTudl/w2l4l/6B+if+Cy0/+M0f8NpeJP8AoH6J/wCCy0/+M1xv/CHD0o/4Q4elH1Cn/KH1
        up3Z2Y/bV8Sr00/RP/BZaf8Axml/4bX8TdrDRef+oZaf/Ga4v/hDh6Uf8IcPShZfT/lD63U7s7P/AIbV
        8Tf9A/RP/BZaf/GaD+2r4mPA0/RSf+wbaf8AxmuM/wCEOHpR/wAIcPSj+z6f8ofW6ndnZf8ADanif/oH
        aL/4LbT/AOM0f8NqeKP+gdon/gstP/jNcb/whw9KP+EOHpS/s+n/ACoFi6ndnZD9tPxOM507RB/3DbT/
        AOM07/htTxMB/wAg7Rf/AAW2n/xmuLPg4dlo/wCEOHofyoeAp/yoPrlTudn/AMNp+Jcc6foo/wC4baf/
        ABmg/to+JT107Rv/AAW2n/xmuMHg0Htj8KP+ENHpn8KFl9P+VCWMqfzHZ/8ADaHiT/oH6L/4LbT/AOM0
        f8NpeJRnGnaKf+4Zaf8AxmuN/wCENX0P5Un/AAhw/un8qP7Pp/yoPrlT+Y7M/tqeJv8AoHaKf+4Zaf8A
        xmk/4bU8T/8AQN0b/wAFtp/8Zrjf+EOH90/lSjwaPQCj+z6f8qGsZPuzsh+2n4mI507Rh/3DbT/4zTv+
        G0fEpOf7P0Uf9wy0P/tGuL/4Q0ego/4Q0ego/s+n/Kg+t1O7Oz/4bT8Sj/mHaN/4LLQf+0aQ/to+Je2n
        aKf+4Zaf/Ga4z/hDh6Uf8IcPSj+z6f8AKg+uVO7OzP7afiftp2ikf9gy0/8AjNJ/w2p4mHXTtFH/AHDL
        T/4zXG/8IcPSg+DgP4SaP7Pp/wAqD65Puzsv+G1vEY66foo/7hlp/wDGaP8AhtbxIeP7P0Xn/qG2n/xm
        uM/4RAf3T+VH/CID+6fyprL6f8oLGVO7OyP7a3iQH/kH6N/4LLT/AOM0f8Nq+Jf+gdov/gss/wD4zXG/
        8IgP7p/Kl/4RAf3f0pfUKf8AKH1yfdnY/wDDa3iUZP8AZ+ijH/UMs/8A4zSf8Nq+Jf8AoHaN/wCC20/+
        M1x//CID+7+lH/CID+7+lNYCn/KCxk+7PVv+FeX/APz4T/mv+NH/AAr6+/58J/zX/Gv1p/4QTQ/+gLpH
        /gJH/hR/wgmh/wDQF0j/AMBI/wDCvDfGlD/ny/8AwJf5Hp/6sVf+fi+5/wCZ+S3/AAr6+/58J/zX/Gj/
        AIV9ff8APhP+a/41+tP/AAgmh/8AQF0j/wABI/8ACj/hBND/AOgLpH/gJH/hS/10of8APl/+BL/IP9WK
        v/P1fc/8z8lv+FfX3/PhP+a/40h+Hl9jmwn/ADX/ABr9av8AhBND/wCgLpH/AICR/wCFH/CCaH/0BdI/
        8BI/8KFxpQ/58v8A8CX+Qf6sVf8An6vuf+Z+So+HV8RkWE/5r/jS/wDCvL5ePsE/5r/jX60/8IJof/QF
        0j/wEj/wo/4QTQ/+gLpH/gJH/hT/ANdKH/Pl/wDgS/yF/qxV/wCfq+5/5n5Lf8K+vv8Anwn/ADX/ABo/
        4V9ff8+E/wCa/wCNfrT/AMIJof8A0BdI/wDASP8Awo/4QTQ/+gLpH/gJH/hS/wBdKH/Pl/ev8g/1Yq/8
        /V9z/wAz8lv+FfX3/PhP+a/40f8ACvr7/nwn/Nf8a/Wn/hBND/6Aukf+Akf+FH/CCaH/ANAXSP8AwEj/
        AMKP9dKH/Pl/ev8AIP8AVir/AM/V9z/zPyW/4V9ff8+E/wCa/wCNH/Cvr7/nwn/Nf8a/Wn/hBND/AOgL
        pH/gJH/hR/wgmh/9AXSP/ASP/Cj/AF0of8+X96/yD/Vir/z9X3P/ADPyW/4V9ff8+E/5r/jR/wAK+vv+
        fCf81/xr9af+EE0P/oC6R/4CR/4Uf8IJof8A0BdI/wDASP8Awo/10of8+X96/wAg/wBWKv8Az9X3P/M/
        JUfDy/IOdPnP4r/jR/wru+/6B9x/47/jX61f8IJof/QF0j/wEj/wo/4QTQ/+gLpH/gJH/hQuNKH/AD5f
        3r/IP9WKv/P1fc/8z8lR8O77tp9x+a/40v8Awru//wCfC4/Nf8a/Wn/hBND/AOgLpH/gJH/hR/wgmh/9
        AXSP/ASP/Cn/AK6UP+fL/wDAl/kP/Vir/wA/V9z/AMz8lv8AhXd//wA+FwfxX/Gk/wCFd33/AD43H/fS
        /wCNfrV/wgmh/wDQF0j/AMBI/wDCj/hBND/6Aukf+Akf+FH+ulD/AJ8v/wACX+Qv9WKv/P1fc/8AM/JX
        /hXd9/z43H/fS/40f8K6viP+PCc/iv8AjX61f8IJof8A0BdI/wDASP8Awo/4QTQ/+gLpH/gJH/hR/rpQ
        /wCfL/8AAl/kH+rFX/n6vuf+Z+Sv/Cur7/oHz/mv+NA+HeoDgWEwH1X/ABr9av8AhBND/wCgLpH/AICR
        /wCFH/CCaH/0BdI/8BI/8KP9dKH/AD5f/gS/yGuGKv8Az9X3P/M/Jb/hXd//AM+M3/jv+NH/AAry/wD+
        fCf81/xr9af+EE0P/oC6R/4CR/4Uf8IJof8A0BdI/wDASP8Awo/10of8+X/4Ev8AIP8AVmr/AM/V9z/z
        PyWPw6vyedPn/Nf8aT/hXd8Dxp8+f+AnP61+tX/CCaH/ANAXSP8AwEj/AMKP+EE0P/oC6R/4CR/4Uf66
        UP8Any//AAJf5D/1Zq/8/V9z/wAz8lf+Fe3/APz4T8f7v+NH/Cvb/wD58J//AB3/ABr9av8AhBND/wCg
        LpH/AICR/wCFH/CCaH/0BdI/8BI/8KFxpQ/58v8A8CX+Qv8AVmr/AM/V9z/zPyV/4V7f/wDPhP8A+O/4
        0v8Awr+//wCgfN/47/jX60/8IJof/QF0j/wEj/wo/wCEE0P/AKAukf8AgJH/AIUf66UP+fL/APAl/kH+
        rFX/AJ+L7n/mfkt/wr+//wCgfN/47/jR/wAK/v8A/oHzf+O/41+tP/CCaH/0BdI/8BI/8KP+EE0P/oC6
        R/4CR/4Uf66UP+fL/wDAl/kH+rFX/n4vuf8Amfkt/wAK/v8A/oHzf+O/40f8K/v/APoHzf8Ajv8AjX60
        /wDCCaH/ANAXSP8AwEj/AMKP+EE0P/oC6R/4CR/4Uf66UP8Any//AAJf5B/qxV/5+L7n/mfkt/wr+/8A
        +gfN/wCO/wCNH/Cv7/8A58Jh/wB8/wCNfrT/AMIJof8A0BdI/wDASP8Awo/4QTQ/+gLpH/gJH/hS/wBd
        KH/Pl/8AgS/yD/Vir/z9X3P/ADPyW/4V9fn/AJcZh/3yf60n/Cu9QPIsrgf98/41+tX/AAgmh/8AQF0j
        /wABI/8ACj/hBND/AOgLpH/gJH/hTXGlD/ny/wDwJf5CXDFX/n6vuf8Amfkr/wAK71D/AJ8Z/wDx3/Gk
        /wCFd3//AD4T/wDjv+NfrX/wgmh/9AXSP/ASP/Cj/hBND/6Aukf+Akf+FH+ulD/ny/8AwJf5D/1Yq/8A
        P1fc/wDM/JQfDq/6/YJ8f8B/xpf+Fe32P+QfN+a/41+tX/CCaH/0BdI/8BI/8KP+EE0P/oC6R/4CR/4U
        f66UP+fL/wDAl/kL/Vir/wA/V9z/AMz8lv8AhXt/n/jwnz/wH/Gj/hXl/wD8+E/5r/jX60/8IJof/QF0
        j/wEj/wo/wCEE0P/AKAukf8AgJH/AIUf66UP+fL/APAl/kH+rFX/AJ+r7n/mfkt/wry//wCfCf8ANf8A
        Gj/hXl//AM+E/wCa/wCNfrT/AMIJof8A0BdI/wDASP8Awo/4QTQ/+gLpH/gJH/hR/rpQ/wCfL/8AAl/k
        H+rFX/n6vuf+Z+S3/CvL/wD58J/zX/Gj/hXl/wD8+E/5r/jX60/8IJof/QF0j/wEj/wo/wCEE0P/AKAu
        kf8AgJH/AIUf66UP+fL/APAl/kH+rFX/AJ+r7n/mfkt/wry//wCfCf8ANf8AGj/hXl//AM+E/wCa/wCN
        frT/AMIJof8A0BdI/wDASP8Awo/4QTQ/+gLpH/gJH/hR/rpQ/wCfL/8AAl/kH+rFX/n6vuf+Z+S3/CvL
        /wD58J/zX/Gj/hXd9/0D5/8Ax3/Gv1p/4QTQ/wDoC6R/4CR/4Uf8IJof/QF0j/wEj/wo/wBdKH/Pl/8A
        gS/yD/Vir/z9X3P/ADPyW/4V3ff9A+f/AMd/xpP+FfX/AEFhOMe6/wCNfrV/wgmh/wDQF0j/AMBI/wDC
        j/hBND/6Aukf+Akf+FC40of8+X/4Ev8AIf8AqxV/5+L7n/mfkr/wr2//AOfGb81/xo/4V7f/APPjN+a/
        41+tX/CCaH/0BdI/8BI/8KP+EE0P/oC6R/4CR/4Uf660P+fL+9f5B/qxV/5+L7n/AJn5K/8ACvb/AP58
        ZvzX/Gj/AIV7f/8APjN+a/41+tX/AAgmh/8AQF0j/wABI/8ACj/hBND/AOgLpH/gJH/hR/rrQ/58v71/
        kH+rFX/n4vuf+Z+Sv/Cvb/8A58ZvzX/Gj/hXt/8A8+M35r/jX61f8IJof/QF0j/wEj/wo/4QTQ/+gLpH
        /gJH/hR/rrQ/58v71/kH+rFX/n4vuf8Amfkr/wAK9v8A/nxm/Nf8aP8AhXt//wA+M35r/jX61f8ACCaH
        /wBAXSP/AAEj/wAKP+EE0P8A6Aukf+Akf+FH+utD/ny/vX+Qf6sVf+fi+5/5n5K/8K9v/wDnxm/Nf8aP
        +Fe3/wDz4zfmv+NfrV/wgmh/9AXSP/ASP/Cj/hBND/6Aukf+Akf+FH+utD/ny/vX+Qf6sVf+fi+5/wCZ
        +Sv/AAr2/wD+fGb81/xo/wCFe3//AD4zfmv+NfrV/wAIJof/AEBdI/8AASP/AAo/4QTQ/wDoC6R/4CR/
        4Uf660P+fL+9f5B/qxV/5+L7n/mfkt/wr+//AOgfN/47/jSH4f3/AE+wTf8Ajv8AjX61f8IJof8A0BdI
        /wDASP8Awo/4QTQ/+gLpH/gJH/hR/rpQ/wCfL/8AAl/kH+rFX/n4vuf+Z+Sv/Cvb/wD58ZvzX/Gj/hXt
        /wD8+M35r/jX61f8IJof/QF0j/wEj/wo/wCEE0P/AKAukf8AgJH/AIULjSh/z5f3r/IP9WKv/Pxfc/8A
        M/JX/hXt/wD8+M35r/jR/wAK9v8A/nxm/Nf8a/Wr/hBND/6Aukf+Akf+FH/CCaH/ANAXSP8AwEj/AMKP
        9daH/Pl/ev8AIP8AVir/AM/F9z/zPyV/4V7f/wDPjN+a/wCNH/Cvb/8A58ZvzX/Gv1q/4QTQ/wDoC6R/
        4CR/4Uf8IJof/QF0j/wEj/wo/wBdaH/Pl/ev8g/1Yq/8/F9z/wAz8lf+Fe3/APz4zfmv+NH/AAr2/wD+
        fGb81/xr9av+EE0P/oC6R/4CR/4Uf8IJof8A0BdI/wDASP8Awo/11of8+X96/wAg/wBWKv8Az8X3P/M/
        JX/hXt//AM+M35r/AI07/hXt/wD8+Ev/AI7/AI1+tH/CCaH/ANAXSP8AwEj/AMKP+EE0P/oC6R/4CR/4
        Uf66UP8Any/vX+Qf6sVf+fi+5/5n5L/8K81DnNjNj/gP+NN/4V9ff8+E5/Ff8a/Wn/hBND/6Auk/+Acf
        +FH/AAgmh/8AQF0n/wAA4/8ACk+NKH/Pl/8AgS/yF/qxV/5+L7n/AJn5Lf8ACv77/nwn/Nf8aD8Pr/8A
        58Jx/wB8/wCNfrV/wguh/wDQF0j/AMA4/wDCj/hBdD/6Aukf+Acf+FH+ulD/AJ8v/wACX+QLhir/AM/F
        9z/zPyW/4V5f/wDPjP8A+O/40n/Cvr//AJ8Zv/Hf8a/Wr/hBdD/6Aukf+Acf+FH/AAguh/8AQF0j/wAA
        4/8ACj/XSh/z5f8A4Ev8g/1Yq/8AP1fd/wAE/JX/AIV9f/8APjN/47/jR/wr6/8A+fGb/wAd/wAa/Wr/
        AIQXQ/8AoC6R/wCAcf8AhR/wguh/9AXSP/AOP/Cj/XSh/wA+X/4Ev8g/1Yq/8/V93/BPyV/4V9f/APPj
        N/47/jR/wr6//wCfGb/x3/Gv1q/4QXQ/+gLpH/gHH/hR/wAILof/AEBdI/8AAOP/AAo/10of8+X/AOBL
        /IP9WKv/AD9X3f8ABPyVPw71Dp9huB/3yP60f8K8vxx9inP4r/jX61f8ILof/QF0j/wDj/wo/wCEF0P/
        AKAukf8AgHH/AIUf660P+fL/APAl/kC4Yq/8/V9z/wAz8lf+Fe34/wCXGf8A8d/xpP8AhX1//wA+M/8A
        47/jX61/8ILof/QF0j/wDj/wpP8AhBND/wCgLpP/AIBx/wCFNca0P+fL+9f5AuGKv/Pxfc/8z8lv+Ff3
        /wDz4T/+O/40f8K9v/8Anxm/Nf8AGv1q/wCEE0P/AKAukf8AgJH/AIUf8IJof/QF0j/wEj/woXGlD/ny
        /vX+Q/8AVir/AM/F9z/zPyV/4V7f/wDPjN+a/wCNH/Cvb/8A58ZvzX/Gv1q/4QTQ/wDoC6R/4CR/4Uf8
        IJof/QF0j/wEj/wo/wBdaH/Pl/ev8g/1Yq/8/F9z/wAz8lf+Fe3/APz4zfmv+NH/AAr2/wD+fGb81/xr
        9av+EE0P/oC6R/4CR/4Uf8IJof8A0BdI/wDASP8Awo/11of8+X96/wAg/wBWKv8Az8X3P/M/JX/hXt//
        AM+M35r/AI0f8K9v/wDnxm/Nf8a/Wr/hBND/AOgLpH/gJH/hR/wgmh/9AXSP/ASP/Cj/AF1of8+X96/y
        D/Vir/z8X3P/ADPyV/4V7f8A/PjN+a/40f8ACvb/AP58ZvzX/Gv1q/4QTQ/+gLpH/gJH/hR/wgmh/wDQ
        F0j/AMBI/wDCj/XWh/z5f3r/ACD/AFYq/wDPxfc/8z8lf+Fe3/8Az4zfmv8AjR/wr2//AOfGb81/xr9a
        v+EE0P8A6Aukf+Akf+FH/CCaH/0BdI/8BI/8KP8AXWh/z5f3r/IP9WKv/Pxfc/8AM/JX/hXmof8APhN+
        a/40v/Cvb/vYT5/4D/jX60/8IJof/QF0j/wEj/wo/wCEE0P/AKAukf8AgJH/AIUf66UP+fL/APAl/kH+
        rFX/AJ+L7n/mfkt/wr2//wCfCf8A8d/xo/4V7f8A/PhP/wCO/wCNfrT/AMIJof8A0BdI/wDASP8Awo/4
        QTQ/+gLpH/gJH/hR/rrR/wCfL/8AAl/kL/Vir/z9X3P/ADPyW/4V5f8A/PhP/wCO/wCNH/Cvr7/nwn/N
        f8a/Wn/hBND/AOgLpH/gJH/hR/wgmh/9AXSP/ASP/Cj/AF0of8+X/wCBL/IP9WKv/P1fc/8AM/Jb/hX1
        9/z4T/mv+NH/AAr2/wCMWE+Pqv8AjX60/wDCCaH/ANAXSP8AwEj/AMKP+EE0P/oC6R/4CR/4Uf66UP8A
        ny//AAJf5B/qxV/5+L7n/mfkt/wry/8A+fCf81/xo/4V5f8A/PhP+a/41+tP/CCaH/0BdI/8BI/8KP8A
        hBND/wCgLpH/AICR/wCFH+ulD/ny/wDwJf5B/qxV/wCfq+5/5n5Lf8K8v/8Anwn/ADX/ABo/4V5qBGDY
        T/mv+NfrT/wgmh/9AXSP/ASP/Cj/AIQTQ/8AoC6R/wCAkf8AhR/rpQ/58v8A8CX+Qf6sVf8An6vuf+Z+
        Sv8Awrq+/wCgfOD9V/xpR8O78dNPn/Nf8a/Wn/hBND/6Aukf+Akf+FH/AAgmh/8AQF0j/wABI/8ACl/r
        pQ/58v8A8CX+Q/8AVir/AM/F9z/zPyW/4V5fnpYTj8V/xo/4V3f/APPjN/47/jX60/8ACCaH/wBAXSP/
        AAEj/wAKP+EE0P8A6Aukf+Akf+FP/XSh/wA+X/4Ev8g/1Yq/8/F9z/zPyW/4V3f/APPjN/47/jR/wru/
        /wCfGb/x3/Gv1p/4QTQ/+gLpH/gJH/hR/wAIJof/AEBdI/8AASP/AAo/10of8+X/AOBL/IP9Wav/AD8X
        3P8AzPyW/wCFd3//AD4zf+O/40f8K7v/APnxm/8AHf8AGv1p/wCEE0P/AKAukf8AgJH/AIUf8IJof/QF
        0j/wEj/wo/10of8APl/+BL/IP9Wav/Pxfc/8zUwfQ/lRg+h/KvyDHxY8VZP/ABU3iD/wYzf/ABVH/C2f
        FX/QzeIP/BjN/wDFV8N9W8z7C5+vmD6H8qMH0P5V+Qf/AAtnxV/0M3iD/wAGM3/xVH/C2fFX/QzeIP8A
        wYzf/FUnh/MHI/XzB9D+VGD6H8q/IP8A4Wz4q/6GbxB/4MZv/iqR/i14rGMeJvEIx/1EZv8A4qj6v5i5
        j9fcH0P5UYPofyr8gP8Ahbniv/oZ/EP/AIMZv/iqP+FteK/+hm8Q/wDgxm/+Kpew8w5z9f8AB9D+VGD6
        H8q/ID/hbXiv/oZvEP8A4MZv/iqP+FteK/8AoZvEP/gxm/8AiqPYeYKR+v8Ag+h/KjB9D+VfkB/wtrxX
        /wBDN4h/8GM3/wAVR/wtrxX/ANDN4h/8GM3/AMVR7DzBSP1/wfQ/lRg+h/KvyA/4W14r/wChm8Q/+DGb
        /wCKo/4W14r/AOhm8Q/+DGb/AOKo9h5gpH6/4PofyowfQ/lX5Af8La8V/wDQzeIf/BjN/wDFUf8AC2vF
        f/QzeIf/AAYzf/FUew8wUj9f8H0P5UYPofyr8gP+FteK/wDoZvEP/gxm/wDiqP8AhbXiv/oZvEP/AIMZ
        v/iqPYeYKR+v+D6H8qMH0P5V+QH/AAtrxX/0M3iH/wAGM3/xVH/C2vFf/QzeIf8AwYzf/FUew8wUj9f8
        H0P5UYPofyr8gP8Ahbfiv/oZvEP/AIMZv/iqP+FteK/+hm8Q/wDgxm/+Ko9h5gpH6/4PofyowfQ/lX5A
        f8La8V/9DN4h/wDBjN/8VR/wtrxX/wBDN4h/8GM3/wAVR7DzBSP1/wAH0P5UYPofyr8gP+FteK/+hm8Q
        /wDgxm/+Ko/4W14r/wChm8Q/+DGb/wCKo9h5gpH6/wCD6H8qMH0P5V+QH/C2vFf/AEM3iH/wYzf/ABVH
        /C2vFf8A0M3iH/wYzf8AxVHsPMFI/X/B9D+VGD6H8q/ID/hbXiv/AKGbxD/4MZv/AIqj/hbXiv8A6Gbx
        D/4MZv8A4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/ANDN4h/8GM3/AMVR/wALa8V/9DN4h/8ABjN/8VR7
        DzBSP1/wfQ/lRg+h/KvyA/4W14r/AOhm8Q/+DGb/AOKo/wCFteK/+hm8Q/8Agxm/+Ko9h5gpH6/4Pofy
        owfQ/lX5Af8AC2vFf/QzeIf/AAYzf/FUf8La8V/9DN4h/wDBjN/8VR7DzBSP1/wfQ/lRg+h/KvyA/wCF
        teK/+hm8Q/8Agxm/+Ko/4W14r/6GbxD/AODGb/4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/0M3iH/AMGM
        3/xVH/C2vFf/AEM3iH/wYzf/ABVHsPMFI/X/AAfQ/lRg+h/KvyA/4W14r/6GbxD/AODGb/4qj/hbXiv/
        AKGbxD/4MZv/AIqj2HmCkfr/AIPofyowfQ/lX5Af8La8V/8AQzeIf/BjN/8AFUf8La8V/wDQzeIf/BjN
        /wDFUew8wUj9f8H0P5UYPofyr8gP+FteK/8AoZvEP/gxm/8AiqP+FteK/wDoZvEP/gxm/wDiqPYeYKR+
        v+D6H8qMH0P5V+QH/C2vFf8A0M3iH/wYzf8AxVH/AAtrxX/0M3iH/wAGM3/xVHsPMFI/X/B9D+VGD6H8
        q/ID/hbXiv8A6GbxD/4MZv8A4qj/AIW14r/6GbxD/wCDGb/4qj2HmCkfr/g+h/KjB9D+VfkB/wALa8V/
        9DN4h/8ABjN/8VR/wtrxX/0M3iH/AMGM3/xVHsPMFI/X/B9D+VGD6H8q/ID/AIW14r/6GbxD/wCDGb/4
        qj/hbXiv/oZvEP8A4MZv/iqPYeYKR+v+D6H8qMH0P5V+QH/C2vFf/QzeIf8AwYzf/FUf8La8V/8AQzeI
        f/BjN/8AFUew8wUj9f8AB9D+VGD6H8q/ID/hbXiv/oZvEP8A4MZv/iqP+FteK/8AoZvEP/gxm/8AiqPY
        eYKR+v8Ag+h/KjB9D+VfkB/wtrxX/wBDN4h/8GM3/wAVR/wtrxX/ANDN4h/8GM3/AMVR7DzBSP1/wfQ/
        lRg+h/KvyA/4W14r/wChm8Q/+DGb/wCKo/4W14r/AOhm8Q/+DGb/AOKo9h5gpH6/4PofyowfQ/lX5Af8
        La8V/wDQzeIf/BjN/wDFUf8AC2vFf/QzeIf/AAYzf/FUew8wUj9f8H0P5UYPofyr8gP+FteK/wDoZvEP
        /gxm/wDiqP8AhbXiv/oZvEP/AIMZv/iqPYeYKR+v+D6H8qMH0P5V+QH/AAtvxX/0M3iH/wAGM3/xVH/C
        2vFf/QzeIf8AwYzf/FUew8wUj9f8H0P5UYPofyr8gP8AhbXiv/oZvEP/AIMZv/iqP+FteK/+hm8Q/wDg
        xm/+Ko9h5gpH6/4PofyowfQ/lX5Af8La8V/9DN4h/wDBjN/8VR/wtrxX/wBDN4h/8GM3/wAVR7DzBSP1
        /wAH0P5UYPofyr8gP+FteK/+hm8Q/wDgxm/+Ko/4W14r/wChm8Q/+DGb/wCKo9h5gpH6/wCD6H8qMH0P
        5V+QH/C2vFf/AEM3iH/wYzf/ABVH/C2vFf8A0M3iH/wYzf8AxVHsPMFI/X/B9D+VGD6H8q/ID/hbXiv/
        AKGbxD/4MZv/AIqj/hbXiv8A6GbxD/4MZv8A4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/ANDN4h/8GM3/
        AMVR/wALa8V/9DN4h/8ABjN/8VR7DzBSP1/wfQ/lRg+h/KvyA/4W14r/AOhm8Q/+DGb/AOKo/wCFteK/
        +hm8Q/8Agxm/+Ko9h5gpH6/4PofyowfQ/lX5Af8AC2/Ff/Qz+If/AAYzf/FUf8La8V/9DN4h/wDBjN/8
        VR7DzBSP1/wfQ/lRg+h/KvyA/wCFteK/+hm8Q/8Agxm/+Ko/4W14r/6GbxD/AODGb/4qj2HmCkfr/g+h
        /KjB9D+VfkB/wtrxX/0M3iH/AMGM3/xVH/C2vFf/AEM3iH/wYzf/ABVHsPMFI/X/AAfQ/lRg+h/KvyA/
        4W14r/6GbxD/AODGb/4qj/hbXiv/AKGbxD/4MZv/AIqj2HmCkfr/AIPofyowfQ/lX5Af8La8V/8AQzeI
        f/BjN/8AFUf8La8V/wDQzeIf/BjN/wDFUew8wUj9f8H0P5UYPofyr8gP+Ft+K/8AoZvEP/gxm/8AiqP+
        Ft+Kz18T+If/AAYzf/FUew8wUj9f8H0P5UYPofyr8gP+FteK/wDoZvEP/gxm/wDiqP8AhbXiv/oZvEP/
        AIMZv/iqPYeYKR+v+D6H8qMH0P5V+QH/AAtrxX/0M3iH/wAGM3/xVH/C2vFf/QzeIf8AwYzf/FUew8wU
        j9f8H0P5UYPofyr8gP8AhbXiv/oZvEP/AIMZv/iqP+FteK/+hm8Q/wDgxm/+Ko9h5gpH6/4PofyowfQ/
        lX5Af8La8V/9DN4h/wDBjN/8VR/wtrxX/wBDN4h/8GM3/wAVR7DzBSP1/wAH0P5UYPofyr8gP+FteK/+
        hm8Q/wDgxm/+Ko/4W14r/wChm8Q/+DGb/wCKo9h5gpH6/wCD6H8qMH0P5V+QH/C2vFf/AEM3iH/wYzf/
        ABVH/C2vFf8A0M3iH/wYzf8AxVHsPMFI/X/B9D+VGD6H8q/ID/hbXiv/AKGbxD/4MZv/AIqj/hbXiv8A
        6GbxD/4MZv8A4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/ANDN4h/8GM3/AMVR/wALa8V/9DN4h/8ABjN/
        8VR7DzBSP1/wfQ/lRg+h/KvyA/4W14r/AOhm8Q/+DGb/AOKo/wCFteK/+hm8Q/8Agxm/+Ko9h5gpH6/4
        PofyowfQ/lX5Af8AC2vFf/QzeIf/AAYzf/FUf8Lb8Vjp4n8Q/wDgxm/+Ko9h5gpH6/4PofyowfQ/lX5A
        f8La8V/9DN4h/wDBjN/8VR/wtrxX/wBDN4h/8GM3/wAVR7DzBSP1/wAH0P5UYPofyr8gP+FteK/+hm8Q
        /wDgxm/+Ko/4W14r/wChm8Q/+DGb/wCKo9h5gpH6/wCD6H8qMH0P5V+QH/C2/Ff/AEM/iH/wYzf/ABVH
        /C2vFf8A0M3iH/wYzf8AxVHsPMFI/X/B9D+VGD6H8q/ID/hbXiv/AKGbxD/4MZv/AIqj/hbXiv8A6Gbx
        D/4MZv8A4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/ANDN4h/8GM3/AMVR/wALa8V/9DN4h/8ABjN/8VR7
        DzBSP1/wfQ/lRg+h/KvyA/4W14r/AOhm8Q/+DGb/AOKo/wCFteK/+hm8Q/8Agxm/+Ko9h5i5/I/X/B9D
        +VGD6H8q/ID/AIW14r/6GbxD/wCDGb/4qj/hbXiv/oZvEP8A4MZv/iqPYeY1M//Z
</value>
  </data>
  <data name="set.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADwSURBVDhPhY+xDYUwDESz09/pr8ACiBGQ6Cj+IFRU6akY
        go7OP2dzliGROOkp2Pgucer7XkC6xDr0ZRgGx6aCaA6GluQ4DjnPsw6KAeu66jdOEkI1AOz7jp4RjErD
        TKBodvkQngYTQW9ZlvuNxl3cC88rpYNe13UaAtDDiR4otZm5F2/iSjln2bZNhzGH3iNAPIBo0yQ5fTQE
        wIhZUgXwmXkqpoIGXOZxHJVorgJ02IwqrjHPv8rME/81AAV2ZYDkr79imqbqBWo0TAyBCeZWQDT67UG+
        /zMAK+AEvIh14aZmAHgzuloBzZ1fFA0vxpT+sRXMCLq81bkAAAAASUVORK5CYII=
</value>
  </data>
  <data name="dy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK
        jo6OzvH7yVk/OFHg0MnC/vfuhzOq6zrK76vzIrRtm3nf92sgBpdlieu6ZgCe5xmAXEot0zTZMABBXLiU
        grRUVRWHYTATYpOfYR9kiGbMnQelUTu5wzmsoDWk796GOI6jGRDDzH0BxAyQ1Z5e4xhuGUSQWbkAaE2B
        FMRN05h9uAD4JoHato1d9yjCOjOAH9Y+QggDOW5gwZdfEgR7iAf4YG53yq0eBADzjlWk/+QP2WXf9xmk
        u3/Bo2wICEG/Oo9XdCIYwhNr8dl8ZRwfdQAAAABJRU5ErkJggg==
</value>
  </data>
  <data name="yl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
        UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG
        V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2
        9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK
        f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8
        NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN
        BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA
        AABJRU5ErkJggg==
</value>
  </data>
  <data name="Select.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
        UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG
        V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2
        9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK
        f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8
        NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN
        BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA
        AABJRU5ErkJggg==
</value>
  </data>
  <data name="Back.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACcSURBVDhPtZPBCcQgEEXtNVUFBI+WYAlewl4twxJm88RZ
        xDUbDeyDQWf4805q/o3U02yblbbq+JoakhhjCdPvIrIfUuYhhGsJ4TNXgt77ocA5NxboMuGz/QSnBO1y
        H7wV9MtLgtHykiDnXIbWvp4JIKX0JaGfFkAv4b4kgFbCuSwAlVCPBKCS9iXSa90KAIn+BeD9s0j9/Avz
        GPMGIZpkvqVDGAQAAAAASUVORK5CYII=
</value>
  </data>
  <data name="Next.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACYSURBVDhPrZMxDsMgEAT5qx9DSW0pEiVPoKSkSc9zNlmL
        i+wUezjKSifB6mZEYYe/ZNseOM+sj34edbi4A9ifIIBa6wFOAcYYWvQtyDl/BNZJiRK8K1/iCjzJyguk
        ZEkwJey4c5GsCgxOKaG1dk9gcIwRpZR7L5AwowQuzCgB7xJmbNHGBDwTlLCF3z9Bjv0LTO/dh39PCC/T
        8HpVcPCyWAAAAABJRU5ErkJggg==
</value>
  </data>
  <data name="xz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAG3SURBVDhPfVLdK0NhHH5LSXGn/QculCsfUbtRLl1JbhQh
        taxNNPnOolY+yhjjQo12oRQ3bhWiZGULF3Kv5Nucbeacs4/HeX/HnJ289tRT7+/5/Z7nfc+vw+bXgvD4
        NuFZDojpC2DOvwX/1i6YCDPeDXEjDyu+C5oRhrgX1knMZrMQkfe83vNf45+QydlVEtKZDETkvaWlkMlk
        Chn3LFOhptIQMQsgsHmElvYetHXYcHB4YgpjIzOLJMhKCiIqagoZLUVKJPEWlWg2UlOKs3KmB7ncC3RI
        yioKMfc5Zc4IkhUMCAOXVgvY4OQsNeJJBYl/qKYM8/ZtQr9QCwlZtFf0j3lI+PiUIQmoaHvg/RJ7mMzX
        KlDtv6NXUIBjeJoG3mNfiMbNlFXdXGy/MplZAGB1QeqxPtcUHV4lbUkxg7K2PK4XOW7+N3PYBiaoeI5+
        4uXDINdWu1hhM0evc5SEx7c4nt4TRL51rvEAXLT+MR+fGn8m67YPUXH/IuH+NUbkNZnVB0C5opD8m3Me
        QndfXpGHXECnlRF/ZILJ09zWhaqGJlTVG+R6ZW0jeAgNadjZ29f72iz36Cpj3yFNGCz1c9N0AAAAAElF
        TkSuQmCC
</value>
  </data>
  <data name="xg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAHvSURBVDhPnZJNSFRRGIYPCBHYLl24d9EiKsuN48KNBbUo
        EGSEmEwXoo0iRkR/ZBkSaC3m74qmC3/GjS7Edv5RTQNCMzUyNMWUWFaTo6AIaqjQ2/d999id61SLXnjh
        cr73ec8991yVqXZPLzq9PfD6e+AL2M1rnZ4n4IyO29Xa0YUf27twhwDlJfv3mdaawz8lw1mNWbrV7sHa
        6jrcUxsYTOOPbprelAxnNWbp+r1HWF1ZhnoMDHwFKp8BeYO0s0+b38IDyXBWY5au3nmIdOqbhC6HgYIh
        ArrI3Rmmkq3NDWRK40o13XiAxYXPsltBkAb7YbIRN6HoyVyEDyt51rhSV67dRTL5EcqgxV5yn91GQvI4
        1BjFViHBEeCNI98qqGu+ibnEB7h8UaiqWaiLlo3Jpd9w8J15BC6ZzVdWQX3LbfSPPBUPjY4jqJ2cXxDg
        YENE4LkdoMi/mF3AOlvhwonSM+JjJeUYHhkT+EBDzAbLsYr7ZabRbM08p6sg5bjf/hVm6Xi2eOirVv8H
        x2foKkhcgFcV/4YnQhFkOnDJvF+Bd74D2zEp2YO/pJZtefqFO/Dy9Xu8iCQQin1CgEHSXoHLocSs+LQh
        Gc4yw6w676yRL37ccRpHS87hfqUZPnKqzCzRmhoz0EYzznCWmQvOWvwCAklSiLgvRB8AAAAASUVORK5C
        YII=
</value>
  </data>
  <data name="sc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAG5SURBVDhPlZDrK4NhGMafP8BHf4BPwkfmq8NnvhKlUHxw
        iEgSIsQKqcVyPjQ2Z9mS0ooSlqElQ07RaGRib6zmeHmf27O3zSZcdbXnfp77+r33PRZKZdXN8Le4/pt4
        wO15g0vykvn5V4j/1/5iEfsSv/iPbPbjQAgvHp5ecXrlwv6ZE7bDC1h2j7BitWNpzYZ5swUG0zL6Jxag
        GZxCe68+GFBe14rjkzOMjs9iSD+DPt0ktAN6dHQPQ63pR0N7N+pbtdBNL6KmRRNijVo1jWexHcLjfcbN
        gwcDBhOOzp0wW+zoGpmG0bxBE1U2tAX/ocWVjQRY27JDenzClUtC39g8Dk4dcFzf0RuXw+nC+uZOMKCg
        vI4avgPupUfg4wPWaEb2yVeLOGN5JVX08B3ARcFt+SBbAfnVBMgprKDmUIBOJgeaIr4sgr6avxEgK7+U
        mkOuIIsgxeEBVsJcGblF1PgTgMZODQuwMj5XenYBNa5a9+CWAZe3bvTo5uhO2Zn/xgmLOwWSKSbg8r4D
        954XXNxIVNP4IszPVAtIwBrJKWmIjE1AlCoR0aokxMQnYWLGqEAoKIv3+mrGGPsEfOpdAqh7YNYAAAAA
        SUVORK5CYII=
</value>
  </data>
  <data name="AddRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAEdSURBVDhPY/hPIWCws7P7TypGBmADPHb8B2OnLT//W6/5
        9N9w6cv/mnMf/FeYeuO/eN/5/3xtx/4z1+wBY9oYUJCfTzTGasCqlSv/v3n9mihM0IDLly7937N79/+t
        W7aAxZcuWQLHCgoKcAwDWA04evHY/1U7VmNgkMaSuw3/ra2todqRDIDZvHD9ov996yf+r1pa/z9rct7/
        mOZEuK0S7Wr/rc75gGmYGIoBIJu3nt/xf+n5Vf9nnZv/f8r52f9b93XDbQbhkGspYHrS09mYBsBcMHXD
        jP+Ny1r/F00v+5/akQW3DWQzSDNWF6CHwcbdGzAwSAPMZhjAagByLIDwiuXLwRhmK4YBZ8+cIRqD1CMD
        sAGkYmRAYXb+/x8A86/iJXr/E3YAAAAASUVORK5CYII=
</value>
  </data>
  <data name="DelRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADSSURBVDhPlZPRDYQgEERpxgaswlCGv/ZBSXwbC6AAC7AA
        G9hj1huCuMS7SUYi8l4IqhvHUf5tHRWc59ntcRy3dgXrusq2baUppUf3fe8L3mD0J0EPZLsCC0Sdcw8B
        5hgV4HBaEIt14bIUCYUyTUViCmpYhqFICLM61wq41YcEbeDbDmqwbpEYMKICC0QhRhUwYMQUEGxhS6KC
        EIJ472We51dYm8+DEr1Cgm8BkhijCeNe575vhZJLk8OdQMCvkhKM+FfwjBIdc4oAgaQtFlpzV0Q+Xg/P
        E8pc2+4AAAAASUVORK5CYII=
</value>
  </data>
  <data name="bc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH1SURBVDhPjZPNSxRxGMcfI+jQLTxYIKLoQQsjvEadEoRO
        /gO+awReIiGty97sRQtbPSmoB8FFMSwKDx3VXdvcfGErt9YlpWUJF/dFV2d0v36fHc0XdPALX2bmme/z
        mec38xuRBi+kahqRVmD5yfmsWe3J9ErtDD6tAQkAv85pzWqP9oo0foVcbWcJMEwDpmnaWjMqyWlHplfq
        ZlD2IVPD5CTgnra3ZlTN3oMJaj24NWYVk6kUNrbsrRlV+QQBNZ7jgKkpPsVtb82oCl06wQnAv1gCa/Gk
        rTWjutBHQN0+oOxgCbE4NuIJW2tGJc4jgNvvgUu9LLzYhHRuQ96Yp1vvdWwjt2UR0mVA6vdf4h1+hSv9
        BDxfh1R+huS/ghR0Hnd+Bxu+QKrdcEwkmY2dAAwQ8DScGe8sSRUbqj0Y+c5zR+QUwOOQFbz2EtKyij+/
        rTc/69tFKLjzH+DyM9O2wq3MiXSsux8JGGSx+YcFKHpNQBD+b8Dc/C78Pw2E/3L9RwGPAhYg654LeY4l
        ZA+x2DiH9CaPeZygaQEBBrU5sJxCNJo6BOgSHi4wrz8TdbF8GJefBUn0IRYBQktAmKtZXeExsoPouoF0
        eosbh3u/3ot3QQKafJAHsxZAlVUxCinthlx3QkreHrqY1+oS+maP5Rs8L6Xvj2MPx8IASe80O9sAAAAA
        SUVORK5CYII=
</value>
  </data>
  <data name="fq.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACfSURBVDhPYyAGsGWf/Q9lkglSz/xnSANiskHCqf9///8n
        wxCQBhAOPfp/ytn/JBgCUpQIsRWGQQYQZwhQ8ilQEQj3XwAqnokFG8/EbwDMNrhiUCCSohluM0wxzAC8
        mkEAagBYMbI/QQYQ1AwCuAwgSjMI4DKAaIBkwD2C0YULAJ2LYQgMEwWgBiAbAsMkGQLGoLBAxyR5C2YQ
        OoYDBgYA9kn+I3B8Li4AAAAASUVORK5CYII=
</value>
  </data>
  <data name="sh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc
        d1EcjEwytSiH4SZcRHLQ7FemtlJDOPiZml8XSzMWMz9mK7Xevs/z7DvDzLzr9X2253k+r8+nvn0pM10t
        hGykjnMndRE1ZWJlVKvF+qdErytIF/1G6k72sMPTBULIRcCF4H2bcOMknC8SNsb/IXheJ8R8hAfPPwUH
        M4Qz6fKVlXBtJwRWxP99aX/NnKfgcJZwMkfwS9OwdW86TwFLc6MGmxPE2Zok+CwCzwjB5XDkLpbDJHYj
        cax9ArbHDzukt5HJ9wxbpuGe7+fvvL1esLU6BTmsSHpyfggGRiaxe3yJaJzfhbI/wGHJ7MqKS1ZKv+xx
        gWFoDDtH57h7jCGeSGDQHoTJGUwL5M6MSrsKFd5y/jst6DaapQkuEI6+4eU1hoZRP4dFFhTMK6FYUKB4
        SQHVciGKbMpPQafBxAWhiDRBPA7S73O4gH0HWtGtza9BrVslCnUSrSmBPAET3Eee0GO9Ra8tjGQyySUs
        8iQ1XvVn58xU1WnxG1zAJmn61pmIPgBiIY95z/CSIgAAAABJRU5ErkJggg==
</value>
  </data>
  <data name="qsh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGPSURBVDhPlZLLK0RhGMbfsrVRtkp2k4UFsUOxsPAn2NoI
        C0MzEmpQFi4LpWEjUhaGMYqyUINQjEtqGEqkcZkY4zLO1CGP73vPN2cujdtTv97vPd/7PL2ncyhZTTWE
        TKjrn6UGUVRgVElhnlF/DamvzjJN36FmMkteHk8RbhYJODXQNwnXHkJgmrA2+I+A51VC1Et4WPlnwN4Y
        4UQMX7gIV27C5ZzR+8TzZccfA/bHCUcTBL/YRtZd5x8DpKoqyrE+RMzGMME7YHDlG4WUGvtZMsRtJ8bV
        RjjfEubPT+xYiFFjlN6zugecWJq08TevKzWQkoPwiYMgbkzu2dzeO4ztwzNENPYgx3bJSI2IfwA9+QbK
        GO/lHQdYO/uxdRDA3WMUWiyGDncQXZ4g3j8+EiGNuSmYZqlmu0NscIpQ5A0vr1GU9fkZXdc5gNeuzU7B
        XF+qwdrFATdhsYGmgep9jGmWR1mLFeqZGRLfQAbch5/Q4rpF63yIA3h9ZZZn7lVIymtYSiqRzszsghmS
        PJzoib4AQHWvuebaS2wAAAAASUVORK5CYII=
</value>
  </data>
  <data name="sz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAClSURBVDhPxZNBCgMhDEVz1zmQSxkQXHoEj+CmdOtx0vyU
        wFhjqaXQDyGEn/8QZ6Sf6TgSn8x83phl5For+iDsSOPW2uRNgJzzsARfLPVKKXsAC8OXcYKrVoBreHU6
        lQd4DW8BvPAWIISgPaX7d4AYo33KAYL54zvovWthNoh5yAzyAE+H6ApB3wZABkEtAdLeLhnE/RMhXBqC
        KO8tQIC4b+FPInoA2b1WbweybUAAAAAASUVORK5CYII=
</value>
  </data>
  <data name="syz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACcSURBVDhPtZPBCcQgEEXtNVUFBI+WYAlewl4twxJm88RZ
        xDUbDeyDQWf4805q/o3U02yblbbq+JoakhhjCdPvIrIfUuYhhGsJ4TNXgt77ocA5NxboMuGz/QSnBO1y
        H7wV9MtLgtHykiDnXIbWvp4JIKX0JaGfFkAv4b4kgFbCuSwAlVCPBKCS9iXSa90KAIn+BeD9s0j9/Avz
        GPMGIZpkvqVDGAQAAAAASUVORK5CYII=
</value>
  </data>
  <data name="xyz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACYSURBVDhPrZMxDsMgEAT5qx9DSW0pEiVPoKSkSc9zNlmL
        i+wUezjKSifB6mZEYYe/ZNseOM+sj34edbi4A9ifIIBa6wFOAcYYWvQtyDl/BNZJiRK8K1/iCjzJyguk
        ZEkwJey4c5GsCgxOKaG1dk9gcIwRpZR7L5AwowQuzCgB7xJmbNHGBDwTlLCF3z9Bjv0LTO/dh39PCC/T
        8HpVcPCyWAAAAABJRU5ErkJggg==
</value>
  </data>
  <data name="mz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACXSURBVDhPrZPBCYAwDEW7a4fpsWdB6LEjdIRevHec2JQE
        NIlgxA9B6c97iGj4JTHuQLcq2F2Hju+hAsYYagG7DQC2A9ZOa01L1hItSIkUlFJswexNiU9gSNxPICV+
        AUnwbFbfBAznnP0ChlNKUGv1CSTsegcWzN0rwbwoGPNKMLNACWNYzvMkCL13BXPw+0cQx/wXvieEEzaJ
        cBFxK5ZNAAAAAElFTkSuQmCC
</value>
  </data>
  <data name="tm.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
        UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG
        V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2
        9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK
        f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8
        NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN
        BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA
        AABJRU5ErkJggg==
</value>
  </data>
  <data name="redblue.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAEXSURBVDhPpZG/TsJQFMbvO/kOsjrAzNI+Qu0L4MzCwg66
        mMgAC2wYmEggECCQdtDUuGhQFiWQfJxz7+0VUmgv8SRn6T395fsjeAbVK5SLInV934c8PjUMAAbYbrr4
        WTWxfqvjc1nB+7CE154nAXR2HhIDdhLQIkANHwsG3BnA9PHmPOQYoBRIwKiEFwLQydEmIAbwqxR8swK2
        MCIFfQ9B28H8qYDxw3UGgBV8ESD6A7CCkAENBuTSAYchqgxUiEHbxayRx+Q+A7DbPGuAVsAhsoWOSxby
        GGcDdAsRKTA13koF0oKdAl2jzCC24JAFiwxMC7GCRAs2Fg5bMCFyC9YZJFsIKcTUFmjkg+2eAgj+eMnq
        3/47QuwBNTYBELFI9AQAAAAASUVORK5CYII=
</value>
  </data>
  <data name="qt.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADvSURBVDhPzVLBCoJAEPUT/A5P/oh/4Vd19VBdig6egwg8
        SZCIeIgIIYTIIiKiw752ZlcMS43q0IPB2dmZ994OGj+F53lwXRemaXJQTjV93Q5qlh/Yto1JkKM3XnJe
        EqmuBmgVHop2QLIHZmsBPxFcI5JWJ6RAaukByM5AflEk05XAKBJ81+qCFMh2dgKKK3C8VSR+XLnQ7c8o
        CdJCOpAk25qDToLyCWEO3kFMO9ioHfTDN57wuMR5JhBk0rocHiyUOt3paIZWYDUaoqCcahQYmnAcp53k
        1Y8kyzxsWRZHJ0kDmOi/SNTxM3w1XINh3AF00QUlYhBzgwAAAABJRU5ErkJggg==
</value>
  </data>
  <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7
        bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G
        rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY
        wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg
        gg==
</value>
  </data>
  <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN
        oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7
        znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex
        vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF
        AG0RaJ0Gqp8A+0ICGBIZLkZLifXv8Xb3YnVlRdrdb23gtAHHjpdj5hAVRVdv+vBlaVkes+6pPVzhieHn
        YQKiwHtHpSFp6+rB4sIn+Y37R+3hB5kNec2SSKV5isvebuiZj8YPxoKxYrSMAR90RyWc2AZqgp/lKSzB
        Jc91xJI6nEoUdCECchrRJlZl4YA7XgJL+Yl7BszjauvEu9QCZoUk8UFHMq3jW+6HLJS1p+1hniZXO6pq
        63Hk5Bkr/Fy9SHvC4+FXhuTa7V6s/dopydbOriXA7Ll/YN7nHrNSENeXMDA4aq0WvP0V2IpLSQFOpuaQ
        mF+WPSm4Iv7CxmaXNBbWPwUtDpLhZ8/HwyU9ZolvjjkaUH3qrBUuV9WeBkv4mufh42clHWYaz7vwG72U
        TLZQdeFnAAAAAElFTkSuQmCC
</value>
  </data>
  <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW
        /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7
        77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq
        aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI
        JWylHvVeGGCm+hBQnNlCNIatWNxW6lGv9B0D3PsIXOrnQts2pGsX0mOdLX3WuYsbjT8gvTyNmsOPeJ+n
        cOUtAa2bkEdfIbkdkLyuk8rtZGAGUuGCYzxBb/QUYJCAlpAp73+jnIEKN979pNcRPgPQEDSA7HZI4xpW
        /pgvP+vdRzCwx/Y1AKeP3uZVtjIr0rJKPhMwxMX6RQO41U1AAL45YP77Pny/Ugitc//HAc/8BpD1wIkc
        xxKuDnOxdh7pbc45rKBuAX4aNexfTiISYQNlALqFpwv068/EcbF0BJdfBEj0IhoGgktAKAisrXIO7yGy
        mUI6vcPGYe/XePA+QECdF/Jk1gB0ZJWNQgpfQ273QQpeHSmf96oCquiN0R1eF1IPP+AAgRmsjnCqFmoA
        AAAASUVORK5CYII=
</value>
  </data>
  <data name="cmdHICMOBillNo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHWorkEmpID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHProcID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHDeptID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHSourceID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHGroupID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHUnitID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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="cmdHMaterID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        R0lGODlhEAAQAIYAAAAzmQBmzP///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>
  <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>93, 17</value>
  </metadata>
  <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>183, 17</value>
  </metadata>
  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>46</value>
  </metadata>
</root>
WarM/WarM.csproj
@@ -123,6 +123,12 @@
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
      <DependentUpon>Settings.settings</DependentUpon>
    </Compile>
    <Compile Include="Sc_MESNowWorkBill_Fast.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Sc_MESNowWorkBill_Fast.designer.cs">
      <DependentUpon>Sc_MESNowWorkBill_Fast.cs</DependentUpon>
    </Compile>
    <Compile Include="仓库管理\Gy_BarCodeBill_ChaiMa.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -729,6 +735,10 @@
      <DependentUpon>Kf_BillDatePeriod.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Sc_MESNowWorkBill_Fast.resx">
      <DependentUpon>Sc_MESNowWorkBill_Fast.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="仓库管理\Gy_BarCodeBill_ChaiMa.resx">
      <DependentUpon>Gy_BarCodeBill_ChaiMa.cs</DependentUpon>
    </EmbeddedResource>
WarM/WarM.csproj.user
@@ -9,6 +9,6 @@
    <ErrorReportUrlHistory />
    <FallbackCulture>zh-CN</FallbackCulture>
    <VerifyUploadedFiles>false</VerifyUploadedFiles>
    <ProjectView>ShowAllFiles</ProjectView>
    <ProjectView>ProjectFiles</ProjectView>
  </PropertyGroup>
</Project>
WarM/ÌõÂë´òÓ¡/Sc_ICMOToBarCode.cs
@@ -2043,5 +2043,49 @@
            Sub_SaveBarCode();
            //
        }
        private void cmdESOP_Click(object sender, EventArgs e)
        {
            Sc_MESNowWorkBill_Fast oSc_MESNowWorkBill_Fast = new Sc_MESNowWorkBill_Fast();
            oSc_MESNowWorkBill_Fast.txtHICMOBillNo.Text = "";
            oSc_MESNowWorkBill_Fast.txtHMaterID.Text =txtHMaterID.Text;
            oSc_MESNowWorkBill_Fast.txtHName.Text = ClsPub.isStrNull(grdMain.Rows[0].Cells[Fun_GetCol("物料名称")].Value);
            oSc_MESNowWorkBill_Fast.txtHModel.Text = ClsPub.isStrNull(grdMain.Rows[0].Cells[Fun_GetCol("规格型号")].Value);
            oSc_MESNowWorkBill_Fast.Show();
        }
        private void txtHBarCode_KeyDown(object sender, KeyEventArgs e)
        {
            if(e.KeyCode==Keys.Enter)
            {
                //
                //获取第一行条形码进行打印
                DataSet DSet = oCn.RunProcReturn("select * from h_v_IF_BarCodeBillList_CS Where  æ¡ç ç¼–号='"+ txtHBarCode.Text +"' and æ¡ç ç±»åž‹ = '托盘条码'", "h_v_IF_BarCodeBillList_CS", ref DBUtility.ClsPub.sExeReturnInfo);
                //生成首行标题
                if (DSet == null)
                {
                    MessageBox.Show("没有返回任何结果,条码不存在!" + DBUtility.ClsPub.sExeReturnInfo);
                    return;
                }
                //
                grdList.DataSource = DSet.Tables[0].DefaultView;
                //冻结
                int FrCol = 0;
                string s = "是";
                DBUtility.Xt_BaseBillFun.DisplayGrid(grdList, this.Name + "grdList", s, FrCol);
                //
                //判断是否已经生成条码
                if (DBUtility.ClsPub.isStrNull(grdList.Rows[0].Cells[Fun_GetColList("条码编号")].Value) == "")
                {
                    MessageBox.Show("条码未生成,请先生成条码后再预览!");
                    return;
                }
                //选择打印模板
                Sub_SetReport("注塑物料标签");
                Report.Print(false);
                Thread.Sleep(1000);
            }
        }
    }
}
WarM/ÌõÂë´òÓ¡/Sc_ICMOToBarCode.designer.cs
@@ -30,7 +30,7 @@
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sc_ICMOToBarCode));
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            this.Tool = new System.Windows.Forms.ToolStrip();
            this.tc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
@@ -70,6 +70,7 @@
            this.label7 = new System.Windows.Forms.Label();
            this.txtHBQty = new System.Windows.Forms.TextBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.cmdESOP = new System.Windows.Forms.Button();
            this.cmdHSaveBill1 = new System.Windows.Forms.Button();
            this.dtpHEndDate1 = new System.Windows.Forms.DateTimePicker();
            this.label10 = new System.Windows.Forms.Label();
@@ -91,6 +92,7 @@
            this.button2 = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.button7 = new System.Windows.Forms.Button();
            this.txtHBarCode = new System.Windows.Forms.TextBox();
            this.Tool.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
            this.gbUp.SuspendLayout();
@@ -120,7 +122,7 @@
            this.Tool.Location = new System.Drawing.Point(0, 0);
            this.Tool.Name = "Tool";
            this.Tool.Padding = new System.Windows.Forms.Padding(0);
            this.Tool.Size = new System.Drawing.Size(1172, 50);
            this.Tool.Size = new System.Drawing.Size(1563, 62);
            this.Tool.Stretch = true;
            this.Tool.TabIndex = 16;
            this.Tool.Text = "toolStrip1";
@@ -142,13 +144,13 @@
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 62);
            // 
            // toolStripSeparator9
            // 
            this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator9.Name = "toolStripSeparator9";
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 62);
            // 
            // mrlk
            // 
@@ -158,7 +160,7 @@
            this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.mrlk.ImageTransparentColor = System.Drawing.Color.White;
            this.mrlk.Name = "mrlk";
            this.mrlk.Size = new System.Drawing.Size(60, 47);
            this.mrlk.Size = new System.Drawing.Size(73, 59);
            this.mrlk.Text = "默认列宽";
            this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
@@ -168,7 +170,7 @@
            // 
            this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 62);
            // 
            // bclk
            // 
@@ -178,7 +180,7 @@
            this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.bclk.ImageTransparentColor = System.Drawing.Color.White;
            this.bclk.Name = "bclk";
            this.bclk.Size = new System.Drawing.Size(60, 47);
            this.bclk.Size = new System.Drawing.Size(73, 59);
            this.bclk.Text = "保存列宽";
            this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
@@ -188,7 +190,7 @@
            // 
            this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 62);
            // 
            // cz
            // 
@@ -219,21 +221,21 @@
            this.grdMain.AllowUserToDeleteRows = false;
            this.grdMain.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
            this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.grdMain.DefaultCellStyle = dataGridViewCellStyle1;
            this.grdMain.Location = new System.Drawing.Point(4, 6);
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.grdMain.DefaultCellStyle = dataGridViewCellStyle2;
            this.grdMain.Location = new System.Drawing.Point(5, 8);
            this.grdMain.Margin = new System.Windows.Forms.Padding(0);
            this.grdMain.Name = "grdMain";
            this.grdMain.ReadOnly = true;
            this.grdMain.RowHeadersWidth = 51;
            this.grdMain.RowTemplate.Height = 23;
            this.grdMain.Size = new System.Drawing.Size(867, 263);
            this.grdMain.Size = new System.Drawing.Size(1156, 329);
            this.grdMain.TabIndex = 19;
            this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
            this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick);
@@ -243,9 +245,10 @@
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.Black;
            this.label1.Location = new System.Drawing.Point(19, 35);
            this.label1.Location = new System.Drawing.Point(25, 44);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(88, 16);
            this.label1.Size = new System.Drawing.Size(109, 20);
            this.label1.TabIndex = 46;
            this.label1.Text = "生产订单号";
            // 
@@ -253,10 +256,11 @@
            // 
            this.txtHICMOBillNo.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOBillNo.Location = new System.Drawing.Point(112, 29);
            this.txtHICMOBillNo.Location = new System.Drawing.Point(149, 36);
            this.txtHICMOBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHICMOBillNo.Name = "txtHICMOBillNo";
            this.txtHICMOBillNo.ReadOnly = true;
            this.txtHICMOBillNo.Size = new System.Drawing.Size(166, 30);
            this.txtHICMOBillNo.Size = new System.Drawing.Size(220, 36);
            this.txtHICMOBillNo.TabIndex = 47;
            // 
            // label2
@@ -264,9 +268,10 @@
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.ForeColor = System.Drawing.Color.Black;
            this.label2.Location = new System.Drawing.Point(312, 34);
            this.label2.Location = new System.Drawing.Point(416, 42);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(40, 16);
            this.label2.Size = new System.Drawing.Size(49, 20);
            this.label2.TabIndex = 49;
            this.label2.Text = "机台";
            // 
@@ -274,18 +279,20 @@
            // 
            this.txtHSourceID.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHSourceID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID.Location = new System.Drawing.Point(364, 28);
            this.txtHSourceID.Location = new System.Drawing.Point(485, 35);
            this.txtHSourceID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID.Name = "txtHSourceID";
            this.txtHSourceID.ReadOnly = true;
            this.txtHSourceID.Size = new System.Drawing.Size(166, 30);
            this.txtHSourceID.Size = new System.Drawing.Size(220, 36);
            this.txtHSourceID.TabIndex = 50;
            // 
            // cmdHSourceID
            // 
            this.cmdHSourceID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID.Image")));
            this.cmdHSourceID.Location = new System.Drawing.Point(527, 27);
            this.cmdHSourceID.Location = new System.Drawing.Point(703, 34);
            this.cmdHSourceID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID.Name = "cmdHSourceID";
            this.cmdHSourceID.Size = new System.Drawing.Size(32, 32);
            this.cmdHSourceID.Size = new System.Drawing.Size(43, 40);
            this.cmdHSourceID.TabIndex = 51;
            this.cmdHSourceID.UseVisualStyleBackColor = true;
            this.cmdHSourceID.Click += new System.EventHandler(this.cmdHSourceID_Click);
@@ -295,9 +302,10 @@
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.ForeColor = System.Drawing.Color.Black;
            this.label3.Location = new System.Drawing.Point(599, 34);
            this.label3.Location = new System.Drawing.Point(799, 42);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(40, 16);
            this.label3.Size = new System.Drawing.Size(49, 20);
            this.label3.TabIndex = 52;
            this.label3.Text = "职员";
            // 
@@ -305,18 +313,20 @@
            // 
            this.txtHEmpID.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID.Location = new System.Drawing.Point(651, 28);
            this.txtHEmpID.Location = new System.Drawing.Point(868, 35);
            this.txtHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpID.Name = "txtHEmpID";
            this.txtHEmpID.ReadOnly = true;
            this.txtHEmpID.Size = new System.Drawing.Size(166, 30);
            this.txtHEmpID.Size = new System.Drawing.Size(220, 36);
            this.txtHEmpID.TabIndex = 53;
            // 
            // cmdHEmpID
            // 
            this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image")));
            this.cmdHEmpID.Location = new System.Drawing.Point(817, 27);
            this.cmdHEmpID.Location = new System.Drawing.Point(1089, 34);
            this.cmdHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHEmpID.Name = "cmdHEmpID";
            this.cmdHEmpID.Size = new System.Drawing.Size(32, 32);
            this.cmdHEmpID.Size = new System.Drawing.Size(43, 40);
            this.cmdHEmpID.TabIndex = 54;
            this.cmdHEmpID.UseVisualStyleBackColor = true;
            this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click);
@@ -326,9 +336,10 @@
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.ForeColor = System.Drawing.Color.Black;
            this.label4.Location = new System.Drawing.Point(875, 34);
            this.label4.Location = new System.Drawing.Point(1167, 42);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(40, 16);
            this.label4.Size = new System.Drawing.Size(49, 20);
            this.label4.TabIndex = 55;
            this.label4.Text = "物料";
            this.label4.Visible = false;
@@ -337,18 +348,20 @@
            // 
            this.txtHMaterID.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID.Location = new System.Drawing.Point(927, 28);
            this.txtHMaterID.Location = new System.Drawing.Point(1236, 35);
            this.txtHMaterID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMaterID.Name = "txtHMaterID";
            this.txtHMaterID.ReadOnly = true;
            this.txtHMaterID.Size = new System.Drawing.Size(166, 30);
            this.txtHMaterID.Size = new System.Drawing.Size(220, 36);
            this.txtHMaterID.TabIndex = 56;
            // 
            // cmdHMaterID
            // 
            this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image")));
            this.cmdHMaterID.Location = new System.Drawing.Point(1090, 27);
            this.cmdHMaterID.Location = new System.Drawing.Point(1453, 34);
            this.cmdHMaterID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHMaterID.Name = "cmdHMaterID";
            this.cmdHMaterID.Size = new System.Drawing.Size(32, 32);
            this.cmdHMaterID.Size = new System.Drawing.Size(43, 40);
            this.cmdHMaterID.TabIndex = 57;
            this.cmdHMaterID.UseVisualStyleBackColor = true;
            this.cmdHMaterID.Visible = false;
@@ -375,9 +388,11 @@
            this.gbUp.Controls.Add(this.txtHEmpID);
            this.gbUp.Controls.Add(this.label2);
            this.gbUp.Controls.Add(this.cmdHEmpID);
            this.gbUp.Location = new System.Drawing.Point(11, 55);
            this.gbUp.Location = new System.Drawing.Point(15, 69);
            this.gbUp.Margin = new System.Windows.Forms.Padding(4);
            this.gbUp.Name = "gbUp";
            this.gbUp.Size = new System.Drawing.Size(1149, 126);
            this.gbUp.Padding = new System.Windows.Forms.Padding(4);
            this.gbUp.Size = new System.Drawing.Size(1532, 158);
            this.gbUp.TabIndex = 58;
            this.gbUp.TabStop = false;
            // 
@@ -385,10 +400,11 @@
            // 
            this.txtHSeOrderBillNo.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHSeOrderBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSeOrderBillNo.Location = new System.Drawing.Point(112, 79);
            this.txtHSeOrderBillNo.Location = new System.Drawing.Point(149, 99);
            this.txtHSeOrderBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSeOrderBillNo.Name = "txtHSeOrderBillNo";
            this.txtHSeOrderBillNo.ReadOnly = true;
            this.txtHSeOrderBillNo.Size = new System.Drawing.Size(123, 30);
            this.txtHSeOrderBillNo.Size = new System.Drawing.Size(220, 36);
            this.txtHSeOrderBillNo.TabIndex = 141;
            // 
            // label9
@@ -396,9 +412,10 @@
            this.label9.AutoSize = true;
            this.label9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label9.ForeColor = System.Drawing.Color.Black;
            this.label9.Location = new System.Drawing.Point(19, 85);
            this.label9.Location = new System.Drawing.Point(25, 106);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(88, 16);
            this.label9.Size = new System.Drawing.Size(109, 20);
            this.label9.TabIndex = 140;
            this.label9.Text = "销售订单号";
            // 
@@ -408,10 +425,10 @@
            this.cmbHBarCodeType.FormattingEnabled = true;
            this.cmbHBarCodeType.Items.AddRange(new object[] {
            "唯一条码"});
            this.cmbHBarCodeType.Location = new System.Drawing.Point(642, 79);
            this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(2);
            this.cmbHBarCodeType.Location = new System.Drawing.Point(868, 99);
            this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.cmbHBarCodeType.Name = "cmbHBarCodeType";
            this.cmbHBarCodeType.Size = new System.Drawing.Size(140, 28);
            this.cmbHBarCodeType.Size = new System.Drawing.Size(264, 33);
            this.cmbHBarCodeType.TabIndex = 139;
            // 
            // label8
@@ -419,9 +436,10 @@
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label8.ForeColor = System.Drawing.Color.Black;
            this.label8.Location = new System.Drawing.Point(557, 86);
            this.label8.Location = new System.Drawing.Point(759, 106);
            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(72, 16);
            this.label8.Size = new System.Drawing.Size(89, 20);
            this.label8.TabIndex = 138;
            this.label8.Text = "条码类型";
            // 
@@ -429,10 +447,10 @@
            // 
            this.cmdHSaveBill.BackColor = System.Drawing.Color.White;
            this.cmdHSaveBill.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdHSaveBill.Location = new System.Drawing.Point(821, 68);
            this.cmdHSaveBill.Margin = new System.Windows.Forms.Padding(2);
            this.cmdHSaveBill.Location = new System.Drawing.Point(1228, 85);
            this.cmdHSaveBill.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.cmdHSaveBill.Name = "cmdHSaveBill";
            this.cmdHSaveBill.Size = new System.Drawing.Size(112, 50);
            this.cmdHSaveBill.Size = new System.Drawing.Size(149, 62);
            this.cmdHSaveBill.TabIndex = 137;
            this.cmdHSaveBill.Text = "查询";
            this.cmdHSaveBill.UseVisualStyleBackColor = false;
@@ -442,10 +460,10 @@
            // 
            this.dtpHBeginDate.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.dtpHBeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHBeginDate.Location = new System.Drawing.Point(336, 77);
            this.dtpHBeginDate.Margin = new System.Windows.Forms.Padding(2);
            this.dtpHBeginDate.Location = new System.Drawing.Point(485, 94);
            this.dtpHBeginDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.dtpHBeginDate.Name = "dtpHBeginDate";
            this.dtpHBeginDate.Size = new System.Drawing.Size(154, 30);
            this.dtpHBeginDate.Size = new System.Drawing.Size(261, 36);
            this.dtpHBeginDate.TabIndex = 100;
            // 
            // label6
@@ -453,20 +471,21 @@
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.ForeColor = System.Drawing.Color.Black;
            this.label6.Location = new System.Drawing.Point(257, 85);
            this.label6.Location = new System.Drawing.Point(416, 106);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(72, 16);
            this.label6.Size = new System.Drawing.Size(49, 20);
            this.label6.TabIndex = 99;
            this.label6.Text = "日    æœŸ";
            this.label6.Text = "日期";
            // 
            // button4
            // 
            this.button4.BackColor = System.Drawing.Color.White;
            this.button4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button4.Location = new System.Drawing.Point(932, 189);
            this.button4.Margin = new System.Windows.Forms.Padding(2);
            this.button4.Location = new System.Drawing.Point(1244, 242);
            this.button4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(112, 50);
            this.button4.Size = new System.Drawing.Size(149, 62);
            this.button4.TabIndex = 138;
            this.button4.Text = "生成条码";
            this.button4.UseVisualStyleBackColor = false;
@@ -476,10 +495,10 @@
            // 
            this.button5.BackColor = System.Drawing.Color.White;
            this.button5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button5.Location = new System.Drawing.Point(932, 247);
            this.button5.Margin = new System.Windows.Forms.Padding(2);
            this.button5.Location = new System.Drawing.Point(1244, 315);
            this.button5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(112, 42);
            this.button5.Size = new System.Drawing.Size(149, 52);
            this.button5.TabIndex = 139;
            this.button5.Text = "预览";
            this.button5.UseVisualStyleBackColor = false;
@@ -489,10 +508,10 @@
            // 
            this.button6.BackColor = System.Drawing.Color.White;
            this.button6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button6.Location = new System.Drawing.Point(932, 296);
            this.button6.Margin = new System.Windows.Forms.Padding(2);
            this.button6.Location = new System.Drawing.Point(1244, 376);
            this.button6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button6.Name = "button6";
            this.button6.Size = new System.Drawing.Size(112, 44);
            this.button6.Size = new System.Drawing.Size(149, 55);
            this.button6.TabIndex = 140;
            this.button6.Text = "打印";
            this.button6.UseVisualStyleBackColor = false;
@@ -500,11 +519,12 @@
            // 
            // txtHMiniQty
            // 
            this.txtHMiniQty.Location = new System.Drawing.Point(794, 296);
            this.txtHMiniQty.Location = new System.Drawing.Point(1059, 370);
            this.txtHMiniQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMiniQty.Multiline = true;
            this.txtHMiniQty.Name = "txtHMiniQty";
            this.txtHMiniQty.ReadOnly = true;
            this.txtHMiniQty.Size = new System.Drawing.Size(112, 42);
            this.txtHMiniQty.Size = new System.Drawing.Size(148, 52);
            this.txtHMiniQty.TabIndex = 141;
            this.txtHMiniQty.TextChanged += new System.EventHandler(this.txtHMiniQty_TextChanged);
            // 
@@ -512,9 +532,10 @@
            // 
            this.标准装箱.AutoSize = true;
            this.标准装箱.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.标准装箱.Location = new System.Drawing.Point(790, 265);
            this.标准装箱.Location = new System.Drawing.Point(1053, 331);
            this.标准装箱.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.标准装箱.Name = "标准装箱";
            this.标准装箱.Size = new System.Drawing.Size(120, 27);
            this.标准装箱.Size = new System.Drawing.Size(151, 34);
            this.标准装箱.TabIndex = 142;
            this.标准装箱.Text = "标准装箱";
            // 
@@ -522,19 +543,21 @@
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label7.Location = new System.Drawing.Point(779, 349);
            this.label7.Location = new System.Drawing.Point(1039, 436);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(174, 27);
            this.label7.Size = new System.Drawing.Size(219, 34);
            this.label7.TabIndex = 144;
            this.label7.Text = "本次生成数量";
            this.label7.Visible = false;
            // 
            // txtHBQty
            // 
            this.txtHBQty.Location = new System.Drawing.Point(797, 380);
            this.txtHBQty.Location = new System.Drawing.Point(1063, 475);
            this.txtHBQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBQty.Multiline = true;
            this.txtHBQty.Name = "txtHBQty";
            this.txtHBQty.Size = new System.Drawing.Size(112, 42);
            this.txtHBQty.Size = new System.Drawing.Size(148, 52);
            this.txtHBQty.TabIndex = 143;
            this.txtHBQty.Visible = false;
            this.txtHBQty.TextChanged += new System.EventHandler(this.txtHBQty_TextChanged);
@@ -542,6 +565,7 @@
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.cmdESOP);
            this.groupBox1.Controls.Add(this.cmdHSaveBill1);
            this.groupBox1.Controls.Add(this.dtpHEndDate1);
            this.groupBox1.Controls.Add(this.label10);
@@ -552,20 +576,35 @@
            this.groupBox1.Controls.Add(this.txtHMaterID1);
            this.groupBox1.Controls.Add(this.label13);
            this.groupBox1.Controls.Add(this.cmdHMaterID1);
            this.groupBox1.Location = new System.Drawing.Point(10, 485);
            this.groupBox1.Location = new System.Drawing.Point(13, 606);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(1034, 126);
            this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox1.Size = new System.Drawing.Size(1406, 158);
            this.groupBox1.TabIndex = 140;
            this.groupBox1.TabStop = false;
            //
            // cmdESOP
            //
            this.cmdESOP.BackColor = System.Drawing.Color.White;
            this.cmdESOP.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdESOP.Location = new System.Drawing.Point(1230, 44);
            this.cmdESOP.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.cmdESOP.Name = "cmdESOP";
            this.cmdESOP.Size = new System.Drawing.Size(149, 62);
            this.cmdESOP.TabIndex = 138;
            this.cmdESOP.Text = "E-SOP";
            this.cmdESOP.UseVisualStyleBackColor = false;
            this.cmdESOP.Click += new System.EventHandler(this.cmdESOP_Click);
            // 
            // cmdHSaveBill1
            // 
            this.cmdHSaveBill1.BackColor = System.Drawing.Color.White;
            this.cmdHSaveBill1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdHSaveBill1.Location = new System.Drawing.Point(771, 35);
            this.cmdHSaveBill1.Margin = new System.Windows.Forms.Padding(2);
            this.cmdHSaveBill1.Location = new System.Drawing.Point(1045, 44);
            this.cmdHSaveBill1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.cmdHSaveBill1.Name = "cmdHSaveBill1";
            this.cmdHSaveBill1.Size = new System.Drawing.Size(112, 50);
            this.cmdHSaveBill1.Size = new System.Drawing.Size(149, 62);
            this.cmdHSaveBill1.TabIndex = 137;
            this.cmdHSaveBill1.Text = "查询";
            this.cmdHSaveBill1.UseVisualStyleBackColor = false;
@@ -575,10 +614,10 @@
            // 
            this.dtpHEndDate1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.dtpHEndDate1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHEndDate1.Location = new System.Drawing.Point(478, 75);
            this.dtpHEndDate1.Margin = new System.Windows.Forms.Padding(2);
            this.dtpHEndDate1.Location = new System.Drawing.Point(637, 94);
            this.dtpHEndDate1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.dtpHEndDate1.Name = "dtpHEndDate1";
            this.dtpHEndDate1.Size = new System.Drawing.Size(213, 30);
            this.dtpHEndDate1.Size = new System.Drawing.Size(283, 36);
            this.dtpHEndDate1.TabIndex = 102;
            // 
            // label10
@@ -586,9 +625,10 @@
            this.label10.AutoSize = true;
            this.label10.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label10.ForeColor = System.Drawing.Color.Black;
            this.label10.Location = new System.Drawing.Point(399, 83);
            this.label10.Location = new System.Drawing.Point(532, 104);
            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(72, 16);
            this.label10.Size = new System.Drawing.Size(89, 20);
            this.label10.TabIndex = 101;
            this.label10.Text = "结束日期";
            // 
@@ -596,10 +636,10 @@
            // 
            this.dtpHBeginDate1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.dtpHBeginDate1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHBeginDate1.Location = new System.Drawing.Point(112, 77);
            this.dtpHBeginDate1.Margin = new System.Windows.Forms.Padding(2);
            this.dtpHBeginDate1.Location = new System.Drawing.Point(149, 96);
            this.dtpHBeginDate1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.dtpHBeginDate1.Name = "dtpHBeginDate1";
            this.dtpHBeginDate1.Size = new System.Drawing.Size(213, 30);
            this.dtpHBeginDate1.Size = new System.Drawing.Size(283, 36);
            this.dtpHBeginDate1.TabIndex = 100;
            // 
            // label11
@@ -607,9 +647,10 @@
            this.label11.AutoSize = true;
            this.label11.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label11.ForeColor = System.Drawing.Color.Black;
            this.label11.Location = new System.Drawing.Point(33, 85);
            this.label11.Location = new System.Drawing.Point(44, 106);
            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(72, 16);
            this.label11.Size = new System.Drawing.Size(89, 20);
            this.label11.TabIndex = 99;
            this.label11.Text = "开始日期";
            // 
@@ -618,9 +659,10 @@
            this.label12.AutoSize = true;
            this.label12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label12.ForeColor = System.Drawing.Color.Black;
            this.label12.Location = new System.Drawing.Point(427, 35);
            this.label12.Location = new System.Drawing.Point(569, 44);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(40, 16);
            this.label12.Size = new System.Drawing.Size(49, 20);
            this.label12.TabIndex = 55;
            this.label12.Text = "物料";
            // 
@@ -628,20 +670,22 @@
            // 
            this.txtHICMOBillNo1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOBillNo1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOBillNo1.Location = new System.Drawing.Point(112, 29);
            this.txtHICMOBillNo1.Location = new System.Drawing.Point(149, 36);
            this.txtHICMOBillNo1.Margin = new System.Windows.Forms.Padding(4);
            this.txtHICMOBillNo1.Name = "txtHICMOBillNo1";
            this.txtHICMOBillNo1.ReadOnly = true;
            this.txtHICMOBillNo1.Size = new System.Drawing.Size(214, 30);
            this.txtHICMOBillNo1.Size = new System.Drawing.Size(284, 36);
            this.txtHICMOBillNo1.TabIndex = 47;
            // 
            // txtHMaterID1
            // 
            this.txtHMaterID1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterID1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID1.Location = new System.Drawing.Point(477, 29);
            this.txtHMaterID1.Location = new System.Drawing.Point(636, 36);
            this.txtHMaterID1.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMaterID1.Name = "txtHMaterID1";
            this.txtHMaterID1.ReadOnly = true;
            this.txtHMaterID1.Size = new System.Drawing.Size(184, 30);
            this.txtHMaterID1.Size = new System.Drawing.Size(244, 36);
            this.txtHMaterID1.TabIndex = 56;
            // 
            // label13
@@ -649,18 +693,20 @@
            this.label13.AutoSize = true;
            this.label13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label13.ForeColor = System.Drawing.Color.Black;
            this.label13.Location = new System.Drawing.Point(19, 35);
            this.label13.Location = new System.Drawing.Point(25, 44);
            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(88, 16);
            this.label13.Size = new System.Drawing.Size(109, 20);
            this.label13.TabIndex = 46;
            this.label13.Text = "生产订单号";
            // 
            // cmdHMaterID1
            // 
            this.cmdHMaterID1.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID1.Image")));
            this.cmdHMaterID1.Location = new System.Drawing.Point(660, 27);
            this.cmdHMaterID1.Location = new System.Drawing.Point(880, 34);
            this.cmdHMaterID1.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHMaterID1.Name = "cmdHMaterID1";
            this.cmdHMaterID1.Size = new System.Drawing.Size(32, 32);
            this.cmdHMaterID1.Size = new System.Drawing.Size(43, 40);
            this.cmdHMaterID1.TabIndex = 57;
            this.cmdHMaterID1.UseVisualStyleBackColor = true;
            this.cmdHMaterID1.Click += new System.EventHandler(this.cmdHMaterID1_Click);
@@ -671,22 +717,23 @@
            this.grdSub.AllowUserToDeleteRows = false;
            this.grdSub.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
            this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdSub.Location = new System.Drawing.Point(9, 618);
            this.grdSub.Location = new System.Drawing.Point(12, 772);
            this.grdSub.Margin = new System.Windows.Forms.Padding(4);
            this.grdSub.Name = "grdSub";
            this.grdSub.ReadOnly = true;
            this.grdSub.RowHeadersWidth = 51;
            this.grdSub.RowTemplate.Height = 23;
            this.grdSub.Size = new System.Drawing.Size(866, 228);
            this.grdSub.Size = new System.Drawing.Size(1155, 285);
            this.grdSub.TabIndex = 145;
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.White;
            this.button1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button1.Location = new System.Drawing.Point(900, 626);
            this.button1.Margin = new System.Windows.Forms.Padding(2);
            this.button1.Location = new System.Drawing.Point(1244, 772);
            this.button1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(112, 50);
            this.button1.Size = new System.Drawing.Size(149, 62);
            this.button1.TabIndex = 146;
            this.button1.Text = "补打条码";
            this.button1.UseVisualStyleBackColor = false;
@@ -696,37 +743,41 @@
            // 
            this.整箱数量.AutoSize = true;
            this.整箱数量.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.整箱数量.Location = new System.Drawing.Point(796, 190);
            this.整箱数量.Location = new System.Drawing.Point(1061, 238);
            this.整箱数量.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.整箱数量.Name = "整箱数量";
            this.整箱数量.Size = new System.Drawing.Size(120, 27);
            this.整箱数量.Size = new System.Drawing.Size(151, 34);
            this.整箱数量.TabIndex = 148;
            this.整箱数量.Text = "本箱数量";
            // 
            // txtHZXQty
            // 
            this.txtHZXQty.Location = new System.Drawing.Point(796, 221);
            this.txtHZXQty.Location = new System.Drawing.Point(1061, 276);
            this.txtHZXQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHZXQty.Multiline = true;
            this.txtHZXQty.Name = "txtHZXQty";
            this.txtHZXQty.Size = new System.Drawing.Size(112, 42);
            this.txtHZXQty.Size = new System.Drawing.Size(148, 52);
            this.txtHZXQty.TabIndex = 147;
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Location = new System.Drawing.Point(9, 181);
            this.tabControl1.Location = new System.Drawing.Point(12, 226);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(759, 298);
            this.tabControl1.Size = new System.Drawing.Size(1012, 372);
            this.tabControl1.TabIndex = 149;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.grdMain);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Location = new System.Drawing.Point(4, 25);
            this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(751, 272);
            this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
            this.tabPage1.Size = new System.Drawing.Size(1004, 343);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "物料信息";
            this.tabPage1.UseVisualStyleBackColor = true;
@@ -734,10 +785,11 @@
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.grdList);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
            this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(751, 272);
            this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
            this.tabPage2.Size = new System.Drawing.Size(1004, 343);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "条码信息";
            this.tabPage2.UseVisualStyleBackColor = true;
@@ -748,23 +800,23 @@
            this.grdList.AllowUserToDeleteRows = false;
            this.grdList.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
            this.grdList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdList.Location = new System.Drawing.Point(3, 3);
            this.grdList.Location = new System.Drawing.Point(4, 4);
            this.grdList.Margin = new System.Windows.Forms.Padding(0);
            this.grdList.Name = "grdList";
            this.grdList.ReadOnly = true;
            this.grdList.RowHeadersWidth = 51;
            this.grdList.RowTemplate.Height = 23;
            this.grdList.Size = new System.Drawing.Size(866, 269);
            this.grdList.Size = new System.Drawing.Size(1155, 336);
            this.grdList.TabIndex = 20;
            // 
            // button2
            // 
            this.button2.BackColor = System.Drawing.Color.White;
            this.button2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button2.Location = new System.Drawing.Point(796, 436);
            this.button2.Margin = new System.Windows.Forms.Padding(2);
            this.button2.Location = new System.Drawing.Point(1061, 545);
            this.button2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(112, 44);
            this.button2.Size = new System.Drawing.Size(149, 55);
            this.button2.TabIndex = 150;
            this.button2.Text = "上一个物料";
            this.button2.UseVisualStyleBackColor = false;
@@ -774,10 +826,10 @@
            // 
            this.button3.BackColor = System.Drawing.Color.White;
            this.button3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button3.Location = new System.Drawing.Point(932, 378);
            this.button3.Margin = new System.Windows.Forms.Padding(2);
            this.button3.Location = new System.Drawing.Point(1243, 472);
            this.button3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(112, 44);
            this.button3.Size = new System.Drawing.Size(149, 55);
            this.button3.TabIndex = 151;
            this.button3.Text = "下一个物料";
            this.button3.UseVisualStyleBackColor = false;
@@ -787,22 +839,31 @@
            // 
            this.button7.BackColor = System.Drawing.Color.White;
            this.button7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button7.Location = new System.Drawing.Point(932, 436);
            this.button7.Margin = new System.Windows.Forms.Padding(2);
            this.button7.Location = new System.Drawing.Point(1243, 545);
            this.button7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.button7.Name = "button7";
            this.button7.Size = new System.Drawing.Size(112, 44);
            this.button7.Size = new System.Drawing.Size(149, 55);
            this.button7.TabIndex = 152;
            this.button7.Text = "超额生产";
            this.button7.UseVisualStyleBackColor = false;
            this.button7.Click += new System.EventHandler(this.button7_Click);
            // 
            // txtHBarCode
            //
            this.txtHBarCode.Location = new System.Drawing.Point(1243, 852);
            this.txtHBarCode.Name = "txtHBarCode";
            this.txtHBarCode.Size = new System.Drawing.Size(175, 25);
            this.txtHBarCode.TabIndex = 153;
            this.txtHBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBarCode_KeyDown);
            //
            // Sc_ICMOToBarCode
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.BackColor = System.Drawing.SystemColors.ActiveCaption;
            this.ClientSize = new System.Drawing.Size(1172, 844);
            this.ClientSize = new System.Drawing.Size(1563, 1055);
            this.Controls.Add(this.txtHBarCode);
            this.Controls.Add(this.button7);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.button2);
@@ -821,6 +882,7 @@
            this.Controls.Add(this.button4);
            this.Controls.Add(this.gbUp);
            this.Controls.Add(this.Tool);
            this.Margin = new System.Windows.Forms.Padding(4);
            this.Name = "Sc_ICMOToBarCode";
            this.Text = "快速生成条码";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
@@ -903,5 +965,7 @@
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Button button3;
        private System.Windows.Forms.Button button7;
        private System.Windows.Forms.Button cmdESOP;
        private System.Windows.Forms.TextBox txtHBarCode;
    }
}
WarM/ÌõÂë´òÓ¡/Sc_ICMOToBarCode.resx
@@ -360,7 +360,7 @@
  <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7
        bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G
        rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY
        wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg
@@ -370,7 +370,7 @@
  <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN
        oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7
        znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex
        vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF
@@ -385,7 +385,7 @@
  <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW
        /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7
        77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq
        aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI
@@ -400,7 +400,7 @@
  <data name="cz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACfSURBVDhPYyAGsGWf/Q9lkglSz/xnSANiskHCqf9///8n
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACfSURBVDhPYyAGsGWf/Q9lkglSz/xnSANiskHCqf9///8n
        wxCQBhAOPfp/ytn/JBgCUpQIsRWGQQYQZwhQ8ilQEQj3XwAqnokFG8/EbwDMNrhiUCCSohluM0wxzAC8
        mkEAagBYMbI/QQYQ1AwCuAwgSjMI4DKAaIBkwD2C0YULAJ2LYQgMEwWgBiAbAsMkGQLGoLBAxyR5C2YQ
        OoYDBgYA9kn+I3B8Li4AAAAASUVORK5CYII=
WebAPI/Controllers/BaseSet/Gy_GroupController.cs
@@ -286,6 +286,7 @@
                var HBarCodeForBase = list[0].HBarCodeForBase;
                var HDeptID = list[0].HDeptID;
                long HProcID = list[0].HProcID;
                int HUSEORGID = list[0].HUSEORGID;
                var HDeptNumber = "";
                //var HEndFlag = 0;
                long HLevel = 1;
@@ -326,10 +327,10 @@
                    oCN.RunProc("Insert into Gy_Group " +
                    " (HNumber,HName,HHelpCode,HShortNumber,HParentID" +
                    ",HEmpQty,HDeptID,HDeptNumber,HProcID" +
                    ",HLevel,HEndFlag,HStopflag,HRemark,HBarCodeForBase) " +
                    ",HLevel,HEndFlag,HStopflag,HRemark,HBarCodeForBase,HUSEORGID) " +
                    " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + HParentID.ToString() +
                    "," + HEmpQty.ToString() + "," + HDeptID.ToString() + ",'" + HDeptNumber + "'," + HProcID.ToString() +
                    "," + HLevel.ToString() + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "','" + HBarCodeForBase + "')", ref DBUtility.ClsPub.sExeReturnInfo);
                    "," + HLevel.ToString() + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "','" + HBarCodeForBase + "',"+ HUSEORGID + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                    //修改上级为非末级代码
                    oCN.RunProc("Update Gy_Group set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo);
                    oCN.Commit();
WebAPI/Controllers/BaseSet/Gy_ProcessController.cs
@@ -321,6 +321,7 @@
                string HBarCodeForBase = list[0].HBarCodeForBase;
                long HDeptID = list[0].HDeptID;
                long HProcID = list[0].HProcID;
                int HUSEORGID = list[0].HUSEORGID;
                //判断权限
                //if (!ClsPub.Security_Log("Gy_Process_Edit", 1, false, msg3))
@@ -358,12 +359,14 @@
                        " (HNumber,HName,HHelpCode,HShortNumber,HParentID" +
                        ",HTypeFlow,HTypeCount,HDeptNumber,HSNo" +
                        ",HLevel,HEndFlag,HStopflag,HRemark,HDeptID,HBarCodeForBase,HProcessID_K3,HBillSubType,HAutoTrunFlag" +
                        ",HFixPrice,HOverFixPrice,HProcMulID,HProcCheckNote) " +
                        ",HFixPrice,HOverFixPrice,HProcMulID,HProcCheckNote" +
                        ",HUSEORGID) " +
                        " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + HParentID.ToString() +
                        "," + Convert.ToString(HTypeFlow ? 1 : 0) + "," + Convert.ToString(HTypeCount ? 1 : 0) + ",'" + HDeptNumber + "','" + HSNo.ToString() +
                        "'," + HLevel.ToString() + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "'," + HDeptID +
                        ",'" + HBarCode + "'," + HProcessID_K3 + ",'" +HBillSubType + "'," + Convert.ToString(HAutoTrunFlag ? 1 : 0) +
                        ",'" + HFixPrice.ToString() + "'," + HOverFixPrice.ToString() + "," + HProcMulID.ToString() + ",'" + HProcCheckNote.ToString() + "')", ref DBUtility.ClsPub.sExeReturnInfo);
                        ",'" + HFixPrice.ToString() + "'," + HOverFixPrice.ToString() + "," + HProcMulID.ToString() + ",'" + HProcCheckNote.ToString() + "'" +
                        ","+ HUSEORGID + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                    //修改上级为非末级代码
                    oCN.RunProc("Update Gy_Process set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo);
                    oCN.Commit();
WebAPI/Controllers/BaseSet/Gy_WorkCenterController.cs
@@ -256,8 +256,8 @@
                }
                //反序列化
                msg2 = "[" + msg2.ToString() + "]";
                List<Gy_WorkCenter> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Gy_WorkCenter>>(msg2);
                msg1 = "[" + msg1.ToString() + "]";
                List<Gy_WorkCenter> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Gy_WorkCenter>>(msg1);
                long HItemID = list[0].HItemID;
                string HNumber = list[0].HNumber;
@@ -277,9 +277,10 @@
                var HProcID = list[0].HProcID;
                var HLevel = list[0].HLevel;
                var HWorkTimes = list[0].HWorkTimes;
                int HUSEORGID = list[0].HUSEORGID;
                //判断权限
                if (!ClsPub.Security_Log("Gy_WorkCenter_Edit", 1, false, msg3))
                if (!ClsPub.Security_Log("Gy_WorkCenter_Edit", 1, false, msg2))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -314,11 +315,11 @@
                   " (HNumber,HName,HHelpCode,HShortNumber,HParentID" +
                   ",HDeptNumber,HWorkTimes,HQty" +
                   ",HLevel,HEndFlag,HStopflag,HRemark,HDeptID,HBarCodeForBase" +
                   ",HProcID,HDayMoney) " +
                   ",HProcID,HDayMoney,HUSEORGID) " +
                   " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + HParentID.ToString() +
                    ",'" + HDeptNumber + "'," + HWorkTimes + "," + HQty +
                    "," + HLevel.ToString() + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) +
                    ",'" + HRemark + "'," + HDeptID + ",'" + HBarCodeForBase + "'," + HProcID + "," + HDayMoney + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                    ",'" + HRemark + "'," + HDeptID + ",'" + HBarCodeForBase + "'," + HProcID + "," + HDayMoney + ","+ HUSEORGID + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                    //修改上级为非末级代码
                    oCN.RunProc("Update  Gy_WorkCenter set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo);
                    oCN.Commit();
WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs
@@ -1,11 +1,16 @@
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Pub_Class;
using SQLHelper;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Web;
using System.Web.Http;
using WebAPI.Controllers.SCGL.日计划管理;
using WebAPI.Models;
namespace WebAPI.Controllers
@@ -19,7 +24,13 @@
        SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
        DataSet ds;
        DAL.ClsIF_Material_View oMaterHlp = new DAL.ClsIF_Material_View();
        public DAL.ClsGy_Process_View oProcHlp = new DAL.ClsGy_Process_View();
        DAL.ClsGy_WorkCenter_View oCenHlp = new DAL.ClsGy_WorkCenter_View();
        Gy_RoutingBill_temporary omdelMian = new Gy_RoutingBill_temporary();
        public string BillType = "3301";
        #region å·¥è‰ºè·¯çº¿ åˆ—表
        /// <summary>
        /// è¿”回工艺路线列表
        ///参数:string sql。
@@ -68,6 +79,9 @@
            }
        }
        #endregion
        #region å·¥è‰ºè·¯çº¿ æ–°å¢ž
        /// <summary>
        /// æ–°å¢žå•据-保存按钮
        ///参数:string sql。
@@ -122,7 +136,7 @@
                msg2 = "[" + msg2.ToString() + "]";
                List<Gy_RoutingBill> mainList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Gy_RoutingBill>>(msg2);
                string BillType = "3301";
                long HInterID = mainList[0].HInterID;//递入type得到的单据ID
                string HBillNo = mainList[0].HBillNo;//递入type得到的单据号
                DateTime HDate = mainList[0].HDate;//日期
@@ -148,8 +162,8 @@
                double HStdSourceQty = mainList[0].HStdSourceQty;//标准资源数
                double HAddSourceRate = mainList[0].HAddSourceRate;//加资源增量
                double HDelSourceRate = mainList[0].HDelSourceRate;//减资源减量
                int HPRDORGID = mainList[0].HPRDORGID;  //组织
                int HPRDORGID = mainList[0].HPRDORGID;  //生产组织
                int HOrgID = mainList[0].HOrgID;  //组织
                string HPicNumVer = mainList[0].HPicNumVer;//图号版本
                string HPicNumAssemble = mainList[0].HPicNumAssemble;//总装图号
                string HMaterTexture = mainList[0].HMaterTexture;//材质
@@ -165,12 +179,12 @@
                    ",HRoutingGroupID,HUnitID,HMaterNumber,HUnitNumber,HStandard" +
                    ",HMainGroupID,HMainProcID,HMainCenterID,HMainTimeUnit,HMainUnitTime,HMainWorkQty" +
                    ",HMainPrice,HStdSourceQty,HAddSourceRate,HPRDORGID,HDelSourceRate" +
                    ",HPicNumVer,HPicNumAssemble,HMaterTexture,HProductNum,HVerNum) " + " values('" + BillType + "'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" +
                    ",HPicNumVer,HPicNumAssemble,HMaterTexture,HProductNum,HVerNum,HOrgID) " + " values('" + BillType + "'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" +
                    "," + HYear + "," + HPeriod + ",'" + HRemark + "','" + HMaker + "',getdate()," + HMaterID + ",'" + HName + "'," + HMaterTypeID +
                    "," + HRoutingGroupID + "," + HUnitID + ",'" + HMaterNumber + "','" + HUnitNumber + "'," + Convert.ToString(HStandard ? 1 : 0) +
                    "," + HMainGroupID + "," + HMainProcID + "," + HMainCenterID + ",'" + HMainTimeUnit + "'," + HMainUnitTime + "," + HMainWorkQty +
                    "," + HMainPrice + "," + HStdSourceQty + "," + HAddSourceRate + "," + HPRDORGID + "," + HDelSourceRate +
                    ",'"+ HPicNumVer + "','" + HPicNumAssemble + "','" + HMaterTexture + "','" + HProductNum + "','" + HVerNum + "') ");
                    ",'"+ HPicNumVer + "','" + HPicNumAssemble + "','" + HMaterTexture + "','" + HProductNum + "','" + HVerNum + "',"+ HOrgID + ") ");
                }
                else if (OperationType == 3)
                { //修改
@@ -291,6 +305,501 @@
            return objJsonResult;
        }
        //
        #endregion
        #region å·¥è‰ºè·¯çº¿ æ–‡ä»¶ä¸Šä¼ 
        [Route("Gy_RoutingBill/Gy_RoutingBillimport")]
        [HttpPost]
        public object Gy_RoutingBillimport()
        {
            try
            {
                var WorkBookName = HttpContext.Current.Request["WorkBookName"];
                DBUtility.ClsPub.HOrgID = long.Parse(HttpContext.Current.Request["HOrgID"]);
                //获取文件名称
                var file = HttpContext.Current.Request.Files[0];
                //获取文件物理路径
                string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName);
                //保存文件
                file.SaveAs(ExcelPath);
                NpoiHelper np = new NpoiHelper();
                DataSet ExcelDs = np.ReadExcel(ExcelPath, 1,2, WorkBookName);
                //删除文件
                File.Delete(ExcelPath);
                //创建临时表
                DataTable tb2 = new DataTable("dt2");
                //添加列名
                for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++)
                {
                    tb2.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString());
                }
                //添加数据
                for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++)
                {
                    DataRow row = tb2.NewRow();
                    for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++)
                    {
                        row[j] = ExcelDs.Tables[0].Rows[i][j].ToString();
                    }
                    tb2.Rows.Add(row);
                }
                var error = "";
                //查询工艺路线没有的列
                if (!tb2.Columns.Contains("产品代码"))
                    error += "没有找到【产品代码】的标题,";
                if (!tb2.Columns.Contains("工序"))
                    error += "没有找到【工序】的标题,";
                if (!tb2.Columns.Contains("工作中心"))
                    error += "没有找到【工作中心】的标题,";
                if (!tb2.Columns.Contains("加工数量"))
                    error += "没有找到【加工数量】的标题,";
                if (!tb2.Columns.Contains("本道开工余量"))
                    error += "没有找到【本道开工余量】的标题,";
                if (!tb2.Columns.Contains("本道固定开工天数"))
                    error += "没有找到【本道固定开工天数】的标题,";
                if (!tb2.Columns.Contains("班产定额"))
                    error += "没有找到【班产定额】的标题,";
                if (!tb2.Columns.Contains("工序工价"))
                    error += "没有找到【工序工价】的标题,";
                if (!tb2.Columns.Contains("工序序号"))
                    error += "没有找到【工序序号】的标题,";
                if (!tb2.Columns.Contains("工艺参数"))
                    error += "没有找到【工艺参数】的标题,";
                if (!tb2.Columns.Contains("图纸编号"))
                    error += "没有找到【图纸编号】的标题,";
                if (!tb2.Columns.Contains("本工序确认记录"))
                    error += "没有找到【本工序确认记录】的标题,";
                if (!tb2.Columns.Contains("图号版本"))
                    error += "没有找到【图号版本】的标题,";
                if (!tb2.Columns.Contains("总装图号"))
                    error += "没有找到【总装图号】的标题,";
                if (!tb2.Columns.Contains("材质"))
                    error += "没有找到【材质】的标题,";
                if (!tb2.Columns.Contains("成品编号"))
                    error += "没有找到【成品编号】的标题,";
                if (!tb2.Columns.Contains("版本"))
                    error += "没有找到【版本】的标题,";
                if (!tb2.Columns.Contains("模具编号"))
                    error += "没有找到【模具编号】的标题,";
                if (!tb2.Columns.Contains("程序号"))
                    error += "没有找到【程序号】的标题,";
                if (!tb2.Columns.Contains("良率"))
                    error += "没有找到【良率】的标题";
                if (error.Length > 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = $"Excel模板存在错误,{error}\r\n" ;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                objJsonResult = (json)Checkdata(tb2);
                if (objJsonResult.code == "0")
                {
                    return objJsonResult;
                }
                string hnumber = "";
                if (tb2.Rows.Count > 0)
                {
                    hnumber = DBUtility.ClsPub.isStrNull(tb2.Rows[0]["产品代码"].ToString());
                }
                for (int i = 0; i <= tb2.Rows.Count - 1; i++)
                {
                    string sHNumber = "";
                    if (DBUtility.ClsPub.isStrNull(tb2.Rows[i]["产品代码"].ToString()) != "")
                    {
                        //
                        sHNumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["产品代码"].ToString());
                        //审核代码是否合理
                        if (!DBUtility.ClsPub.AllowNumber(sHNumber))
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "物料代码中不能出现连续‘.’并且首位末位不能为‘.’!";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                        if (hnumber == DBUtility.ClsPub.isStrNull(tb2.Rows[i]["产品代码"].ToString()))
                        {
                            //得到物料内码
                            if (!oMaterHlp.GetInfoByNumber(sHNumber))
                            {
                                objJsonResult.code = "0";
                                objJsonResult.count = 0;
                                objJsonResult.Message = "第" + (i+1).ToString() + "行," + sHNumber + "没有找到对应的物料!";
                                objJsonResult.data = null;
                                return objJsonResult;
                            }
                        }
                        else
                        {
                            hnumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["产品代码"].ToString());
                            sHNumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["产品代码"].ToString());
                            //审核代码是否合理
                            if (!DBUtility.ClsPub.AllowNumber(sHNumber))
                            {
                                objJsonResult.code = "0";
                                objJsonResult.count = 0;
                                objJsonResult.Message = "物料代码中不能出现连续‘.’并且首位末位不能为‘.’!";
                                objJsonResult.data = null;
                                return objJsonResult;
                            }
                            //得到物料内码
                            if (!oMaterHlp.GetInfoByNumber(sHNumber))
                            {
                                objJsonResult.code = "0";
                                objJsonResult.count = 0;
                                objJsonResult.Message = "第" + (i + 1).ToString() + "行," + sHNumber + "没有找到对应的物料!";
                                objJsonResult.data = null;
                                return objJsonResult;
                            }
                        }
                    }
                    else
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + (i + 1).ToString() + "行,没有找到对应的物料!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = error;
                objJsonResult.data = tb2;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        //检查物料
        private object Checkdata(DataTable dt)
        {
            bool b = false;
            string sErrMsg = "";
            string sMsg = "";
            for (int i = 0; i <= dt.Rows.Count - 1; i++)
            {
                string sHNumber = "";
                string sHNamePoc = "";
                string sHNumberCen = "";
                Single sWorkQty = 0;
                Single sHPassRate = 0;
                //
                sHNumber = DBUtility.ClsPub.isStrNull(dt.Rows[i]["产品代码"].ToString());
                sHNumberCen = DBUtility.ClsPub.isStrNull(dt.Rows[i]["工作中心"].ToString());
                sHNamePoc = DBUtility.ClsPub.isStrNull(dt.Rows[i]["工序"].ToString());
                sWorkQty = DBUtility.ClsPub.isSingle(dt.Rows[i]["加工数量"].ToString());
                sHPassRate = DBUtility.ClsPub.isSingle(dt.Rows[i]["良率"].ToString());
                if (sHNumber != "")
                {
                    //
                    int index = i + 1;
                    //加工数量不能小于等于零
                    if (sWorkQty <= 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + index + "行加工数量不能小于等于零!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //良率不能小于等于零
                    if (sHPassRate <= 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + index + "行良率不能小于等于零!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //审核代码是否合理
                    if (!DBUtility.ClsPub.AllowNumber(sHNumber))
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "物料代码中不能出现连续‘.’并且首位末位不能为‘.’!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //得到物料内码
                    int j = i + 2;
                    if (!oMaterHlp.GetInfoByNumber(sHNumber))
                    {
                        sMsg = "[" + sHNumber + "]物料不存在";
                        if (sErrMsg.Contains(sMsg) == false)
                        {
                            sErrMsg = sErrMsg + "[" + sHNumber + "]物料不存在\r\n";
                        }
                        b = true;
                    }
                    //得到工序内码
                    if (!oProcHlp.GetInfoByName(sHNamePoc))
                    {
                        sMsg = "[" + sHNamePoc + "]工序不存在";
                        if (sErrMsg.Contains(sMsg) == false)
                        {
                            sErrMsg = sErrMsg + "[" + sHNamePoc + "]工序不存在\r\n";
                        }
                        b = true;
                    }
                    //得到工作中心内码
                    if (!oCenHlp.GetInfoByName(sHNumberCen))
                    {
                        sMsg = "[" + sHNumberCen + "]工作中心不存在";
                        if (sErrMsg.Contains(sMsg) == false)
                        {
                            sErrMsg = sErrMsg + "[" + sHNumberCen + "]工作中心不存在\r\n";
                        }
                        b = true;
                    }
                }
            }
            if (b == true)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = sErrMsg;
                objJsonResult.data = null;
                return objJsonResult;
            }
            else
            {
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = sErrMsg;
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region å·¥è‰ºè·¯çº¿ å¯¼å…¥(保存)
        //临时字段
        public class Gy_RoutingBill_temporary
        {
            public string HYear;
            public string HPeriod;
            public string DataAppend;
            public string HOrgID;
        }
        [Route("Gy_RoutingBill/Gy_RoutingBill_btnSave")]
        [HttpPost]
        public object Gy_RoutingBill_btnSave([FromBody] JObject sMainSub)
        {
            var _value = sMainSub["sMainSub"].ToString();
            string msg1 = _value.ToString();
            oCN.BeginTran();
            //保存主表
            objJsonResult = RoutAddBillMain(msg1);
            if (objJsonResult.code == "0")
            {
                oCN.RollBack();
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = objJsonResult.Message;
                objJsonResult.data = null;
                return objJsonResult;
            }
            oCN.Commit();
            objJsonResult.code = "1";
            objJsonResult.count = 1;
            objJsonResult.Message = objJsonResult.Message;
            objJsonResult.data = null;
            return objJsonResult;
        }
        public json RoutAddBillMain(string msg1)
        {
            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
            string msg2 = sArray[0].ToString();
            string msg3 = sArray[1].ToString();
            string user = sArray[2].ToString();
            try
            {
                if (!DBUtility.ClsPub.Security_Log("Gy_RoutingBill_Edit", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无保存权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                //表头字段
                omdelMian = Newtonsoft.Json.JsonConvert.DeserializeObject<Gy_RoutingBill_temporary>(msg2);
                //JSON序列化转换字典集合
                List<Dictionary<string, string>> list = new List<Dictionary<string, string>>();
                List<object> jb = JsonConvert.DeserializeObject<List<object>>(msg3);
                foreach (JObject item in jb)
                {
                    Dictionary<string, string> dic = new Dictionary<string, string>();
                    foreach (var itm in item.Properties())
                    {
                        dic.Add(itm.Name, itm.Value.ToString());
                    }
                    list.Add(dic);
                }
                var hnumber = "";
                var HBillNo = "";
                long HInterID = 0;
                int[] num = new int[2] { 1, 0 };
                for (int i = 0; i < list.Count; i++)
                {
                    //获取物料数据
                    ds = oCN.RunProcReturn("select * from h_v_IF_Material Where HNumber='" + list[i]["产品代码"].ToString() + "' and HUSEORGID=" + omdelMian.HOrgID, "h_v_IF_Material");
                    var HMaterNumber = list[i]["产品代码"].ToString();
                    var HMaterID = ds.Tables[0].Rows[0]["HItemID"].ToString();
                    var Hunitid = ds.Tables[0].Rows[0]["Hunitid"].ToString();
                    var HUnitNumber = ds.Tables[0].Rows[0]["HUnitNumber"].ToString();
                    var HName = list[i]["工艺路线名称"].ToString();
                    var HPicNumVer = list[i]["图号版本"].ToString();
                    var HPicNumAssemble = list[i]["总装图号"].ToString();
                    var HMaterTexture = list[i]["材质"].ToString();
                    var HProductNum = list[i]["成品编号"].ToString();
                    var HVerNum = list[i]["版本"].ToString();
                    var HMainPrice = list[i]["工序工价"].ToString();
                    if (hnumber != list[i]["产品代码"].ToString())
                    {
                        //获取相同主表的子表的添加次数 HEntryID
                        num[0] = 1;
                        hnumber = list[i]["产品代码"].ToString();
                        HBillNo = DBUtility.ClsPub.CreateBillCode_Prod(BillType, ref DBUtility.ClsPub.sExeReturnInfo, true);//获得一个新的单据号
                        HInterID = DBUtility.ClsPub.CreateBillID_Prod(BillType, ref DBUtility.ClsPub.sExeReturnInfo);//获得一个新的id
                        //添加主表数据
                        oCN.RunProc("insert into Gy_RoutingBillMain(HInterID, HBillNo, HYear, HPeriod, HBillType, HDate, HBillStatus, " +
                                      "HMaker, HMakeDate,HMaterNumber, HMaterID, Hunitid, HUnitNumber, HName," +
                                      "HPicNumVer, HPicNumAssemble, HMaterTexture, HProductNum, HVerNum, HRoutingGroupID, HStandard, HRemark,HMainPrice" +
                                      ",HOrgID)values" +
                                      $"({HInterID}, '{HBillNo}', {omdelMian.HYear}, {omdelMian.HPeriod}, '{BillType}', GETDATE(), 1" +
                                      $", '{user}', GETDATE(), '{HMaterNumber}', {HMaterID}, {Hunitid}, '{HUnitNumber}', '{HName}'," +
                                      $" '{HPicNumVer}', '{HPicNumAssemble}', '{HMaterTexture}', '{HProductNum}', '{HVerNum}', 0, 1, '',{(HMainPrice==""?"0":HMainPrice)}" +
                                      $",{omdelMian.HOrgID})");
                        //获取主表添加的次数
                        num[1]++;
                    }
                    //获取供应商
                    ds = oCN.RunProcReturn("select * from h_v_Gy_SupplierList Where ä¾›åº”商代码='" + list[i]["供应商代码"].ToString()+"'", "h_v_Gy_SupplierList");
                    var HSupID = "0";
                    if (ds.Tables[0].Rows.Count > 0)
                        HSupID = ds.Tables[0].Rows[0]["HItemID"].ToString();
                    //获取工序
                    ds = oCN.RunProcReturn("select * from Gy_Process Where HNumber='" + list[i]["工序代码"].ToString() + "'", "Gy_Process");
                    var HProcID = "0";
                    if (ds.Tables[0].Rows.Count > 0)
                        HProcID = ds.Tables[0].Rows[0]["HItemID"].ToString();
                    //获取工作中心
                    ds = oCN.RunProcReturn("select * from Gy_WorkCenter Where HNumber='" + list[i]["工作中心代码"].ToString() + "'", "Gy_WorkCenter");
                    var HCenterID = "0";
                    if (ds.Tables[0].Rows.Count > 0)
                        HCenterID = ds.Tables[0].Rows[0]["HItemID"].ToString();
                    var HProcNo = list[i]["工序序号"].ToString();
                    var HTimeUnit = list[i]["时间单位"].ToString();
                    var hworkqty = list[i]["加工数量"].ToString();
                    var HFixPrice = list[i]["班产定额"].ToString();
                    var HBadPrice = list[i]["不合格单价"].ToString();
                    var HWasterPrice = list[i]["报废单价"].ToString();
                    var HBeginFixQty = list[i]["本道固定开工天数"].ToString();
                    var HBeginDayQty = list[i]["本道开工余量"].ToString();
                    var HFixWorkDays = list[i]["上道等待天数"].ToString();
                    var HTrunWorkDays = list[i]["上道循环周期"].ToString();
                    var HAutoTrunFlag = list[i]["自动转移"].ToString();
                    var HSupFlag = list[i]["外协标记"].ToString();
                    var HTechnologyParameter = list[i]["工艺参数"].ToString();
                    var HPicNum = list[i]["图纸编号"].ToString();
                    var HProcCheckNote = list[i]["本工序确认记录"].ToString();
                    var hpassrate = list[i]["良率"].ToString();
                    var hremark = list[i]["备注"].ToString();
                    var HMouldNo = list[i]["模具编号"].ToString();
                    var HProcWorkNum = list[i]["程序号"].ToString();
                    //物料分类
                    oCN.RunProc("Insert into Gy_RoutingBillSub (HInterID,HEntryID,HSupID,HProcID,HCenterID,HProcNO,HTimeUnit" +
                                ", hworkqty, HFixPrice, HBadPrice, HWasterPrice, HBeginFixQty, HBeginDayQty, HFixWorkDays" +
                                ", HTrunWorkDays, HAutoTrunFlag, HSupFlag, HTechnologyParameter, HPicNum, HProcCheckNote" +
                                ", hpassrate, hremark, HMouldNo, HProcWorkNum, HReadyTime, HQueueTime, HMoveTime, HUnitTime)values" +
                                $"({HInterID}, {num[0]}, {HSupID}, {HProcID},{HCenterID}, '{HProcNo}', '{HTimeUnit}'" +
                                $", {hworkqty}, {(HFixPrice==""?"0": HFixPrice)}, {(HBadPrice == "" ? "0": HBadPrice)}, {(HWasterPrice == "" ? "0": HWasterPrice)}, {(HBeginFixQty == "" ? "0": HBeginFixQty)}, {(HBeginDayQty == "" ? "0": HBeginDayQty)}, {(HFixWorkDays == "" ? "0": HFixWorkDays)}" +
                                $", {(HTrunWorkDays == "" ? "0": HTrunWorkDays)},{(HAutoTrunFlag == "True" ? "1": "0")},{(HSupFlag == "True" ? "1" : "0")}, '{HTechnologyParameter}', '{HPicNum}', '{HProcCheckNote}'" +
                                $", {hpassrate}, '{hremark}', '{HMouldNo}', '{HProcWorkNum}', 0, 0, 0, 0)");
                    //自增次数
                    num[0]++;
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "导入完成,共" + num[1] + "个工艺路线";
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}
WebAPI/Controllers/LMESController.cs
@@ -322,6 +322,49 @@
        }
        #endregion
        #region å·¥è‰ºè·¯çº¿åŸºç¡€åˆ—表
        /// <summary>
        /// è¿”回工艺路线列表
        ///参数:string sql。
        ///返回值:object。
        /// </summary>
        [Route("LEMS/Gy_RoutingBillList")]
        [HttpGet]
        public object Gy_RoutingBillList(string sWhere, string user)
        {
            DataSet ds;
            try
            {
                //判断是否有查询权限
                if (!DBUtility.ClsPub.Security_Log("Gy_RoutingBill_Query", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无权限查询!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
                string sql1 = "select * from h_v_Gy_RoutingBillList_Base where 1 = 1 ";
                string sql = sql1 + sWhere + " order by hmainid desc";
                ds = oCN.RunProcReturn(sql, "h_v_Gy_RoutingBillList_Base");
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "没有返回任何记录!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
            return GetObjectJson(ds);
        }
        #endregion
        #endregion
        /// <summary>
WebAPI/Controllers/POStockInBillController.cs
@@ -1,5 +1,6 @@
using DBUtility;
using Model;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SQLHelper;
using System;
@@ -1030,6 +1031,7 @@
        }
        //[Route("POStockInBillList/confirm")]
        //public object confirm(string hmainid)
        //{
@@ -1064,7 +1066,7 @@
        //            FentityModel.Add("FSRCENTRYID", item["FHPOOrderEntryID"].ToString());//源单分录内码
        //            FentityModel.Add("FORDERBILLNO", item["FHPOOrderBillNo"].ToString());//源单单号
        //            FentityModel.Add("FPOORDERENTRYID", item["FHPOOrderEntryID"].ToString());//源单分录内码
        //            JArray Fentity2 = new JArray();
        //            JObject FentityModel2 = new JObject();
@@ -1109,5 +1111,121 @@
        //}
        #endregion
        #region [收料通知单审核]
        //收料通知单审核 æ‰«æ¡ç 
        [Route("POStockInBillList/Get_ReciveBillCheckDate")]
        [HttpGet]
        public object Get_ReciveBillCheckDate(string HBarCode)
        {
            try
            {
                SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
                DataSet Ds = oCn.RunProcReturn("exec h_p_KF_PonderationBillMain_Temp_Add_POInStockCheck2 '" + HBarCode + "'", "h_p_KF_PonderationBillMain_Temp_Add_POInStockCheck2");
                if (Ds == null || Ds.Tables[0].Rows.Count == 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "没有返回任何记录!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                else
                {
                    if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]) == 0)
                    {
                        objJsonResult.code = "1";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "Sucess!";
                        objJsonResult.data = Ds.Tables[0];
                        return objJsonResult;
                    }
                    else
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]);
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "没有返回任何记录!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        //收料通知单审核 å®¡æ ¸æäº¤
        [Route("POStockInBillList/Exec_ReciveBillCheck")]
        [HttpGet]
        public object Exec_ReciveBillCheck(string HBarCode)
        {
            try
            {
                //修改金蝶生产单的状态
                //访问金蝶
                var loginRet = InvokeHelper.Login();
                var isSuccess = JObject.Parse(loginRet)["LoginResultType"].Value<int>();
                if (isSuccess == 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "操作失败,金蝶账号登录异常。" + loginRet;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                var json = new
                {
                    //CreateOrgId = 0,
                    Numbers = HBarCode,
                    //Ids = (EntyID).Split('-')[0],
                    //PkEntryIds = (EntyID).Split('-')[1]
                };
                string result1 = string.Empty;
                string result2 = string.Empty;
                DataSet Ds = oCn.RunProcReturn("select FDOCUMENTSTATUS,FID from  AIS20210811135644..T_PUR_RECEIVE where FBILLNO='" + HBarCode+"'", "AIS20210811135644..T_PUR_RECEIVE");
                //判断当前收料通知单状态——已创建则先提交再审核、以提交则只审核
                if (Ds.Tables[0].Rows[0][0].ToString() == "A"|| Ds.Tables[0].Rows[0][0].ToString() == "D")
                {
                    result1 = InvokeHelper.Submit("PUR_ReceiveBill", JsonConvert.SerializeObject(json));
                    result2 = InvokeHelper.Audit("PUR_ReceiveBill", JsonConvert.SerializeObject(json));
                }
                if (Ds.Tables[0].Rows[0][0].ToString() == "B")
                {
                    result2 = InvokeHelper.Audit("PUR_ReceiveBill", JsonConvert.SerializeObject(json));
                }
                //判断审核是否成功
                if (JObject.Parse(result2)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() != "TRUE")
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "审核收料通知单失败!单据号:" + HBarCode;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "审核成功!";
                objJsonResult.data = 1;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "没有返回任何记录!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}
WebAPI/Controllers/SCGL/Èռƻ®¹ÜÀí/JIT_Cg_PODemandPlanBillController.cs
@@ -6,6 +6,7 @@
using System.Web;
using System.Web.Http;
using WebAPI.Models;
using Newtonsoft.Json;
namespace WebAPI.Controllers.SCGL
{
@@ -26,7 +27,7 @@
            try
            {
                //查看权限
                if (!DBUtility.ClsPub.Security_Log("Cg_PODemandPlanBill_Query", 1, false, user))
                if (!DBUtility.ClsPub.Security_Log("JIT_Cg_PODemandPlanBill_Query", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -90,7 +91,7 @@
            string user = sArray[3].ToString();
            try
            {
                if (!DBUtility.ClsPub.Security_Log("Cg_PODemandPlanBill_Edit", 1, false, user))
                if (!DBUtility.ClsPub.Security_Log("JIT_Cg_PODemandPlanBill_Edit", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -202,7 +203,7 @@
            try
            {
                //删除权限
                if (!DBUtility.ClsPub.Security_Log_second("Cg_PODemandPlanBill_Drop", 1, false, User))
                if (!DBUtility.ClsPub.Security_Log_second("JIT_Cg_PODemandPlanBill_Drop", 1, false, User))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -267,7 +268,7 @@
            try
            {
                //关闭权限
                if (!DBUtility.ClsPub.Security_Log_second("Cg_PODemandPlanBill_Close", 1, false, User))
                if (!DBUtility.ClsPub.Security_Log_second("JIT_Cg_PODemandPlanBill_Close", 1, false, User))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -319,5 +320,52 @@
            }
        }
        #endregion
        #region ææ–™è®¡åˆ’单 ææ–™è®¡åˆ’报表(采购订单维度)
        public  class ReportPODemandPlanBill
        {
            public int? HORGID;
            public DateTime HBEGINDATE;
            public DateTime HENDDATE;
            public int? HMATERIALID;
            public int? HSUPPLIERID;
            public string HXQD;
            public string HPURORDERNO;
        }
        [Route("JIT_Cg_PODemandPlanBill/ReportPODemandPlanBillList")]
        [HttpGet]
        public object ReportPODemandPlanBillList(string sWhere, string user)
        {
            try
            {
                //查看权限
                if (!DBUtility.ClsPub.Security_Log("JIT_Cg_PODemandPlanBill_Query", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无查看权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ReportPODemandPlanBill Report = JsonConvert.DeserializeObject<ReportPODemandPlanBill>(sWhere);
                ds = oCN.RunProcReturn($"exec h_p_JIT_PODemandPlanBill_ReportList {Report.HORGID},'{Report.HBEGINDATE}','{Report.HENDDATE}',{Report.HMATERIALID},{Report.HSUPPLIERID},'{Report.HXQD}','{Report.HPURORDERNO}' ", "h_p_JIT_PODemandPlanBill_ReportList");
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}
WebAPI/Controllers/SCGL/Èռƻ®¹ÜÀí/JIT_DayPlanPlatFormImportController.cs
@@ -36,14 +36,13 @@
                file.SaveAs(ExcelPath);
                NpoiHelper np = new NpoiHelper();
                DataSet ExcelDs = np.ReadExcel(ExcelPath, 1);
                DataSet ExcelDs = np.ReadExcel(ExcelPath, 1,1,"0");
                //删除文件
                File.Delete(ExcelPath);
                //创建临时表
                DataTable tb2 = new DataTable("dt2");
                DataTable tb3 = new DataTable("dt3");
                //添加列名
                for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++)
@@ -71,8 +70,6 @@
                    }
                    tb2.Rows.Add(row);
                }
                ExcelDs.Tables.Add(tb2);
                var error = "";
                var ErrorResult = "";
WebAPI/Controllers/SCGL/Èռƻ®¹ÜÀí/NpoiHelper.cs
@@ -26,8 +26,10 @@
        /// <param name="FileName">文件绝对路径</param>
        /// <param name="startRow">数据开始行数(1为第一行)</param>
        /// <param name="ColumnDataType">每列的数据类型</param>
        /// <param name="numType">获取数据簿的类型</param>
        /// <param name="name">工作簿的名字</param>
        /// <returns></returns>
        public DataSet ReadExcel(string FileName, int startRow, params NpoiDataType[] ColumnDataType)
        public DataSet ReadExcel(string FileName, int startRow,int numType,string name, params NpoiDataType[] ColumnDataType)
        {
            string colNamePix = "F";
            int ertime = 0;
@@ -40,8 +42,17 @@
            {
                IWorkbook workbook = WorkbookFactory.Create(stream);//使用接口,自动识别excel2003/2007格式
                                                                    //for (int k = 0; k < 14; k++)
                                                                    //{
                ISheet sheet = workbook.GetSheetAt(0);//得到里面第一个sheet
                ISheet sheet = null ;                                         //{
                if (numType == 1)//numType==1 èŽ·å–å·¥ä½œç°¿æŒ‰ç…§ä¸‹æ ‡
                {
                     sheet = workbook.GetSheetAt(int.Parse(name));//得到里面第一个sheet
                }
                else if (numType == 2)//numType==12 èŽ·å–å·¥ä½œç°¿æŒ‰ç…§ å·¥ä½œç°¿çš„名字
                {
                     sheet = workbook.GetSheet(name);//得到里面第一个sheet
                }
                int j;
                IRow row;
                #region ColumnDataType赋值
WebAPI/Controllers/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/Sc_MESBeginStepWorkBillController.cs
@@ -1526,6 +1526,7 @@
            string BillNo = "";
            long MainId = 0;
            string EntyID = "";
            if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(DateTime.Now, ref sYear, ref sPeriod, ref s) == false)
            {
                objJsonResult.code = "0";
@@ -1557,7 +1558,7 @@
                            return objJsonResult;
                        }
                    }
                    //生产订单编号、生产订单主ID、生产订单主ID+子ID
                    BillNo = oItem.HMainSourceBillNo;
                    MainId = oItem.HMainSourceInterID;
                    EntyID = oItem.HMainSourceEntryID;
@@ -1579,43 +1580,74 @@
                    oBill.omodel = oItem;
                }
                //保存
                //保存完毕后处理
                bool bResult;
                if (oBill.omodel.HInterID == 0)
                {
                    oCN.BeginTran();
                    //修改金蝶生产单的状态
                    oCN.RunProc("update AIS20200908101915zs..T_PRD_MOENTRY_A set FSTATUS=4,FPLANCONFIRMDATE=getdate() where FENTRYID=" + (EntyID).Split('-')[1]);
                    //根据生产订单子ID找对应的生产用料清单
                    DataSet Ds = oCN.RunProcReturn("select b.FID,b.FBILLNO,b.FDOCUMENTSTATUS from  Sc_ICMOBillSub a left join AIS20200908101915zs..T_PRD_PPBOM b on a.HERPEntryID=b.FMOENTRYID where a.HEntryID=" + (EntyID).Split('-')[1], "Sc_ICMOBillSub");
                    //查找当前生产订单明细状态
                    DataSet Dss = oCN.RunProcReturn("select FSTATUS from AIS20200908101915zs..T_PRD_MOENTRY_A where FENTRYID=" + (EntyID).Split('-')[1], "AIS20200908101915zs..T_PRD_MOENTRY_A");
                    //判断金蝶生产单的状态不为4则执行开工
                    if (Dss.Tables[0].Rows[0][0].ToString() != "4")
                    {
                        oCN.RunProc("update AIS20200908101915zs..T_PRD_MOENTRY_A set FSTATUS=4,FCONVEYDATE=getdate() where FENTRYID=" + (EntyID).Split('-')[1]);
                    }
                    else
                    {
                        oCN.RollBack();
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "单据已开工!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //访问金蝶
                    //var loginRet = InvokeHelper.Login();
                    //var isSuccess = JObject.Parse(loginRet)["LoginResultType"].Value<int>();
                    //if (isSuccess == 0)
                    //{
                    //    objJsonResult.code = "0";
                    //    objJsonResult.count = 0;
                    //    objJsonResult.Message = "操作失败,金蝶账号登录异常。" + loginRet;
                    //    objJsonResult.data = null;
                    //    return objJsonResult;
                    //}
                    //var json = new
                    //{
                    //    //CreateOrgId = 0,
                    //    Numbers = BillNo,
                    //    //Ids = (EntyID).Split('-')[0],
                    //    PkEntryIds = (EntyID).Split('-')[1]
                    //};
                    //Console.Write("json=" + json);
                    //var result = InvokeHelper.ExcuteOperation("PRD_MO", "ToStart", JsonConvert.SerializeObject(json));
                    //if (JObject.Parse(result)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() != "TRUE")
                    //{
                    //    oCN.RollBack();
                    //    objJsonResult.code = "0";
                    //    objJsonResult.count = 0;
                    //    objJsonResult.Message = "对应金蝶云生产订单更改开工状态失败!" + result;
                    //    objJsonResult.data = null;
                    //    return objJsonResult;
                    //}
                    var loginRet = InvokeHelper.Login();
                    var isSuccess = JObject.Parse(loginRet)["LoginResultType"].Value<int>();
                    if (isSuccess == 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "操作失败,金蝶账号登录异常。" + loginRet;
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    var json = new
                    {
                        //CreateOrgId = 0,
                        //Numbers = BillNo,
                        Ids = Ds.Tables[0].Rows[0][0].ToString(),
                        //PkEntryIds = (EntyID).Split('-')[1]
                    };
                    LogService.Write("json=" + json);
                    string result1 = string.Empty;
                    string result2 = string.Empty;
                    //判断当前用生产料清单单状态——已创建则先提交再审核、以提交则只审核
                    if (Ds.Tables[0].Rows[0][2].ToString() == "A")
                    {
                        result1 = InvokeHelper.Submit("PRD_PPBOM", JsonConvert.SerializeObject(json));
                        result2 = InvokeHelper.Audit("PRD_PPBOM", JsonConvert.SerializeObject(json));
                    }
                    if (Ds.Tables[0].Rows[0][2].ToString() == "B")
                    {
                        result2 = InvokeHelper.Audit("PRD_PPBOM", JsonConvert.SerializeObject(json));
                    }
                    //判断审核是否成功
                    if (JObject.Parse(result2)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() != "TRUE")
                    {
                        oCN.RollBack();
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = $"对应生产用料清单,单号{Ds.Tables[0].Rows[0][1].ToString()},审核失败!" + result2;
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //保存
                    ////执行保存
                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                    if (bResult)
WebAPI/Controllers/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillController.cs
@@ -109,7 +109,7 @@
        {
            try
            {
                //string sql = string.Format(@"select a.HInterID,a.HBillNo,b.HEntryID,b.HMaterID,m.HNumber HMaterNumber,m.HName HMaterName, b.HUnitID,u.HName HUnitName,b.HQty HPlanQty,
                //string sql = string.Format(@"select a.HInterID,a.HBillNo,b.HEntryID,b.HMaterID,m.HNumber HMaterNumber,m.HName HMaterName, b.HUnitID,u.HName HUnitName,b.HQty HPlanQty,b.HQty HSPlanQty,
                //                            a.HCusID, c.HName HCusName,a.HEmpID,e.HName HEmpName,b.HDeptID,d.HName HDeptName,a.HPlanEndDate,0 HMinQty,0 HTotalQty,0 HSpsQty,a.HSeOrderBillNo,a.HRemark
                //                            from Sc_ICMOBillMain a 
                //                            left join Sc_ICMOBillSub b on a.HInterID=b.HInterID
@@ -119,10 +119,10 @@
                //                            left join Gy_Employee e on a.HEmpID=e.HItemID
                //                            left join Gy_Department d on a.HDeptID=d.HItemID
                //                            where b.HInterID=(select HICMOInterID from Sc_PPBomBillMain where HBillNo='" + HBillNo + "')");
                string sql = string.Format(@"select a.HInterID,a.HBillNo,b.HMaterID,b.HEntryID, m.HNumber HMaterNumber, m.HName HMaterName, b.HUnitID,u.HName HUnitName,b.HQty HPlanQty,a.HCusID, c.HName HCusName,
                string sql = string.Format(@"select a.HInterID,a.HBillNo,b.HMaterID,b.HEntryID, m.HNumber HMaterNumber, m.HName HMaterName, b.HUnitID,u.HName HUnitName,b.HQty HPlanQty,b.HQty HSPlanQty,a.HCusID, c.HName HCusName,
                    a.HEmpID,e.HName HEmpName,b.HDeptID,d.HName HDeptName,a.HPlanEndDate,0 HMinQty,0 HTotalQty,0 HSpsQty,a.HSeOrderBillNo,a.HRemark,
                     fo.FBILLNO FBillNo,fo.F_ZZZZ_TEXT7 FLXName,fo.FRECEIVEADDRESS FInAddress,fmn.FNAME FMaterName,fo.F_ZZZZ_TEXT FBZFS,fu.FDATAVALUE FHX,
                    fu1.FDATAVALUE FQK,fo.F_ZZZZ_WBBZ FWBBZ
                     fo.FBILLNO FBillNo,fo.F_ZZZZ_TEXT7 FLXName,fo.FRECEIVEADDRESS FInAddress,fmn.FNAME FMaterName,fo1.F_ZZZZ_TEXT FBZFS,fu.FDATAVALUE FHX,
                    fu1.FDATAVALUE FQK,fo1.F_ZZZZ_WBBZ1 FWBBZ
                    from Sc_ICMOBillMain a 
                    left join Sc_ICMOBillSub b on a.HInterID=b.HInterID
                    left join Gy_Material m on b.HMaterID=m.HItemID
@@ -485,6 +485,8 @@
        /// <summary>
        /// å¢™å’”装箱列表-删除
        /// </summary>
        /// <param name="HInterID">条码档案主表主ID(唯一)</param>
        /// <param name="Flag">标识</param>
        /// <returns></returns>
        [Route("Sc_ICMOBillController/DeleteQK_GetPackingBillList")]
        [HttpGet]
@@ -499,14 +501,14 @@
                    ds = oCN.RunProcReturn("select * from Gy_BarCodeBill where HItemID=" + HInterID, "Gy_BarCodeBill");
                    DataRow dr = ds.Tables[0].Rows[0];
                    string sql = string.Format(@"delete from Gy_BarCodeBill where HItemID=" + HInterID);
                    string sql1 = string.Format(@"update Sc_ICMOBillSub set HQty=HPlanQty+" + dr["HQty"] + " where HInterID=(select HSourceInterID from Gy_BarCodeBill where HItemID=" + HInterID + ")");
                    oCN.RunProc(sql);
                    string sql1 = string.Format(@"update Sc_ICMOBillSub set HQty=HQty+" + dr["HQty"] + " where HEntryID=(select HSourceEntryID from Gy_BarCodeBill where HItemID=" + HInterID + ")");
                    oCN.RunProc(sql1);
                    oCN.RunProc(sql);
                }
                else
                {
                    //通过条码id找到托条码,通过托条码找到组托单子表中的唯一码
                    string sql2 = "select HBarCode from Sc_PackUnionBillSub where HInterID=(select HBarcodeNo from Gy_BarCodeBill where HItemID=" + HInterID;
                    string sql2 = "select HBarCode from Sc_PackUnionBillSub where HInterID=(select HBarcodeNo from Gy_BarCodeBill where HItemID=" + HInterID+")";
                    //string sql2 = "select HBarCode from Sc_PackUnionBillSub where HInterID=(select HBarcodeNo from Gy_BarCodeBill where HItemID=3250)";
                    DataSet ds1 = oCN.RunProcReturn(sql2, "Sc_PackUnionBillSub");
                    DataTable dt = ds1.Tables[0];
@@ -520,9 +522,9 @@
                            DataRow dr1 = ds.Tables[0].Rows[0];
                            string sql = string.Format(@"delete from Gy_BarCodeBill where HBarCode='" + dr["HBarCode"].ToString() + "'");
                            string sql1 = string.Format(@"update Sc_ICMOBillSub set HQty=HPlanQty+" + dr1["HQty"] + " where HInterID=(select HSourceInterID from Gy_BarCodeBill where HBarCode='" + dr["HBarCode"].ToString() + "')");
                            string sql1 = string.Format(@"update Sc_ICMOBillSub set HQty=HQty+" + dr1["HQty"] + " where HEntryID=(select HSourceEntryID from Gy_BarCodeBill where HBarCode='" + dr["HBarCode"].ToString() + "')");
                             oCN.RunProc(sql1);
                            oCN.RunProc(sql);
                            oCN.RunProc(sql1);
                        }
                    }
WebAPI/DLL/ClsGy_Source_Ctl.cs
@@ -22,12 +22,12 @@
                    " (HNumber,HName,HHelpCode,HShortNumber,HParentID" +
                    ",HType,HRelationID,HCenterID,HEquipFileID_K3,HDeptID" +
                    ",HLevel,HEndFlag,HStopflag,HRemark,HProcID,HOverTimes " +
                    ",HWorkTimes,HMaxWorkTimes,HMinAdd,HClassCount,HGroupID,HGroupK3ID)" +
                    ",HWorkTimes,HMaxWorkTimes,HMinAdd,HClassCount,HGroupID,HGroupK3ID,HUSEORGID)" +
                    " Values('" + oModel.HNumber + "','" + oModel.HName + "','" + oModel.HHelpCode + "','" + oModel.HShortNumber + "'," + oModel.HParentID.ToString() +
                    ",'" + oModel.HType + "'," + oModel.HRelationID.ToString() + "," + oModel.HCenterID.ToString() + "," + oModel.HEquipFileID_K3.ToString() + "," + oModel.HDeptID.ToString() +
                    "," + oModel.HLevel.ToString() + "," + Convert.ToString(oModel.HEndFlag ? 1 : 0) + "," + Convert.ToString(oModel.HStopflag ? 1 : 0) +
                    ",'" + oModel.HRemark + "'," + oModel.HProcID + "," + oModel.HOverTimes + "," + oModel.HWorkTimes + "," + oModel.HMaxWorkTimes +
                    "," + oModel.HMinAdd + "," + oModel.HClassCount + "," + oModel.HGroupID.ToString() + "," + oModel.HGroupK3ID.ToString() + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                    "," + oModel.HMinAdd + "," + oModel.HClassCount + "," + oModel.HGroupID.ToString() + "," + oModel.HGroupK3ID.ToString() + ","+ oModel.HUSEORGID + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                //修改上级为非末级代码
                oCn.RunProc("Update " + MvarItemKey + " set HEndflag=0 where HItemID=" + oModel.HParentID, ref DBUtility.ClsPub.sExeReturnInfo);
                oCn.Commit();
WebAPI/InvokeHelper.cs
@@ -12,9 +12,9 @@
    {
        //private static string CloudUrl = "http://localhost/k3cloud/";//K/3 Cloud ä¸šåŠ¡ç«™ç‚¹åœ°å€
        //private static string CloudUrl = "http://60.190.4.42:9002/k3cloud/";//K/3 Cloud ä¸šåŠ¡ç«™ç‚¹åœ°å€
        //private static string CloudUrl = "http://47.96.97.237/k3cloud/";//K/3 Cloud ä¸šåŠ¡ç«™ç‚¹åœ°å€
        private static string CloudUrl = "http://47.96.97.237/k3cloud/";//K/3 Cloud ä¸šåŠ¡ç«™ç‚¹åœ°å€
        //private static string CloudUrl = "http://60.190.4.42:9002/K3CLOUD/";//夏宝
        private static string CloudUrl = "http://124.70.129.242/k3cloud/";//雅琪诺
        //private static string CloudUrl = "http://124.70.129.242/k3cloud/";//雅琪诺
        /// <summary>
        /// ç™»é™†
@@ -32,9 +32,9 @@
            httpClient.Url = string.Concat(CloudUrl, "Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc");
            List<object> Parameters = new List<object>();
            Parameters.Add("5f56ea565892f4");//账套标示
            Parameters.Add("6204a70eba35fc");//账套标示
            Parameters.Add("Administrator");//用户名
            Parameters.Add("ycy123");//密码
            Parameters.Add("qaz!@#123");//密码
            Parameters.Add(2052);//2052代表中文
            httpClient.Content = JsonConvert.SerializeObject(Parameters);
WebAPI/Models/ClsQK_PackingBill.cs
@@ -13,6 +13,7 @@
        public Int64 HUnitID;
        public string HUnitName;
        public Int64 HPlanQty;
        public Int64 HSPlanQty;
        public Int64 HMinQty;
        public Int64 HTotalQty;
        public Int64 HSpsQty;
WebAPI/Models/Gy_Group.cs
@@ -20,6 +20,7 @@
        public long HDeptID { get; set; }
        public long HEmpQty { get; set; }
        public long HProcID { get; set; }
        public int HUSEORGID;
        public string HBarCodeForBase { get; set; }
        
WebAPI/Models/Gy_RoutingBill.cs
@@ -36,6 +36,7 @@
        public string HVerNum { get; set; }
        public int HPRDORGID { get; set; }
        public int HOrgID { get; set; }
    }
}
WebAPI/Models/Gy_WorkCenter.cs
@@ -24,6 +24,7 @@
        public long HProcID { get; set; }
        public long HLevel { get; set; }
        public long HDayMoney { get; set; }
        public int HUSEORGID { get; set; }
        public string HBarCodeForBase { get; set; }
        
WebAPI/Models/»ù´¡×ÊÁÏ/Gy_Process.cs
@@ -33,6 +33,7 @@
        public long HDeptID { get; set; }
        public long HEmpQty { get; set; }
        public long HProcID { get; set; }
        public int HUSEORGID { get; set; }
        public string HBarCodeForBase { get; set; }
        
WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -5,7 +5,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <_PublishTargetUrl>D:\网站发布\智云MESWMS\API</_PublishTargetUrl>
    <History>True|2022-05-17T06:19:55.1158182Z;True|2022-05-17T13:25:44.2886247+08:00;True|2022-05-17T10:29:26.6813564+08:00;True|2022-05-17T09:02:49.1742018+08:00;True|2022-05-06T15:13:12.2438900+08:00;True|2022-05-06T14:49:39.8536594+08:00;True|2022-04-22T17:07:44.8823529+08:00;True|2022-04-19T19:13:40.8312746+08:00;True|2022-04-19T15:40:16.0022040+08:00;True|2022-04-19T15:13:32.9767736+08:00;False|2022-04-19T15:08:33.6507639+08:00;True|2022-04-19T15:02:51.9580210+08:00;True|2022-04-19T13:54:18.7579131+08:00;True|2022-04-12T10:36:02.1779173+08:00;True|2022-04-12T10:05:31.0222037+08:00;True|2022-04-12T09:47:49.3724819+08:00;True|2022-04-09T15:08:54.5697468+08:00;True|2022-04-08T17:31:31.0046258+08:00;True|2022-04-08T16:50:41.3018422+08:00;True|2022-04-08T10:35:36.5029980+08:00;True|2022-03-31T09:38:37.3646053+08:00;True|2022-03-29T13:57:45.4410942+08:00;True|2022-03-10T18:59:23.7994337+08:00;True|2022-03-10T18:52:39.5019082+08:00;True|2022-03-10T18:51:12.7949284+08:00;True|2022-03-10T18:50:47.2024177+08:00;True|2022-03-10T18:45:08.8409380+08:00;True|2022-03-10T18:41:17.0102564+08:00;True|2022-03-10T18:35:49.0742353+08:00;True|2022-03-10T17:57:47.4196965+08:00;True|2022-03-10T17:34:27.5723245+08:00;True|2022-03-10T16:13:59.3829164+08:00;True|2022-03-09T14:50:49.1222033+08:00;True|2022-03-09T11:21:03.0073651+08:00;False|2022-03-09T11:16:56.1792896+08:00;False|2022-03-09T11:16:49.7923320+08:00;True|2022-03-08T15:47:47.4722336+08:00;True|2022-03-08T15:47:28.5397115+08:00;True|2022-03-08T15:37:08.7379870+08:00;True|2022-03-02T17:37:54.4659976+08:00;True|2022-03-02T17:34:12.2949726+08:00;True|2022-03-02T17:26:38.7070673+08:00;True|2022-03-02T17:07:49.7024316+08:00;True|2022-03-02T17:05:22.4177336+08:00;True|2022-03-02T16:14:57.9880587+08:00;True|2022-03-01T17:52:52.6766959+08:00;True|2022-02-28T14:36:22.6449303+08:00;True|2022-02-24T15:43:36.8244163+08:00;True|2022-02-23T17:57:14.3693224+08:00;True|2022-02-23T17:46:42.1078183+08:00;False|2022-02-23T17:41:06.5886724+08:00;True|2022-02-23T16:59:45.5533581+08:00;True|2022-02-23T16:57:43.3328895+08:00;True|2022-02-21T09:09:37.2601134+08:00;True|2022-02-21T09:03:32.4071009+08:00;True|2022-02-21T08:59:59.0172082+08:00;True|2022-02-18T14:05:39.1358825+08:00;True|2022-02-18T10:23:02.4391239+08:00;True|2022-02-18T10:21:31.0559267+08:00;True|2022-02-17T16:50:11.7192509+08:00;True|2022-02-17T13:19:13.7697894+08:00;True|2022-02-11T10:36:12.7757100+08:00;True|2022-02-10T10:54:25.2685040+08:00;True|2022-02-10T10:37:02.1034768+08:00;True|2022-02-09T17:32:45.6511283+08:00;True|2022-02-09T17:24:32.5115193+08:00;True|2022-02-09T17:00:24.0662114+08:00;True|2022-02-09T16:56:42.3364622+08:00;True|2022-02-09T14:17:25.8688855+08:00;True|2022-02-09T14:11:51.6149822+08:00;True|2022-02-07T23:29:26.2842648+08:00;True|2022-02-07T23:28:58.8242274+08:00;False|2022-02-07T23:25:29.0647793+08:00;True|2022-02-07T13:06:37.5515985+08:00;True|2022-02-07T12:42:19.5220491+08:00;True|2022-02-07T09:52:59.6728595+08:00;True|2022-02-01T11:32:10.5831557+08:00;True|2022-01-29T14:09:02.9178986+08:00;True|2022-01-28T12:01:45.1416438+08:00;True|2022-01-28T11:03:41.6361866+08:00;True|2022-01-28T10:44:53.5367862+08:00;True|2022-01-28T10:40:41.6697563+08:00;True|2022-01-28T10:25:56.7093616+08:00;True|2022-01-28T09:58:13.0733060+08:00;True|2022-01-27T09:26:29.6568807+08:00;True|2022-01-27T00:47:57.9102528+08:00;True|2022-01-27T00:46:52.8845001+08:00;True|2022-01-27T00:36:34.5330938+08:00;True|2022-01-27T00:35:19.5439329+08:00;True|2022-01-27T00:33:38.5701950+08:00;True|2022-01-27T00:32:00.9028982+08:00;True|2022-01-27T00:30:13.2390921+08:00;True|2022-01-27T00:28:23.2989144+08:00;True|2022-01-27T00:16:01.3789455+08:00;True|2022-01-27T00:09:58.8112352+08:00;True|2022-01-27T00:00:40.8353538+08:00;True|2022-01-26T23:37:50.9494735+08:00;True|2022-01-26T23:29:39.8647473+08:00;True|2022-01-26T23:20:49.3274392+08:00;True|2022-01-26T23:15:53.7037293+08:00;True|2022-01-26T23:06:28.8595953+08:00;True|2022-01-26T23:02:12.9882299+08:00;True|2022-01-26T22:55:33.2535730+08:00;True|2022-01-26T22:51:01.8427947+08:00;True|2022-01-26T22:47:44.0715387+08:00;True|2022-01-26T22:20:21.7217039+08:00;True|2022-01-26T22:13:39.5372069+08:00;True|2022-01-26T22:01:31.2113177+08:00;True|2022-01-26T21:55:26.5478921+08:00;True|2022-01-26T21:50:18.2700369+08:00;True|2022-01-26T21:48:52.0020233+08:00;True|2022-01-26T19:19:29.4530523+08:00;True|2022-01-26T19:07:21.6474231+08:00;True|2022-01-26T18:25:42.2933291+08:00;True|2022-01-26T12:39:02.0149050+08:00;True|2022-01-26T12:13:43.9149452+08:00;True|2022-01-26T11:24:33.5742248+08:00;True|2022-01-26T08:51:10.8105076+08:00;True|2022-01-25T21:07:32.9069261+08:00;True|2022-01-24T01:35:12.3309466+08:00;True|2022-01-23T23:19:15.9702821+08:00;True|2022-01-23T21:50:41.6903353+08:00;True|2022-01-23T21:25:57.6084267+08:00;True|2022-01-23T21:16:10.1516535+08:00;True|2022-01-23T20:52:08.3745284+08:00;True|2022-01-23T18:19:32.2386502+08:00;True|2022-01-23T18:11:42.0830325+08:00;True|2022-01-23T18:00:01.3239547+08:00;True|2022-01-23T12:18:48.2466943+08:00;True|2022-01-22T00:48:50.4531647+08:00;True|2022-01-21T13:10:32.8173598+08:00;True|2022-01-21T13:04:01.6388059+08:00;True|2022-01-21T12:51:40.5304103+08:00;True|2022-01-21T12:44:06.3059885+08:00;True|2022-01-21T12:34:33.9314010+08:00;True|2022-01-21T11:39:20.1088577+08:00;True|2022-01-20T11:33:49.0516846+08:00;True|2022-01-20T10:02:12.0295471+08:00;True|2022-01-20T10:02:03.3535503+08:00;True|2022-01-19T23:56:18.7293193+08:00;True|2022-01-19T22:30:14.6986228+08:00;True|2022-01-19T22:15:08.8608795+08:00;True|2022-01-19T21:57:55.2295030+08:00;True|2022-01-19T13:50:37.8588759+08:00;True|2022-01-19T13:42:52.9761531+08:00;True|2022-01-19T00:26:36.9722917+08:00;True|2022-01-19T00:15:30.8583143+08:00;True|2022-01-18T21:19:30.6193048+08:00;True|2022-01-18T21:12:07.1453825+08:00;True|2022-01-18T20:35:27.3779956+08:00;True|2022-01-18T17:44:45.2318570+08:00;True|2022-01-18T14:45:29.0299640+08:00;True|2022-01-17T22:23:20.8214203+08:00;True|2022-01-17T21:49:15.7740045+08:00;True|2022-01-17T21:47:24.6997598+08:00;True|2022-01-17T21:44:00.1942787+08:00;True|2022-01-17T21:43:15.5992687+08:00;True|2022-01-17T21:33:16.8034756+08:00;True|2022-01-17T21:25:39.9909343+08:00;True|2022-01-17T21:13:03.9659338+08:00;True|2022-01-17T20:32:14.8869091+08:00;True|2022-01-17T19:01:46.5753686+08:00;True|2022-01-17T18:31:24.1032169+08:00;True|2022-01-17T18:21:39.2918684+08:00;True|2022-01-17T18:12:07.4859038+08:00;True|2022-01-17T18:09:26.6989718+08:00;True|2022-01-17T18:04:36.7564997+08:00;True|2022-01-17T17:57:44.7814863+08:00;True|2022-01-17T17:51:50.1516107+08:00;True|2022-01-17T17:39:29.2918799+08:00;True|2022-01-17T14:55:21.5859341+08:00;True|2022-01-17T14:38:06.5091500+08:00;True|2022-01-17T14:30:25.5378436+08:00;True|2022-01-16T19:15:24.5874858+08:00;True|2022-01-16T19:07:49.0613424+08:00;True|2022-01-16T16:10:47.3112741+08:00;False|2022-01-14T19:09:41.9296709+08:00;False|2022-01-14T18:56:11.0569808+08:00;False|2022-01-14T18:28:20.1376762+08:00;False|2022-01-14T18:27:30.8678130+08:00;False|2022-01-14T18:22:45.4436504+08:00;False|2022-01-14T18:19:37.0374753+08:00;False|2022-01-14T18:18:48.5868254+08:00;False|2022-01-14T18:14:02.5810257+08:00;False|2022-01-14T18:09:51.1730754+08:00;False|2022-01-14T18:09:17.8940754+08:00;True|2022-01-13T20:08:16.2937608+08:00;True|2022-01-13T20:07:30.1505466+08:00;True|2022-01-13T13:39:42.0146294+08:00;True|2022-01-13T13:38:07.5062471+08:00;True|2022-01-13T11:29:49.3751232+08:00;True|2022-01-13T11:05:43.9574142+08:00;True|2022-01-13T10:33:23.1921058+08:00;True|2022-01-12T20:38:16.9165651+08:00;True|2022-01-12T20:24:46.3779264+08:00;True|2022-01-12T20:03:06.5030626+08:00;True|2022-01-12T19:44:55.4294326+08:00;True|2022-01-12T12:58:45.9548600+08:00;True|2022-01-12T11:28:44.7797749+08:00;True|2022-01-11T18:07:30.9151356+08:00;True|2022-01-11T15:06:32.7301609+08:00;True|2022-01-11T09:27:00.1766442+08:00;True|2021-12-30T14:41:56.8541015+08:00;True|2021-12-30T13:45:00.6130694+08:00;True|2021-12-30T13:44:18.7370780+08:00;True|2021-12-30T13:36:52.8171136+08:00;True|2021-12-28T19:14:22.5979649+08:00;True|2021-12-28T13:13:39.3543252+08:00;True|2021-12-27T15:31:26.6037782+08:00;True|2021-12-27T15:28:54.4824480+08:00;True|2021-12-27T15:22:47.8436108+08:00;True|2021-12-27T15:04:37.0711590+08:00;True|2021-12-27T15:03:52.0932499+08:00;True|2021-12-27T15:03:33.0172733+08:00;True|2021-12-27T13:28:27.4252747+08:00;True|2021-12-25T19:38:33.6784042+08:00;True|2021-12-24T20:47:43.3471563+08:00;True|2021-12-24T20:14:57.6946814+08:00;True|2021-12-24T19:55:21.1843105+08:00;True|2021-12-24T19:49:54.6719726+08:00;True|2021-12-24T19:38:14.1180741+08:00;True|2021-12-22T13:51:37.1082523+08:00;True|2021-12-21T15:38:59.8015096+08:00;True|2021-12-21T15:29:54.8095063+08:00;False|2021-12-21T15:29:21.7006531+08:00;False|2021-12-21T15:16:18.2218025+08:00;False|2021-12-21T15:11:38.1215841+08:00;False|2021-12-21T15:08:27.0590078+08:00;True|2021-12-10T14:12:36.4065298+08:00;True|2021-12-10T13:54:03.4921778+08:00;True|2021-12-10T13:25:49.0439086+08:00;True|2021-12-10T13:19:58.9494477+08:00;True|2021-12-10T13:10:45.3929017+08:00;True|2021-12-10T11:06:53.2416794+08:00;True|2021-12-07T17:23:28.9380484+08:00;True|2021-12-07T17:13:52.4384814+08:00;True|2021-12-07T16:39:49.2020208+08:00;True|2021-12-07T15:18:20.9024533+08:00;True|2021-12-07T15:07:35.4428035+08:00;True|2021-12-07T15:01:02.0445043+08:00;True|2021-12-07T14:50:08.9019705+08:00;True|2021-12-07T14:34:50.4993666+08:00;False|2021-12-07T14:32:56.0408332+08:00;True|2021-12-06T17:11:41.4004606+08:00;True|2021-12-06T16:48:07.6029757+08:00;True|2021-12-06T13:46:35.9437718+08:00;True|2021-12-06T13:45:07.6622615+08:00;True|2021-12-06T11:25:04.3483155+08:00;True|2021-12-06T11:18:24.5804187+08:00;True|2021-11-22T16:27:05.4241947+08:00;True|2021-11-22T13:40:17.6768280+08:00;True|2021-11-19T16:15:19.9085104+08:00;True|2021-11-09T10:34:21.1623512+08:00;True|2021-11-07T16:57:59.7380254+08:00;True|2021-11-07T16:53:47.4198852+08:00;True|2021-11-07T16:42:05.5096826+08:00;True|2021-11-07T16:37:21.0729013+08:00;True|2021-11-05T20:51:17.6170717+08:00;True|2021-11-05T20:35:14.6250333+08:00;True|2021-11-05T19:30:19.8374158+08:00;True|2021-11-05T19:22:46.2276569+08:00;True|2021-11-05T19:20:30.8253213+08:00;True|2021-11-05T19:16:45.7553310+08:00;True|2021-11-05T19:16:00.4532689+08:00;True|2021-11-05T19:12:25.9022478+08:00;False|2021-11-05T19:11:26.5753529+08:00;True|2021-11-05T19:09:30.0085433+08:00;True|2021-11-05T18:48:19.9395153+08:00;True|2021-11-05T18:45:34.3437897+08:00;True|2021-11-05T18:43:43.4558159+08:00;True|2021-11-05T18:40:40.9948500+08:00;True|2021-11-05T18:34:18.4440455+08:00;True|2021-11-05T15:54:51.6037132+08:00;True|2021-10-28T16:27:53.9728270+08:00;True|2021-10-28T16:03:59.5629998+08:00;True|2021-10-28T08:51:04.2549186+08:00;True|2021-10-27T15:14:53.5506098+08:00;True|2021-10-27T15:00:44.9100320+08:00;True|2021-10-27T13:14:46.7921647+08:00;True|2021-10-27T11:24:49.4550753+08:00;True|2021-10-27T10:10:10.3545125+08:00;True|2021-10-27T10:02:24.9248610+08:00;True|2021-10-27T09:59:40.3795897+08:00;True|2021-10-27T09:56:30.6629207+08:00;True|2021-10-27T09:10:48.3883432+08:00;True|2021-10-27T09:03:31.9191991+08:00;True|2021-10-27T08:59:59.7651159+08:00;True|2021-10-27T08:36:11.8620997+08:00;True|2021-10-27T08:26:40.2533014+08:00;True|2021-10-26T09:19:35.5674748+08:00;True|2021-10-26T09:17:17.6900747+08:00;True|2021-10-26T09:14:32.3999220+08:00;True|2021-10-25T15:08:21.2581763+08:00;True|2021-10-25T10:01:57.8524903+08:00;True|2021-10-25T09:28:51.6294879+08:00;True|2021-10-25T09:25:50.3373336+08:00;True|2021-10-25T09:23:37.0203978+08:00;True|2021-10-25T09:18:23.3380608+08:00;True|2021-10-25T09:15:10.5292071+08:00;True|2021-10-25T08:56:30.4632027+08:00;True|2021-10-25T08:50:11.4697392+08:00;True|2021-10-22T13:46:49.7207066+08:00;True|2021-10-22T10:06:33.3130089+08:00;True|2021-10-20T14:32:10.1235516+08:00;True|2021-10-20T14:16:18.6496291+08:00;True|2021-10-20T14:08:49.2443715+08:00;True|2021-10-20T14:05:14.6847950+08:00;True|2021-10-20T13:30:21.6057636+08:00;True|2021-10-20T10:55:22.2151716+08:00;True|2021-10-19T10:42:13.4198267+08:00;True|2021-10-19T10:01:41.0018108+08:00;True|2021-10-19T09:59:11.2127619+08:00;True|2021-10-19T09:54:04.8472874+08:00;True|2021-10-15T11:19:15.5327495+08:00;True|2021-10-15T11:17:41.0686485+08:00;True|2021-10-15T11:12:11.8295042+08:00;True|2021-10-15T10:33:31.5670079+08:00;True|2021-10-15T10:27:45.0815146+08:00;True|2021-10-14T14:51:28.5331025+08:00;True|2021-10-14T14:37:28.3276051+08:00;True|2021-10-14T14:23:39.0606792+08:00;True|2021-10-14T14:21:03.8140347+08:00;True|2021-10-13T10:31:10.6628977+08:00;True|2021-10-13T10:12:24.4238027+08:00;True|2021-10-13T08:47:43.9314486+08:00;True|2021-10-12T14:07:18.6065183+08:00;True|2021-10-12T10:34:10.1682362+08:00;True|2021-10-12T10:27:14.3073332+08:00;True|2021-10-12T10:22:08.0004619+08:00;True|2021-10-12T10:21:03.0275378+08:00;True|2021-10-12T10:11:54.9812692+08:00;True|2021-10-11T16:59:07.3568342+08:00;True|2021-10-11T16:53:14.2016138+08:00;True|2021-10-11T16:21:35.0133775+08:00;True|2021-10-11T15:34:19.5731935+08:00;True|2021-10-11T15:31:07.5780983+08:00;True|2021-10-11T15:06:47.1145237+08:00;True|2021-10-11T15:03:25.5000280+08:00;True|2021-10-11T10:12:57.6416898+08:00;True|2021-10-09T10:15:17.9235165+08:00;True|2021-10-09T10:13:51.3318441+08:00;True|2021-10-09T10:01:21.6661542+08:00;True|2021-10-09T09:58:41.9225837+08:00;True|2021-10-08T14:56:49.7935800+08:00;True|2021-10-08T14:35:41.4490063+08:00;True|2021-10-08T14:02:42.6990656+08:00;True|2021-09-29T15:48:55.1547397+08:00;True|2021-09-29T15:48:23.5567191+08:00;True|2021-09-27T16:17:35.7180978+08:00;True|2021-09-27T15:51:50.4240134+08:00;True|2021-09-23T20:55:27.3554447+08:00;True|2021-09-23T14:14:44.0572017+08:00;True|2021-09-23T13:51:56.2344673+08:00;True|2021-09-23T10:46:16.7417007+08:00;True|2021-09-23T10:42:23.2117537+08:00;True|2021-09-22T15:21:22.9615672+08:00;True|2021-09-22T14:23:32.7907754+08:00;True|2021-09-22T13:48:03.4780947+08:00;True|2021-09-22T11:05:24.5249356+08:00;True|2021-09-22T10:00:19.0962943+08:00;True|2021-09-22T09:30:26.2686514+08:00;True|2021-09-17T11:22:34.5692792+08:00;True|2021-09-16T16:11:27.5372277+08:00;True|2021-09-16T14:53:40.8396557+08:00;True|2021-09-16T14:32:29.7905500+08:00;True|2021-09-16T14:26:46.2224219+08:00;True|2021-09-16T10:32:24.4244440+08:00;True|2021-09-15T11:10:35.3529360+08:00;True|2021-09-15T11:08:30.0857376+08:00;True|2021-09-15T11:05:56.7191571+08:00;True|2021-09-14T01:24:39.8041136+08:00;True|2021-09-14T01:05:01.1593327+08:00;True|2021-09-14T00:44:14.7233198+08:00;True|2021-09-13T23:48:19.4506233+08:00;True|2021-09-13T20:30:31.3243872+08:00;True|2021-09-13T19:45:35.9108911+08:00;False|2021-09-13T19:44:59.2779092+08:00;True|2021-09-13T18:09:22.4994381+08:00;True|2021-09-10T14:18:27.5788854+08:00;True|2021-09-09T15:57:01.7407207+08:00;True|2021-09-09T15:49:34.2598998+08:00;True|2021-09-09T11:32:10.7853024+08:00;True|2021-09-09T11:10:48.6840025+08:00;True|2021-09-09T10:35:37.3883078+08:00;True|2021-09-07T14:11:49.8497588+08:00;True|2021-09-07T13:34:48.4693349+08:00;True|2021-09-06T14:33:48.7549675+08:00;True|2021-09-03T16:27:51.1888520+08:00;True|2021-09-03T16:19:35.9003465+08:00;True|2021-09-03T15:46:28.1828032+08:00;True|2021-09-03T15:34:21.9362871+08:00;True|2021-09-03T11:24:49.8749819+08:00;True|2021-09-03T11:21:17.8373159+08:00;True|2021-09-03T11:16:53.2208136+08:00;True|2021-09-03T11:12:23.9063804+08:00;True|2021-09-03T09:11:09.2435721+08:00;True|2021-09-02T11:16:15.1370453+08:00;True|2021-09-02T10:35:39.1171879+08:00;True|2021-09-01T10:17:09.4536285+08:00;True|2021-09-01T09:46:28.4581776+08:00;True|2021-08-31T08:54:26.8588887+08:00;True|2021-08-31T08:39:08.3685693+08:00;True|2021-08-30T17:11:56.8438985+08:00;True|2021-08-30T15:59:42.0820292+08:00;True|2021-08-30T15:45:18.1868510+08:00;True|2021-08-30T14:56:08.3958863+08:00;True|2021-08-30T14:37:11.5379830+08:00;True|2021-08-30T14:35:34.8775934+08:00;True|2021-08-30T14:24:36.5111821+08:00;True|2021-08-30T10:05:49.6945200+08:00;True|2021-08-30T10:03:28.4064538+08:00;True|2021-08-30T10:00:16.8360929+08:00;True|2021-08-30T09:56:09.4434379+08:00;True|2021-08-30T09:55:36.1725334+08:00;True|2021-08-30T09:52:04.8600054+08:00;True|2021-08-30T09:47:46.4225655+08:00;True|2021-08-30T09:45:20.4894962+08:00;False|2021-08-27T17:17:34.2646751+08:00;False|2021-08-27T16:01:21.2791979+08:00;False|2021-08-27T15:58:06.9667160+08:00;False|2021-08-27T15:38:37.4818036+08:00;False|2021-08-27T15:21:02.8863114+08:00;False|2021-08-27T15:20:28.6828668+08:00;True|2021-08-26T16:00:44.3162145+08:00;True|2021-08-26T08:57:31.3842587+08:00;True|2021-08-23T08:43:41.1549775+08:00;True|2021-08-22T09:24:12.7210871+08:00;True|2021-08-22T09:19:53.8300229+08:00;True|2021-08-20T20:00:52.0140407+08:00;True|2021-08-20T19:40:14.7712765+08:00;True|2021-08-19T17:37:54.9748049+08:00;True|2021-08-19T17:20:11.0515687+08:00;True|2021-08-19T16:12:35.4392809+08:00;True|2021-08-19T16:06:50.6204587+08:00;True|2021-08-19T16:03:53.0824286+08:00;True|2021-08-19T15:56:01.3498791+08:00;True|2021-08-19T10:18:50.8113630+08:00;True|2021-08-19T09:58:06.2784035+08:00;True|2021-08-19T09:56:54.0619777+08:00;True|2021-08-19T00:32:08.3503093+08:00;True|2021-08-19T00:11:18.3150227+08:00;True|2021-08-19T00:02:49.4827718+08:00;True|2021-08-18T23:54:45.4845900+08:00;True|2021-08-18T23:39:51.6147977+08:00;True|2021-08-18T23:16:42.7214379+08:00;True|2021-08-18T22:38:57.4681929+08:00;True|2021-08-18T21:41:58.7560707+08:00;True|2021-08-18T21:11:52.2369249+08:00;True|2021-08-18T21:01:49.5669106+08:00;True|2021-08-18T20:47:46.5352688+08:00;False|2021-08-18T20:46:36.7956141+08:00;False|2021-08-18T20:46:01.0502138+08:00;True|2021-08-18T19:39:12.8186242+08:00;False|2021-08-18T19:38:12.6839708+08:00;True|2021-08-18T19:15:51.4626694+08:00;True|2021-08-18T16:07:20.4350886+08:00;True|2021-08-18T14:29:41.7171934+08:00;True|2021-08-18T14:20:36.3647361+08:00;True|2021-08-16T09:08:58.3617662+08:00;True|2021-08-15T20:44:29.9214083+08:00;True|2021-08-15T20:36:17.0958549+08:00;True|2021-08-15T20:29:34.3879773+08:00;True|2021-08-15T20:23:47.4052038+08:00;True|2021-08-15T15:01:19.7830862+08:00;True|2021-08-15T12:15:18.3433782+08:00;True|2021-08-13T20:59:11.3947130+08:00;True|2021-08-06T22:49:09.9538339+08:00;True|2021-08-06T22:35:19.0418168+08:00;True|2021-08-06T20:29:47.4241975+08:00;True|2021-08-06T14:08:16.4791827+08:00;True|2021-08-06T13:59:28.9874611+08:00;True|2021-08-06T13:57:34.3723977+08:00;True|2021-08-06T13:36:03.4816652+08:00;True|2021-08-06T12:22:52.5055221+08:00;True|2021-08-06T09:31:58.1272499+08:00;True|2021-08-06T09:26:51.6310039+08:00;True|2021-08-06T09:24:22.2899244+08:00;True|2021-08-06T09:06:30.6477912+08:00;True|2021-08-06T09:00:55.5101612+08:00;True|2021-08-06T08:49:59.9616490+08:00;True|2021-08-06T08:45:18.8586902+08:00;True|2021-08-05T20:09:25.8861998+08:00;True|2021-08-04T19:14:27.2396953+08:00;True|2021-08-04T19:11:47.5849093+08:00;True|2021-08-04T16:42:54.0149043+08:00;True|2021-08-04T15:02:11.5056561+08:00;True|2021-08-04T14:58:37.1435509+08:00;True|2021-08-04T14:55:34.7380132+08:00;True|2021-08-04T14:47:42.5933921+08:00;True|2021-08-04T14:45:17.9911874+08:00;True|2021-08-04T13:52:20.9601351+08:00;True|2021-08-04T09:48:28.8796992+08:00;True|2021-08-03T18:14:13.1894998+08:00;True|2021-08-03T17:45:35.1349721+08:00;True|2021-08-03T17:21:52.6028977+08:00;True|2021-08-03T17:20:35.4423020+08:00;True|2021-08-03T17:03:33.1667669+08:00;True|2021-08-03T17:01:54.2656787+08:00;True|2021-08-03T17:00:22.2778374+08:00;True|2021-08-03T16:56:58.8902582+08:00;True|2021-08-03T15:02:21.8601533+08:00;True|2021-08-03T14:57:34.0186758+08:00;True|2021-08-03T14:28:47.2242515+08:00;True|2021-08-03T14:22:22.4554236+08:00;True|2021-08-03T14:21:51.1339715+08:00;True|2021-08-03T13:37:33.9697131+08:00;True|2021-08-03T13:28:29.7591095+08:00;True|2021-08-03T11:35:09.5118324+08:00;True|2021-08-03T11:11:23.3051573+08:00;True|2021-08-02T13:14:42.3663755+08:00;True|2021-07-30T22:50:19.9749878+08:00;True|2021-07-30T22:49:31.2150970+08:00;True|2021-07-28T19:12:05.8381075+08:00;True|2021-07-28T18:59:45.4808797+08:00;True|2021-07-28T18:15:58.8301509+08:00;True|2021-07-28T18:04:54.8613546+08:00;True|2021-07-28T17:53:48.6225611+08:00;True|2021-07-28T17:42:50.9171563+08:00;True|2021-07-28T17:17:16.3137677+08:00;True|2021-07-28T17:11:46.8925200+08:00;True|2021-07-28T16:28:27.6823943+08:00;True|2021-07-28T16:23:00.3385836+08:00;True|2021-07-28T09:57:55.4237411+08:00;True|2021-07-28T08:38:29.6691541+08:00;True|2021-07-27T23:16:32.0331671+08:00;True|2021-07-27T23:06:08.1947249+08:00;True|2021-07-27T23:05:58.4619176+08:00;True|2021-07-27T18:42:09.5358261+08:00;True|2021-07-27T18:30:04.8532823+08:00;True|2021-07-27T18:29:43.5775092+08:00;True|2021-07-27T15:16:49.8356224+08:00;True|2021-07-27T15:05:27.8453220+08:00;True|2021-07-27T14:59:15.9519440+08:00;True|2021-07-27T09:23:32.6111337+08:00;True|2021-07-27T08:27:41.6395353+08:00;True|2021-07-27T08:25:56.7378296+08:00;True|2021-07-26T11:18:46.0856966+08:00;True|2021-07-26T11:18:02.0751924+08:00;True|2021-07-26T11:13:49.6285395+08:00;True|2021-07-21T21:08:25.9898902+08:00;True|2021-07-21T20:09:26.2258104+08:00;True|2021-07-13T16:17:25.8407435+08:00;True|2021-07-13T13:46:13.4309531+08:00;True|2021-07-13T12:29:04.5082461+08:00;True|2021-06-29T13:55:01.6864637+08:00;True|2021-06-29T10:38:52.2206472+08:00;True|2021-06-29T10:10:13.1540749+08:00;True|2021-06-28T14:37:56.3853273+08:00;False|2021-06-28T14:36:57.5726124+08:00;True|2021-06-25T14:17:57.5196108+08:00;True|2021-06-25T13:56:38.9522535+08:00;True|2021-06-24T19:38:32.8766933+08:00;True|2021-06-24T18:26:35.6118833+08:00;True|2021-06-24T18:02:52.8136877+08:00;True|2021-06-24T17:48:49.5851948+08:00;True|2021-06-24T17:45:46.7527572+08:00;True|2021-06-24T15:05:20.1592723+08:00;True|2021-06-23T16:18:15.6814625+08:00;True|2021-06-23T16:05:24.6112343+08:00;True|2021-06-23T15:14:08.2489658+08:00;True|2021-06-23T13:52:58.6029788+08:00;True|2021-06-22T16:11:20.4726923+08:00;True|2021-06-22T16:04:53.7231389+08:00;True|2021-06-22T15:50:59.2583262+08:00;True|2021-06-22T15:38:15.3016140+08:00;True|2021-06-22T15:34:42.9185543+08:00;True|2021-06-22T15:21:55.1419108+08:00;True|2021-06-22T15:07:21.5357494+08:00;True|2021-06-22T15:03:35.0535733+08:00;True|2021-06-22T14:54:47.8802969+08:00;True|2021-06-22T11:19:38.7303011+08:00;True|2021-06-22T08:53:49.2882695+08:00;True|2021-06-22T08:47:54.8286530+08:00;True|2021-06-21T16:27:19.3017700+08:00;True|2021-06-21T15:32:28.7237952+08:00;True|2021-06-21T12:34:02.6329555+08:00;True|2021-06-21T12:24:17.5427495+08:00;True|2021-06-21T10:47:30.6423502+08:00;True|2021-06-21T08:43:20.3026558+08:00;True|2021-06-19T15:10:06.8335499+08:00;True|2021-06-18T15:37:29.5009930+08:00;True|2021-06-18T13:46:35.6283432+08:00;True|2021-06-18T10:00:37.1474954+08:00;True|2021-06-18T09:55:21.8551780+08:00;True|2021-06-18T09:22:27.8432927+08:00;True|2021-06-17T11:17:43.2166430+08:00;True|2021-06-17T09:24:09.8350403+08:00;True|2021-06-16T16:10:47.8564888+08:00;True|2021-06-16T16:04:09.8286582+08:00;True|2021-06-16T15:12:29.9427169+08:00;True|2021-06-16T14:58:45.6801892+08:00;True|2021-06-16T14:46:01.6873221+08:00;True|2021-06-16T11:02:06.1272477+08:00;True|2021-06-16T09:33:56.0223915+08:00;True|2021-06-16T08:50:07.6995413+08:00;True|2021-06-16T08:28:38.7692635+08:00;True|2021-06-16T01:04:19.6282474+08:00;True|2021-06-16T01:03:50.5058323+08:00;False|2021-06-16T01:02:15.3819672+08:00;False|2021-06-16T01:01:38.6171098+08:00;True|2021-06-16T00:34:54.9902044+08:00;True|2021-06-15T23:55:36.2003828+08:00;True|2021-06-15T22:47:17.2192750+08:00;True|2021-06-15T22:42:41.1512585+08:00;True|2021-06-15T22:38:01.7390462+08:00;True|2021-06-15T22:14:11.2060782+08:00;True|2021-06-15T22:12:27.0615357+08:00;True|2021-06-15T22:07:59.9280871+08:00;True|2021-06-15T22:04:21.5051427+08:00;True|2021-06-15T21:25:55.0099814+08:00;True|2021-06-15T19:13:51.3494172+08:00;True|2021-06-15T19:02:17.6844742+08:00;True|2021-06-15T18:47:37.1629411+08:00;False|2021-06-15T18:47:11.0828111+08:00;True|2021-06-15T18:38:26.6620668+08:00;True|2021-06-15T18:33:45.2069831+08:00;True|2021-06-15T18:24:52.0550838+08:00;True|2021-06-15T18:19:43.6999796+08:00;True|2021-06-15T18:08:17.2464506+08:00;True|2021-06-15T18:03:51.3952624+08:00;True|2021-06-15T18:01:20.6141766+08:00;True|2021-06-15T17:59:04.4479416+08:00;True|2021-06-15T17:41:44.6389379+08:00;True|2021-06-15T17:39:03.1565124+08:00;True|2021-06-15T17:34:41.0634638+08:00;True|2021-06-15T17:33:50.4853178+08:00;True|2021-06-15T17:25:38.5914037+08:00;True|2021-06-15T17:22:21.3611360+08:00;True|2021-06-15T17:16:49.4970813+08:00;True|2021-06-15T17:05:28.9389484+08:00;True|2021-06-15T16:52:54.6372199+08:00;True|2021-06-15T16:51:23.9081030+08:00;True|2021-06-15T16:45:40.6017997+08:00;True|2021-06-15T16:41:05.0218887+08:00;True|2021-06-15T16:38:02.8541862+08:00;True|2021-06-15T16:22:10.3118721+08:00;True|2021-06-15T16:12:11.1552506+08:00;True|2021-06-15T15:33:42.0100494+08:00;True|2021-06-15T15:28:39.7145659+08:00;True|2021-06-15T15:15:02.7939125+08:00;True|2021-06-15T14:49:14.2300396+08:00;True|2021-06-15T14:42:28.1198064+08:00;True|2021-06-15T13:30:12.7997686+08:00;True|2021-06-15T13:25:37.7284670+08:00;True|2021-06-15T13:23:43.6207813+08:00;False|2021-06-15T13:23:19.4190232+08:00;True|2021-06-15T13:16:38.5062674+08:00;True|2021-06-15T13:03:31.2055635+08:00;True|2021-06-15T12:58:43.1653215+08:00;True|2021-06-15T12:39:22.8442109+08:00;True|2021-06-15T12:35:09.1288556+08:00;False|2021-06-15T12:33:50.0723143+08:00;True|2021-06-15T11:28:01.9733727+08:00;True|2021-06-15T11:26:26.6569392+08:00;True|2021-06-15T11:22:43.0366435+08:00;True|2021-06-15T11:07:50.1610580+08:00;True|2021-06-15T10:32:59.1925931+08:00;True|2021-06-10T17:16:57.9552310+08:00;True|2021-06-10T16:44:42.2731836+08:00;True|2021-06-10T14:39:27.6745737+08:00;True|2021-06-10T12:15:05.1524413+08:00;True|2021-06-09T18:19:24.1005606+08:00;True|2021-06-09T17:56:09.5646288+08:00;True|2021-06-09T13:34:06.1882292+08:00;True|2021-06-09T13:29:54.5924933+08:00;True|2021-06-09T13:25:55.7520662+08:00;True|2021-06-09T13:07:47.6686811+08:00;True|2021-06-09T12:59:41.2595048+08:00;True|2021-06-09T12:45:27.1305548+08:00;True|2021-06-09T12:29:52.1418191+08:00;True|2021-06-09T12:24:12.7610588+08:00;True|2021-06-09T11:31:25.3409568+08:00;True|2021-06-09T09:57:44.4387175+08:00;True|2021-06-09T09:54:26.5161307+08:00;True|2021-06-09T09:14:14.7288045+08:00;True|2021-06-09T09:10:25.1812139+08:00;True|2021-06-09T08:46:21.6585123+08:00;True|2021-06-08T19:56:55.7192062+08:00;True|2021-06-08T19:52:59.0326821+08:00;True|2021-06-08T19:49:13.6274217+08:00;True|2021-06-08T19:09:22.1038939+08:00;True|2021-06-08T15:28:41.3716247+08:00;True|2021-06-08T15:26:47.2621178+08:00;True|2021-06-08T13:49:45.8936617+08:00;True|2021-06-08T13:43:18.8115502+08:00;True|2021-06-08T10:04:06.2200731+08:00;True|2021-06-08T09:17:10.0470792+08:00;True|2021-06-08T08:44:37.4395849+08:00;True|2021-06-08T00:01:09.3745613+08:00;True|2021-06-07T23:49:31.5196888+08:00;True|2021-06-07T23:41:00.8017855+08:00;True|2021-06-07T23:21:53.1371134+08:00;True|2021-06-07T23:01:27.5712153+08:00;True|2021-06-07T22:36:12.9274014+08:00;True|2021-06-07T22:23:00.6545134+08:00;True|2021-06-07T17:44:47.5686346+08:00;True|2021-06-07T17:17:01.3431233+08:00;True|2021-06-07T16:53:28.9989587+08:00;True|2021-06-07T16:41:10.4975607+08:00;True|2021-06-07T14:21:06.8176477+08:00;True|2021-06-07T14:10:39.0355659+08:00;True|2021-06-07T12:34:31.4562732+08:00;True|2021-06-07T12:28:44.9629488+08:00;True|2021-06-07T10:30:26.9387988+08:00;True|2021-06-07T09:12:14.7658099+08:00;True|2021-06-07T08:37:19.6353792+08:00;True|2021-06-07T08:35:25.2031954+08:00;True|2021-06-05T07:07:32.0541266+08:00;True|2021-06-05T06:44:35.9475270+08:00;True|2021-06-05T06:37:27.4595197+08:00;True|2021-06-05T06:26:59.7663998+08:00;True|2021-06-05T05:43:12.8699318+08:00;True|2021-06-04T17:00:41.2426007+08:00;True|2021-06-04T16:08:03.8078072+08:00;True|2021-06-04T15:47:21.6412616+08:00;True|2021-06-04T15:21:02.4239800+08:00;True|2021-06-04T15:20:37.8641854+08:00;True|2021-06-04T13:38:51.5088395+08:00;True|2021-06-04T10:20:01.7784282+08:00;True|2021-06-04T10:13:50.3548857+08:00;True|2021-06-04T10:11:25.5017821+08:00;True|2021-06-04T10:09:51.6792228+08:00;True|2021-06-04T10:02:39.5851057+08:00;True|2021-06-04T09:30:40.4495494+08:00;True|2021-06-03T13:16:36.0317546+08:00;True|2021-06-03T13:12:47.0402047+08:00;True|2021-06-02T14:37:08.9683351+08:00;True|2021-06-02T14:10:15.7439829+08:00;True|2021-06-02T13:59:46.5841931+08:00;True|2021-06-02T13:25:18.7962660+08:00;True|2021-06-02T13:23:16.2261980+08:00;True|2021-06-01T15:37:32.2495085+08:00;True|2021-06-01T15:21:01.2856122+08:00;True|2021-06-01T15:13:36.7262365+08:00;True|2021-06-01T15:10:26.8905629+08:00;True|2021-06-01T14:56:17.5231551+08:00;True|2021-06-01T14:38:39.7895927+08:00;True|2021-06-01T14:23:12.3265287+08:00;True|2021-03-01T09:11:31.3226422+08:00;True|2021-05-26T14:54:56.9426462+08:00;True|2021-05-26T13:57:33.7780451+08:00;True|2021-05-26T13:39:02.8043358+08:00;True|2021-02-25T16:01:40.2917200+08:00;True|2021-02-25T15:49:46.6681205+08:00;True|2021-02-25T15:16:30.9372640+08:00;True|2021-05-25T13:10:21.7831921+08:00;True|2021-05-25T11:21:38.5224475+08:00;True|2021-05-25T11:12:52.0637175+08:00;True|2021-05-25T11:02:18.4164663+08:00;True|2021-05-25T10:52:06.8998521+08:00;True|2021-05-25T10:50:45.0929606+08:00;True|2021-05-25T10:45:54.1498313+08:00;True|2021-05-25T10:39:27.8602249+08:00;True|2021-05-25T10:34:49.5771162+08:00;True|2021-05-25T10:17:30.3009163+08:00;True|2021-05-25T10:14:03.8512581+08:00;True|2021-05-25T10:05:33.4343836+08:00;True|2021-05-24T17:01:23.3221168+08:00;True|2021-05-24T10:11:24.0197347+08:00;False|2021-05-24T10:11:07.6338995+08:00;</History>
    <History>True|2022-06-07T06:44:51.5702202Z;True|2022-06-07T14:42:44.8351600+08:00;True|2022-05-17T14:19:55.1158182+08:00;True|2022-05-17T13:25:44.2886247+08:00;True|2022-05-17T10:29:26.6813564+08:00;True|2022-05-17T09:02:49.1742018+08:00;True|2022-05-06T15:13:12.2438900+08:00;True|2022-05-06T14:49:39.8536594+08:00;True|2022-04-22T17:07:44.8823529+08:00;True|2022-04-19T19:13:40.8312746+08:00;True|2022-04-19T15:40:16.0022040+08:00;True|2022-04-19T15:13:32.9767736+08:00;False|2022-04-19T15:08:33.6507639+08:00;True|2022-04-19T15:02:51.9580210+08:00;True|2022-04-19T13:54:18.7579131+08:00;True|2022-04-12T10:36:02.1779173+08:00;True|2022-04-12T10:05:31.0222037+08:00;True|2022-04-12T09:47:49.3724819+08:00;True|2022-04-09T15:08:54.5697468+08:00;True|2022-04-08T17:31:31.0046258+08:00;True|2022-04-08T16:50:41.3018422+08:00;True|2022-04-08T10:35:36.5029980+08:00;True|2022-03-31T09:38:37.3646053+08:00;True|2022-03-29T13:57:45.4410942+08:00;True|2022-03-10T18:59:23.7994337+08:00;True|2022-03-10T18:52:39.5019082+08:00;True|2022-03-10T18:51:12.7949284+08:00;True|2022-03-10T18:50:47.2024177+08:00;True|2022-03-10T18:45:08.8409380+08:00;True|2022-03-10T18:41:17.0102564+08:00;True|2022-03-10T18:35:49.0742353+08:00;True|2022-03-10T17:57:47.4196965+08:00;True|2022-03-10T17:34:27.5723245+08:00;True|2022-03-10T16:13:59.3829164+08:00;True|2022-03-09T14:50:49.1222033+08:00;True|2022-03-09T11:21:03.0073651+08:00;False|2022-03-09T11:16:56.1792896+08:00;False|2022-03-09T11:16:49.7923320+08:00;True|2022-03-08T15:47:47.4722336+08:00;True|2022-03-08T15:47:28.5397115+08:00;True|2022-03-08T15:37:08.7379870+08:00;True|2022-03-02T17:37:54.4659976+08:00;True|2022-03-02T17:34:12.2949726+08:00;True|2022-03-02T17:26:38.7070673+08:00;True|2022-03-02T17:07:49.7024316+08:00;True|2022-03-02T17:05:22.4177336+08:00;True|2022-03-02T16:14:57.9880587+08:00;True|2022-03-01T17:52:52.6766959+08:00;True|2022-02-28T14:36:22.6449303+08:00;True|2022-02-24T15:43:36.8244163+08:00;True|2022-02-23T17:57:14.3693224+08:00;True|2022-02-23T17:46:42.1078183+08:00;False|2022-02-23T17:41:06.5886724+08:00;True|2022-02-23T16:59:45.5533581+08:00;True|2022-02-23T16:57:43.3328895+08:00;True|2022-02-21T09:09:37.2601134+08:00;True|2022-02-21T09:03:32.4071009+08:00;True|2022-02-21T08:59:59.0172082+08:00;True|2022-02-18T14:05:39.1358825+08:00;True|2022-02-18T10:23:02.4391239+08:00;True|2022-02-18T10:21:31.0559267+08:00;True|2022-02-17T16:50:11.7192509+08:00;True|2022-02-17T13:19:13.7697894+08:00;True|2022-02-11T10:36:12.7757100+08:00;True|2022-02-10T10:54:25.2685040+08:00;True|2022-02-10T10:37:02.1034768+08:00;True|2022-02-09T17:32:45.6511283+08:00;True|2022-02-09T17:24:32.5115193+08:00;True|2022-02-09T17:00:24.0662114+08:00;True|2022-02-09T16:56:42.3364622+08:00;True|2022-02-09T14:17:25.8688855+08:00;True|2022-02-09T14:11:51.6149822+08:00;True|2022-02-07T23:29:26.2842648+08:00;True|2022-02-07T23:28:58.8242274+08:00;False|2022-02-07T23:25:29.0647793+08:00;True|2022-02-07T13:06:37.5515985+08:00;True|2022-02-07T12:42:19.5220491+08:00;True|2022-02-07T09:52:59.6728595+08:00;True|2022-02-01T11:32:10.5831557+08:00;True|2022-01-29T14:09:02.9178986+08:00;True|2022-01-28T12:01:45.1416438+08:00;True|2022-01-28T11:03:41.6361866+08:00;True|2022-01-28T10:44:53.5367862+08:00;True|2022-01-28T10:40:41.6697563+08:00;True|2022-01-28T10:25:56.7093616+08:00;True|2022-01-28T09:58:13.0733060+08:00;True|2022-01-27T09:26:29.6568807+08:00;True|2022-01-27T00:47:57.9102528+08:00;True|2022-01-27T00:46:52.8845001+08:00;True|2022-01-27T00:36:34.5330938+08:00;True|2022-01-27T00:35:19.5439329+08:00;True|2022-01-27T00:33:38.5701950+08:00;True|2022-01-27T00:32:00.9028982+08:00;True|2022-01-27T00:30:13.2390921+08:00;True|2022-01-27T00:28:23.2989144+08:00;True|2022-01-27T00:16:01.3789455+08:00;True|2022-01-27T00:09:58.8112352+08:00;True|2022-01-27T00:00:40.8353538+08:00;True|2022-01-26T23:37:50.9494735+08:00;True|2022-01-26T23:29:39.8647473+08:00;True|2022-01-26T23:20:49.3274392+08:00;True|2022-01-26T23:15:53.7037293+08:00;True|2022-01-26T23:06:28.8595953+08:00;True|2022-01-26T23:02:12.9882299+08:00;True|2022-01-26T22:55:33.2535730+08:00;True|2022-01-26T22:51:01.8427947+08:00;True|2022-01-26T22:47:44.0715387+08:00;True|2022-01-26T22:20:21.7217039+08:00;True|2022-01-26T22:13:39.5372069+08:00;True|2022-01-26T22:01:31.2113177+08:00;True|2022-01-26T21:55:26.5478921+08:00;True|2022-01-26T21:50:18.2700369+08:00;True|2022-01-26T21:48:52.0020233+08:00;True|2022-01-26T19:19:29.4530523+08:00;True|2022-01-26T19:07:21.6474231+08:00;True|2022-01-26T18:25:42.2933291+08:00;True|2022-01-26T12:39:02.0149050+08:00;True|2022-01-26T12:13:43.9149452+08:00;True|2022-01-26T11:24:33.5742248+08:00;True|2022-01-26T08:51:10.8105076+08:00;True|2022-01-25T21:07:32.9069261+08:00;True|2022-01-24T01:35:12.3309466+08:00;True|2022-01-23T23:19:15.9702821+08:00;True|2022-01-23T21:50:41.6903353+08:00;True|2022-01-23T21:25:57.6084267+08:00;True|2022-01-23T21:16:10.1516535+08:00;True|2022-01-23T20:52:08.3745284+08:00;True|2022-01-23T18:19:32.2386502+08:00;True|2022-01-23T18:11:42.0830325+08:00;True|2022-01-23T18:00:01.3239547+08:00;True|2022-01-23T12:18:48.2466943+08:00;True|2022-01-22T00:48:50.4531647+08:00;True|2022-01-21T13:10:32.8173598+08:00;True|2022-01-21T13:04:01.6388059+08:00;True|2022-01-21T12:51:40.5304103+08:00;True|2022-01-21T12:44:06.3059885+08:00;True|2022-01-21T12:34:33.9314010+08:00;True|2022-01-21T11:39:20.1088577+08:00;True|2022-01-20T11:33:49.0516846+08:00;True|2022-01-20T10:02:12.0295471+08:00;True|2022-01-20T10:02:03.3535503+08:00;True|2022-01-19T23:56:18.7293193+08:00;True|2022-01-19T22:30:14.6986228+08:00;True|2022-01-19T22:15:08.8608795+08:00;True|2022-01-19T21:57:55.2295030+08:00;True|2022-01-19T13:50:37.8588759+08:00;True|2022-01-19T13:42:52.9761531+08:00;True|2022-01-19T00:26:36.9722917+08:00;True|2022-01-19T00:15:30.8583143+08:00;True|2022-01-18T21:19:30.6193048+08:00;True|2022-01-18T21:12:07.1453825+08:00;True|2022-01-18T20:35:27.3779956+08:00;True|2022-01-18T17:44:45.2318570+08:00;True|2022-01-18T14:45:29.0299640+08:00;True|2022-01-17T22:23:20.8214203+08:00;True|2022-01-17T21:49:15.7740045+08:00;True|2022-01-17T21:47:24.6997598+08:00;True|2022-01-17T21:44:00.1942787+08:00;True|2022-01-17T21:43:15.5992687+08:00;True|2022-01-17T21:33:16.8034756+08:00;True|2022-01-17T21:25:39.9909343+08:00;True|2022-01-17T21:13:03.9659338+08:00;True|2022-01-17T20:32:14.8869091+08:00;True|2022-01-17T19:01:46.5753686+08:00;True|2022-01-17T18:31:24.1032169+08:00;True|2022-01-17T18:21:39.2918684+08:00;True|2022-01-17T18:12:07.4859038+08:00;True|2022-01-17T18:09:26.6989718+08:00;True|2022-01-17T18:04:36.7564997+08:00;True|2022-01-17T17:57:44.7814863+08:00;True|2022-01-17T17:51:50.1516107+08:00;True|2022-01-17T17:39:29.2918799+08:00;True|2022-01-17T14:55:21.5859341+08:00;True|2022-01-17T14:38:06.5091500+08:00;True|2022-01-17T14:30:25.5378436+08:00;True|2022-01-16T19:15:24.5874858+08:00;True|2022-01-16T19:07:49.0613424+08:00;True|2022-01-16T16:10:47.3112741+08:00;False|2022-01-14T19:09:41.9296709+08:00;False|2022-01-14T18:56:11.0569808+08:00;False|2022-01-14T18:28:20.1376762+08:00;False|2022-01-14T18:27:30.8678130+08:00;False|2022-01-14T18:22:45.4436504+08:00;False|2022-01-14T18:19:37.0374753+08:00;False|2022-01-14T18:18:48.5868254+08:00;False|2022-01-14T18:14:02.5810257+08:00;False|2022-01-14T18:09:51.1730754+08:00;False|2022-01-14T18:09:17.8940754+08:00;True|2022-01-13T20:08:16.2937608+08:00;True|2022-01-13T20:07:30.1505466+08:00;True|2022-01-13T13:39:42.0146294+08:00;True|2022-01-13T13:38:07.5062471+08:00;True|2022-01-13T11:29:49.3751232+08:00;True|2022-01-13T11:05:43.9574142+08:00;True|2022-01-13T10:33:23.1921058+08:00;True|2022-01-12T20:38:16.9165651+08:00;True|2022-01-12T20:24:46.3779264+08:00;True|2022-01-12T20:03:06.5030626+08:00;True|2022-01-12T19:44:55.4294326+08:00;True|2022-01-12T12:58:45.9548600+08:00;True|2022-01-12T11:28:44.7797749+08:00;True|2022-01-11T18:07:30.9151356+08:00;True|2022-01-11T15:06:32.7301609+08:00;True|2022-01-11T09:27:00.1766442+08:00;True|2021-12-30T14:41:56.8541015+08:00;True|2021-12-30T13:45:00.6130694+08:00;True|2021-12-30T13:44:18.7370780+08:00;True|2021-12-30T13:36:52.8171136+08:00;True|2021-12-28T19:14:22.5979649+08:00;True|2021-12-28T13:13:39.3543252+08:00;True|2021-12-27T15:31:26.6037782+08:00;True|2021-12-27T15:28:54.4824480+08:00;True|2021-12-27T15:22:47.8436108+08:00;True|2021-12-27T15:04:37.0711590+08:00;True|2021-12-27T15:03:52.0932499+08:00;True|2021-12-27T15:03:33.0172733+08:00;True|2021-12-27T13:28:27.4252747+08:00;True|2021-12-25T19:38:33.6784042+08:00;True|2021-12-24T20:47:43.3471563+08:00;True|2021-12-24T20:14:57.6946814+08:00;True|2021-12-24T19:55:21.1843105+08:00;True|2021-12-24T19:49:54.6719726+08:00;True|2021-12-24T19:38:14.1180741+08:00;True|2021-12-22T13:51:37.1082523+08:00;True|2021-12-21T15:38:59.8015096+08:00;True|2021-12-21T15:29:54.8095063+08:00;False|2021-12-21T15:29:21.7006531+08:00;False|2021-12-21T15:16:18.2218025+08:00;False|2021-12-21T15:11:38.1215841+08:00;False|2021-12-21T15:08:27.0590078+08:00;True|2021-12-10T14:12:36.4065298+08:00;True|2021-12-10T13:54:03.4921778+08:00;True|2021-12-10T13:25:49.0439086+08:00;True|2021-12-10T13:19:58.9494477+08:00;True|2021-12-10T13:10:45.3929017+08:00;True|2021-12-10T11:06:53.2416794+08:00;True|2021-12-07T17:23:28.9380484+08:00;True|2021-12-07T17:13:52.4384814+08:00;True|2021-12-07T16:39:49.2020208+08:00;True|2021-12-07T15:18:20.9024533+08:00;True|2021-12-07T15:07:35.4428035+08:00;True|2021-12-07T15:01:02.0445043+08:00;True|2021-12-07T14:50:08.9019705+08:00;True|2021-12-07T14:34:50.4993666+08:00;False|2021-12-07T14:32:56.0408332+08:00;True|2021-12-06T17:11:41.4004606+08:00;True|2021-12-06T16:48:07.6029757+08:00;True|2021-12-06T13:46:35.9437718+08:00;True|2021-12-06T13:45:07.6622615+08:00;True|2021-12-06T11:25:04.3483155+08:00;True|2021-12-06T11:18:24.5804187+08:00;True|2021-11-22T16:27:05.4241947+08:00;True|2021-11-22T13:40:17.6768280+08:00;True|2021-11-19T16:15:19.9085104+08:00;True|2021-11-09T10:34:21.1623512+08:00;True|2021-11-07T16:57:59.7380254+08:00;True|2021-11-07T16:53:47.4198852+08:00;True|2021-11-07T16:42:05.5096826+08:00;True|2021-11-07T16:37:21.0729013+08:00;True|2021-11-05T20:51:17.6170717+08:00;True|2021-11-05T20:35:14.6250333+08:00;True|2021-11-05T19:30:19.8374158+08:00;True|2021-11-05T19:22:46.2276569+08:00;True|2021-11-05T19:20:30.8253213+08:00;True|2021-11-05T19:16:45.7553310+08:00;True|2021-11-05T19:16:00.4532689+08:00;True|2021-11-05T19:12:25.9022478+08:00;False|2021-11-05T19:11:26.5753529+08:00;True|2021-11-05T19:09:30.0085433+08:00;True|2021-11-05T18:48:19.9395153+08:00;True|2021-11-05T18:45:34.3437897+08:00;True|2021-11-05T18:43:43.4558159+08:00;True|2021-11-05T18:40:40.9948500+08:00;True|2021-11-05T18:34:18.4440455+08:00;True|2021-11-05T15:54:51.6037132+08:00;True|2021-10-28T16:27:53.9728270+08:00;True|2021-10-28T16:03:59.5629998+08:00;True|2021-10-28T08:51:04.2549186+08:00;True|2021-10-27T15:14:53.5506098+08:00;True|2021-10-27T15:00:44.9100320+08:00;True|2021-10-27T13:14:46.7921647+08:00;True|2021-10-27T11:24:49.4550753+08:00;True|2021-10-27T10:10:10.3545125+08:00;True|2021-10-27T10:02:24.9248610+08:00;True|2021-10-27T09:59:40.3795897+08:00;True|2021-10-27T09:56:30.6629207+08:00;True|2021-10-27T09:10:48.3883432+08:00;True|2021-10-27T09:03:31.9191991+08:00;True|2021-10-27T08:59:59.7651159+08:00;True|2021-10-27T08:36:11.8620997+08:00;True|2021-10-27T08:26:40.2533014+08:00;True|2021-10-26T09:19:35.5674748+08:00;True|2021-10-26T09:17:17.6900747+08:00;True|2021-10-26T09:14:32.3999220+08:00;True|2021-10-25T15:08:21.2581763+08:00;True|2021-10-25T10:01:57.8524903+08:00;True|2021-10-25T09:28:51.6294879+08:00;True|2021-10-25T09:25:50.3373336+08:00;True|2021-10-25T09:23:37.0203978+08:00;True|2021-10-25T09:18:23.3380608+08:00;True|2021-10-25T09:15:10.5292071+08:00;True|2021-10-25T08:56:30.4632027+08:00;True|2021-10-25T08:50:11.4697392+08:00;True|2021-10-22T13:46:49.7207066+08:00;True|2021-10-22T10:06:33.3130089+08:00;True|2021-10-20T14:32:10.1235516+08:00;True|2021-10-20T14:16:18.6496291+08:00;True|2021-10-20T14:08:49.2443715+08:00;True|2021-10-20T14:05:14.6847950+08:00;True|2021-10-20T13:30:21.6057636+08:00;True|2021-10-20T10:55:22.2151716+08:00;True|2021-10-19T10:42:13.4198267+08:00;True|2021-10-19T10:01:41.0018108+08:00;True|2021-10-19T09:59:11.2127619+08:00;True|2021-10-19T09:54:04.8472874+08:00;True|2021-10-15T11:19:15.5327495+08:00;True|2021-10-15T11:17:41.0686485+08:00;True|2021-10-15T11:12:11.8295042+08:00;True|2021-10-15T10:33:31.5670079+08:00;True|2021-10-15T10:27:45.0815146+08:00;True|2021-10-14T14:51:28.5331025+08:00;True|2021-10-14T14:37:28.3276051+08:00;True|2021-10-14T14:23:39.0606792+08:00;True|2021-10-14T14:21:03.8140347+08:00;True|2021-10-13T10:31:10.6628977+08:00;True|2021-10-13T10:12:24.4238027+08:00;True|2021-10-13T08:47:43.9314486+08:00;True|2021-10-12T14:07:18.6065183+08:00;True|2021-10-12T10:34:10.1682362+08:00;True|2021-10-12T10:27:14.3073332+08:00;True|2021-10-12T10:22:08.0004619+08:00;True|2021-10-12T10:21:03.0275378+08:00;True|2021-10-12T10:11:54.9812692+08:00;True|2021-10-11T16:59:07.3568342+08:00;True|2021-10-11T16:53:14.2016138+08:00;True|2021-10-11T16:21:35.0133775+08:00;True|2021-10-11T15:34:19.5731935+08:00;True|2021-10-11T15:31:07.5780983+08:00;True|2021-10-11T15:06:47.1145237+08:00;True|2021-10-11T15:03:25.5000280+08:00;True|2021-10-11T10:12:57.6416898+08:00;True|2021-10-09T10:15:17.9235165+08:00;True|2021-10-09T10:13:51.3318441+08:00;True|2021-10-09T10:01:21.6661542+08:00;True|2021-10-09T09:58:41.9225837+08:00;True|2021-10-08T14:56:49.7935800+08:00;True|2021-10-08T14:35:41.4490063+08:00;True|2021-10-08T14:02:42.6990656+08:00;True|2021-09-29T15:48:55.1547397+08:00;True|2021-09-29T15:48:23.5567191+08:00;True|2021-09-27T16:17:35.7180978+08:00;True|2021-09-27T15:51:50.4240134+08:00;True|2021-09-23T20:55:27.3554447+08:00;True|2021-09-23T14:14:44.0572017+08:00;True|2021-09-23T13:51:56.2344673+08:00;True|2021-09-23T10:46:16.7417007+08:00;True|2021-09-23T10:42:23.2117537+08:00;True|2021-09-22T15:21:22.9615672+08:00;True|2021-09-22T14:23:32.7907754+08:00;True|2021-09-22T13:48:03.4780947+08:00;True|2021-09-22T11:05:24.5249356+08:00;True|2021-09-22T10:00:19.0962943+08:00;True|2021-09-22T09:30:26.2686514+08:00;True|2021-09-17T11:22:34.5692792+08:00;True|2021-09-16T16:11:27.5372277+08:00;True|2021-09-16T14:53:40.8396557+08:00;True|2021-09-16T14:32:29.7905500+08:00;True|2021-09-16T14:26:46.2224219+08:00;True|2021-09-16T10:32:24.4244440+08:00;True|2021-09-15T11:10:35.3529360+08:00;True|2021-09-15T11:08:30.0857376+08:00;True|2021-09-15T11:05:56.7191571+08:00;True|2021-09-14T01:24:39.8041136+08:00;True|2021-09-14T01:05:01.1593327+08:00;True|2021-09-14T00:44:14.7233198+08:00;True|2021-09-13T23:48:19.4506233+08:00;True|2021-09-13T20:30:31.3243872+08:00;True|2021-09-13T19:45:35.9108911+08:00;False|2021-09-13T19:44:59.2779092+08:00;True|2021-09-13T18:09:22.4994381+08:00;True|2021-09-10T14:18:27.5788854+08:00;True|2021-09-09T15:57:01.7407207+08:00;True|2021-09-09T15:49:34.2598998+08:00;True|2021-09-09T11:32:10.7853024+08:00;True|2021-09-09T11:10:48.6840025+08:00;True|2021-09-09T10:35:37.3883078+08:00;True|2021-09-07T14:11:49.8497588+08:00;True|2021-09-07T13:34:48.4693349+08:00;True|2021-09-06T14:33:48.7549675+08:00;True|2021-09-03T16:27:51.1888520+08:00;True|2021-09-03T16:19:35.9003465+08:00;True|2021-09-03T15:46:28.1828032+08:00;True|2021-09-03T15:34:21.9362871+08:00;True|2021-09-03T11:24:49.8749819+08:00;True|2021-09-03T11:21:17.8373159+08:00;True|2021-09-03T11:16:53.2208136+08:00;True|2021-09-03T11:12:23.9063804+08:00;True|2021-09-03T09:11:09.2435721+08:00;True|2021-09-02T11:16:15.1370453+08:00;True|2021-09-02T10:35:39.1171879+08:00;True|2021-09-01T10:17:09.4536285+08:00;True|2021-09-01T09:46:28.4581776+08:00;True|2021-08-31T08:54:26.8588887+08:00;True|2021-08-31T08:39:08.3685693+08:00;True|2021-08-30T17:11:56.8438985+08:00;True|2021-08-30T15:59:42.0820292+08:00;True|2021-08-30T15:45:18.1868510+08:00;True|2021-08-30T14:56:08.3958863+08:00;True|2021-08-30T14:37:11.5379830+08:00;True|2021-08-30T14:35:34.8775934+08:00;True|2021-08-30T14:24:36.5111821+08:00;True|2021-08-30T10:05:49.6945200+08:00;True|2021-08-30T10:03:28.4064538+08:00;True|2021-08-30T10:00:16.8360929+08:00;True|2021-08-30T09:56:09.4434379+08:00;True|2021-08-30T09:55:36.1725334+08:00;True|2021-08-30T09:52:04.8600054+08:00;True|2021-08-30T09:47:46.4225655+08:00;True|2021-08-30T09:45:20.4894962+08:00;False|2021-08-27T17:17:34.2646751+08:00;False|2021-08-27T16:01:21.2791979+08:00;False|2021-08-27T15:58:06.9667160+08:00;False|2021-08-27T15:38:37.4818036+08:00;False|2021-08-27T15:21:02.8863114+08:00;False|2021-08-27T15:20:28.6828668+08:00;True|2021-08-26T16:00:44.3162145+08:00;True|2021-08-26T08:57:31.3842587+08:00;True|2021-08-23T08:43:41.1549775+08:00;True|2021-08-22T09:24:12.7210871+08:00;True|2021-08-22T09:19:53.8300229+08:00;True|2021-08-20T20:00:52.0140407+08:00;True|2021-08-20T19:40:14.7712765+08:00;True|2021-08-19T17:37:54.9748049+08:00;True|2021-08-19T17:20:11.0515687+08:00;True|2021-08-19T16:12:35.4392809+08:00;True|2021-08-19T16:06:50.6204587+08:00;True|2021-08-19T16:03:53.0824286+08:00;True|2021-08-19T15:56:01.3498791+08:00;True|2021-08-19T10:18:50.8113630+08:00;True|2021-08-19T09:58:06.2784035+08:00;True|2021-08-19T09:56:54.0619777+08:00;True|2021-08-19T00:32:08.3503093+08:00;True|2021-08-19T00:11:18.3150227+08:00;True|2021-08-19T00:02:49.4827718+08:00;True|2021-08-18T23:54:45.4845900+08:00;True|2021-08-18T23:39:51.6147977+08:00;True|2021-08-18T23:16:42.7214379+08:00;True|2021-08-18T22:38:57.4681929+08:00;True|2021-08-18T21:41:58.7560707+08:00;True|2021-08-18T21:11:52.2369249+08:00;True|2021-08-18T21:01:49.5669106+08:00;True|2021-08-18T20:47:46.5352688+08:00;False|2021-08-18T20:46:36.7956141+08:00;False|2021-08-18T20:46:01.0502138+08:00;True|2021-08-18T19:39:12.8186242+08:00;False|2021-08-18T19:38:12.6839708+08:00;True|2021-08-18T19:15:51.4626694+08:00;True|2021-08-18T16:07:20.4350886+08:00;True|2021-08-18T14:29:41.7171934+08:00;True|2021-08-18T14:20:36.3647361+08:00;True|2021-08-16T09:08:58.3617662+08:00;True|2021-08-15T20:44:29.9214083+08:00;True|2021-08-15T20:36:17.0958549+08:00;True|2021-08-15T20:29:34.3879773+08:00;True|2021-08-15T20:23:47.4052038+08:00;True|2021-08-15T15:01:19.7830862+08:00;True|2021-08-15T12:15:18.3433782+08:00;True|2021-08-13T20:59:11.3947130+08:00;True|2021-08-06T22:49:09.9538339+08:00;True|2021-08-06T22:35:19.0418168+08:00;True|2021-08-06T20:29:47.4241975+08:00;True|2021-08-06T14:08:16.4791827+08:00;True|2021-08-06T13:59:28.9874611+08:00;True|2021-08-06T13:57:34.3723977+08:00;True|2021-08-06T13:36:03.4816652+08:00;True|2021-08-06T12:22:52.5055221+08:00;True|2021-08-06T09:31:58.1272499+08:00;True|2021-08-06T09:26:51.6310039+08:00;True|2021-08-06T09:24:22.2899244+08:00;True|2021-08-06T09:06:30.6477912+08:00;True|2021-08-06T09:00:55.5101612+08:00;True|2021-08-06T08:49:59.9616490+08:00;True|2021-08-06T08:45:18.8586902+08:00;True|2021-08-05T20:09:25.8861998+08:00;True|2021-08-04T19:14:27.2396953+08:00;True|2021-08-04T19:11:47.5849093+08:00;True|2021-08-04T16:42:54.0149043+08:00;True|2021-08-04T15:02:11.5056561+08:00;True|2021-08-04T14:58:37.1435509+08:00;True|2021-08-04T14:55:34.7380132+08:00;True|2021-08-04T14:47:42.5933921+08:00;True|2021-08-04T14:45:17.9911874+08:00;True|2021-08-04T13:52:20.9601351+08:00;True|2021-08-04T09:48:28.8796992+08:00;True|2021-08-03T18:14:13.1894998+08:00;True|2021-08-03T17:45:35.1349721+08:00;True|2021-08-03T17:21:52.6028977+08:00;True|2021-08-03T17:20:35.4423020+08:00;True|2021-08-03T17:03:33.1667669+08:00;True|2021-08-03T17:01:54.2656787+08:00;True|2021-08-03T17:00:22.2778374+08:00;True|2021-08-03T16:56:58.8902582+08:00;True|2021-08-03T15:02:21.8601533+08:00;True|2021-08-03T14:57:34.0186758+08:00;True|2021-08-03T14:28:47.2242515+08:00;True|2021-08-03T14:22:22.4554236+08:00;True|2021-08-03T14:21:51.1339715+08:00;True|2021-08-03T13:37:33.9697131+08:00;True|2021-08-03T13:28:29.7591095+08:00;True|2021-08-03T11:35:09.5118324+08:00;True|2021-08-03T11:11:23.3051573+08:00;True|2021-08-02T13:14:42.3663755+08:00;True|2021-07-30T22:50:19.9749878+08:00;True|2021-07-30T22:49:31.2150970+08:00;True|2021-07-28T19:12:05.8381075+08:00;True|2021-07-28T18:59:45.4808797+08:00;True|2021-07-28T18:15:58.8301509+08:00;True|2021-07-28T18:04:54.8613546+08:00;True|2021-07-28T17:53:48.6225611+08:00;True|2021-07-28T17:42:50.9171563+08:00;True|2021-07-28T17:17:16.3137677+08:00;True|2021-07-28T17:11:46.8925200+08:00;True|2021-07-28T16:28:27.6823943+08:00;True|2021-07-28T16:23:00.3385836+08:00;True|2021-07-28T09:57:55.4237411+08:00;True|2021-07-28T08:38:29.6691541+08:00;True|2021-07-27T23:16:32.0331671+08:00;True|2021-07-27T23:06:08.1947249+08:00;True|2021-07-27T23:05:58.4619176+08:00;True|2021-07-27T18:42:09.5358261+08:00;True|2021-07-27T18:30:04.8532823+08:00;True|2021-07-27T18:29:43.5775092+08:00;True|2021-07-27T15:16:49.8356224+08:00;True|2021-07-27T15:05:27.8453220+08:00;True|2021-07-27T14:59:15.9519440+08:00;True|2021-07-27T09:23:32.6111337+08:00;True|2021-07-27T08:27:41.6395353+08:00;True|2021-07-27T08:25:56.7378296+08:00;True|2021-07-26T11:18:46.0856966+08:00;True|2021-07-26T11:18:02.0751924+08:00;True|2021-07-26T11:13:49.6285395+08:00;True|2021-07-21T21:08:25.9898902+08:00;True|2021-07-21T20:09:26.2258104+08:00;True|2021-07-13T16:17:25.8407435+08:00;True|2021-07-13T13:46:13.4309531+08:00;True|2021-07-13T12:29:04.5082461+08:00;True|2021-06-29T13:55:01.6864637+08:00;True|2021-06-29T10:38:52.2206472+08:00;True|2021-06-29T10:10:13.1540749+08:00;True|2021-06-28T14:37:56.3853273+08:00;False|2021-06-28T14:36:57.5726124+08:00;True|2021-06-25T14:17:57.5196108+08:00;True|2021-06-25T13:56:38.9522535+08:00;True|2021-06-24T19:38:32.8766933+08:00;True|2021-06-24T18:26:35.6118833+08:00;True|2021-06-24T18:02:52.8136877+08:00;True|2021-06-24T17:48:49.5851948+08:00;True|2021-06-24T17:45:46.7527572+08:00;True|2021-06-24T15:05:20.1592723+08:00;True|2021-06-23T16:18:15.6814625+08:00;True|2021-06-23T16:05:24.6112343+08:00;True|2021-06-23T15:14:08.2489658+08:00;True|2021-06-23T13:52:58.6029788+08:00;True|2021-06-22T16:11:20.4726923+08:00;True|2021-06-22T16:04:53.7231389+08:00;True|2021-06-22T15:50:59.2583262+08:00;True|2021-06-22T15:38:15.3016140+08:00;True|2021-06-22T15:34:42.9185543+08:00;True|2021-06-22T15:21:55.1419108+08:00;True|2021-06-22T15:07:21.5357494+08:00;True|2021-06-22T15:03:35.0535733+08:00;True|2021-06-22T14:54:47.8802969+08:00;True|2021-06-22T11:19:38.7303011+08:00;True|2021-06-22T08:53:49.2882695+08:00;True|2021-06-22T08:47:54.8286530+08:00;True|2021-06-21T16:27:19.3017700+08:00;True|2021-06-21T15:32:28.7237952+08:00;True|2021-06-21T12:34:02.6329555+08:00;True|2021-06-21T12:24:17.5427495+08:00;True|2021-06-21T10:47:30.6423502+08:00;True|2021-06-21T08:43:20.3026558+08:00;True|2021-06-19T15:10:06.8335499+08:00;True|2021-06-18T15:37:29.5009930+08:00;True|2021-06-18T13:46:35.6283432+08:00;True|2021-06-18T10:00:37.1474954+08:00;True|2021-06-18T09:55:21.8551780+08:00;True|2021-06-18T09:22:27.8432927+08:00;True|2021-06-17T11:17:43.2166430+08:00;True|2021-06-17T09:24:09.8350403+08:00;True|2021-06-16T16:10:47.8564888+08:00;True|2021-06-16T16:04:09.8286582+08:00;True|2021-06-16T15:12:29.9427169+08:00;True|2021-06-16T14:58:45.6801892+08:00;True|2021-06-16T14:46:01.6873221+08:00;True|2021-06-16T11:02:06.1272477+08:00;True|2021-06-16T09:33:56.0223915+08:00;True|2021-06-16T08:50:07.6995413+08:00;True|2021-06-16T08:28:38.7692635+08:00;True|2021-06-16T01:04:19.6282474+08:00;True|2021-06-16T01:03:50.5058323+08:00;False|2021-06-16T01:02:15.3819672+08:00;False|2021-06-16T01:01:38.6171098+08:00;True|2021-06-16T00:34:54.9902044+08:00;True|2021-06-15T23:55:36.2003828+08:00;True|2021-06-15T22:47:17.2192750+08:00;True|2021-06-15T22:42:41.1512585+08:00;True|2021-06-15T22:38:01.7390462+08:00;True|2021-06-15T22:14:11.2060782+08:00;True|2021-06-15T22:12:27.0615357+08:00;True|2021-06-15T22:07:59.9280871+08:00;True|2021-06-15T22:04:21.5051427+08:00;True|2021-06-15T21:25:55.0099814+08:00;True|2021-06-15T19:13:51.3494172+08:00;True|2021-06-15T19:02:17.6844742+08:00;True|2021-06-15T18:47:37.1629411+08:00;False|2021-06-15T18:47:11.0828111+08:00;True|2021-06-15T18:38:26.6620668+08:00;True|2021-06-15T18:33:45.2069831+08:00;True|2021-06-15T18:24:52.0550838+08:00;True|2021-06-15T18:19:43.6999796+08:00;True|2021-06-15T18:08:17.2464506+08:00;True|2021-06-15T18:03:51.3952624+08:00;True|2021-06-15T18:01:20.6141766+08:00;True|2021-06-15T17:59:04.4479416+08:00;True|2021-06-15T17:41:44.6389379+08:00;True|2021-06-15T17:39:03.1565124+08:00;True|2021-06-15T17:34:41.0634638+08:00;True|2021-06-15T17:33:50.4853178+08:00;True|2021-06-15T17:25:38.5914037+08:00;True|2021-06-15T17:22:21.3611360+08:00;True|2021-06-15T17:16:49.4970813+08:00;True|2021-06-15T17:05:28.9389484+08:00;True|2021-06-15T16:52:54.6372199+08:00;True|2021-06-15T16:51:23.9081030+08:00;True|2021-06-15T16:45:40.6017997+08:00;True|2021-06-15T16:41:05.0218887+08:00;True|2021-06-15T16:38:02.8541862+08:00;True|2021-06-15T16:22:10.3118721+08:00;True|2021-06-15T16:12:11.1552506+08:00;True|2021-06-15T15:33:42.0100494+08:00;True|2021-06-15T15:28:39.7145659+08:00;True|2021-06-15T15:15:02.7939125+08:00;True|2021-06-15T14:49:14.2300396+08:00;True|2021-06-15T14:42:28.1198064+08:00;True|2021-06-15T13:30:12.7997686+08:00;True|2021-06-15T13:25:37.7284670+08:00;True|2021-06-15T13:23:43.6207813+08:00;False|2021-06-15T13:23:19.4190232+08:00;True|2021-06-15T13:16:38.5062674+08:00;True|2021-06-15T13:03:31.2055635+08:00;True|2021-06-15T12:58:43.1653215+08:00;True|2021-06-15T12:39:22.8442109+08:00;True|2021-06-15T12:35:09.1288556+08:00;False|2021-06-15T12:33:50.0723143+08:00;True|2021-06-15T11:28:01.9733727+08:00;True|2021-06-15T11:26:26.6569392+08:00;True|2021-06-15T11:22:43.0366435+08:00;True|2021-06-15T11:07:50.1610580+08:00;True|2021-06-15T10:32:59.1925931+08:00;True|2021-06-10T17:16:57.9552310+08:00;True|2021-06-10T16:44:42.2731836+08:00;True|2021-06-10T14:39:27.6745737+08:00;True|2021-06-10T12:15:05.1524413+08:00;True|2021-06-09T18:19:24.1005606+08:00;True|2021-06-09T17:56:09.5646288+08:00;True|2021-06-09T13:34:06.1882292+08:00;True|2021-06-09T13:29:54.5924933+08:00;True|2021-06-09T13:25:55.7520662+08:00;True|2021-06-09T13:07:47.6686811+08:00;True|2021-06-09T12:59:41.2595048+08:00;True|2021-06-09T12:45:27.1305548+08:00;True|2021-06-09T12:29:52.1418191+08:00;True|2021-06-09T12:24:12.7610588+08:00;True|2021-06-09T11:31:25.3409568+08:00;True|2021-06-09T09:57:44.4387175+08:00;True|2021-06-09T09:54:26.5161307+08:00;True|2021-06-09T09:14:14.7288045+08:00;True|2021-06-09T09:10:25.1812139+08:00;True|2021-06-09T08:46:21.6585123+08:00;True|2021-06-08T19:56:55.7192062+08:00;True|2021-06-08T19:52:59.0326821+08:00;True|2021-06-08T19:49:13.6274217+08:00;True|2021-06-08T19:09:22.1038939+08:00;True|2021-06-08T15:28:41.3716247+08:00;True|2021-06-08T15:26:47.2621178+08:00;True|2021-06-08T13:49:45.8936617+08:00;True|2021-06-08T13:43:18.8115502+08:00;True|2021-06-08T10:04:06.2200731+08:00;True|2021-06-08T09:17:10.0470792+08:00;True|2021-06-08T08:44:37.4395849+08:00;True|2021-06-08T00:01:09.3745613+08:00;True|2021-06-07T23:49:31.5196888+08:00;True|2021-06-07T23:41:00.8017855+08:00;True|2021-06-07T23:21:53.1371134+08:00;True|2021-06-07T23:01:27.5712153+08:00;True|2021-06-07T22:36:12.9274014+08:00;True|2021-06-07T22:23:00.6545134+08:00;True|2021-06-07T17:44:47.5686346+08:00;True|2021-06-07T17:17:01.3431233+08:00;True|2021-06-07T16:53:28.9989587+08:00;True|2021-06-07T16:41:10.4975607+08:00;True|2021-06-07T14:21:06.8176477+08:00;True|2021-06-07T14:10:39.0355659+08:00;True|2021-06-07T12:34:31.4562732+08:00;True|2021-06-07T12:28:44.9629488+08:00;True|2021-06-07T10:30:26.9387988+08:00;True|2021-06-07T09:12:14.7658099+08:00;True|2021-06-07T08:37:19.6353792+08:00;True|2021-06-07T08:35:25.2031954+08:00;True|2021-06-05T07:07:32.0541266+08:00;True|2021-06-05T06:44:35.9475270+08:00;True|2021-06-05T06:37:27.4595197+08:00;True|2021-06-05T06:26:59.7663998+08:00;True|2021-06-05T05:43:12.8699318+08:00;True|2021-06-04T17:00:41.2426007+08:00;True|2021-06-04T16:08:03.8078072+08:00;True|2021-06-04T15:47:21.6412616+08:00;True|2021-06-04T15:21:02.4239800+08:00;True|2021-06-04T15:20:37.8641854+08:00;True|2021-06-04T13:38:51.5088395+08:00;True|2021-06-04T10:20:01.7784282+08:00;True|2021-06-04T10:13:50.3548857+08:00;True|2021-06-04T10:11:25.5017821+08:00;True|2021-06-04T10:09:51.6792228+08:00;True|2021-06-04T10:02:39.5851057+08:00;True|2021-06-04T09:30:40.4495494+08:00;True|2021-06-03T13:16:36.0317546+08:00;True|2021-06-03T13:12:47.0402047+08:00;True|2021-06-02T14:37:08.9683351+08:00;True|2021-06-02T14:10:15.7439829+08:00;True|2021-06-02T13:59:46.5841931+08:00;True|2021-06-02T13:25:18.7962660+08:00;True|2021-06-02T13:23:16.2261980+08:00;True|2021-06-01T15:37:32.2495085+08:00;True|2021-06-01T15:21:01.2856122+08:00;True|2021-06-01T15:13:36.7262365+08:00;True|2021-06-01T15:10:26.8905629+08:00;True|2021-06-01T14:56:17.5231551+08:00;True|2021-06-01T14:38:39.7895927+08:00;True|2021-06-01T14:23:12.3265287+08:00;True|2021-03-01T09:11:31.3226422+08:00;True|2021-05-26T14:54:56.9426462+08:00;True|2021-05-26T13:57:33.7780451+08:00;True|2021-05-26T13:39:02.8043358+08:00;True|2021-02-25T16:01:40.2917200+08:00;True|2021-02-25T15:49:46.6681205+08:00;True|2021-02-25T15:16:30.9372640+08:00;True|2021-05-25T13:10:21.7831921+08:00;True|2021-05-25T11:21:38.5224475+08:00;True|2021-05-25T11:12:52.0637175+08:00;True|2021-05-25T11:02:18.4164663+08:00;True|2021-05-25T10:52:06.8998521+08:00;True|2021-05-25T10:50:45.0929606+08:00;True|2021-05-25T10:45:54.1498313+08:00;True|2021-05-25T10:39:27.8602249+08:00;True|2021-05-25T10:34:49.5771162+08:00;True|2021-05-25T10:17:30.3009163+08:00;True|2021-05-25T10:14:03.8512581+08:00;True|2021-05-25T10:05:33.4343836+08:00;True|2021-05-24T17:01:23.3221168+08:00;True|2021-05-24T10:11:24.0197347+08:00;False|2021-05-24T10:11:07.6338995+08:00;</History>
  </PropertyGroup>
  <ItemGroup>
    <File Include="apiapp.json">
@@ -18,28 +18,28 @@
      <publishTime>02/22/2013 08:43:40</publishTime>
    </File>
    <File Include="bin/BLL.dll">
      <publishTime>05/17/2022 14:18:45</publishTime>
      <publishTime>06/07/2022 14:44:35</publishTime>
    </File>
    <File Include="bin/BLL.pdb">
      <publishTime>05/17/2022 14:18:45</publishTime>
      <publishTime>06/07/2022 14:44:35</publishTime>
    </File>
    <File Include="bin/BouncyCastle.Crypto.dll">
      <publishTime>12/18/2020 05:32:28</publishTime>
    </File>
    <File Include="bin/DAL.dll">
      <publishTime>05/17/2022 14:18:43</publishTime>
      <publishTime>06/07/2022 14:44:33</publishTime>
    </File>
    <File Include="bin/DAL.pdb">
      <publishTime>05/17/2022 14:18:43</publishTime>
      <publishTime>06/07/2022 14:44:33</publishTime>
    </File>
    <File Include="bin/Dapper.dll">
      <publishTime>07/22/2016 14:52:40</publishTime>
    </File>
    <File Include="bin/DBUtility.dll">
      <publishTime>05/17/2022 14:18:39</publishTime>
      <publishTime>06/07/2022 14:44:29</publishTime>
    </File>
    <File Include="bin/DBUtility.pdb">
      <publishTime>05/17/2022 14:18:39</publishTime>
      <publishTime>06/07/2022 14:44:29</publishTime>
    </File>
    <File Include="bin/Grpc.Core.Api.dll">
      <publishTime>03/22/2022 13:17:26</publishTime>
@@ -93,10 +93,10 @@
      <publishTime>07/25/2012 11:48:56</publishTime>
    </File>
    <File Include="bin/Model.dll">
      <publishTime>05/17/2022 14:18:39</publishTime>
      <publishTime>06/07/2022 14:44:30</publishTime>
    </File>
    <File Include="bin/Model.pdb">
      <publishTime>05/17/2022 14:18:39</publishTime>
      <publishTime>06/07/2022 14:44:30</publishTime>
    </File>
    <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
      <publishTime>08/16/2021 17:23:15</publishTime>
@@ -129,22 +129,22 @@
      <publishTime>10/23/2021 17:07:54</publishTime>
    </File>
    <File Include="bin/Pub_Class.dll">
      <publishTime>05/17/2022 14:18:36</publishTime>
      <publishTime>06/07/2022 14:44:27</publishTime>
    </File>
    <File Include="bin/Pub_Class.pdb">
      <publishTime>05/17/2022 14:18:36</publishTime>
      <publishTime>06/07/2022 14:44:27</publishTime>
    </File>
    <File Include="bin/Pub_Control.dll">
      <publishTime>05/17/2022 14:18:37</publishTime>
      <publishTime>06/07/2022 14:44:28</publishTime>
    </File>
    <File Include="bin/Pub_Control.pdb">
      <publishTime>05/17/2022 14:18:37</publishTime>
      <publishTime>06/07/2022 14:44:28</publishTime>
    </File>
    <File Include="bin/SQLHelper.dll">
      <publishTime>05/17/2022 14:18:38</publishTime>
      <publishTime>06/07/2022 14:44:28</publishTime>
    </File>
    <File Include="bin/SQLHelper.pdb">
      <publishTime>05/17/2022 14:18:38</publishTime>
      <publishTime>06/07/2022 14:44:28</publishTime>
    </File>
    <File Include="bin/stdole.dll">
      <publishTime>05/09/2021 13:35:37</publishTime>
@@ -255,13 +255,13 @@
      <publishTime>11/24/2014 11:18:48</publishTime>
    </File>
    <File Include="bin/WebAPI.dll">
      <publishTime>05/17/2022 14:18:50</publishTime>
      <publishTime>06/07/2022 14:44:40</publishTime>
    </File>
    <File Include="bin/WebAPI.dll.config">
      <publishTime>12/15/2021 17:59:43</publishTime>
    </File>
    <File Include="bin/WebAPI.pdb">
      <publishTime>05/17/2022 14:18:50</publishTime>
      <publishTime>06/07/2022 14:44:40</publishTime>
    </File>
    <File Include="bin/WebGrease.dll">
      <publishTime>07/17/2013 17:03:52</publishTime>
@@ -456,7 +456,7 @@
      <publishTime>12/20/2021 13:19:56</publishTime>
    </File>
    <File Include="Web.config">
      <publishTime>05/17/2022 14:19:53</publishTime>
      <publishTime>06/07/2022 14:44:50</publishTime>
    </File>
  </ItemGroup>
</Project>
WebAPI/Web.config
@@ -25,6 +25,7 @@
      <add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx" /> 
      <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/>    åšæ—¥ç§‘技-->
      <!--<add key="sUrl" value="http://192.168.0.214/WEBS-WMS/WebService1.asmx"/>    ç‘žä¸Žç¥º-->
      <!--<add key="sUrl" value="http://192.168.10.66/WEBS-WMS/WebService1.asmx"/>    æ£®æ¥·-->
    <add key="webpages:Version" value="3.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="ClientValidationEnabled" value="true" />
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationInBill.cs
@@ -30,8 +30,9 @@
        public DAL.ClsSc_StationInBill BillNew = new DAL.ClsSc_StationInBill();
        public DAL.ClsSc_StationInBill BillOld = new DAL.ClsSc_StationInBill();
        public Int64 lngBillKey;
        public Int64 lngBillSubKey;
        public Int64 HInterID;//主内吗
        public Int64 lngBillKey; //流转卡ID
        public Int64 lngBillSubKey; //流转卡子ID
        public Int64 lngICMOEntryID;
        //-------------------------------------------------------------------------
@@ -137,6 +138,7 @@
        //取消按钮
        private void cmdCancel_Click(object sender, EventArgs e)
        {
            ClsPub.SaveGridView(grdSub, Name+"grdSub", ClsPub.AppPath);//设置列宽
            this.Close();
        }
        //控件位置
@@ -191,11 +193,11 @@
            this.txtHStationInTime.Text = DBUtility.ClsPub.GetServerDate(-1);
            this.txtHBillNo.Text = ClsPub.CreateBillCode(BillNew.BillType, ref ClsPub.sExeReturnInfo, true);//得到新单号
            if (lngBillKey != 0 )
            {
                //LotShow();
            }
            this.HInterID = DBUtility.ClsPub.CreateBillID(this.ModName, ref DBUtility.ClsPub.sExeReturnInfo);
            //if (lngBillKey != 0 )
            //{
            //    //LotShow();
            //}
        }
        private void LotShow() //自动载入 æµè½¬å¡è¿›ç«™ç•Œé¢åŠŸèƒ½
@@ -411,6 +413,13 @@
            //
            txtHProcExchBillNo.Enabled = false;
            txtHProcNo.Enabled = false;
            //加载 é…ä»¶ç»‘定清单
            HInterID = BillOld.omodel.HInterID;
            DisplaySub();
        }
        //单据完整性判断          æœªå®Œæˆ
@@ -555,7 +564,13 @@
                return false;
            //赋值ID
            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
            {
                BillNew.omodel.HInterID = BillOld.omodel.HInterID;
            }
            else
            {
                BillNew.omodel.HInterID = HInterID;
            }
            //主类赋值
            //判断会计期是否合理
            string s = "";
@@ -1027,6 +1042,16 @@
                {
                    Sub_WriteInForm_SM2(Ds.Tables[0], i);
                }
                //如果系统参数启用了 è¿›ç«™å•绑定配件清单则 ä»Žç”Ÿäº§ç”¨æ–™æ¸…单中获取工序BOM写入 ä¸´æ—¶è¡¨ï¼Œå¹¶åŠ è½½è¡¨æ ¼
                Pub_Class.ClsXt_SystemParameter oParam = new ClsXt_SystemParameter();
                string sIsBingLine = oParam.GetSingleSystemParameter("MES_StationInBill_LineBindCtl",ref DBUtility.ClsPub.sExeReturnInfo );
                if (sIsBingLine.Trim() == "Y")
                {
                    oCn.RunProc("exec h_p_MES_StationInBillSubBindSource_Insert " + lngBillKey.ToString() + " , " + lngBillSubKey.ToString() + "," + HInterID.ToString() + " ");
                    //刷新表体网格数据
                    DisplaySub();
                }
                //
                txtHGroupID.Focus();
            }
        }
@@ -1437,5 +1462,105 @@
        {
            this.Sub_AddBill();
        }
        //配件条形码 å›žè½¦äº‹ä»¶
        private void txtHBarCode_Mater_KeyDown(object sender, KeyEventArgs e)
        {
            try
            {
                if (e.KeyCode == Keys.Return)
                {
                    if (txtHBarCode_Mater.Text.Trim() == "")
                    {
                        MessageBox.Show("请输入条形码!");
                        return;
                    }
                    string sBarCode = txtHBarCode_Mater.Text.Trim();
                    txtHBarCode_Mater.Text = "";
                    //判断条形码是否在条码档案中,判断条形码是否合理
                    //先判断 ä¸´æ—¶è¡¨ä¸­æ˜¯å¦æœ‰æ•°æ®ï¼Œæ¡å½¢ç çš„物料是否在清单中,写入 æ‰«ç è®°å½•表
                    //得到信息
                    SQLHelper.ClsCN oCn = new ClsCN();
                    DataSet Ds;
                    Ds = oCn.RunProcReturn("exec h_p_MES_StationInBillSub_BindBarCode   " + HInterID.ToString() + " ,'" + sBarCode + "'", "h_p_MES_StationInBillSub_BindBarCode");
                    //写入信息
                    if (Ds == null || Ds.Tables[0].Rows.Count == 0)
                    {
                        MessageBox.Show("未查询到条形码信息!");
                        return;
                    }
                    else if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]) == 2)
                    {
                        MessageBox.Show("错误!" + DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0][1]));
                        return;
                    }
                    //刷新表体网格数据(最好颜色显示)
                    DisplaySub();
                }
            }
            catch (Exception e1)
            {
                MessageBox.Show(e1.Message + "txtHBarCode_Mater_KeyDown");
            }
        }
        private void DisplaySub()
        {
            try
            {
                SQLHelper.ClsCN oCn = new ClsCN();
                DataSet Dsplay;
                Dsplay = oCn.RunProcReturn("exec h_p_MES_StationInBillSub_BindDisplay   " + HInterID.ToString() + "  ", "h_p_MES_StationInBillSub_BindDisplay");
                //写入信息
                if (Dsplay == null )
                {
                    MessageBox.Show("刷新失败!");
                    return;
                }
                else if(Dsplay.Tables[0].Rows.Count == 0)
                {
                    return;
                }
                else
                {
                    grdSub.DataSource = Dsplay.Tables[0].DefaultView;
                    //设置合计列
                    //string sTotalCol = "";
                    //sTotalCol = DBUtility.Gy_BaseFun.GetTotalCols(DSet);
                    //string[] sT;
                    //sT = sTotalCol.Split(Convert.ToChar(","));
                    //oSumGrid.BuildTotalCols(sT);
                    //
                    //冻结
                    int FrCol = 0;
                    string s = "是";
                    DBUtility.Xt_BaseBillFun.DisplayGrid(grdSub, this.Name + "grdSub", s, FrCol);
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message + "DisplaySub");
            }
        }
        private void cmdDelLine_Click(object sender, EventArgs e)
        {
            try
            {
                //根据选择的条形码 æ¥åˆ é™¤
                if (grdSub.CurrentRow == null)
                    return;
                string sBarCode = DBUtility.ClsPub.isStrNull(grdSub.Rows[grdSub.CurrentRow.Index].Cells[Fun_GetCol("条形码")].Value);
                SQLHelper.ClsCN oCn = new ClsCN();
                oCn.RunProc(" delete from Sc_StationInBillSub_BindBarCodeTemp " +
                    "Where  HInterID = "+ HInterID.ToString() +" and HBarCode = '"+ sBarCode + "'");
                DisplaySub();
            }
            catch (Exception e1)
            {
                MessageBox.Show("删除行失败!"+e1.Message);
            }
        }
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationInBill.designer.cs
@@ -81,28 +81,30 @@
            this.txtHCenterID = new System.Windows.Forms.TextBox();
            this.txtHStationInTime = new System.Windows.Forms.TextBox();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.label24 = new System.Windows.Forms.Label();
            this.txtHSourceName5 = new System.Windows.Forms.TextBox();
            this.txtHSourceID5 = new System.Windows.Forms.TextBox();
            this.cmdHSourceID5 = new System.Windows.Forms.Button();
            this.label23 = new System.Windows.Forms.Label();
            this.txtHSourceName4 = new System.Windows.Forms.TextBox();
            this.txtHSourceID4 = new System.Windows.Forms.TextBox();
            this.cmdHSourceID4 = new System.Windows.Forms.Button();
            this.label22 = new System.Windows.Forms.Label();
            this.txtHSourceName3 = new System.Windows.Forms.TextBox();
            this.txtHSourceID3 = new System.Windows.Forms.TextBox();
            this.cmdHSourceID3 = new System.Windows.Forms.Button();
            this.label21 = new System.Windows.Forms.Label();
            this.txtHSourceName2 = new System.Windows.Forms.TextBox();
            this.txtHSourceID2 = new System.Windows.Forms.TextBox();
            this.cmdHSourceID2 = new System.Windows.Forms.Button();
            this.txtHPieceQty = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.label24 = new System.Windows.Forms.Label();
            this.label23 = new System.Windows.Forms.Label();
            this.label22 = new System.Windows.Forms.Label();
            this.label21 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.grdCardList = new System.Windows.Forms.DataGridView();
            this.panel2 = new System.Windows.Forms.Panel();
            this.txtHBarCode_Mater = new System.Windows.Forms.TextBox();
            this.label25 = new System.Windows.Forms.Label();
            this.txtHBarCode = new System.Windows.Forms.TextBox();
            this.label19 = new System.Windows.Forms.Label();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
@@ -113,6 +115,7 @@
            this.cmdHDelBill = new System.Windows.Forms.Button();
            this.cmdXG = new System.Windows.Forms.Button();
            this.cmdAddNew = new System.Windows.Forms.Button();
            this.cmdDelLine = new System.Windows.Forms.Button();
            this.gbUp.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdSub)).BeginInit();
            this.tabControl1.SuspendLayout();
@@ -129,9 +132,10 @@
            this.cmdHMaterID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHMaterID.Enabled = false;
            this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image")));
            this.cmdHMaterID.Location = new System.Drawing.Point(712, 263);
            this.cmdHMaterID.Location = new System.Drawing.Point(949, 311);
            this.cmdHMaterID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHMaterID.Name = "cmdHMaterID";
            this.cmdHMaterID.Size = new System.Drawing.Size(30, 32);
            this.cmdHMaterID.Size = new System.Drawing.Size(40, 40);
            this.cmdHMaterID.TabIndex = 86;
            this.cmdHMaterID.UseVisualStyleBackColor = false;
            this.cmdHMaterID.Visible = false;
@@ -143,11 +147,12 @@
            this.txtHMaterID.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterID.ForeColor = System.Drawing.Color.Green;
            this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID.Location = new System.Drawing.Point(100, 158);
            this.txtHMaterID.Location = new System.Drawing.Point(133, 179);
            this.txtHMaterID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMaterID.Multiline = true;
            this.txtHMaterID.Name = "txtHMaterID";
            this.txtHMaterID.ReadOnly = true;
            this.txtHMaterID.Size = new System.Drawing.Size(247, 33);
            this.txtHMaterID.Size = new System.Drawing.Size(328, 40);
            this.txtHMaterID.TabIndex = 85;
            this.txtHMaterID.Tag = "0";
            this.txtHMaterID.TextChanged += new System.EventHandler(this.txtHMaterID_TextChanged);
@@ -158,9 +163,10 @@
            this.label16.BackColor = System.Drawing.Color.Gray;
            this.label16.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label16.ForeColor = System.Drawing.Color.Yellow;
            this.label16.Location = new System.Drawing.Point(8, 164);
            this.label16.Location = new System.Drawing.Point(11, 186);
            this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(90, 21);
            this.label16.Size = new System.Drawing.Size(112, 27);
            this.label16.TabIndex = 84;
            this.label16.Text = "产品代码:";
            // 
@@ -170,9 +176,10 @@
            this.label9.BackColor = System.Drawing.Color.Gray;
            this.label9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label9.ForeColor = System.Drawing.Color.Yellow;
            this.label9.Location = new System.Drawing.Point(8, 234);
            this.label9.Location = new System.Drawing.Point(11, 273);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(90, 21);
            this.label9.Size = new System.Drawing.Size(112, 27);
            this.label9.TabIndex = 82;
            this.label9.Text = "进站时间:";
            // 
@@ -181,9 +188,10 @@
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.ForeColor = System.Drawing.Color.Yellow;
            this.label2.Location = new System.Drawing.Point(378, 234);
            this.label2.Location = new System.Drawing.Point(504, 274);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(84, 21);
            this.label2.Size = new System.Drawing.Size(104, 27);
            this.label2.TabIndex = 80;
            this.label2.Text = "ä»» åŠ¡ å•:";
            // 
@@ -192,11 +200,12 @@
            this.txtHICMOBillNo.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOBillNo.Location = new System.Drawing.Point(490, 228);
            this.txtHICMOBillNo.Location = new System.Drawing.Point(653, 267);
            this.txtHICMOBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHICMOBillNo.Multiline = true;
            this.txtHICMOBillNo.Name = "txtHICMOBillNo";
            this.txtHICMOBillNo.ReadOnly = true;
            this.txtHICMOBillNo.Size = new System.Drawing.Size(220, 33);
            this.txtHICMOBillNo.Size = new System.Drawing.Size(292, 40);
            this.txtHICMOBillNo.TabIndex = 81;
            // 
            // txtHProcExchBillNo
@@ -204,11 +213,12 @@
            this.txtHProcExchBillNo.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcExchBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHProcExchBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchBillNo.Location = new System.Drawing.Point(100, 19);
            this.txtHProcExchBillNo.Location = new System.Drawing.Point(133, 5);
            this.txtHProcExchBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcExchBillNo.Multiline = true;
            this.txtHProcExchBillNo.Name = "txtHProcExchBillNo";
            this.txtHProcExchBillNo.ReadOnly = true;
            this.txtHProcExchBillNo.Size = new System.Drawing.Size(247, 33);
            this.txtHProcExchBillNo.Size = new System.Drawing.Size(328, 40);
            this.txtHProcExchBillNo.TabIndex = 88;
            this.txtHProcExchBillNo.Tag = "0";
            this.txtHProcExchBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHProcExchBillNo_KeyDown);
@@ -219,9 +229,10 @@
            this.label1.BackColor = System.Drawing.Color.Gray;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.Yellow;
            this.label1.Location = new System.Drawing.Point(8, 25);
            this.label1.Location = new System.Drawing.Point(11, 12);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(74, 21);
            this.label1.Size = new System.Drawing.Size(92, 27);
            this.label1.TabIndex = 87;
            this.label1.Text = "流转卡:";
            // 
@@ -231,11 +242,12 @@
            this.txtHMaterModel.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterModel.ForeColor = System.Drawing.Color.Green;
            this.txtHMaterModel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterModel.Location = new System.Drawing.Point(490, 88);
            this.txtHMaterModel.Location = new System.Drawing.Point(653, 92);
            this.txtHMaterModel.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMaterModel.Multiline = true;
            this.txtHMaterModel.Name = "txtHMaterModel";
            this.txtHMaterModel.ReadOnly = true;
            this.txtHMaterModel.Size = new System.Drawing.Size(220, 33);
            this.txtHMaterModel.Size = new System.Drawing.Size(292, 40);
            this.txtHMaterModel.TabIndex = 90;
            this.txtHMaterModel.Tag = "0";
            // 
@@ -245,9 +257,10 @@
            this.label3.BackColor = System.Drawing.Color.Gray;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.ForeColor = System.Drawing.Color.Yellow;
            this.label3.Location = new System.Drawing.Point(377, 94);
            this.label3.Location = new System.Drawing.Point(503, 100);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(90, 21);
            this.label3.Size = new System.Drawing.Size(112, 27);
            this.label3.TabIndex = 89;
            this.label3.Text = "规格型号:";
            // 
@@ -255,9 +268,10 @@
            // 
            this.cmdHEmpID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image")));
            this.cmdHEmpID.Location = new System.Drawing.Point(712, 158);
            this.cmdHEmpID.Location = new System.Drawing.Point(949, 180);
            this.cmdHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHEmpID.Name = "cmdHEmpID";
            this.cmdHEmpID.Size = new System.Drawing.Size(30, 32);
            this.cmdHEmpID.Size = new System.Drawing.Size(40, 40);
            this.cmdHEmpID.TabIndex = 93;
            this.cmdHEmpID.UseVisualStyleBackColor = false;
            this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click);
@@ -267,10 +281,11 @@
            this.txtHEmpID.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID.Location = new System.Drawing.Point(596, 158);
            this.txtHEmpID.Location = new System.Drawing.Point(795, 180);
            this.txtHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpID.Name = "txtHEmpID";
            this.txtHEmpID.ReadOnly = true;
            this.txtHEmpID.Size = new System.Drawing.Size(114, 32);
            this.txtHEmpID.Size = new System.Drawing.Size(151, 38);
            this.txtHEmpID.TabIndex = 92;
            this.txtHEmpID.Tag = "0";
            this.txtHEmpID.TextChanged += new System.EventHandler(this.txtHEmpID_TextChanged);
@@ -281,9 +296,10 @@
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.ForeColor = System.Drawing.Color.Yellow;
            this.label4.Location = new System.Drawing.Point(377, 164);
            this.label4.Location = new System.Drawing.Point(503, 187);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(84, 21);
            this.label4.Size = new System.Drawing.Size(104, 27);
            this.label4.TabIndex = 91;
            this.label4.Text = "接 æ”¶ äººï¼š";
            // 
@@ -291,9 +307,10 @@
            // 
            this.cmdHSourceID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID.Image")));
            this.cmdHSourceID.Location = new System.Drawing.Point(317, 297);
            this.cmdHSourceID.Location = new System.Drawing.Point(423, 352);
            this.cmdHSourceID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID.Name = "cmdHSourceID";
            this.cmdHSourceID.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID.TabIndex = 96;
            this.cmdHSourceID.UseVisualStyleBackColor = false;
            this.cmdHSourceID.Click += new System.EventHandler(this.cmdHSourceID_Click);
@@ -303,9 +320,10 @@
            this.txtHSourceID.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID.Location = new System.Drawing.Point(100, 297);
            this.txtHSourceID.Location = new System.Drawing.Point(133, 352);
            this.txtHSourceID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID.Name = "txtHSourceID";
            this.txtHSourceID.Size = new System.Drawing.Size(101, 32);
            this.txtHSourceID.Size = new System.Drawing.Size(133, 38);
            this.txtHSourceID.TabIndex = 95;
            this.txtHSourceID.Tag = "0";
            this.txtHSourceID.TextChanged += new System.EventHandler(this.txtHSourceID_TextChanged);
@@ -316,9 +334,10 @@
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.ForeColor = System.Drawing.Color.Yellow;
            this.label5.Location = new System.Drawing.Point(8, 303);
            this.label5.Location = new System.Drawing.Point(11, 360);
            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(90, 21);
            this.label5.Size = new System.Drawing.Size(112, 27);
            this.label5.TabIndex = 94;
            this.label5.Text = "生产资源:";
            // 
@@ -327,11 +346,12 @@
            this.txtHICMOQty.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOQty.ForeColor = System.Drawing.Color.Green;
            this.txtHICMOQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOQty.Location = new System.Drawing.Point(490, 263);
            this.txtHICMOQty.Location = new System.Drawing.Point(653, 311);
            this.txtHICMOQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHICMOQty.Multiline = true;
            this.txtHICMOQty.Name = "txtHICMOQty";
            this.txtHICMOQty.ReadOnly = true;
            this.txtHICMOQty.Size = new System.Drawing.Size(220, 33);
            this.txtHICMOQty.Size = new System.Drawing.Size(292, 40);
            this.txtHICMOQty.TabIndex = 98;
            this.txtHICMOQty.Tag = "0";
            // 
@@ -341,9 +361,10 @@
            this.label6.BackColor = System.Drawing.Color.Gray;
            this.label6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.ForeColor = System.Drawing.Color.Yellow;
            this.label6.Location = new System.Drawing.Point(377, 60);
            this.label6.Location = new System.Drawing.Point(503, 57);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(106, 21);
            this.label6.Size = new System.Drawing.Size(132, 27);
            this.label6.TabIndex = 97;
            this.label6.Text = "流转卡数量:";
            // 
@@ -352,11 +373,12 @@
            this.txtHPlanQty.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPlanQty.ForeColor = System.Drawing.Color.Green;
            this.txtHPlanQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPlanQty.Location = new System.Drawing.Point(490, 54);
            this.txtHPlanQty.Location = new System.Drawing.Point(653, 50);
            this.txtHPlanQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHPlanQty.Multiline = true;
            this.txtHPlanQty.Name = "txtHPlanQty";
            this.txtHPlanQty.ReadOnly = true;
            this.txtHPlanQty.Size = new System.Drawing.Size(220, 33);
            this.txtHPlanQty.Size = new System.Drawing.Size(292, 40);
            this.txtHPlanQty.TabIndex = 100;
            this.txtHPlanQty.Tag = "0";
            // 
@@ -366,9 +388,10 @@
            this.label7.BackColor = System.Drawing.Color.Gray;
            this.label7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label7.ForeColor = System.Drawing.Color.Yellow;
            this.label7.Location = new System.Drawing.Point(377, 129);
            this.label7.Location = new System.Drawing.Point(503, 143);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(90, 21);
            this.label7.Size = new System.Drawing.Size(112, 27);
            this.label7.TabIndex = 99;
            this.label7.Text = "接收数量:";
            // 
@@ -376,9 +399,10 @@
            // 
            this.cmdHGroupID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHGroupID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHGroupID.Image")));
            this.cmdHGroupID.Location = new System.Drawing.Point(317, 263);
            this.cmdHGroupID.Location = new System.Drawing.Point(423, 310);
            this.cmdHGroupID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHGroupID.Name = "cmdHGroupID";
            this.cmdHGroupID.Size = new System.Drawing.Size(30, 32);
            this.cmdHGroupID.Size = new System.Drawing.Size(40, 40);
            this.cmdHGroupID.TabIndex = 103;
            this.cmdHGroupID.UseVisualStyleBackColor = false;
            this.cmdHGroupID.Click += new System.EventHandler(this.cmdHGroupID_Click);
@@ -388,9 +412,10 @@
            this.txtHGroupID.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHGroupID.ForeColor = System.Drawing.Color.Green;
            this.txtHGroupID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHGroupID.Location = new System.Drawing.Point(100, 263);
            this.txtHGroupID.Location = new System.Drawing.Point(133, 310);
            this.txtHGroupID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHGroupID.Name = "txtHGroupID";
            this.txtHGroupID.Size = new System.Drawing.Size(101, 32);
            this.txtHGroupID.Size = new System.Drawing.Size(133, 38);
            this.txtHGroupID.TabIndex = 102;
            this.txtHGroupID.Tag = "0";
            this.txtHGroupID.TextChanged += new System.EventHandler(this.txtHGroupID_TextChanged);
@@ -401,9 +426,10 @@
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label8.ForeColor = System.Drawing.Color.Yellow;
            this.label8.Location = new System.Drawing.Point(8, 269);
            this.label8.Location = new System.Drawing.Point(11, 317);
            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(90, 21);
            this.label8.Size = new System.Drawing.Size(112, 27);
            this.label8.TabIndex = 101;
            this.label8.Text = "生产班组:";
            // 
@@ -412,9 +438,10 @@
            this.cmdHProcID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHProcID.Enabled = false;
            this.cmdHProcID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHProcID.Image")));
            this.cmdHProcID.Location = new System.Drawing.Point(317, 88);
            this.cmdHProcID.Location = new System.Drawing.Point(423, 91);
            this.cmdHProcID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHProcID.Name = "cmdHProcID";
            this.cmdHProcID.Size = new System.Drawing.Size(30, 32);
            this.cmdHProcID.Size = new System.Drawing.Size(40, 40);
            this.cmdHProcID.TabIndex = 106;
            this.cmdHProcID.UseVisualStyleBackColor = false;
            this.cmdHProcID.Click += new System.EventHandler(this.cmdHProcID_Click);
@@ -425,11 +452,12 @@
            this.txtHProcID.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcID.ForeColor = System.Drawing.Color.Green;
            this.txtHProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcID.Location = new System.Drawing.Point(100, 88);
            this.txtHProcID.Location = new System.Drawing.Point(133, 91);
            this.txtHProcID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcID.Multiline = true;
            this.txtHProcID.Name = "txtHProcID";
            this.txtHProcID.ReadOnly = true;
            this.txtHProcID.Size = new System.Drawing.Size(216, 33);
            this.txtHProcID.Size = new System.Drawing.Size(287, 40);
            this.txtHProcID.TabIndex = 105;
            this.txtHProcID.Tag = "0";
            this.txtHProcID.TextChanged += new System.EventHandler(this.txtHProcID_TextChanged);
@@ -441,9 +469,10 @@
            this.label10.BackColor = System.Drawing.Color.Gray;
            this.label10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label10.ForeColor = System.Drawing.Color.Yellow;
            this.label10.Location = new System.Drawing.Point(8, 94);
            this.label10.Location = new System.Drawing.Point(11, 99);
            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(90, 21);
            this.label10.Size = new System.Drawing.Size(112, 27);
            this.label10.TabIndex = 104;
            this.label10.Text = "当前工序:";
            // 
@@ -453,11 +482,12 @@
            this.txtHMaterName.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterName.ForeColor = System.Drawing.Color.Green;
            this.txtHMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterName.Location = new System.Drawing.Point(100, 193);
            this.txtHMaterName.Location = new System.Drawing.Point(133, 222);
            this.txtHMaterName.Margin = new System.Windows.Forms.Padding(4);
            this.txtHMaterName.Multiline = true;
            this.txtHMaterName.Name = "txtHMaterName";
            this.txtHMaterName.ReadOnly = true;
            this.txtHMaterName.Size = new System.Drawing.Size(247, 33);
            this.txtHMaterName.Size = new System.Drawing.Size(328, 40);
            this.txtHMaterName.TabIndex = 108;
            this.txtHMaterName.Tag = "0";
            // 
@@ -467,17 +497,19 @@
            this.label11.BackColor = System.Drawing.Color.Gray;
            this.label11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label11.ForeColor = System.Drawing.Color.Yellow;
            this.label11.Location = new System.Drawing.Point(8, 199);
            this.label11.Location = new System.Drawing.Point(11, 230);
            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(90, 21);
            this.label11.Size = new System.Drawing.Size(112, 27);
            this.label11.TabIndex = 107;
            this.label11.Text = "产品名称:";
            // 
            // cmdOK
            // 
            this.cmdOK.Location = new System.Drawing.Point(291, 10);
            this.cmdOK.Location = new System.Drawing.Point(388, 12);
            this.cmdOK.Margin = new System.Windows.Forms.Padding(4);
            this.cmdOK.Name = "cmdOK";
            this.cmdOK.Size = new System.Drawing.Size(85, 42);
            this.cmdOK.Size = new System.Drawing.Size(113, 52);
            this.cmdOK.TabIndex = 109;
            this.cmdOK.Text = "进  ç«™";
            this.cmdOK.UseVisualStyleBackColor = true;
@@ -485,9 +517,10 @@
            // 
            // cmdCancel
            // 
            this.cmdCancel.Location = new System.Drawing.Point(383, 10);
            this.cmdCancel.Location = new System.Drawing.Point(511, 12);
            this.cmdCancel.Margin = new System.Windows.Forms.Padding(4);
            this.cmdCancel.Name = "cmdCancel";
            this.cmdCancel.Size = new System.Drawing.Size(85, 42);
            this.cmdCancel.Size = new System.Drawing.Size(113, 52);
            this.cmdCancel.TabIndex = 110;
            this.cmdCancel.Text = "取  æ¶ˆ";
            this.cmdCancel.UseVisualStyleBackColor = true;
@@ -499,9 +532,10 @@
            this.lblCaption.BackColor = System.Drawing.Color.Gray;
            this.lblCaption.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblCaption.ForeColor = System.Drawing.Color.LimeGreen;
            this.lblCaption.Location = new System.Drawing.Point(7, 7);
            this.lblCaption.Location = new System.Drawing.Point(9, 9);
            this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(107, 26);
            this.lblCaption.Size = new System.Drawing.Size(134, 31);
            this.lblCaption.TabIndex = 111;
            this.lblCaption.Text = "进站接收单";
            // 
@@ -514,8 +548,10 @@
            this.gbUp.Controls.Add(this.panel2);
            this.gbUp.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gbUp.Location = new System.Drawing.Point(0, 0);
            this.gbUp.Margin = new System.Windows.Forms.Padding(4);
            this.gbUp.Name = "gbUp";
            this.gbUp.Size = new System.Drawing.Size(1036, 539);
            this.gbUp.Padding = new System.Windows.Forms.Padding(4);
            this.gbUp.Size = new System.Drawing.Size(1381, 736);
            this.gbUp.TabIndex = 114;
            this.gbUp.TabStop = false;
            // 
@@ -523,12 +559,12 @@
            // 
            this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdSub.Location = new System.Drawing.Point(3, 454);
            this.grdSub.Margin = new System.Windows.Forms.Padding(2);
            this.grdSub.Location = new System.Drawing.Point(4, 509);
            this.grdSub.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.grdSub.Name = "grdSub";
            this.grdSub.RowHeadersWidth = 51;
            this.grdSub.RowTemplate.Height = 27;
            this.grdSub.Size = new System.Drawing.Size(752, 82);
            this.grdSub.Size = new System.Drawing.Size(1002, 223);
            this.grdSub.TabIndex = 149;
            // 
            // tabControl1
@@ -536,11 +572,11 @@
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.tabControl1.Location = new System.Drawing.Point(3, 74);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
            this.tabControl1.Location = new System.Drawing.Point(4, 77);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(752, 380);
            this.tabControl1.Size = new System.Drawing.Size(1002, 432);
            this.tabControl1.TabIndex = 150;
            // 
            // tabPage1
@@ -589,11 +625,11 @@
            this.tabPage1.Controls.Add(this.txtHEmpID);
            this.tabPage1.Controls.Add(this.label7);
            this.tabPage1.Controls.Add(this.label6);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Margin = new System.Windows.Forms.Padding(2);
            this.tabPage1.Location = new System.Drawing.Point(4, 25);
            this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(2);
            this.tabPage1.Size = new System.Drawing.Size(744, 354);
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage1.Size = new System.Drawing.Size(994, 403);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "进站信息";
            // 
@@ -603,10 +639,11 @@
            this.txtHGroupName.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHGroupName.ForeColor = System.Drawing.Color.Green;
            this.txtHGroupName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHGroupName.Location = new System.Drawing.Point(202, 263);
            this.txtHGroupName.Location = new System.Drawing.Point(269, 310);
            this.txtHGroupName.Margin = new System.Windows.Forms.Padding(4);
            this.txtHGroupName.Name = "txtHGroupName";
            this.txtHGroupName.ReadOnly = true;
            this.txtHGroupName.Size = new System.Drawing.Size(114, 32);
            this.txtHGroupName.Size = new System.Drawing.Size(151, 38);
            this.txtHGroupName.TabIndex = 150;
            this.txtHGroupName.Tag = "0";
            // 
@@ -615,9 +652,10 @@
            this.txtHEmpNumber.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpNumber.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpNumber.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpNumber.Location = new System.Drawing.Point(490, 158);
            this.txtHEmpNumber.Location = new System.Drawing.Point(653, 180);
            this.txtHEmpNumber.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpNumber.Name = "txtHEmpNumber";
            this.txtHEmpNumber.Size = new System.Drawing.Size(105, 32);
            this.txtHEmpNumber.Size = new System.Drawing.Size(139, 38);
            this.txtHEmpNumber.TabIndex = 149;
            this.txtHEmpNumber.Tag = "0";
            this.txtHEmpNumber.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHEmpNumber_KeyDown);
@@ -628,10 +666,11 @@
            this.txtHSourceName.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName.Location = new System.Drawing.Point(202, 297);
            this.txtHSourceName.Location = new System.Drawing.Point(269, 352);
            this.txtHSourceName.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceName.Name = "txtHSourceName";
            this.txtHSourceName.ReadOnly = true;
            this.txtHSourceName.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName.TabIndex = 119;
            this.txtHSourceName.Tag = "0";
            // 
@@ -641,11 +680,12 @@
            this.txtHOrderProcNO.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHOrderProcNO.ForeColor = System.Drawing.Color.Green;
            this.txtHOrderProcNO.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHOrderProcNO.Location = new System.Drawing.Point(490, 193);
            this.txtHOrderProcNO.Location = new System.Drawing.Point(653, 223);
            this.txtHOrderProcNO.Margin = new System.Windows.Forms.Padding(4);
            this.txtHOrderProcNO.Multiline = true;
            this.txtHOrderProcNO.Name = "txtHOrderProcNO";
            this.txtHOrderProcNO.ReadOnly = true;
            this.txtHOrderProcNO.Size = new System.Drawing.Size(220, 33);
            this.txtHOrderProcNO.Size = new System.Drawing.Size(292, 40);
            this.txtHOrderProcNO.TabIndex = 148;
            this.txtHOrderProcNO.Tag = "0";
            // 
@@ -655,9 +695,10 @@
            this.label18.BackColor = System.Drawing.Color.Gray;
            this.label18.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label18.ForeColor = System.Drawing.Color.Yellow;
            this.label18.Location = new System.Drawing.Point(378, 199);
            this.label18.Location = new System.Drawing.Point(504, 231);
            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(106, 21);
            this.label18.Size = new System.Drawing.Size(132, 27);
            this.label18.TabIndex = 147;
            this.label18.Text = "订单跟踪号:";
            // 
@@ -667,9 +708,10 @@
            this.label17.BackColor = System.Drawing.Color.Gray;
            this.label17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label17.ForeColor = System.Drawing.Color.Yellow;
            this.label17.Location = new System.Drawing.Point(8, 60);
            this.label17.Location = new System.Drawing.Point(11, 56);
            this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(74, 21);
            this.label17.Size = new System.Drawing.Size(92, 27);
            this.label17.TabIndex = 145;
            this.label17.Text = "流水号:";
            // 
@@ -678,9 +720,10 @@
            this.txtHProcNo.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcNo.ForeColor = System.Drawing.Color.Green;
            this.txtHProcNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcNo.Location = new System.Drawing.Point(100, 54);
            this.txtHProcNo.Location = new System.Drawing.Point(133, 49);
            this.txtHProcNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHProcNo.Name = "txtHProcNo";
            this.txtHProcNo.Size = new System.Drawing.Size(247, 32);
            this.txtHProcNo.Size = new System.Drawing.Size(328, 38);
            this.txtHProcNo.TabIndex = 146;
            this.txtHProcNo.TextChanged += new System.EventHandler(this.txtHProcNo_TextChanged);
            this.txtHProcNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHProcNo_KeyDown);
@@ -691,9 +734,10 @@
            this.label13.BackColor = System.Drawing.Color.Gray;
            this.label13.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label13.ForeColor = System.Drawing.Color.Yellow;
            this.label13.Location = new System.Drawing.Point(372, 269);
            this.label13.Location = new System.Drawing.Point(496, 318);
            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(106, 21);
            this.label13.Size = new System.Drawing.Size(132, 27);
            this.label13.TabIndex = 116;
            this.label13.Text = "任务单数量:";
            // 
@@ -702,9 +746,10 @@
            this.txtHQty.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHQty.ForeColor = System.Drawing.Color.Green;
            this.txtHQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHQty.Location = new System.Drawing.Point(490, 123);
            this.txtHQty.Location = new System.Drawing.Point(653, 136);
            this.txtHQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHQty.Name = "txtHQty";
            this.txtHQty.Size = new System.Drawing.Size(220, 32);
            this.txtHQty.Size = new System.Drawing.Size(292, 38);
            this.txtHQty.TabIndex = 117;
            this.txtHQty.Tag = "0";
            this.txtHQty.TextChanged += new System.EventHandler(this.txtHQty_TextChanged);
@@ -716,9 +761,10 @@
            this.cmdHCenterID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHCenterID.Enabled = false;
            this.cmdHCenterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHCenterID.Image")));
            this.cmdHCenterID.Location = new System.Drawing.Point(317, 123);
            this.cmdHCenterID.Location = new System.Drawing.Point(423, 135);
            this.cmdHCenterID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHCenterID.Name = "cmdHCenterID";
            this.cmdHCenterID.Size = new System.Drawing.Size(30, 32);
            this.cmdHCenterID.Size = new System.Drawing.Size(40, 40);
            this.cmdHCenterID.TabIndex = 144;
            this.cmdHCenterID.UseVisualStyleBackColor = false;
            this.cmdHCenterID.Click += new System.EventHandler(this.cmdHCenterID_Click);
@@ -729,9 +775,10 @@
            this.label12.BackColor = System.Drawing.Color.Gray;
            this.label12.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label12.ForeColor = System.Drawing.Color.Yellow;
            this.label12.Location = new System.Drawing.Point(377, 25);
            this.label12.Location = new System.Drawing.Point(503, 13);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(84, 21);
            this.label12.Size = new System.Drawing.Size(104, 27);
            this.label12.TabIndex = 114;
            this.label12.Text = "单 æ® å·ï¼š";
            // 
@@ -741,9 +788,10 @@
            this.label20.BackColor = System.Drawing.Color.Gray;
            this.label20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label20.ForeColor = System.Drawing.Color.Yellow;
            this.label20.Location = new System.Drawing.Point(8, 129);
            this.label20.Location = new System.Drawing.Point(11, 142);
            this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(90, 21);
            this.label20.Size = new System.Drawing.Size(112, 27);
            this.label20.TabIndex = 142;
            this.label20.Text = "工作中心:";
            // 
@@ -753,11 +801,12 @@
            this.txtHBillNo.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBillNo.Location = new System.Drawing.Point(490, 19);
            this.txtHBillNo.Location = new System.Drawing.Point(653, 6);
            this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBillNo.Multiline = true;
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.ReadOnly = true;
            this.txtHBillNo.Size = new System.Drawing.Size(220, 33);
            this.txtHBillNo.Size = new System.Drawing.Size(292, 40);
            this.txtHBillNo.TabIndex = 115;
            // 
            // txtHCenterID
@@ -766,11 +815,12 @@
            this.txtHCenterID.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHCenterID.ForeColor = System.Drawing.Color.Green;
            this.txtHCenterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHCenterID.Location = new System.Drawing.Point(100, 123);
            this.txtHCenterID.Location = new System.Drawing.Point(133, 135);
            this.txtHCenterID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHCenterID.Multiline = true;
            this.txtHCenterID.Name = "txtHCenterID";
            this.txtHCenterID.ReadOnly = true;
            this.txtHCenterID.Size = new System.Drawing.Size(216, 33);
            this.txtHCenterID.Size = new System.Drawing.Size(287, 40);
            this.txtHCenterID.TabIndex = 143;
            this.txtHCenterID.TabStop = false;
            // 
@@ -780,11 +830,12 @@
            this.txtHStationInTime.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHStationInTime.ForeColor = System.Drawing.Color.Green;
            this.txtHStationInTime.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHStationInTime.Location = new System.Drawing.Point(100, 228);
            this.txtHStationInTime.Location = new System.Drawing.Point(133, 266);
            this.txtHStationInTime.Margin = new System.Windows.Forms.Padding(4);
            this.txtHStationInTime.Multiline = true;
            this.txtHStationInTime.Name = "txtHStationInTime";
            this.txtHStationInTime.ReadOnly = true;
            this.txtHStationInTime.Size = new System.Drawing.Size(247, 33);
            this.txtHStationInTime.Size = new System.Drawing.Size(328, 40);
            this.txtHStationInTime.TabIndex = 113;
            this.txtHStationInTime.Tag = "0";
            // 
@@ -810,24 +861,13 @@
            this.tabPage2.Controls.Add(this.label23);
            this.tabPage2.Controls.Add(this.label22);
            this.tabPage2.Controls.Add(this.label21);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Margin = new System.Windows.Forms.Padding(2);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
            this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(2);
            this.tabPage2.Size = new System.Drawing.Size(744, 354);
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage2.Size = new System.Drawing.Size(994, 403);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "其他信息";
            //
            // label24
            //
            this.label24.AutoSize = true;
            this.label24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label24.ForeColor = System.Drawing.Color.Yellow;
            this.label24.Location = new System.Drawing.Point(21, 148);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(99, 21);
            this.label24.TabIndex = 134;
            this.label24.Text = "生产资源5:";
            // 
            // txtHSourceName5
            // 
@@ -835,10 +875,11 @@
            this.txtHSourceName5.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName5.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName5.Location = new System.Drawing.Point(215, 149);
            this.txtHSourceName5.Location = new System.Drawing.Point(287, 186);
            this.txtHSourceName5.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceName5.Name = "txtHSourceName5";
            this.txtHSourceName5.ReadOnly = true;
            this.txtHSourceName5.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName5.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName5.TabIndex = 137;
            this.txtHSourceName5.Tag = "0";
            // 
@@ -847,9 +888,10 @@
            this.txtHSourceID5.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID5.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID5.Location = new System.Drawing.Point(113, 149);
            this.txtHSourceID5.Location = new System.Drawing.Point(151, 186);
            this.txtHSourceID5.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID5.Name = "txtHSourceID5";
            this.txtHSourceID5.Size = new System.Drawing.Size(101, 32);
            this.txtHSourceID5.Size = new System.Drawing.Size(133, 38);
            this.txtHSourceID5.TabIndex = 135;
            this.txtHSourceID5.Tag = "0";
            // 
@@ -857,23 +899,13 @@
            // 
            this.cmdHSourceID5.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID5.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID5.Image")));
            this.cmdHSourceID5.Location = new System.Drawing.Point(329, 149);
            this.cmdHSourceID5.Location = new System.Drawing.Point(439, 186);
            this.cmdHSourceID5.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID5.Name = "cmdHSourceID5";
            this.cmdHSourceID5.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID5.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID5.TabIndex = 136;
            this.cmdHSourceID5.UseVisualStyleBackColor = false;
            this.cmdHSourceID5.Click += new System.EventHandler(this.cmdHSourceID5_Click);
            //
            // label23
            //
            this.label23.AutoSize = true;
            this.label23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label23.ForeColor = System.Drawing.Color.Yellow;
            this.label23.Location = new System.Drawing.Point(21, 110);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(99, 21);
            this.label23.TabIndex = 130;
            this.label23.Text = "生产资源4:";
            // 
            // txtHSourceName4
            // 
@@ -881,10 +913,11 @@
            this.txtHSourceName4.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName4.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName4.Location = new System.Drawing.Point(215, 110);
            this.txtHSourceName4.Location = new System.Drawing.Point(287, 138);
            this.txtHSourceName4.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceName4.Name = "txtHSourceName4";
            this.txtHSourceName4.ReadOnly = true;
            this.txtHSourceName4.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName4.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName4.TabIndex = 133;
            this.txtHSourceName4.Tag = "0";
            // 
@@ -893,9 +926,10 @@
            this.txtHSourceID4.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID4.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID4.Location = new System.Drawing.Point(113, 110);
            this.txtHSourceID4.Location = new System.Drawing.Point(151, 138);
            this.txtHSourceID4.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID4.Name = "txtHSourceID4";
            this.txtHSourceID4.Size = new System.Drawing.Size(101, 32);
            this.txtHSourceID4.Size = new System.Drawing.Size(133, 38);
            this.txtHSourceID4.TabIndex = 131;
            this.txtHSourceID4.Tag = "0";
            // 
@@ -903,23 +937,13 @@
            // 
            this.cmdHSourceID4.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID4.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID4.Image")));
            this.cmdHSourceID4.Location = new System.Drawing.Point(329, 110);
            this.cmdHSourceID4.Location = new System.Drawing.Point(439, 138);
            this.cmdHSourceID4.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID4.Name = "cmdHSourceID4";
            this.cmdHSourceID4.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID4.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID4.TabIndex = 132;
            this.cmdHSourceID4.UseVisualStyleBackColor = false;
            this.cmdHSourceID4.Click += new System.EventHandler(this.cmdHSourceID4_Click);
            //
            // label22
            //
            this.label22.AutoSize = true;
            this.label22.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label22.ForeColor = System.Drawing.Color.Yellow;
            this.label22.Location = new System.Drawing.Point(21, 70);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(99, 21);
            this.label22.TabIndex = 126;
            this.label22.Text = "生产资源3:";
            // 
            // txtHSourceName3
            // 
@@ -927,10 +951,11 @@
            this.txtHSourceName3.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName3.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName3.Location = new System.Drawing.Point(215, 70);
            this.txtHSourceName3.Location = new System.Drawing.Point(287, 88);
            this.txtHSourceName3.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceName3.Name = "txtHSourceName3";
            this.txtHSourceName3.ReadOnly = true;
            this.txtHSourceName3.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName3.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName3.TabIndex = 129;
            this.txtHSourceName3.Tag = "0";
            // 
@@ -939,9 +964,10 @@
            this.txtHSourceID3.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID3.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID3.Location = new System.Drawing.Point(113, 70);
            this.txtHSourceID3.Location = new System.Drawing.Point(151, 88);
            this.txtHSourceID3.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID3.Name = "txtHSourceID3";
            this.txtHSourceID3.Size = new System.Drawing.Size(101, 32);
            this.txtHSourceID3.Size = new System.Drawing.Size(133, 38);
            this.txtHSourceID3.TabIndex = 127;
            this.txtHSourceID3.Tag = "0";
            // 
@@ -949,23 +975,13 @@
            // 
            this.cmdHSourceID3.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID3.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID3.Image")));
            this.cmdHSourceID3.Location = new System.Drawing.Point(329, 70);
            this.cmdHSourceID3.Location = new System.Drawing.Point(439, 88);
            this.cmdHSourceID3.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID3.Name = "cmdHSourceID3";
            this.cmdHSourceID3.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID3.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID3.TabIndex = 128;
            this.cmdHSourceID3.UseVisualStyleBackColor = false;
            this.cmdHSourceID3.Click += new System.EventHandler(this.cmdHSourceID3_Click);
            //
            // label21
            //
            this.label21.AutoSize = true;
            this.label21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label21.ForeColor = System.Drawing.Color.Yellow;
            this.label21.Location = new System.Drawing.Point(21, 31);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(99, 21);
            this.label21.TabIndex = 122;
            this.label21.Text = "生产资源2:";
            // 
            // txtHSourceName2
            // 
@@ -973,10 +989,11 @@
            this.txtHSourceName2.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName2.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName2.Location = new System.Drawing.Point(215, 32);
            this.txtHSourceName2.Location = new System.Drawing.Point(287, 40);
            this.txtHSourceName2.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceName2.Name = "txtHSourceName2";
            this.txtHSourceName2.ReadOnly = true;
            this.txtHSourceName2.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName2.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName2.TabIndex = 125;
            this.txtHSourceName2.Tag = "0";
            // 
@@ -985,9 +1002,10 @@
            this.txtHSourceID2.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID2.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID2.Location = new System.Drawing.Point(113, 32);
            this.txtHSourceID2.Location = new System.Drawing.Point(151, 40);
            this.txtHSourceID2.Margin = new System.Windows.Forms.Padding(4);
            this.txtHSourceID2.Name = "txtHSourceID2";
            this.txtHSourceID2.Size = new System.Drawing.Size(101, 32);
            this.txtHSourceID2.Size = new System.Drawing.Size(133, 38);
            this.txtHSourceID2.TabIndex = 123;
            this.txtHSourceID2.Tag = "0";
            // 
@@ -995,9 +1013,10 @@
            // 
            this.cmdHSourceID2.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID2.Image")));
            this.cmdHSourceID2.Location = new System.Drawing.Point(329, 32);
            this.cmdHSourceID2.Location = new System.Drawing.Point(439, 40);
            this.cmdHSourceID2.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHSourceID2.Name = "cmdHSourceID2";
            this.cmdHSourceID2.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID2.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID2.TabIndex = 124;
            this.cmdHSourceID2.UseVisualStyleBackColor = false;
            this.cmdHSourceID2.Click += new System.EventHandler(this.cmdHSourceID2_Click);
@@ -1008,10 +1027,11 @@
            this.txtHPieceQty.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPieceQty.ForeColor = System.Drawing.Color.Green;
            this.txtHPieceQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPieceQty.Location = new System.Drawing.Point(539, 30);
            this.txtHPieceQty.Location = new System.Drawing.Point(719, 38);
            this.txtHPieceQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHPieceQty.Multiline = true;
            this.txtHPieceQty.Name = "txtHPieceQty";
            this.txtHPieceQty.Size = new System.Drawing.Size(188, 33);
            this.txtHPieceQty.Size = new System.Drawing.Size(249, 40);
            this.txtHPieceQty.TabIndex = 121;
            this.txtHPieceQty.Tag = "0";
            this.txtHPieceQty.Visible = false;
@@ -1022,9 +1042,10 @@
            this.label15.BackColor = System.Drawing.Color.Gray;
            this.label15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label15.ForeColor = System.Drawing.Color.Yellow;
            this.label15.Location = new System.Drawing.Point(433, 30);
            this.label15.Location = new System.Drawing.Point(577, 38);
            this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(90, 21);
            this.label15.Size = new System.Drawing.Size(112, 27);
            this.label15.TabIndex = 120;
            this.label15.Text = "接收件数:";
            this.label15.Visible = false;
@@ -1034,12 +1055,61 @@
            this.label14.AutoSize = true;
            this.label14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label14.ForeColor = System.Drawing.Color.Yellow;
            this.label14.Location = new System.Drawing.Point(433, 69);
            this.label14.Location = new System.Drawing.Point(577, 86);
            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(88, 21);
            this.label14.Size = new System.Drawing.Size(108, 27);
            this.label14.TabIndex = 118;
            this.label14.Text = "机      å°ï¼š";
            this.label14.Visible = false;
            //
            // label24
            //
            this.label24.AutoSize = true;
            this.label24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label24.ForeColor = System.Drawing.Color.Yellow;
            this.label24.Location = new System.Drawing.Point(28, 185);
            this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(124, 27);
            this.label24.TabIndex = 134;
            this.label24.Text = "生产资源5:";
            //
            // label23
            //
            this.label23.AutoSize = true;
            this.label23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label23.ForeColor = System.Drawing.Color.Yellow;
            this.label23.Location = new System.Drawing.Point(28, 138);
            this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(124, 27);
            this.label23.TabIndex = 130;
            this.label23.Text = "生产资源4:";
            //
            // label22
            //
            this.label22.AutoSize = true;
            this.label22.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label22.ForeColor = System.Drawing.Color.Yellow;
            this.label22.Location = new System.Drawing.Point(28, 88);
            this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(124, 27);
            this.label22.TabIndex = 126;
            this.label22.Text = "生产资源3:";
            //
            // label21
            //
            this.label21.AutoSize = true;
            this.label21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label21.ForeColor = System.Drawing.Color.Yellow;
            this.label21.Location = new System.Drawing.Point(28, 39);
            this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(124, 27);
            this.label21.TabIndex = 122;
            this.label21.Text = "生产资源2:";
            // 
            // groupBox1
            // 
@@ -1047,11 +1117,11 @@
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right;
            this.groupBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox1.ForeColor = System.Drawing.Color.Yellow;
            this.groupBox1.Location = new System.Drawing.Point(755, 74);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
            this.groupBox1.Location = new System.Drawing.Point(1006, 77);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
            this.groupBox1.Size = new System.Drawing.Size(278, 462);
            this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.groupBox1.Size = new System.Drawing.Size(371, 655);
            this.groupBox1.TabIndex = 152;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "本站工单";
@@ -1060,35 +1130,65 @@
            // 
            this.grdCardList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdCardList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdCardList.Location = new System.Drawing.Point(2, 21);
            this.grdCardList.Margin = new System.Windows.Forms.Padding(2);
            this.grdCardList.Location = new System.Drawing.Point(3, 25);
            this.grdCardList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.grdCardList.Name = "grdCardList";
            this.grdCardList.RowHeadersWidth = 51;
            this.grdCardList.RowTemplate.Height = 27;
            this.grdCardList.Size = new System.Drawing.Size(274, 439);
            this.grdCardList.Size = new System.Drawing.Size(365, 628);
            this.grdCardList.TabIndex = 150;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.txtHBarCode_Mater);
            this.panel2.Controls.Add(this.label25);
            this.panel2.Controls.Add(this.txtHBarCode);
            this.panel2.Controls.Add(this.label19);
            this.panel2.Controls.Add(this.lblCaption);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(3, 17);
            this.panel2.Margin = new System.Windows.Forms.Padding(2);
            this.panel2.Location = new System.Drawing.Point(4, 22);
            this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(1030, 57);
            this.panel2.Size = new System.Drawing.Size(1373, 55);
            this.panel2.TabIndex = 151;
            //
            // txtHBarCode_Mater
            //
            this.txtHBarCode_Mater.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBarCode_Mater.ForeColor = System.Drawing.Color.Green;
            this.txtHBarCode_Mater.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBarCode_Mater.Location = new System.Drawing.Point(767, 7);
            this.txtHBarCode_Mater.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBarCode_Mater.Multiline = true;
            this.txtHBarCode_Mater.Name = "txtHBarCode_Mater";
            this.txtHBarCode_Mater.Size = new System.Drawing.Size(292, 40);
            this.txtHBarCode_Mater.TabIndex = 115;
            this.txtHBarCode_Mater.Tag = "0";
            this.txtHBarCode_Mater.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBarCode_Mater_KeyDown);
            //
            // label25
            //
            this.label25.AutoSize = true;
            this.label25.BackColor = System.Drawing.Color.Gray;
            this.label25.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label25.ForeColor = System.Drawing.Color.Yellow;
            this.label25.Location = new System.Drawing.Point(627, 12);
            this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(132, 27);
            this.label25.TabIndex = 114;
            this.label25.Text = "配件条形码:";
            // 
            // txtHBarCode
            // 
            this.txtHBarCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBarCode.ForeColor = System.Drawing.Color.Green;
            this.txtHBarCode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBarCode.Location = new System.Drawing.Point(278, 7);
            this.txtHBarCode.Location = new System.Drawing.Point(248, 8);
            this.txtHBarCode.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBarCode.Multiline = true;
            this.txtHBarCode.Name = "txtHBarCode";
            this.txtHBarCode.Size = new System.Drawing.Size(229, 33);
            this.txtHBarCode.Size = new System.Drawing.Size(279, 40);
            this.txtHBarCode.TabIndex = 113;
            this.txtHBarCode.Tag = "0";
            this.txtHBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBarCode_KeyDown);
@@ -1099,11 +1199,12 @@
            this.label19.BackColor = System.Drawing.Color.Gray;
            this.label19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label19.ForeColor = System.Drawing.Color.Yellow;
            this.label19.Location = new System.Drawing.Point(202, 10);
            this.label19.Location = new System.Drawing.Point(160, 12);
            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(74, 21);
            this.label19.Size = new System.Drawing.Size(92, 27);
            this.label19.TabIndex = 112;
            this.label19.Text = "条形码:";
            this.label19.Text = "流转卡:";
            // 
            // timer1
            // 
@@ -1112,6 +1213,7 @@
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.cmdDelLine);
            this.panel1.Controls.Add(this.cmdXZ);
            this.panel1.Controls.Add(this.button2);
            this.panel1.Controls.Add(this.button1);
@@ -1121,16 +1223,18 @@
            this.panel1.Controls.Add(this.cmdCancel);
            this.panel1.Controls.Add(this.cmdOK);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(0, 539);
            this.panel1.Location = new System.Drawing.Point(0, 736);
            this.panel1.Margin = new System.Windows.Forms.Padding(4);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(1036, 65);
            this.panel1.Size = new System.Drawing.Size(1381, 81);
            this.panel1.TabIndex = 115;
            // 
            // cmdXZ
            // 
            this.cmdXZ.Location = new System.Drawing.Point(15, 10);
            this.cmdXZ.Location = new System.Drawing.Point(20, 12);
            this.cmdXZ.Margin = new System.Windows.Forms.Padding(4);
            this.cmdXZ.Name = "cmdXZ";
            this.cmdXZ.Size = new System.Drawing.Size(85, 42);
            this.cmdXZ.Size = new System.Drawing.Size(113, 52);
            this.cmdXZ.TabIndex = 124;
            this.cmdXZ.Text = "新    å¢ž";
            this.cmdXZ.UseVisualStyleBackColor = true;
@@ -1139,9 +1243,10 @@
            // button2
            // 
            this.button2.Enabled = false;
            this.button2.Location = new System.Drawing.Point(567, 10);
            this.button2.Location = new System.Drawing.Point(756, 12);
            this.button2.Margin = new System.Windows.Forms.Padding(4);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(85, 42);
            this.button2.Size = new System.Drawing.Size(113, 52);
            this.button2.TabIndex = 123;
            this.button2.Text = "反审核";
            this.button2.UseVisualStyleBackColor = true;
@@ -1150,9 +1255,10 @@
            // button1
            // 
            this.button1.Enabled = false;
            this.button1.Location = new System.Drawing.Point(475, 10);
            this.button1.Location = new System.Drawing.Point(633, 12);
            this.button1.Margin = new System.Windows.Forms.Padding(4);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(85, 42);
            this.button1.Size = new System.Drawing.Size(113, 52);
            this.button1.TabIndex = 122;
            this.button1.Text = "审  æ ¸";
            this.button1.UseVisualStyleBackColor = true;
@@ -1160,9 +1266,10 @@
            // 
            // cmdHDelBill
            // 
            this.cmdHDelBill.Location = new System.Drawing.Point(199, 10);
            this.cmdHDelBill.Location = new System.Drawing.Point(1009, 12);
            this.cmdHDelBill.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHDelBill.Name = "cmdHDelBill";
            this.cmdHDelBill.Size = new System.Drawing.Size(85, 42);
            this.cmdHDelBill.Size = new System.Drawing.Size(113, 52);
            this.cmdHDelBill.TabIndex = 121;
            this.cmdHDelBill.Text = "删除领料单";
            this.cmdHDelBill.UseVisualStyleBackColor = true;
@@ -1171,9 +1278,10 @@
            // 
            // cmdXG
            // 
            this.cmdXG.Location = new System.Drawing.Point(107, 10);
            this.cmdXG.Location = new System.Drawing.Point(143, 12);
            this.cmdXG.Margin = new System.Windows.Forms.Padding(4);
            this.cmdXG.Name = "cmdXG";
            this.cmdXG.Size = new System.Drawing.Size(85, 42);
            this.cmdXG.Size = new System.Drawing.Size(113, 52);
            this.cmdXG.TabIndex = 120;
            this.cmdXG.Text = "ä¿®    æ”¹";
            this.cmdXG.UseVisualStyleBackColor = true;
@@ -1181,25 +1289,38 @@
            // 
            // cmdAddNew
            // 
            this.cmdAddNew.Location = new System.Drawing.Point(659, 10);
            this.cmdAddNew.Location = new System.Drawing.Point(879, 12);
            this.cmdAddNew.Margin = new System.Windows.Forms.Padding(4);
            this.cmdAddNew.Name = "cmdAddNew";
            this.cmdAddNew.Size = new System.Drawing.Size(85, 42);
            this.cmdAddNew.Size = new System.Drawing.Size(113, 52);
            this.cmdAddNew.TabIndex = 114;
            this.cmdAddNew.Text = "清    ç©º";
            this.cmdAddNew.UseVisualStyleBackColor = true;
            this.cmdAddNew.Visible = false;
            this.cmdAddNew.Click += new System.EventHandler(this.cmdAddNew_Click);
            // 
            // cmdDelLine
            //
            this.cmdDelLine.Location = new System.Drawing.Point(264, 12);
            this.cmdDelLine.Margin = new System.Windows.Forms.Padding(4);
            this.cmdDelLine.Name = "cmdDelLine";
            this.cmdDelLine.Size = new System.Drawing.Size(113, 52);
            this.cmdDelLine.TabIndex = 125;
            this.cmdDelLine.Text = "删    è¡Œ";
            this.cmdDelLine.UseVisualStyleBackColor = true;
            this.cmdDelLine.Click += new System.EventHandler(this.cmdDelLine_Click);
            //
            // MES_StationInBill
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Gray;
            this.ClientSize = new System.Drawing.Size(1036, 604);
            this.ClientSize = new System.Drawing.Size(1381, 817);
            this.Controls.Add(this.gbUp);
            this.Controls.Add(this.panel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(4);
            this.Name = "MES_StationInBill";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "进站接收单";
@@ -1308,5 +1429,8 @@
        private System.Windows.Forms.TextBox txtHSourceID2;
        private System.Windows.Forms.Button cmdHSourceID2;
        private System.Windows.Forms.Button cmdXZ;
        private System.Windows.Forms.TextBox txtHBarCode_Mater;
        private System.Windows.Forms.Label label25;
        private System.Windows.Forms.Button cmdDelLine;
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBill.cs
@@ -1323,280 +1323,288 @@
        //保存单据
        private bool Sub_SaveBill()
        {
            Model.ClsSc_ProcessExchangeBillSub oBillSub = new Model.ClsSc_ProcessExchangeBillSub();
            //判断权限
            //if (!ClsPub.Security_Log(ModRightNameEdit, 1, true, DBUtility.ClsPub.CurUserName))
            //{
            //    return false;
            //}
            //
            Int32 i;
            bool bResult;
            BillNew = new DAL.ClsSc_ProcessExchangeBill();
            //失去焦点
            lblCaption.Focus();
            if (!Sub_AllowSave())//单据完整性判断
                return false;
            //赋值ID
            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                BillNew.omodel.HInterID = BillOld.omodel.HInterID;
            else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_UpdatePrice)
                BillNew.omodel.HInterID = BillOld.omodel.HInterID;
            //主类赋值
            //判断会计期是否合理
            string s = "";
            int sYear = 0;
            int sPeriod = 0;
            //if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(dtpHDate.Value, ref sYear, ref sPeriod, ref s) == false)
            //{
            //    MessageBox.Show(s, "提示");
            //    return false;
            //}
            sYear = ClsPub.isDate(dtpHDate.Value).Year;
            sPeriod = ClsPub.isDate(dtpHDate.Value).Month;
            //源单信息
            //BillNew.omodel.HMainSourceBillType = cmbSourceBillType.Text;
            //
            BillNew.omodel.HYear = sYear;
            BillNew.omodel.HPeriod = sPeriod;
            BillNew.omodel.HPRDORGID = DBUtility.ClsPub.HOrgID;  //组织
            //固定赋值=================================
            BillNew.omodel.HBillNo = this.txtHBillNo.Text.Trim();  //在赋值类前就处理好字符串和数字
            BillNew.omodel.HDate = this.dtpHDate.Value;
            BillNew.omodel.HRemark = this.txtHRemark.Text.Trim();
            //====================================================
            BillNew.omodel.HMaker = DBUtility.ClsPub.CurUserName;
            BillNew.omodel.HWWOrderInterID = ClsPub.isLong(this.txtHWWOrderInterID.Text.ToString());
            BillNew.omodel.HWWOrderEntryID = ClsPub.isLong(this.txtHWWOrderEntryID.Text.ToString());
            BillNew.omodel.HWWOrderBillNo = ClsPub.isStrNull(this.txtHWWOrderBillNo.Text);
            BillNew.omodel.HICMOInterID = ClsPub.isLong(this.txtHICMOBillNo.Tag);
            BillNew.omodel.HICMOEntryID = ClsPub.isLong(this.txtHICMOEntryID.Text);
            BillNew.omodel.HICMOBillNo = ClsPub.isStrNull(this.txtHICMOBillNo.Text);
            BillNew.omodel.HMaterID2 = ClsPub.isLong(this.txtHMaterID2.Tag);
            BillNew.omodel.HMaterID = ClsPub.isLong(this.txtHMaterID.Tag.ToString());
            BillNew.omodel.HMaterNumber = ClsPub.isStrNull(this.txtHMaterNumber.Text);
            BillNew.omodel.HBatchNo = ClsPub.isStrNull(this.txtHBatchNo.Text);
            BillNew.omodel.HUnitID = ClsPub.isLong(this.txtHUnitID.Tag.ToString());
            BillNew.omodel.HUnitNumber = ClsPub.isStrNull(this.txtHUnitNumber.Text);
            BillNew.omodel.HPlanQty = ClsPub.isDoule(this.txtHPlanQty.Text);
            BillNew.omodel.HQty = ClsPub.isDoule(this.txtHQty.Text);
            //BillNew.omodel.HQty = ClsPub.isDoule(this.txtHprocExQty.Text);
            BillNew.omodel.HPlanBeginDate = ClsPub.isDate(this.dtpHPlanBeginDate.Value);
            BillNew.omodel.HPlanEndDate = ClsPub.isDate(this.dtpHPlanEndDate.Value);
            BillNew.omodel.HExplanation = ClsPub.isStrNull(this.txtHExplanation.Text);
            BillNew.omodel.HInnerBillNo = ClsPub.isStrNull(this.txtHInnerBillNo.Text);
            BillNew.omodel.HWorkShopID = ClsPub.isLong(this.txtHWorkShopID.Tag.ToString());
            BillNew.omodel.HSupID = ClsPub.isLong(this.txtHSupID.Tag.ToString());
            BillNew.omodel.HBLFlag = chkHBLFlag.Checked;
            //BillNew.omodel.HWorkTypeNum = ClsPub.isStrNull(this.txtHWorkTypeID.Tag.ToString());
            //========================
            BillNew.omodel.HMainMaterID = ClsPub.isLong(this.txtHMainMaterID.Text.ToString());
            BillNew.omodel.HKeyMaterID = ClsPub.isLong(this.txtHKeyMaterID.Text.ToString());
            BillNew.omodel.HOrderProcNO = ClsPub.isStrNull(this.txtHOrderProcNO.Text.ToString());
            BillNew.omodel.HEquipMentID = ClsPub.isLong(this.txtHEquipMentID.Tag.ToString());
            BillNew.omodel.HMateOutBatchNo = ClsPub.isStrNull(this.txtHMateOutBatchNo.Text);
            BillNew.omodel.HProjectNum = ClsPub.isStrNull(this.txtHProjectNum.Text);
            //===================
            BillNew.omodel.HProdMaterCode = ClsPub.isStrNull(this.txtHProdMaterCode.Text);
            BillNew.omodel.HSeOrderBillNo = ClsPub.isStrNull(this.txtHSeOrderBillNo.Text);
            BillNew.omodel.HCusShortName = ClsPub.isStrNull(this.txtHCusShortName.Text);
            BillNew.omodel.HCusNeedMaterial = ClsPub.isStrNull(this.txtHCusNeedMaterial.Text);
            BillNew.omodel.HPlanSendGoodsDate = ClsPub.isStrNull(this.txtHPlanSendGoodsDate.Text);
            BillNew.omodel.HProdMaterName = ClsPub.isStrNull(this.txtHProdMaterName.Text);
            BillNew.omodel.HCusName = ClsPub.isStrNull(this.txtHCusName.Text);
            BillNew.omodel.HWorkRemark = ClsPub.isStrNull(this.txtHWorkRemark.Text);
            BillNew.omodel.HImportNote = ClsPub.isStrNull(this.txtHImportNote.Text);
            BillNew.omodel.HMaterNumber_A = ClsPub.isStrNull(this.txtHMaterNumber_A.Text);
            BillNew.omodel.HMaterNumber_B = ClsPub.isStrNull(this.txtHMaterNumber_B.Text);
            BillNew.omodel.HMaterNumber_C = ClsPub.isStrNull(this.txtHMaterNumber_C.Text);
            BillNew.omodel.HMaterNumber_D = ClsPub.isStrNull(this.txtHMaterNumber_D.Text);
            BillNew.omodel.HProdType = ClsPub.isStrNull(this.txtHProdType.Text);
            BillNew.omodel.HMaterShortName = ClsPub.isStrNull(this.txtHMaterShortName.Text);
            BillNew.omodel.HMaterIDA = ClsPub.isStrNull(this.txtHMaterIDA.Text);
            BillNew.omodel.HMaterIDB = ClsPub.isStrNull(this.txtHMaterIDB.Text);
            BillNew.omodel.HMaterIDC = ClsPub.isStrNull(this.txtHMaterIDC.Text);
            BillNew.omodel.HMaterIDD = ClsPub.isStrNull(this.txtHMaterIDD.Text);
            //===================
            BillNew.omodel.HPicNumVer = ClsPub.isStrNull(this.textHPicNumVer.Text);
            BillNew.omodel.HPicNumAssemble = ClsPub.isStrNull(this.textHPicNumAssemble.Text);
            BillNew.omodel.HMaterTexture = ClsPub.isStrNull(this.textHMaterTexture.Text);
            BillNew.omodel.HProductNum = ClsPub.isStrNull(this.textHProductNum.Text);
            BillNew.omodel.HVerNum = ClsPub.isStrNull(this.textHVerNum.Text);
            //获取最大行号
            int MaxRowNo = 0;
            for (int n = 0; n < grdMain.Rows.Count; n++)
            try
            {
                if (DBUtility.ClsPub.isInt(grdMain.Rows[n].Cells[HEntryIDCol].Value) > MaxRowNo)
                Model.ClsSc_ProcessExchangeBillSub oBillSub = new Model.ClsSc_ProcessExchangeBillSub();
                //判断权限
                //if (!ClsPub.Security_Log(ModRightNameEdit, 1, true, DBUtility.ClsPub.CurUserName))
                //{
                //    return false;
                //}
                //
                Int32 i;
                bool bResult;
                BillNew = new DAL.ClsSc_ProcessExchangeBill();
                //失去焦点
                lblCaption.Focus();
                if (!Sub_AllowSave())//单据完整性判断
                    return false;
                //赋值ID
                if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                    BillNew.omodel.HInterID = BillOld.omodel.HInterID;
                else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_UpdatePrice)
                    BillNew.omodel.HInterID = BillOld.omodel.HInterID;
                //主类赋值
                //判断会计期是否合理
                string s = "";
                int sYear = 0;
                int sPeriod = 0;
                //if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(dtpHDate.Value, ref sYear, ref sPeriod, ref s) == false)
                //{
                //    MessageBox.Show(s, "提示");
                //    return false;
                //}
                sYear = ClsPub.isDate(dtpHDate.Value).Year;
                sPeriod = ClsPub.isDate(dtpHDate.Value).Month;
                //源单信息
                //BillNew.omodel.HMainSourceBillType = cmbSourceBillType.Text;
                //
                BillNew.omodel.HYear = sYear;
                BillNew.omodel.HPeriod = sPeriod;
                BillNew.omodel.HPRDORGID = DBUtility.ClsPub.HOrgID;  //组织
                                                                     //固定赋值=================================
                BillNew.omodel.HBillNo = this.txtHBillNo.Text.Trim();  //在赋值类前就处理好字符串和数字
                BillNew.omodel.HDate = this.dtpHDate.Value;
                BillNew.omodel.HRemark = this.txtHRemark.Text.Trim();
                //====================================================
                BillNew.omodel.HMaker = DBUtility.ClsPub.CurUserName;
                BillNew.omodel.HWWOrderInterID = ClsPub.isLong(this.txtHWWOrderInterID.Text.ToString());
                BillNew.omodel.HWWOrderEntryID = ClsPub.isLong(this.txtHWWOrderEntryID.Text.ToString());
                BillNew.omodel.HWWOrderBillNo = ClsPub.isStrNull(this.txtHWWOrderBillNo.Text);
                BillNew.omodel.HICMOInterID = ClsPub.isLong(this.txtHICMOBillNo.Tag);
                BillNew.omodel.HICMOEntryID = ClsPub.isLong(this.txtHICMOEntryID.Text);
                BillNew.omodel.HICMOBillNo = ClsPub.isStrNull(this.txtHICMOBillNo.Text);
                BillNew.omodel.HMaterID2 = ClsPub.isLong(this.txtHMaterID2.Tag);
                BillNew.omodel.HMaterID = ClsPub.isLong(this.txtHMaterID.Tag.ToString());
                BillNew.omodel.HMaterNumber = ClsPub.isStrNull(this.txtHMaterNumber.Text);
                BillNew.omodel.HBatchNo = ClsPub.isStrNull(this.txtHBatchNo.Text);
                BillNew.omodel.HUnitID = ClsPub.isLong(this.txtHUnitID.Tag.ToString());
                BillNew.omodel.HUnitNumber = ClsPub.isStrNull(this.txtHUnitNumber.Text);
                BillNew.omodel.HPlanQty = ClsPub.isDoule(this.txtHPlanQty.Text);
                BillNew.omodel.HQty = ClsPub.isDoule(this.txtHQty.Text);
                //BillNew.omodel.HQty = ClsPub.isDoule(this.txtHprocExQty.Text);
                BillNew.omodel.HPlanBeginDate = ClsPub.isDate(this.dtpHPlanBeginDate.Value);
                BillNew.omodel.HPlanEndDate = ClsPub.isDate(this.dtpHPlanEndDate.Value);
                BillNew.omodel.HExplanation = ClsPub.isStrNull(this.txtHExplanation.Text);
                BillNew.omodel.HInnerBillNo = ClsPub.isStrNull(this.txtHInnerBillNo.Text);
                BillNew.omodel.HWorkShopID = ClsPub.isLong(this.txtHWorkShopID.Tag.ToString());
                BillNew.omodel.HSupID = ClsPub.isLong(this.txtHSupID.Tag.ToString());
                BillNew.omodel.HBLFlag = chkHBLFlag.Checked;
                //BillNew.omodel.HWorkTypeNum = ClsPub.isStrNull(this.txtHWorkTypeID.Tag.ToString());
                //========================
                BillNew.omodel.HMainMaterID = ClsPub.isLong(this.txtHMainMaterID.Text.ToString());
                BillNew.omodel.HKeyMaterID = ClsPub.isLong(this.txtHKeyMaterID.Text.ToString());
                BillNew.omodel.HOrderProcNO = ClsPub.isStrNull(this.txtHOrderProcNO.Text.ToString());
                BillNew.omodel.HEquipMentID = ClsPub.isLong(this.txtHEquipMentID.Tag.ToString());
                BillNew.omodel.HMateOutBatchNo = ClsPub.isStrNull(this.txtHMateOutBatchNo.Text);
                BillNew.omodel.HProjectNum = ClsPub.isStrNull(this.txtHProjectNum.Text);
                //===================
                BillNew.omodel.HProdMaterCode = ClsPub.isStrNull(this.txtHProdMaterCode.Text);
                BillNew.omodel.HSeOrderBillNo = ClsPub.isStrNull(this.txtHSeOrderBillNo.Text);
                BillNew.omodel.HCusShortName = ClsPub.isStrNull(this.txtHCusShortName.Text);
                BillNew.omodel.HCusNeedMaterial = ClsPub.isStrNull(this.txtHCusNeedMaterial.Text);
                BillNew.omodel.HPlanSendGoodsDate = ClsPub.isStrNull(this.txtHPlanSendGoodsDate.Text);
                BillNew.omodel.HProdMaterName = ClsPub.isStrNull(this.txtHProdMaterName.Text);
                BillNew.omodel.HCusName = ClsPub.isStrNull(this.txtHCusName.Text);
                BillNew.omodel.HWorkRemark = ClsPub.isStrNull(this.txtHWorkRemark.Text);
                BillNew.omodel.HImportNote = ClsPub.isStrNull(this.txtHImportNote.Text);
                BillNew.omodel.HMaterNumber_A = ClsPub.isStrNull(this.txtHMaterNumber_A.Text);
                BillNew.omodel.HMaterNumber_B = ClsPub.isStrNull(this.txtHMaterNumber_B.Text);
                BillNew.omodel.HMaterNumber_C = ClsPub.isStrNull(this.txtHMaterNumber_C.Text);
                BillNew.omodel.HMaterNumber_D = ClsPub.isStrNull(this.txtHMaterNumber_D.Text);
                BillNew.omodel.HProdType = ClsPub.isStrNull(this.txtHProdType.Text);
                BillNew.omodel.HMaterShortName = ClsPub.isStrNull(this.txtHMaterShortName.Text);
                BillNew.omodel.HMaterIDA = ClsPub.isStrNull(this.txtHMaterIDA.Text);
                BillNew.omodel.HMaterIDB = ClsPub.isStrNull(this.txtHMaterIDB.Text);
                BillNew.omodel.HMaterIDC = ClsPub.isStrNull(this.txtHMaterIDC.Text);
                BillNew.omodel.HMaterIDD = ClsPub.isStrNull(this.txtHMaterIDD.Text);
                //===================
                BillNew.omodel.HPicNumVer = ClsPub.isStrNull(this.textHPicNumVer.Text);
                BillNew.omodel.HPicNumAssemble = ClsPub.isStrNull(this.textHPicNumAssemble.Text);
                BillNew.omodel.HMaterTexture = ClsPub.isStrNull(this.textHMaterTexture.Text);
                BillNew.omodel.HProductNum = ClsPub.isStrNull(this.textHProductNum.Text);
                BillNew.omodel.HVerNum = ClsPub.isStrNull(this.textHVerNum.Text);
                //获取最大行号
                int MaxRowNo = 0;
                for (int n = 0; n < grdMain.Rows.Count; n++)
                {
                    MaxRowNo = DBUtility.ClsPub.isInt(grdMain.Rows[n].Cells[HEntryIDCol].Value);
                }
            }
            //明细类赋值
            BillNew.DetailColl = new List<Model.ClsSc_ProcessExchangeBillSub>();
            for (i = 0; i <= grdMain.RowCount - 1; i++)
            {
                if (ClsPub.isLong(grdMain.Rows[i].Cells[HProcIDCol].Value) != 0)
                {
                    Model.ClsSc_ProcessExchangeBillSub oSub = new Model.ClsSc_ProcessExchangeBillSub();
                    //固定赋值========================================
                    if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                    if (DBUtility.ClsPub.isInt(grdMain.Rows[n].Cells[HEntryIDCol].Value) > MaxRowNo)
                    {
                        if (DBUtility.ClsPub.isInt(grdMain.Rows[i].Cells[HEntryIDCol].Value) == 0)
                        MaxRowNo = DBUtility.ClsPub.isInt(grdMain.Rows[n].Cells[HEntryIDCol].Value);
                    }
                }
                //明细类赋值
                BillNew.DetailColl = new List<Model.ClsSc_ProcessExchangeBillSub>();
                for (i = 0; i <= grdMain.RowCount - 1; i++)
                {
                    if (ClsPub.isLong(grdMain.Rows[i].Cells[HProcIDCol].Value) != 0)
                    {
                        Model.ClsSc_ProcessExchangeBillSub oSub = new Model.ClsSc_ProcessExchangeBillSub();
                        //固定赋值========================================
                        if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                        {
                            oSub.HEntryID = MaxRowNo + i;
                            grdMain.Rows[i].Cells[HEntryIDCol].Value = oSub.HEntryID;
                            if (DBUtility.ClsPub.isInt(grdMain.Rows[i].Cells[HEntryIDCol].Value) == 0)
                            {
                                oSub.HEntryID = MaxRowNo + i;
                                grdMain.Rows[i].Cells[HEntryIDCol].Value = oSub.HEntryID;
                            }
                            else
                            {
                                oSub.HEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HEntryIDCol].Value);
                            }
                        }
                        else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
                        {
                            oSub.HEntryID = i + 1;
                        }
                        else
                        {
                            oSub.HEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HEntryIDCol].Value);
                            if (DBUtility.ClsPub.isInt(grdMain.Rows[i].Cells[HEntryIDCol].Value) == 0)
                            {
                                oSub.HEntryID = MaxRowNo + i;
                                grdMain.Rows[i].Cells[HEntryIDCol].Value = oSub.HEntryID;
                            }
                            else
                            {
                                oSub.HEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HEntryIDCol].Value);
                            }
                        }
                    }
                    else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
                    {
                        oSub.HEntryID = i + 1;
                    }
                    else
                    {
                        if (DBUtility.ClsPub.isInt(grdMain.Rows[i].Cells[HEntryIDCol].Value) == 0)
                        oSub.HRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HRemarkCol].Value);
                        oSub.HSourceInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceInterIDCol].Value);
                        oSub.HSourceEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceEntryIDCol].Value);
                        oSub.HSourceBillType = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSourceBillTypeCol].Value);
                        oSub.HSourceBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSourceBillNoCol].Value);
                        oSub.HRelationQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQtyCol].Value);
                        oSub.HRelationQty_In = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_InCol].Value);
                        oSub.HRelationQty_Out = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_OutCol].Value);
                        oSub.HRelationQty_WWOrder = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_WWOrderCol].Value);
                        oSub.HRelationQty_Bad = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_BadCol].Value);
                        oSub.HRelationMoney = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationMoneyCol].Value);
                        oSub.HCloseMan = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HCloseManCol].Value);
                        oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEntryCloseDateCol].Value);
                        oSub.HCloseType = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HCloseTypeCol].Value);
                        //=============================
                        oSub.HQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HQtyCol].Value);
                        if (oSub.HQty <= 0)
                        {
                            oSub.HEntryID = MaxRowNo + i;
                            grdMain.Rows[i].Cells[HEntryIDCol].Value = oSub.HEntryID;
                            MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,流转卡数量不能为0或者小于0");
                            return false;
                        }
                        else
                        oSub.HProcNo = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcNoCol].Value);
                        if (oSub.HProcNo <= 0)
                        {
                            oSub.HEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HEntryIDCol].Value);
                            MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,流水号不能为0或者小于0");
                            return false;
                        }
                        oSub.HProcID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcIDCol].Value);
                        oSub.HProcNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcNumberCol].Value);
                        oSub.HWorkRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWorkRemarkCol].Value);
                        oSub.HCenterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HCenterIDCol].Value);
                        oSub.HDeptID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HDeptIDCol].Value);
                        oSub.HDeptNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HDeptNumberCol].Value);
                        //oSub.HGroupID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HGroupIDCol].Value);
                        oSub.HGroupNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HGroupNumberCol].Value);
                        oSub.HWorkerID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HWorkerIDCol].Value);
                        oSub.HWorkerNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWorkerNumberCol].Value);
                        oSub.HSourceID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceIDCol].Value);
                        oSub.HTimeUnit = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HTimeUnitCol].Value);
                        oSub.HPlanWorkTimes = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPlanWorkTimesCol].Value);
                        oSub.HPlanBeginDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HPlanBeginDateCol].Value);
                        oSub.HPlanEndDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HPlanEndDateCol].Value);
                        oSub.HRelBeginDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HRelBeginDateCol].Value);
                        oSub.HRelEndDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HRelEndDateCol].Value);
                        oSub.HReadyTime = 0;
                        oSub.HQueueTime = 0;
                        oSub.HMoveTime = 0;
                        oSub.HBeginDayQty = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HBeginDayQtyCol].Value);
                        oSub.HBeginFixQty = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HBeginFixQtyCol].Value);
                        oSub.HFixWorkDays = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HFixWorkDaysCol].Value);
                        oSub.HTrunWorkDays = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HTrunWorkDaysCol].Value);
                        oSub.HReadyTimes = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HReadyTimesCol].Value);
                        oSub.HMyWorkDays = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HMyWorkDaysCol].Value);
                        oSub.HOutPrice = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HOutPriceCol].Value);
                        oSub.HOutMoney = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HOutMoneyCol].Value);
                        oSub.HLastProc = "否";
                        oSub.HFstProc = "否";
                        oSub.HKeyProc = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HKeyProcCol].Value);
                        oSub.HSupID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSupIDCol].Value);
                        oSub.HSupFlag = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HSupFlagCol].Value);
                        oSub.HBackProc = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HBackProcCol].Value);
                        oSub.HEdit = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HEditCol].Value);
                        //if (oSub.HSourceID == 0)
                        //{
                        //    MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,生产资源不能为空");
                        //    return false;
                        //}
                        //
                        if (oSub.HCenterID == 0 && oSub.HSupFlag == false)
                        {
                            MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,工作中心或委外标记不能同时为空");
                            return false;
                        }
                        oSub.HICMOBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HICMOBillNoCol].Value);
                        oSub.HICMOInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HICMOInterIDCol].Value);
                        oSub.HICMOEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HICMOEntryIDCol].Value);
                        oSub.HSeOrderInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSeOrderInterIDCol].Value);
                        oSub.HSeOrderEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSeOrderEntryIDCol].Value);
                        oSub.HSeOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSeOrderBillNoCol].Value);
                        oSub.HWWOrderInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HWWOrderInterIDCol].Value);
                        oSub.HWWOrderEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HWWOrderEntryIDCol].Value);
                        oSub.HWWOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWWOrderBillNoCol].Value);
                        oSub.HSumPassRate = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HSumPassRateCol].Value);
                        oSub.HPassRate = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPassRateCol].Value);
                        oSub.HOverRate = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HOverRateCol].Value);
                        oSub.HMaxQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HMaxQtyCol].Value);
                        oSub.HTechnologyParameter = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HTechnologyParameterCol].Value);
                        oSub.HPicNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumCol].Value);
                        oSub.HProcCheckNote = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcCheckNoteCol].Value);
                        oSub.HMouldNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMouldNoCol].Value);
                        oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value);
                        BillNew.DetailColl.Add(oSub);
                    }
                    oSub.HRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HRemarkCol].Value);
                    oSub.HSourceInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceInterIDCol].Value);
                    oSub.HSourceEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceEntryIDCol].Value);
                    oSub.HSourceBillType = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSourceBillTypeCol].Value);
                    oSub.HSourceBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSourceBillNoCol].Value);
                    oSub.HRelationQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQtyCol].Value);
                    oSub.HRelationQty_In = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_InCol].Value);
                    oSub.HRelationQty_Out = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_OutCol].Value);
                    oSub.HRelationQty_WWOrder = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_WWOrderCol].Value);
                    oSub.HRelationQty_Bad = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQty_BadCol].Value);
                    oSub.HRelationMoney = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationMoneyCol].Value);
                    oSub.HCloseMan = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HCloseManCol].Value);
                    oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEntryCloseDateCol].Value);
                    oSub.HCloseType = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HCloseTypeCol].Value);
                    //=============================
                    oSub.HQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HQtyCol].Value);
                    if (oSub.HQty <= 0)
                    {
                        MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,流转卡数量不能为0或者小于0");
                        return false;
                    }
                    oSub.HProcNo = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcNoCol].Value);
                    if (oSub.HProcNo <= 0)
                    {
                        MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,流水号不能为0或者小于0");
                        return false;
                    }
                    oSub.HProcID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcIDCol].Value);
                    oSub.HProcNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcNumberCol].Value);
                    oSub.HWorkRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWorkRemarkCol].Value);
                    oSub.HCenterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HCenterIDCol].Value);
                    oSub.HDeptID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HDeptIDCol].Value);
                    oSub.HDeptNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HDeptNumberCol].Value);
                    //oSub.HGroupID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HGroupIDCol].Value);
                    oSub.HGroupNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HGroupNumberCol].Value);
                    oSub.HWorkerID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HWorkerIDCol].Value);
                    oSub.HWorkerNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWorkerNumberCol].Value);
                    oSub.HSourceID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceIDCol].Value);
                    oSub.HTimeUnit = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HTimeUnitCol].Value);
                    oSub.HPlanWorkTimes = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPlanWorkTimesCol].Value);
                    oSub.HPlanBeginDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HPlanBeginDateCol].Value);
                    oSub.HPlanEndDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HPlanEndDateCol].Value);
                    oSub.HRelBeginDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HRelBeginDateCol].Value);
                    oSub.HRelEndDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HRelEndDateCol].Value);
                    oSub.HReadyTime = 0;
                    oSub.HQueueTime = 0;
                    oSub.HMoveTime = 0;
                    oSub.HBeginDayQty = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HBeginDayQtyCol].Value);
                    oSub.HBeginFixQty = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HBeginFixQtyCol].Value);
                    oSub.HFixWorkDays = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HFixWorkDaysCol].Value);
                    oSub.HTrunWorkDays = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HTrunWorkDaysCol].Value);
                    oSub.HReadyTimes = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HReadyTimesCol].Value);
                    oSub.HMyWorkDays = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HMyWorkDaysCol].Value);
                    oSub.HOutPrice = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HOutPriceCol].Value);
                    oSub.HOutMoney = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HOutMoneyCol].Value);
                    oSub.HLastProc = "否";
                    oSub.HFstProc = "否";
                    oSub.HKeyProc = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HKeyProcCol].Value);
                    oSub.HSupID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSupIDCol].Value);
                    oSub.HSupFlag = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HSupFlagCol].Value);
                    oSub.HBackProc = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HBackProcCol].Value);
                    oSub.HEdit = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HEditCol].Value);
                    //if (oSub.HSourceID == 0)
                    //{
                    //    MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,生产资源不能为空");
                    //    return false;
                    //}
                    //
                    if (oSub.HCenterID == 0 && oSub.HSupFlag == false)
                    {
                        MessageBox.Show("第" + ClsPub.isStrNull(i + 1) + "行,工作中心或委外标记不能同时为空");
                        return false;
                    }
                    oSub.HICMOBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HICMOBillNoCol].Value);
                    oSub.HICMOInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HICMOInterIDCol].Value);
                    oSub.HICMOEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HICMOEntryIDCol].Value);
                    oSub.HSeOrderInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSeOrderInterIDCol].Value);
                    oSub.HSeOrderEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSeOrderEntryIDCol].Value);
                    oSub.HSeOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSeOrderBillNoCol].Value);
                    oSub.HWWOrderInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HWWOrderInterIDCol].Value);
                    oSub.HWWOrderEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HWWOrderEntryIDCol].Value);
                    oSub.HWWOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWWOrderBillNoCol].Value);
                    oSub.HSumPassRate = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HSumPassRateCol].Value);
                    oSub.HPassRate = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPassRateCol].Value);
                    oSub.HOverRate = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HOverRateCol].Value);
                    oSub.HMaxQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HMaxQtyCol].Value);
                    oSub.HTechnologyParameter = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HTechnologyParameterCol].Value);
                    oSub.HPicNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumCol].Value);
                    oSub.HProcCheckNote = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcCheckNoteCol].Value);
                    oSub.HMouldNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMouldNoCol].Value);
                    oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value);
                    BillNew.DetailColl.Add(oSub);
                }
            }
            //保存完毕后处理
            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
            {
                bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo);
            }
            else
            {
                bResult = BillNew.ModifyBill(BillNew.omodel.HInterID, ref ClsPub.sExeReturnInfo);
            }
            //提示
            if (bResult == true)
            {
                BillChange = true;
                MessageBox.Show("单据存盘完毕!单据号:" + this.txtHBillNo.Text.Trim(), "提示");
                //保存完毕后处理
                if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
                {
                    BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
                    BillOld.omodel.HInterID = BillNew.omodel.HInterID;
                    this.Sub_ShowBill();
                    bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo);
                }
                else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                else
                {
                    BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
                    this.Sub_ShowBill();
                    bResult = BillNew.ModifyBill(BillNew.omodel.HInterID, ref ClsPub.sExeReturnInfo);
                }
                this.Sub_OperStatus();
                return true;
                //提示
                if (bResult == true)
                {
                    BillChange = true;
                    MessageBox.Show("单据存盘完毕!单据号:" + this.txtHBillNo.Text.Trim(), "提示");
                    if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
                    {
                        BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
                        BillOld.omodel.HInterID = BillNew.omodel.HInterID;
                        this.Sub_ShowBill();
                    }
                    else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                    {
                        BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
                        this.Sub_ShowBill();
                    }
                    this.Sub_OperStatus();
                    return true;
                }
                else
                {
                    MessageBox.Show("保存失败!原因:" + ClsPub.sExeReturnInfo, "提示");
                    return false;
                }
            }
            else
            catch(Exception e1)
            {
                MessageBox.Show("保存失败!原因:" + ClsPub.sExeReturnInfo, "提示");
                MessageBox.Show(ClsPub.sExeReturnInfo + e1.Message);
                return false;
            }
        }