zzr99
2022-05-27 65abf21e0f3f3c0d9e5c3d348dce4c56c92e9bde
工序流转
10个文件已修改
1884 ■■■■■ 已修改文件
DAL/车间管理/ClsSc_ProcessExchangeBill.cs 122 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/车间管理/ClsSc_ProcessExchangeBillMain.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/车间管理/ClsSc_ProcessExchangeBillSub.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs 654 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/生产管理/报工台工序/Sc_MESBeginStepWorkBillController.cs 76 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/生产管理/生产任务单/Sc_ICMOBillController.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/ListModels.cs 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/Sc_ProcessExchangeBill.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/Sc_ProcessExchangeBill.designer.cs 894 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/Sc_ProcessExchangeBill.resx 82 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/³µ¼ä¹ÜÀí/ClsSc_ProcessExchangeBill.cs
@@ -58,8 +58,7 @@
            {
                //
                oCn.BeginTran();
                //更新主表
                oCn.RunProc("UpDate Sc_ProcessExchangeBillMain set  " +
                string sql = string.Format(@"UpDate Sc_ProcessExchangeBillMain set  " +
                " HBillNo='" + omodel.HBillNo + "'" +  //固定赋值===============
                ",HDate='" + omodel.HDate + "'" +
                ",HYear='" + omodel.HYear.ToString() + "'" +
@@ -121,6 +120,8 @@
                //加入生产类型
                ",HWorkTypeNum='" + omodel.HWorkTypeNum + "'" +
                " where HInterID=" + lngBillKey.ToString());
                //更新主表
                oCn.RunProc(sql);
                //删除关联
                DeleteRelation(ref sReturn, lngBillKey);
                //删除子表
@@ -129,7 +130,8 @@
                omodel.HInterID = lngBillKey;
                foreach (Model.ClsSc_ProcessExchangeBillSub oSub in DetailColl)
                {
                    oCn.RunProc("Insert into Sc_ProcessExchangeBillSub " +
                    string sql1 = string.Format(@"Insert into Sc_ProcessExchangeBillSub " +
                      " (HInterID,HEntryID,HBillNo_bak," +
                      "HCloseMan,HEntryCloseDate,HCloseType,HRemark," +
                      "HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType," +
@@ -147,26 +149,27 @@
                      ",HLastProc,HKeyProc,HFstProc,HICMOInterID,HICMOBillNo,HWWOrderInterID," +
                      "HWWOrderEntryID,HWWOrderBillNo,HReportQty,HBackProc" +
                      ",HSupID,HSupFlag,HOverRate,HMaxQty,HTechnologyParameter,HProcCheckNote,HPicNum" +
                      ",HMouldNo,HProcWorkNum" +
                      ",HMouldNo,HProcWorkNum,HSeOrderInterID,HSeOrderEntryID" +
                      ") values("
                      + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + omodel.HBillNo + "'" +
                      ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" +
                      "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "',"
                      + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + "," + oSub.HRelationQty_In.ToString() + ","
                      "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "',"
                      + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + "," + oSub.HRelationQty_In.ToString() + ","
                      + oSub.HRelationQty_Out.ToString() + "," + oSub.HRelationQty_WWOrder.ToString() + "," + oSub.HRelationQty_Bad.ToString() +
                      "," + oSub.HProcNo.ToString() + "," + oSub.HProcID.ToString() + ",'" + oSub.HProcNumber + "','" + oSub.HWorkRemark + "'" +
                      "," + oSub.HCenterID.ToString() + "," + oSub.HDeptID.ToString() + ",'" + oSub.HDeptNumber + "'," + oSub.HGroupID.ToString() +
                      ",'" + oSub.HGroupNumber + "'," + oSub.HWorkerID.ToString() + ",'" + oSub.HWorkerNumber + "'," + oSub.HSourceID.ToString() +
                      ",'" + oSub.HQty + "','" + oSub.HTimeUnit + "','" + oSub.HPlanWorkTimes + "','" + oSub.HPlanBeginDate.ToShortDateString() + "'" +
                      ",'" + oSub.HPlanEndDate.ToShortDateString() + "','" + oSub.HRelBeginDate.ToShortDateString() + "','" + oSub.HRelEndDate.ToShortDateString() + "'" +
                      ",'" + oSub.HQty + "','" + oSub.HTimeUnit + "','" + oSub.HPlanWorkTimes + "','" + omodel.HPlanBeginDate.ToShortDateString() + "'" +
                      ",'" + omodel.HPlanEndDate.ToShortDateString() + "',getdate(),getdate()" +
                      "," + oSub.HReadyTime.ToString() + "," + oSub.HQueueTime.ToString() + "," + oSub.HMoveTime.ToString() + "," + oSub.HBeginDayQty.ToString() +
                      "," + oSub.HBeginFixQty.ToString() + "," + oSub.HFixWorkDays.ToString() + "," + oSub.HTrunWorkDays.ToString() + "," + oSub.HReadyTimes.ToString() +
                      "," + oSub.HMyWorkDays.ToString() + "," + oSub.HOutPrice.ToString() + "," + oSub.HOutMoney.ToString() + "," + oSub.HPassRate.ToString() + ",'" + oSub.HLastProc + "'" +
                      ",'" + 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() + "'" +
                      ",'" + oSub.HMouldNo?.ToString() + "','" + oSub.HProcWorkNum?.ToString() + "','"+ omodel.HSeOrderInterID.ToString() + "','"+ omodel.HSeOrderEntryID.ToString() + "'"+
                      ") ");
                    oCn.RunProc(sql1);
                }
                //
                oCn.RunProc("exec h_p_Sc_ProcessExchangeBill_SetRemark " + omodel.HInterID.ToString()); //设置 å¤‡æ³¨ ä¸º å·¥è‰ºæµ
@@ -305,100 +308,45 @@
                //插入子表
                foreach (Model.ClsSc_ProcessExchangeBillSub oSub in DetailColl)
                {
                    string HInterID = omodel.HInterID.ToString();
                    string HEntryID = oSub.HEntryID.ToString();
                    string HBillNo = omodel.HBillNo;
                    string HCloseMan = oSub.HCloseMan;
                    string HEntryCloseDate = oSub.HEntryCloseDate.ToString();
                    string HCloseType = Convert.ToString(oSub.HCloseType ? 1 : 0);
                    string HRemark = oSub.HRemark;
                    string HSourceInterID = oSub.HSourceInterID.ToString();
                    string HSourceEntryID = oSub.HSourceEntryID.ToString();
                    string HSourceBillNo = oSub.HSourceBillNo;
                    string HSourceBillType = oSub.HSourceBillType;
                    string HRelationQty = oSub.HRelationQty.ToString();
                    string HRelationMoney = oSub.HRelationMoney.ToString();
                    string HProcNo = oSub.HProcNo.ToString();
                    string HProcID = oSub.HProcID.ToString();
                    string HProcNumber = oSub.HProcNumber;
                    string HWorkRemark = oSub.HWorkRemark;
                    string HCenterID = oSub.HCenterID.ToString();
                    string HDeptID = oSub.HDeptID.ToString();
                    string HDeptNumber = oSub.HDeptNumber;
                    string HGroupID = oSub.HGroupID.ToString();
                    string HGroupNumber = oSub.HGroupNumber;
                    string HWorkerID = oSub.HWorkerID.ToString();
                    string HWorkerNumber = oSub.HWorkerNumber;
                    string HSourceID = oSub.HSourceID.ToString();
                    string HQty = oSub.HQty.ToString();
                    string HTimeUnit = oSub.HTimeUnit;
                    string HPlanWorkTimes = oSub.HPlanWorkTimes.ToString();
                    string HPlanBeginDate = oSub.HPlanBeginDate.ToShortDateString();
                    string HPlanEndDate = oSub.HPlanEndDate.ToShortDateString();
                    string HRelBeginDate = oSub.HRelBeginDate.ToShortDateString();
                    string HRelEndDate = oSub.HRelEndDate.ToShortDateString();
                    string HReadyTime = oSub.HReadyTime.ToString();
                    string HQueueTime = oSub.HQueueTime.ToString();
                    string HMoveTime = oSub.HMoveTime.ToString();
                    string HBeginDayQty = oSub.HBeginDayQty.ToString();
                    string HBeginFixQty = oSub.HBeginFixQty.ToString();
                    string HFixWorkDays = oSub.HFixWorkDays.ToString();
                    string HTrunWorkDays = oSub.HTrunWorkDays.ToString();
                    string HReadyTimes = oSub.HReadyTimes.ToString();
                    string HMyWorkDays = oSub.HMyWorkDays.ToString();
                    string HOutPrice = oSub.HOutPrice.ToString();
                    string HOutMoney = oSub.HOutMoney.ToString();
                    string HPassRate = oSub.HPassRate.ToString();
                    string HLastProc = oSub.HLastProc;
                    string HKeyProc = oSub.HKeyProc;
                    string HFstProc = oSub.HFstProc;
                    string HICMOInterID = oSub.HICMOInterID.ToString();
                    string HICMOBillNo = oSub.HICMOBillNo;
                    string HWWOrderInterID = oSub.HWWOrderInterID.ToString();
                    string HWWOrderEntryID = oSub.HWWOrderEntryID.ToString();
                    string HWWOrderBillNo = oSub.HWWOrderBillNo;
                    string HReportQty = oSub.HReportQty.ToString();
                    string HBackProc = Convert.ToString(oSub.HBackProc ? 1 : 0);
                    string HSupID = oSub.HSupID.ToString();
                    string HSupFlag = Convert.ToString(oSub.HSupFlag ? 1 : 0);
                    string HOverRate = oSub.HOverRate.ToString();
                    string HMaxQty = oSub.HMaxQty.ToString();
                    string HTechnologyParameter = oSub.HTechnologyParameter;
                    string HProcCheckNote = oSub.HProcCheckNote;
                    string HPicNum = oSub.HPicNum;
                    string HMouldNo = oSub.HMouldNo.ToString();
                    string HProcWorkNum = oSub.HProcWorkNum.ToString();
                    oCn.RunProc("Insert into Sc_ProcessExchangeBillSub " +
                    string sql1 = string.Format(@"Insert into Sc_ProcessExchangeBillSub " +
                      " (HInterID,HEntryID,HBillNo_bak," +
                      "HCloseMan,HEntryCloseDate,HCloseType,HRemark," +
                      "HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney," +
                      "HProcNo,HProcID,HProcNumber,HWorkRemark,HCenterID,HDeptID" +
                      ",HDeptNumber,HGroupID,HGroupNumber,HWorkerID,HWorkerNumber,HSourceID" +
                      ",HQty,HTimeUnit,HPlanWorkTimes,HPlanBeginDate,HPlanEndDate,HRelBeginDate" +
                      "HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType," +
                      "HRelationQty,HRelationMoney,HRelationQty_In," +
                      "HRelationQty_Out,HRelationQty_WWOrder,HRelationQty_Bad," +
                      "HProcNo,HProcID,HProcNumber,HWorkRemark," +
                      "HCenterID,HDeptID" +
                      ",HDeptNumber,HGroupID," +
                      "HGroupNumber,HWorkerID,HWorkerNumber,HSourceID" +
                      ",HQty,HTimeUnit,HPlanWorkTimes,HPlanBeginDate," +
                      "HPlanEndDate,HRelBeginDate" +
                      ",HRelEndDate,HReadyTime,HQueueTime,HMoveTime,HBeginDayQty,HBeginFixQty" +
                      ",HFixWorkDays,HTrunWorkDays,HReadyTimes,HMyWorkDays,HOutPrice,HOutMoney,HPassRate" +
                      ",HLastProc,HKeyProc,HFstProc,HICMOInterID,HICMOBillNo,HWWOrderInterID,HWWOrderEntryID,HWWOrderBillNo,HReportQty,HBackProc" +
                      ",HFixWorkDays,HTrunWorkDays,HReadyTimes," +
                      "HMyWorkDays,HOutPrice,HOutMoney,HPassRate" +
                      ",HLastProc,HKeyProc,HFstProc,HICMOInterID,HICMOBillNo,HWWOrderInterID," +
                      "HWWOrderEntryID,HWWOrderBillNo,HReportQty,HBackProc" +
                      ",HSupID,HSupFlag,HOverRate,HMaxQty,HTechnologyParameter,HProcCheckNote,HPicNum" +
                      ",HMouldNo,HProcWorkNum" +
                      ",HMouldNo,HProcWorkNum,HSeOrderInterID,HSeOrderEntryID" +
                      ") values("
                      + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + omodel.HBillNo + "'" +
                      ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" +
                      "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
                      "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "',"
                      + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + "," + oSub.HRelationQty_In.ToString() + ","
                      + oSub.HRelationQty_Out.ToString() + "," + oSub.HRelationQty_WWOrder.ToString() + "," + oSub.HRelationQty_Bad.ToString() +
                      "," + oSub.HProcNo.ToString() + "," + oSub.HProcID.ToString() + ",'" + oSub.HProcNumber + "','" + oSub.HWorkRemark + "'" +
                      "," + oSub.HCenterID.ToString() + "," + oSub.HDeptID.ToString() + ",'" + oSub.HDeptNumber + "'," + oSub.HGroupID.ToString() +
                      ",'" + oSub.HGroupNumber + "'," + oSub.HWorkerID.ToString() + ",'" + oSub.HWorkerNumber + "'," + oSub.HSourceID.ToString() +
                      ",'" + oSub.HQty + "','" + oSub.HTimeUnit + "','" + oSub.HPlanWorkTimes + "','" + oSub.HPlanBeginDate.ToShortDateString() + "'" +
                      ",'" + oSub.HPlanEndDate.ToShortDateString() + "','" + oSub.HRelBeginDate.ToShortDateString() + "','" + oSub.HRelEndDate.ToShortDateString() + "'" +
                      ",'" + oSub.HQty + "','" + oSub.HTimeUnit + "','" + oSub.HPlanWorkTimes + "','" + omodel.HPlanBeginDate.ToShortDateString() + "'" +
                      ",'" + omodel.HPlanEndDate.ToShortDateString() + "',getdate(),getdate()" +
                      "," + oSub.HReadyTime.ToString() + "," + oSub.HQueueTime.ToString() + "," + oSub.HMoveTime.ToString() + "," + oSub.HBeginDayQty.ToString() +
                      "," + oSub.HBeginFixQty.ToString() + "," + oSub.HFixWorkDays.ToString() + "," + oSub.HTrunWorkDays.ToString() + "," + oSub.HReadyTimes.ToString() +
                      "," + oSub.HMyWorkDays.ToString() + "," + oSub.HOutPrice.ToString() + "," + oSub.HOutMoney.ToString() + "," + oSub.HPassRate.ToString() + ",'" + oSub.HLastProc + "'" +
                      ",'" + 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() + "'" +
                      "," + 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() + "'" +
                      ") ");
                    oCn.RunProc(sql1);
                    //更新所选流转卡数量
                    if (!oSub.HBackProc)
                    {
Model/³µ¼ä¹ÜÀí/ClsSc_ProcessExchangeBillMain.cs
@@ -64,5 +64,7 @@
        public string HMaterTexture;//材质
        public string HProductNum;//成品编号
        public string HVerNum;//版本
        public string HSeOrderEntryID;
        public string HSeOrderInterID;
    }
}
Model/³µ¼ä¹ÜÀí/ClsSc_ProcessExchangeBillSub.cs
@@ -73,3 +73,5 @@
        public string HProcWorkNum;//程序号
    }
}
WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
@@ -18,6 +18,7 @@
        SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
        DataSet ds;
        #region[新增单据-保存按钮]
        /// <summary>
        /// æ–°å¢žå•据-保存按钮
        ///参数:string sql。
@@ -29,237 +30,93 @@
        {
            var _value = sMainSub["sMainSub"].ToString();
            string msg1 = _value.ToString();
            //保存单据
            return objJsonResult = AddBillMain(msg1);
        }
        public json AddBillMain(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();//用户名
            string msg4 = sArray[2].ToString();
            //判断是否有编辑权限
            if (!DBUtility.ClsPub.Security_Log("Sc_ProcessExchangeBill_Edit", 1, false, user))
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "无编辑权限!";
                objJsonResult.data = null;
                return objJsonResult;
            }
            bool bResult;
            string UserName = "";
            ListModels oListModels = new ListModels();
            try
            {
                msg2 = "[" + msg2.ToString() + "]";
                List<Model.ClsSc_ProcessExchangeBillMain> mainList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillMain>>(msg2);
                DAL.ClsSc_ProcessExchangeBill BillNew = new DAL.ClsSc_ProcessExchangeBill();
                //判断会计期是否合理
                string s = "";
                int sYear = 0;
                int sPeriod = 0;
                DateTime HDate = mainList[0].HDate;//日期
                if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false)
                if (!DBUtility.ClsPub.Security_Log("Sc_ProcessExchangeBill_Edit", 1, false, msg4))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = s;
                    objJsonResult.Message = "无保存权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                BillNew.omodel.HPRDORGID= mainList[0].HPRDORGID;//组织
                BillNew.omodel.HInterID = mainList[0].HInterID;//递入type得到的单据ID
                BillNew.omodel.HYear = sYear;
                BillNew.omodel.HPeriod = sPeriod;
                BillNew.omodel.HBillNo = mainList[0].HBillNo;//递入type得到的单据号
                BillNew.omodel.HDate = HDate;
                BillNew.omodel.HRemark = mainList[0].HRemark;//备注
                BillNew.omodel.HMaker = mainList[0].HMaker;
                BillNew.omodel.HWWOrderInterID = ClsPub.isLong(mainList[0].HWWOrderInterID);
                BillNew.omodel.HWWOrderEntryID = ClsPub.isLong(mainList[0].HWWOrderEntryID);
                BillNew.omodel.HWWOrderBillNo = ClsPub.isStrNull(mainList[0].HWWOrderBillNo);
                BillNew.omodel.HICMOInterID = ClsPub.isLong(mainList[0].HICMOInterID);
                BillNew.omodel.HICMOEntryID = ClsPub.isLong(mainList[0].HICMOEntryID);
                BillNew.omodel.HICMOBillNo = ClsPub.isStrNull(mainList[0].HICMOBillNo);
                BillNew.omodel.HMaterID2 = ClsPub.isLong(mainList[0].HMaterID2);
                BillNew.omodel.HMaterID = ClsPub.isLong(mainList[0].HMaterID);
                BillNew.omodel.HMaterNumber = ClsPub.isStrNull(mainList[0].HMaterNumber);
                BillNew.omodel.HBatchNo = ClsPub.isStrNull(mainList[0].HBatchNo);
                BillNew.omodel.HUnitID = ClsPub.isLong(mainList[0].HUnitID);
                BillNew.omodel.HUnitNumber = ClsPub.isStrNull(mainList[0].HUnitNumber);
                BillNew.omodel.HPlanQty = ClsPub.isDoule(mainList[0].HPlanQty);
                BillNew.omodel.HQty = ClsPub.isDoule(mainList[0].HQty);
                BillNew.omodel.HPlanBeginDate = ClsPub.isDate(mainList[0].HPlanBeginDate);
                BillNew.omodel.HPlanEndDate = ClsPub.isDate(mainList[0].HPlanEndDate);
                BillNew.omodel.HExplanation = ClsPub.isStrNull(mainList[0].HExplanation);
                BillNew.omodel.HInnerBillNo = ClsPub.isStrNull(mainList[0].HInnerBillNo);
                BillNew.omodel.HWorkShopID = ClsPub.isLong(mainList[0].HWorkShopID);
                BillNew.omodel.HSupID = ClsPub.isLong(mainList[0].HSupID);
                BillNew.omodel.HBLFlag = mainList[0].HBLFlag;
                BillNew.omodel.HMainMaterID = ClsPub.isLong(mainList[0].HMainMaterID);
                BillNew.omodel.HKeyMaterID = ClsPub.isLong(mainList[0].HKeyMaterID);
                BillNew.omodel.HOrderProcNO = ClsPub.isStrNull(mainList[0].HOrderProcNO);
                BillNew.omodel.HEquipMentID = ClsPub.isLong(mainList[0].HEquipMentID);
                BillNew.omodel.HMateOutBatchNo = ClsPub.isStrNull(mainList[0].HMateOutBatchNo);
                BillNew.omodel.HProjectNum = ClsPub.isStrNull(mainList[0].HProjectNum);
                BillNew.omodel.HProdMaterCode = ClsPub.isStrNull(mainList[0].HProdMaterCode);
                BillNew.omodel.HSeOrderBillNo = ClsPub.isStrNull(mainList[0].HSeOrderBillNo);
                BillNew.omodel.HCusShortName = ClsPub.isStrNull(mainList[0].HCusShortName);
                BillNew.omodel.HCusNeedMaterial = ClsPub.isStrNull(mainList[0].HCusNeedMaterial);
                BillNew.omodel.HPlanSendGoodsDate = ClsPub.isStrNull(mainList[0].HPlanSendGoodsDate);
                BillNew.omodel.HProdMaterName = ClsPub.isStrNull(mainList[0].HProdMaterName);
                BillNew.omodel.HCusName = ClsPub.isStrNull(mainList[0].HCusName);
                BillNew.omodel.HWorkRemark = ClsPub.isStrNull(mainList[0].HWorkRemark);
                BillNew.omodel.HImportNote = ClsPub.isStrNull(mainList[0].HImportNote);
                BillNew.omodel.HMaterNumber_A = ClsPub.isStrNull(mainList[0].HMaterNumber_A);
                BillNew.omodel.HMaterNumber_B = ClsPub.isStrNull(mainList[0].HMaterNumber_B);
                BillNew.omodel.HMaterNumber_C = ClsPub.isStrNull(mainList[0].HMaterNumber_C);
                BillNew.omodel.HMaterNumber_D = ClsPub.isStrNull(mainList[0].HMaterNumber_D);
                BillNew.omodel.HProdType = ClsPub.isStrNull(mainList[0].HProdType);
                BillNew.omodel.HMaterShortName = ClsPub.isStrNull(mainList[0].HMaterShortName);
                BillNew.omodel.HMaterIDA = ClsPub.isStrNull(mainList[0].HMaterIDA);
                BillNew.omodel.HMaterIDB = ClsPub.isStrNull(mainList[0].HMaterIDB);
                BillNew.omodel.HMaterIDC = ClsPub.isStrNull(mainList[0].HMaterIDC);
                BillNew.omodel.HMaterIDD = ClsPub.isStrNull(mainList[0].HMaterIDD);
                List<Model.ClsSc_ProcessExchangeBillSub> subList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillSub>>(msg3);
                BillNew.DetailColl = new List<Model.ClsSc_ProcessExchangeBillSub>();
                if (BillNew.omodel.HICMOInterID == 0)
                DAL.ClsSc_ProcessExchangeBill oBill = new DAL.ClsSc_ProcessExchangeBill();
                List<Model.ClsSc_ProcessExchangeBillMain> lsmain = new List<Model.ClsSc_ProcessExchangeBillMain>();
                msg2 = msg2.Replace("\\", "");
                msg2 = msg2.Replace("\n", "");  //\n
                lsmain = oListModels.getObjectByJson_Sc_ProcessExchangeBillMain(msg2);
                foreach (Model.ClsSc_ProcessExchangeBillMain oItem in lsmain)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "请选择任务单!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                for (int i = 0; i < subList.ToArray().Length; i++)
                {
                    if (DBUtility.ClsPub.isInt(subList[i].HProcID) != 0)//HQty
                    UserName = oItem.HMaker;  //制单人
                    oItem.HBillType = "3772";
                    oItem.HBillSubType = "3772";
                    oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));//  --日期
                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
                    if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")
                    {
                        Model.ClsSc_ProcessExchangeBillSub oSub = new Model.ClsSc_ProcessExchangeBillSub();
                        oSub.HEntryID = i+1;
                        oSub.HRemark = DBUtility.ClsPub.isStrNull(subList[i].HRemark);
                        oSub.HSourceInterID = ClsPub.isLong(mainList[0].HICMOInterID);
                        oSub.HSourceEntryID = ClsPub.isLong(mainList[0].HICMOEntryID);
                        oSub.HSourceBillType = "85";
                        oSub.HSourceBillNo = ClsPub.isStrNull(mainList[0].HICMOBillNo);
                        oSub.HRelationQty = DBUtility.ClsPub.isDoule(subList[i].HRelationQty);
                        //oSub.HRelationQty_In = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_In);
                        //oSub.HRelationQty_Out = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_Out);
                        //oSub.HRelationQty_WWOrder = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_WWOrder);
                        //oSub.HRelationQty_Bad = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_Bad);
                        oSub.HRelationMoney = DBUtility.ClsPub.isDoule(subList[i].HRelationMoney);
                        oSub.HCloseMan = DBUtility.ClsPub.isStrNull(subList[i].HCloseMan);
                        oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(subList[i].HEntryCloseDate);
                        oSub.HCloseType = DBUtility.ClsPub.isBool(subList[i].HCloseType);
                        oSub.HQty = DBUtility.ClsPub.isDoule(subList[i].HQty);
                        if (oSub.HQty <= 0)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "第" + ClsPub.isStrNull(i + 1) + "行,流转卡数量不能为0或者小于0";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                        oSub.HProcNo = DBUtility.ClsPub.isLong(subList[i].HProcNo);
                        if (oSub.HProcNo <= 0)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "第" + ClsPub.isStrNull(i + 1) + "行,流水号不能为0或者小于0";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                        oSub.HProcID = DBUtility.ClsPub.isLong(subList[i].HProcID);
                        oSub.HProcNumber = DBUtility.ClsPub.isStrNull(subList[i].HProcNumber);
                        oSub.HWorkRemark = DBUtility.ClsPub.isStrNull(subList[i].HWorkRemark);
                        oSub.HCenterID = DBUtility.ClsPub.isLong(subList[i].HCenterID);
                        oSub.HDeptID = DBUtility.ClsPub.isLong(subList[i].HDeptID);
                        oSub.HDeptNumber = DBUtility.ClsPub.isStrNull(subList[i].HDeptNumber);
                        ////oSub.HGroupID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HGroupIDCol].Value);
                        oSub.HGroupNumber = DBUtility.ClsPub.isStrNull(subList[i].HGroupNumber);
                        oSub.HWorkerID = DBUtility.ClsPub.isLong(subList[i].HWorkerID);
                        oSub.HWorkerNumber = DBUtility.ClsPub.isStrNull(subList[i].HWorkerNumber);
                        oSub.HSourceID = DBUtility.ClsPub.isLong(subList[i].HSourceID);
                        oSub.HTimeUnit = DBUtility.ClsPub.isStrNull(subList[i].HTimeUnit);
                        oSub.HPlanWorkTimes = DBUtility.ClsPub.isSingle(subList[i].HPlanWorkTimes);
                        oSub.HPlanBeginDate = DBUtility.ClsPub.isDate(subList[i].HPlanBeginDate);
                        oSub.HPlanEndDate = DBUtility.ClsPub.isDate(subList[i].HPlanEndDate);
                        oSub.HRelBeginDate = DBUtility.ClsPub.isDate(subList[i].HRelBeginDate);
                        oSub.HRelEndDate = DBUtility.ClsPub.isDate(subList[i].HRelEndDate);
                        oSub.HReadyTime = 0;
                        oSub.HQueueTime = 0;
                        oSub.HMoveTime = 0;
                        oSub.HBeginDayQty = DBUtility.ClsPub.isSingle(subList[i].HBeginDayQty);
                        oSub.HBeginFixQty = DBUtility.ClsPub.isSingle(subList[i].HBeginFixQty);
                        oSub.HFixWorkDays = DBUtility.ClsPub.isSingle(subList[i].HFixWorkDays);
                        oSub.HTrunWorkDays = DBUtility.ClsPub.isSingle(subList[i].HTrunWorkDays);
                        oSub.HReadyTimes = DBUtility.ClsPub.isSingle(subList[i].HReadyTimes);
                        oSub.HMyWorkDays = DBUtility.ClsPub.isSingle(subList[i].HMyWorkDays);
                        oSub.HOutPrice = DBUtility.ClsPub.isSingle(subList[i].HOutPrice);
                        oSub.HOutMoney = DBUtility.ClsPub.isSingle(subList[i].HOutMoney);
                        oSub.HLastProc = "否";
                        oSub.HFstProc = "否";
                        oSub.HKeyProc = DBUtility.ClsPub.isStrNull(subList[i].HKeyProc);
                        oSub.HSupID = DBUtility.ClsPub.isLong(subList[i].HSupID);
                        oSub.HSupFlag = DBUtility.ClsPub.isBool(subList[i].isEntrust);
                        oSub.HBackProc = DBUtility.ClsPub.isBool(subList[i].HBackProc);
                        oSub.HEdit = DBUtility.ClsPub.isBool(subList[i].HEdit);
                        if (oSub.HCenterID == 0 && oSub.HSupFlag == false)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "第" + ClsPub.isStrNull(i + 1) + "行,工作中心或委外标记不能同时为空";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                        oSub.HICMOBillNo = DBUtility.ClsPub.isStrNull(subList[i].HICMOBillNo);
                        oSub.HICMOInterID = DBUtility.ClsPub.isLong(subList[i].HICMOInterID);
                        oSub.HSeOrderInterID = DBUtility.ClsPub.isLong(subList[i].HSeOrderInterID);
                        oSub.HSeOrderEntryID = DBUtility.ClsPub.isLong(subList[i].HSeOrderEntryID);
                        oSub.HSeOrderBillNo = DBUtility.ClsPub.isStrNull(subList[i].HSeOrderBillNo);
                        oSub.HWWOrderInterID = DBUtility.ClsPub.isLong(subList[i].HWWOrderInterID);
                        oSub.HWWOrderEntryID = DBUtility.ClsPub.isLong(subList[i].HWWOrderEntryID);
                        oSub.HWWOrderBillNo = DBUtility.ClsPub.isStrNull(subList[i].HWWOrderBillNo);
                        oSub.HSumPassRate = DBUtility.ClsPub.isSingle(subList[i].HSumPassRate);
                        oSub.HPassRate = DBUtility.ClsPub.isSingle(subList[i].HPassRate);
                        oSub.HOverRate = DBUtility.ClsPub.isDoule(subList[i].HOverRate);
                        oSub.HMaxQty = DBUtility.ClsPub.isDoule(subList[i].HMaxQty);
                        oSub.HTechnologyParameter = DBUtility.ClsPub.isStrNull(subList[i].HTechnologyParameter);
                        oSub.HPicNum = DBUtility.ClsPub.isStrNull(subList[i].HPicNum);
                        oSub.HProcCheckNote = DBUtility.ClsPub.isStrNull(subList[i].HProcCheckNote);
                        oSub.HMouldNo = "";
                        oSub.HProcWorkNum = "";
                        BillNew.DetailColl.Add(oSub);
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "保存失败!没有单据日期,无法保存!";
                        objJsonResult.data = 1;
                        return objJsonResult;
                    }
                    oBill.omodel = oItem;
                }
                //保存完毕后处理
                //if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
                //{
                //    bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo);
                //}
                //else
                //{
                //    bResult = BillNew.ModifyBill(BillNew.omodel.HInterID, ref ClsPub.sExeReturnInfo);
                //}
                bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo);
                //提示
                if (bResult == true)
                //表体数据
                //按 },{来拆分数组 //去掉【和】
                msg3 = msg3.Substring(1, msg3.Length - 2);
                msg3 = msg3.Replace("\\", "");
                msg3 = msg3.Replace("\n", "");  //\n
                //msg2 = msg2.Replace("'", "’");
                List<Model.ClsSc_ProcessExchangeBillSub> ls = new List<Model.ClsSc_ProcessExchangeBillSub>();
                ls = oListModels.getObjectByJson_Sc_ProcessExchangeBillSub(msg3);
                int i = 0;
                foreach (Model.ClsSc_ProcessExchangeBillSub oItemSub in ls)
                {
                    objJsonResult.code = "1";
                    i++;
                    oItemSub.HEntryID = i;
                    oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now);
                    oBill.DetailColl.Add(oItemSub);
                }
                //保存
                //保存完毕后处理
                bool bResult;
                if (oBill.omodel.HInterID == 0)
                {
                    // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                }
                else
                {
                    bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
                }
                if (bResult)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    //objJsonResult.Message = "单据存盘完毕!单据号:" + mainList[0].HBillNo.Trim();
                    objJsonResult.Message = ClsPub.sExeReturnInfo+"单据号:" + mainList[0].HBillNo.Trim();
                    objJsonResult.data = null;
                    objJsonResult.Message = "保存成功!";
                    //WebAPIController.Add_Log("送货单下推", UserName, "生成送货单");
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "保存失败!原因:" + ClsPub.sExeReturnInfo;
                    objJsonResult.data = null;
                    objJsonResult.Message = "保存失败!" + DBUtility.ClsPub.sExeReturnInfo;
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
            }
@@ -267,12 +124,254 @@
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                objJsonResult.Message = "保存失败!" + e.ToString();
                objJsonResult.data = 1;
                return objJsonResult;
            }
        }
        //public json AddBillMain(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();//用户名
        //    //判断是否有编辑权限
        //    if (!DBUtility.ClsPub.Security_Log("Sc_ProcessExchangeBill_Edit", 1, false, user))
        //    {
        //        objJsonResult.code = "0";
        //        objJsonResult.count = 0;
        //        objJsonResult.Message = "无编辑权限!";
        //        objJsonResult.data = null;
        //        return objJsonResult;
        //    }
        //    bool bResult;
        //    try
        //    {
        //        msg2 = "[" + msg2.ToString() + "]";
        //        List<Model.ClsSc_ProcessExchangeBillMain> mainList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillMain>>(msg2);
        //        DAL.ClsSc_ProcessExchangeBill BillNew = new DAL.ClsSc_ProcessExchangeBill();
        //        //判断会计期是否合理
        //        string s = "";
        //        int sYear = 0;
        //        int sPeriod = 0;
        //        DateTime HDate = mainList[0].HDate;//日期
        //        if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false)
        //        {
        //            objJsonResult.code = "0";
        //            objJsonResult.count = 0;
        //            objJsonResult.Message = s;
        //            objJsonResult.data = null;
        //            return objJsonResult;
        //        }
        //        BillNew.omodel.HPRDORGID= mainList[0].HPRDORGID;//组织
        //        BillNew.omodel.HInterID = mainList[0].HInterID;//递入type得到的单据ID
        //        BillNew.omodel.HYear = sYear;
        //        BillNew.omodel.HPeriod = sPeriod;
        //        BillNew.omodel.HBillNo = mainList[0].HBillNo;//递入type得到的单据号
        //        BillNew.omodel.HDate = HDate;
        //        BillNew.omodel.HRemark = mainList[0].HRemark;//备注
        //        BillNew.omodel.HMaker = mainList[0].HMaker;
        //        BillNew.omodel.HWWOrderInterID = ClsPub.isLong(mainList[0].HWWOrderInterID);
        //        BillNew.omodel.HWWOrderEntryID = ClsPub.isLong(mainList[0].HWWOrderEntryID);
        //        BillNew.omodel.HWWOrderBillNo = ClsPub.isStrNull(mainList[0].HWWOrderBillNo);
        //        BillNew.omodel.HICMOInterID = ClsPub.isLong(mainList[0].HICMOInterID);
        //        BillNew.omodel.HICMOEntryID = ClsPub.isLong(mainList[0].HICMOEntryID);
        //        BillNew.omodel.HICMOBillNo = ClsPub.isStrNull(mainList[0].HICMOBillNo);
        //        BillNew.omodel.HMaterID2 = ClsPub.isLong(mainList[0].HMaterID2);
        //        BillNew.omodel.HMaterID = ClsPub.isLong(mainList[0].HMaterID);
        //        BillNew.omodel.HMaterNumber = ClsPub.isStrNull(mainList[0].HMaterNumber);
        //        BillNew.omodel.HBatchNo = ClsPub.isStrNull(mainList[0].HBatchNo);
        //        BillNew.omodel.HUnitID = ClsPub.isLong(mainList[0].HUnitID);
        //        BillNew.omodel.HUnitNumber = ClsPub.isStrNull(mainList[0].HUnitNumber);
        //        BillNew.omodel.HPlanQty = ClsPub.isDoule(mainList[0].HPlanQty);
        //        BillNew.omodel.HQty = ClsPub.isDoule(mainList[0].HQty);
        //        BillNew.omodel.HPlanBeginDate = ClsPub.isDate(mainList[0].HPlanBeginDate);
        //        BillNew.omodel.HPlanEndDate = ClsPub.isDate(mainList[0].HPlanEndDate);
        //        BillNew.omodel.HExplanation = ClsPub.isStrNull(mainList[0].HExplanation);
        //        BillNew.omodel.HInnerBillNo = ClsPub.isStrNull(mainList[0].HInnerBillNo);
        //        BillNew.omodel.HWorkShopID = ClsPub.isLong(mainList[0].HWorkShopID);
        //        BillNew.omodel.HSupID = ClsPub.isLong(mainList[0].HSupID);
        //        BillNew.omodel.HBLFlag = mainList[0].HBLFlag;
        //        BillNew.omodel.HMainMaterID = ClsPub.isLong(mainList[0].HMainMaterID);
        //        BillNew.omodel.HKeyMaterID = ClsPub.isLong(mainList[0].HKeyMaterID);
        //        BillNew.omodel.HOrderProcNO = ClsPub.isStrNull(mainList[0].HOrderProcNO);
        //        BillNew.omodel.HEquipMentID = ClsPub.isLong(mainList[0].HEquipMentID);
        //        BillNew.omodel.HMateOutBatchNo = ClsPub.isStrNull(mainList[0].HMateOutBatchNo);
        //        BillNew.omodel.HProjectNum = ClsPub.isStrNull(mainList[0].HProjectNum);
        //        BillNew.omodel.HProdMaterCode = ClsPub.isStrNull(mainList[0].HProdMaterCode);
        //        BillNew.omodel.HSeOrderBillNo = ClsPub.isStrNull(mainList[0].HSeOrderBillNo);
        //        BillNew.omodel.HCusShortName = ClsPub.isStrNull(mainList[0].HCusShortName);
        //        BillNew.omodel.HCusNeedMaterial = ClsPub.isStrNull(mainList[0].HCusNeedMaterial);
        //        BillNew.omodel.HPlanSendGoodsDate = ClsPub.isStrNull(mainList[0].HPlanSendGoodsDate);
        //        BillNew.omodel.HProdMaterName = ClsPub.isStrNull(mainList[0].HProdMaterName);
        //        BillNew.omodel.HCusName = ClsPub.isStrNull(mainList[0].HCusName);
        //        BillNew.omodel.HWorkRemark = ClsPub.isStrNull(mainList[0].HWorkRemark);
        //        BillNew.omodel.HImportNote = ClsPub.isStrNull(mainList[0].HImportNote);
        //        BillNew.omodel.HMaterNumber_A = ClsPub.isStrNull(mainList[0].HMaterNumber_A);
        //        BillNew.omodel.HMaterNumber_B = ClsPub.isStrNull(mainList[0].HMaterNumber_B);
        //        BillNew.omodel.HMaterNumber_C = ClsPub.isStrNull(mainList[0].HMaterNumber_C);
        //        BillNew.omodel.HMaterNumber_D = ClsPub.isStrNull(mainList[0].HMaterNumber_D);
        //        BillNew.omodel.HProdType = ClsPub.isStrNull(mainList[0].HProdType);
        //        BillNew.omodel.HMaterShortName = ClsPub.isStrNull(mainList[0].HMaterShortName);
        //        BillNew.omodel.HMaterIDA = ClsPub.isStrNull(mainList[0].HMaterIDA);
        //        BillNew.omodel.HMaterIDB = ClsPub.isStrNull(mainList[0].HMaterIDB);
        //        BillNew.omodel.HMaterIDC = ClsPub.isStrNull(mainList[0].HMaterIDC);
        //        BillNew.omodel.HMaterIDD = ClsPub.isStrNull(mainList[0].HMaterIDD);
        //        List<Model.ClsSc_ProcessExchangeBillSub> subList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillSub>>(msg3);
        //        BillNew.DetailColl = new List<Model.ClsSc_ProcessExchangeBillSub>();
        //        if (BillNew.omodel.HICMOInterID == 0)
        //        {
        //            objJsonResult.code = "0";
        //            objJsonResult.count = 0;
        //            objJsonResult.Message = "请选择任务单!";
        //            objJsonResult.data = null;
        //            return objJsonResult;
        //        }
        //        for (int i = 0; i < subList.ToArray().Length; i++)
        //        {
        //            if (DBUtility.ClsPub.isInt(subList[i].HProcID) != 0)//HQty
        //            {
        //                Model.ClsSc_ProcessExchangeBillSub oSub = new Model.ClsSc_ProcessExchangeBillSub();
        //                oSub.HEntryID = i+1;
        //                oSub.HRemark = DBUtility.ClsPub.isStrNull(subList[i].HRemark);
        //                oSub.HSourceInterID = ClsPub.isLong(mainList[0].HICMOInterID);
        //                oSub.HSourceEntryID = ClsPub.isLong(mainList[0].HICMOEntryID);
        //                oSub.HSourceBillType = "85";
        //                oSub.HSourceBillNo = ClsPub.isStrNull(mainList[0].HICMOBillNo);
        //                oSub.HRelationQty = DBUtility.ClsPub.isDoule(subList[i].HRelationQty);
        //                //oSub.HRelationQty_In = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_In);
        //                //oSub.HRelationQty_Out = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_Out);
        //                //oSub.HRelationQty_WWOrder = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_WWOrder);
        //                //oSub.HRelationQty_Bad = DBUtility.ClsPub.isDoule(subList[i].HRelationQty_Bad);
        //                oSub.HRelationMoney = DBUtility.ClsPub.isDoule(subList[i].HRelationMoney);
        //                oSub.HCloseMan = DBUtility.ClsPub.isStrNull(subList[i].HCloseMan);
        //                oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(subList[i].HEntryCloseDate);
        //                oSub.HCloseType = DBUtility.ClsPub.isBool(subList[i].HCloseType);
        //                oSub.HQty = DBUtility.ClsPub.isDoule(subList[i].HQty);
        //                if (oSub.HQty <= 0)
        //                {
        //                    objJsonResult.code = "0";
        //                    objJsonResult.count = 0;
        //                    objJsonResult.Message = "第" + ClsPub.isStrNull(i + 1) + "行,流转卡数量不能为0或者小于0";
        //                    objJsonResult.data = null;
        //                    return objJsonResult;
        //                }
        //                oSub.HProcNo = DBUtility.ClsPub.isLong(subList[i].HProcNo);
        //                if (oSub.HProcNo <= 0)
        //                {
        //                    objJsonResult.code = "0";
        //                    objJsonResult.count = 0;
        //                    objJsonResult.Message = "第" + ClsPub.isStrNull(i + 1) + "行,流水号不能为0或者小于0";
        //                    objJsonResult.data = null;
        //                    return objJsonResult;
        //                }
        //                oSub.HProcID = DBUtility.ClsPub.isLong(subList[i].HProcID);
        //                oSub.HProcNumber = DBUtility.ClsPub.isStrNull(subList[i].HProcNumber);
        //                oSub.HWorkRemark = DBUtility.ClsPub.isStrNull(subList[i].HWorkRemark);
        //                oSub.HCenterID = DBUtility.ClsPub.isLong(subList[i].HCenterID);
        //                oSub.HDeptID = DBUtility.ClsPub.isLong(subList[i].HDeptID);
        //                oSub.HDeptNumber = DBUtility.ClsPub.isStrNull(subList[i].HDeptNumber);
        //                ////oSub.HGroupID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HGroupIDCol].Value);
        //                oSub.HGroupNumber = DBUtility.ClsPub.isStrNull(subList[i].HGroupNumber);
        //                oSub.HWorkerID = DBUtility.ClsPub.isLong(subList[i].HWorkerID);
        //                oSub.HWorkerNumber = DBUtility.ClsPub.isStrNull(subList[i].HWorkerNumber);
        //                oSub.HSourceID = DBUtility.ClsPub.isLong(subList[i].HSourceID);
        //                oSub.HTimeUnit = DBUtility.ClsPub.isStrNull(subList[i].HTimeUnit);
        //                oSub.HPlanWorkTimes = DBUtility.ClsPub.isSingle(subList[i].HPlanWorkTimes);
        //                oSub.HPlanBeginDate = DBUtility.ClsPub.isDate(subList[i].HPlanBeginDate);
        //                oSub.HPlanEndDate = DBUtility.ClsPub.isDate(subList[i].HPlanEndDate);
        //                oSub.HRelBeginDate = DBUtility.ClsPub.isDate(subList[i].HRelBeginDate);
        //                oSub.HRelEndDate = DBUtility.ClsPub.isDate(subList[i].HRelEndDate);
        //                oSub.HReadyTime = 0;
        //                oSub.HQueueTime = 0;
        //                oSub.HMoveTime = 0;
        //                oSub.HBeginDayQty = DBUtility.ClsPub.isSingle(subList[i].HBeginDayQty);
        //                oSub.HBeginFixQty = DBUtility.ClsPub.isSingle(subList[i].HBeginFixQty);
        //                oSub.HFixWorkDays = DBUtility.ClsPub.isSingle(subList[i].HFixWorkDays);
        //                oSub.HTrunWorkDays = DBUtility.ClsPub.isSingle(subList[i].HTrunWorkDays);
        //                oSub.HReadyTimes = DBUtility.ClsPub.isSingle(subList[i].HReadyTimes);
        //                oSub.HMyWorkDays = DBUtility.ClsPub.isSingle(subList[i].HMyWorkDays);
        //                oSub.HOutPrice = DBUtility.ClsPub.isSingle(subList[i].HOutPrice);
        //                oSub.HOutMoney = DBUtility.ClsPub.isSingle(subList[i].HOutMoney);
        //                oSub.HLastProc = "否";
        //                oSub.HFstProc = "否";
        //                oSub.HKeyProc = DBUtility.ClsPub.isStrNull(subList[i].HKeyProc);
        //                oSub.HSupID = DBUtility.ClsPub.isLong(subList[i].HSupID);
        //                oSub.HSupFlag = DBUtility.ClsPub.isBool(subList[i].isEntrust);
        //                oSub.HBackProc = DBUtility.ClsPub.isBool(subList[i].HBackProc);
        //                oSub.HEdit = DBUtility.ClsPub.isBool(subList[i].HEdit);
        //                if (oSub.HCenterID == 0 && oSub.HSupFlag == false)
        //                {
        //                    objJsonResult.code = "0";
        //                    objJsonResult.count = 0;
        //                    objJsonResult.Message = "第" + ClsPub.isStrNull(i + 1) + "行,工作中心或委外标记不能同时为空";
        //                    objJsonResult.data = null;
        //                    return objJsonResult;
        //                }
        //                oSub.HICMOBillNo = DBUtility.ClsPub.isStrNull(subList[i].HICMOBillNo);
        //                oSub.HICMOInterID = DBUtility.ClsPub.isLong(subList[i].HICMOInterID);
        //                oSub.HSeOrderInterID = DBUtility.ClsPub.isLong(subList[i].HSeOrderInterID);
        //                oSub.HSeOrderEntryID = DBUtility.ClsPub.isLong(subList[i].HSeOrderEntryID);
        //                oSub.HSeOrderBillNo = DBUtility.ClsPub.isStrNull(subList[i].HSeOrderBillNo);
        //                oSub.HWWOrderInterID = DBUtility.ClsPub.isLong(subList[i].HWWOrderInterID);
        //                oSub.HWWOrderEntryID = DBUtility.ClsPub.isLong(subList[i].HWWOrderEntryID);
        //                oSub.HWWOrderBillNo = DBUtility.ClsPub.isStrNull(subList[i].HWWOrderBillNo);
        //                oSub.HSumPassRate = DBUtility.ClsPub.isSingle(subList[i].HSumPassRate);
        //                oSub.HPassRate = DBUtility.ClsPub.isSingle(subList[i].HPassRate);
        //                oSub.HOverRate = DBUtility.ClsPub.isDoule(subList[i].HOverRate);
        //                oSub.HMaxQty = DBUtility.ClsPub.isDoule(subList[i].HMaxQty);
        //                oSub.HTechnologyParameter = DBUtility.ClsPub.isStrNull(subList[i].HTechnologyParameter);
        //                oSub.HPicNum = DBUtility.ClsPub.isStrNull(subList[i].HPicNum);
        //                oSub.HProcCheckNote = DBUtility.ClsPub.isStrNull(subList[i].HProcCheckNote);
        //                oSub.HMouldNo = "";
        //                oSub.HProcWorkNum = "";
        //                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);
        //        //}
        //        bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo);
        //        //提示
        //        if (bResult == true)
        //        {
        //            objJsonResult.code = "1";
        //            objJsonResult.count = 1;
        //            //objJsonResult.Message = "单据存盘完毕!单据号:" + mainList[0].HBillNo.Trim();
        //            objJsonResult.Message = ClsPub.sExeReturnInfo+"单据号:" + mainList[0].HBillNo.Trim();
        //            objJsonResult.data = null;
        //            return objJsonResult;
        //        }
        //        else
        //        {
        //            objJsonResult.code = "0";
        //            objJsonResult.count = 0;
        //            objJsonResult.Message = "保存失败!原因:" + ClsPub.sExeReturnInfo;
        //            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
        #region[返回生产任务单明细行]
        /// <summary>
        /// è¿”回生产任务单明细行
        /// </summary>
@@ -319,7 +418,9 @@
                return objJsonResult;
            }
        }
        #endregion
        #region[返回生产任务单明细行]
        /// <summary>
        /// è¿”回生产任务单明细行
        /// </summary>
@@ -339,7 +440,7 @@
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ds = oCN.RunProcReturn("select * from h_v_S_Sc_ICMOBillList where hmainid=" + hmainid + " and HEntryID=" + HEntryID, "h_v_S_Sc_ICMOBillList");
                ds = oCN.RunProcReturn("select * from h_v_S_Sc_ICMOBillList where hmainid=" + hmainid + " and HEntryID=" + HEntryID+ " and HSTOCKINORGID='"+ OrganizationID+"'", "h_v_S_Sc_ICMOBillList");
                if (ds == null || ds.Tables[0].Rows.Count == 0)
                {
                    objJsonResult.code = "0";
@@ -366,7 +467,138 @@
                return objJsonResult;
            }
        }
        #endregion
        //
        #region[编辑时获取表头数据]
        /// <summary>
        /// ç¼–辑获取表头信息
        /// </summary>
        /// <param name="HInterID">主ID</param>
        /// <returns></returns>
        [Route("Sc_ProcessExchangeBill/GetProcessExchangeBillMain")]
        [HttpGet]
        public ApiResult<DataSet> GetProcessExchangeBillMain(string HInterID)
        {
            if (string.IsNullOrEmpty(HInterID))
                return new ApiResult<DataSet> { code = -1, msg = "ID不能为空" };
            SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
            var dataSet = oCN.RunProcReturn("select top 1 * from h_v_Sc_ProcessExchangeBillQuery  where hmainid= " + HInterID + " ", "h_v_Sc_ProcessExchangeBillQuery");
            if (dataSet == null || dataSet.Tables[0].Rows.Count == 0)
                return new ApiResult<DataSet> { code = -1, msg = "不存在工序流转卡" };
            return new ApiResult<DataSet> { code = 1, msg = "查询成功", data = dataSet };
        }
        #endregion
        #region[编辑时获取表体数据]
        [Route("Sc_ProcessExchangeBill/GetProcessExchangeBillSub")]
        [HttpGet]
        public object GetProcessExchangeBillSub(string HInterID)
        {
            DataSet ds;
            try
            {
                SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
                string sql = string.Format(@"select æµæ°´å· HProcNo,HProcID,工序代码 HProcNumber,工序名称 HProcName,加工说明 HWorkRemark,HCenterID,工作中心代码 HCenterNumber,
                                                å·¥ä½œä¸­å¿ƒ HCenterName,HSupID,供应商代码 HSupNumber,供应商 HSupName,isEntrust,计划数量 HQty,加工单价 HOutPrice, è¡¨ä½“备注 HRemark,
                                            è¿›ç«™æ•°é‡ HRelationQty_In,出站数量 HRelationQty_Out,委外工单数量 HRelationQty_WWOrder,不合格数量 HRelationQty_Bad,超额比例 HOverRate,
                                            è‰¯çއ HPassRate,累计良率 HSumPassRate,图纸编号 HPicNum,本工序确认记录 HProcCheckNote,工艺参数 HTechnologyParameter,HDeptID,
                                            åŠ å·¥è½¦é—´ä»£ç  HDeptNumber,加工车间 HDeptName
                                            from h_v_Sc_ProcessExchangeBillQuerySub");
                ds = oCN.RunProcReturn(sql+ " where hmainid="+ HInterID, "h_v_Sc_ProcessExchangeBillQuerySub");
                objJsonResult.code = "0";
                objJsonResult.count = 1;
                objJsonResult.Message = "获取信息成功!";
                objJsonResult.data = ds.Tables[0];
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "没有返回任何记录!" + e.ToString();
                objJsonResult.data = null;
            }
            return objJsonResult;
        }
        #endregion
        #region [模具保养计划单删除功能]
        /// <summary>
        /// æ¨¡å…·ç»´ä¿®å•删除功能
        /// </summary>
        /// <returns></returns>
        [Route("Sc_ProcessExchangeBill/DeltetProcessExchangeBillByID")]
        [HttpGet]
        public object DeltetProcessExchangeBillByID(string HInterID, string user)
        {
            //编辑权限
            if (!DBUtility.ClsPub.Security_Log("Sc_ProcessExchangeBill_Drop", 1, false, user))
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "无删除权限!";
                objJsonResult.data = null;
                return objJsonResult;
            }
            Int64 lngBillKey = 0;
            lngBillKey = DBUtility.ClsPub.isLong(HInterID);
            if (lngBillKey == 0)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "单据ID为空!";
                objJsonResult.data = null;
                return objJsonResult;
            }
            DAL.ClsSc_ProcessExchangeBill oBill = new DAL.ClsSc_ProcessExchangeBill();
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (oBill.omodel.HBillStatus > 1)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "单据当前处于不能删除状态,不能删除!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                if (oBill.omodel.HChecker != "")
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "单据已经审核,不能删除!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                bool IsDete = oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
                if (IsDete)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
            }
            else
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "单据未找到";
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}
WebAPI/Controllers/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/Sc_MESBeginStepWorkBillController.cs
@@ -41,7 +41,7 @@
        [Route("Sc_MESBeginStepWorkBill/GetMESBeginStepWorkBill")]
        [HttpGet]
        public object GetMESBeginStepWorkBill(string sWhere,string user)
        public object GetMESBeginStepWorkBill(string sWhere, string user)
        {
            try
            {
@@ -84,7 +84,7 @@
            {
                LogService.Write("执行了1");
                string sql1 = "select * from h_v_Sc_MESBeginWorkBillList_NEW where 1 = 1 ";
                string sql = sql1 + sWhere+ " order by hmainid desc ";
                string sql = sql1 + sWhere + " order by hmainid desc ";
                return new SQLHelper.ClsCN().RunProcReturn(sql, "h_v_Sc_MESBeginWorkBillList_NEW");
            }
@@ -802,7 +802,7 @@
                    oItemSub.HOtherItem4 = "";
                    oItemSub.HOtherItem5 = "";
                    oItemSub.HPackType = "";
                    oItemSub.HBatchNo="";
                    oItemSub.HBatchNo = "";
                    //oItemSub.HRelationMoney = 0;   //关联金额
                    //oItemSub.HRepairID = 0;       //维修项目
                    //oItemSub.HRepairExplanation ="";   //维修要求
@@ -1028,7 +1028,7 @@
                oCN.BeginTran();
                //删除工序汇报子表
                string sql1 = string.Format(@"delete Sc_ProcessReportSub  where HInterID='"+HInterID+"' and   HICMOInterID='" + HICMOInterID + "' and HICMOEntryID='" + HICMOEntryID + "'");
                string sql1 = string.Format(@"delete Sc_ProcessReportSub  where HInterID='" + HInterID + "' and   HICMOInterID='" + HICMOInterID + "' and HICMOEntryID='" + HICMOEntryID + "'");
                oCN.RunProc(sql1);
                //删除工序汇报主表
                string sql = string.Format(@"delete Sc_ProcessReportMain  where HInterID='" + HInterID + "'");
@@ -1057,7 +1057,7 @@
        #region æŠ¥å·¥å¹³å°æŠ¥æ£€ç”³è¯·ä¿å­˜
        [Route("Sc_MESBeginStepWorkBill/SaveGetMESProductReportBillList")]
        [HttpGet]
        public object SaveGetMESProductReportBillList(string ScMaxWork, string HSourceBillType, string workcode, int HSourceID, int HICMOInterID, int HICMOEntryID, string HMaker, string Czybm,string HProcID)
        public object SaveGetMESProductReportBillList(string ScMaxWork, string HSourceBillType, string workcode, int HSourceID, int HICMOInterID, int HICMOEntryID, string HMaker, string Czybm, string HProcID)
        {
            ListModels oListModels = new ListModels();
            try
@@ -1125,7 +1125,7 @@
                //model.HPRDORGID = DBUtility.ClsPub.isLong(ds0.Tables[0].Rows[0]["HPRDORGID"]);
                model.HMainSourceInterID = HICMOInterID;
                model.HMainSourceEntryID = HICMOEntryID;
                //oWebs.Timeout = 30000;
                bool flag = oWebs.set_SaveICMOProductReportBill_LayuiYqn(model, workcode, HSourceID, sHSourceType, HProcID, ref DBUtility.ClsPub.sErrInfo);
@@ -1182,7 +1182,7 @@
            try
            {
                //判断是否有编辑权限
                if (!DBUtility.ClsPub.Security_Log("MES_ProcExchReport_Edit",1,false,user))
                if (!DBUtility.ClsPub.Security_Log("MES_ProcExchReport_Edit", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
@@ -1585,36 +1585,38 @@
                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]);
                    //访问金蝶
                    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 = (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;
                    //}
                    ////执行保存
                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                    if (bResult)
                    {
@@ -1653,4 +1655,4 @@
        }
        #endregion
    }
}
}
WebAPI/Controllers/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillController.cs
@@ -173,14 +173,17 @@
            var _value = msg["msg"].ToString();
            string msg1 = _value.ToString();
            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
            string msg2 = sArray[0].ToString();
            string msg3 = sArray[1].ToString();
            string msg5 = sArray[2].ToString();
            string msg2 = sArray[0].ToString();//表格数据
            string msg3 = sArray[1].ToString();//登录人
            string msg5 = sArray[2].ToString();//登录组织
            string msg6 = sArray[3].ToString();//标记
            string msg7 = sArray[4].ToString();//当前用料清单
            ListModels oListModels = new ListModels();
            DataSet ds = new DataSet();
            ds = oCN.RunProcReturn("select * from Xt_ORGANIZATIONS where HItemID=" + msg5, "Xt_ORGANIZATIONS");
            string OrgNum = ds.Tables[0].Rows[0]["HNumber"].ToString();//组织代码
            DataSet d = oCN.RunProcReturn("select HRemark from Sc_PPBomBillMain where HBillNo='" + msg7 + "'", "Sc_ICMOBillMain");//查找该用料清单上次生成的箱号(HRemark存放箱号)
            DataSet Ds1 = new DataSet();
            try
            {
@@ -206,6 +209,8 @@
                int LSH;
                string LSH2;
                string TM = "";
                int XH = Convert.ToInt32(d.Tables[0].Rows[0]["HRemark"].ToString() == ""? 0 : Convert.ToInt32(d.Tables[0].Rows[0]["HRemark"].ToString()));
                foreach (Models.ClsQK_PackingBill oItemSub in ls)
                {
                    //根据生成条数生成相应数量条码
@@ -222,6 +227,16 @@
                            LSH2 = "0" + LSH2;
                        }
                        TM = sTMNumber + LSH2;
                        if (msg6 == "ZZ")
                        {
                            XH = XH +1;
                        }
                        else if (msg6 == "PZ"&& ls.IndexOf(oItemSub) == 0)
                        {
                            XH = XH + 1;
                        }
                        //获取内码
                        oCN.RunProc("insert into Gy_BarCodeBill (HEntryID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" +
                                    ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" +
@@ -235,7 +250,7 @@
                                    + ",'" + TM + "','唯一条码'," + oItemSub.HMaterID.ToString() + "," + oItemSub.HUnitID.ToString() + "," + oItemSub.HMinQty.ToString()
                                    + ",'',0,0,'" + msg3 + "',getdate(),0," + oItemSub.HMinQty.ToString()
                                    + ", " + oItemSub.HInterID.ToString() + "," + oItemSub.HEntryID.ToString() + ",'" + oItemSub.HBillNo + "','3710',''"
                                    + ",1,1," + oItemSub.HDeptID.ToString() + ",0,0,'"+ (int.Parse(oItemSub.HXH.ToString())+i) + "'"
                                    + ",1,1," + oItemSub.HDeptID.ToString() + ",0,0,'"+ XH + "'"
                                    + ", " + oItemSub.HCusID.ToString() + ",'',getdate(),'',getdate()"
                                    + ", " + msg5.ToString() + "," + OrgNum.ToString() + ",'" + oItemSub.HSeOrderBillNo.ToString() + "'," + HInterID.ToString()
                                    + ",0"
@@ -245,6 +260,7 @@
                        
                    }
                    oCN.RunProc("update Sc_ICMOBillSub set HQty=" + oItemSub.HSpsQty  + " where HEntryID=" + oItemSub.HEntryID);
                    oCN.RunProc("update Sc_PPBomBillMain set HRemark=" +XH+ " where HBillNo='" + msg7+"'");
                    DataSet Dsn = oCN.RunProcReturn("select top " + oItemSub.HTotalQty + " HItemID from Gy_BarCodeBill order by HItemID desc", "Gy_BarCodeBill");    //获取最大流水号
                    for (int i = 0; i < oItemSub.HTotalQty; i++)
                    {
WebAPI/ListModels.cs
@@ -547,6 +547,29 @@
        /// <summary>
        /// å¤„理新增工序流转卡主表的json
        /// </summary>
        /// <param name="jsonString"></param>
        /// <returns></returns>
        public List<Model.ClsSc_ProcessExchangeBillMain> getObjectByJson_Sc_ProcessExchangeBillMain(string jsonString)
        {
            jsonString = "[" + jsonString.ToString() + "]";
            List<Model.ClsSc_ProcessExchangeBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillMain>>(jsonString);
            return list;
        }
        /// <summary>
        /// å¤„理新增工序流转卡主表的json
        /// </summary>
        /// <param name="jsonString"></param>
        /// <returns></returns>
        public List<Model.ClsSc_ProcessExchangeBillSub> getObjectByJson_Sc_ProcessExchangeBillSub(string jsonString)
        {
            jsonString = "[" + jsonString.ToString() + "]";
            List<Model.ClsSc_ProcessExchangeBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillSub>>(jsonString);
            return list;
        }
        /// <summary>
        /// å¤„理新增模具保养计划单子表的json
        /// </summary>
        /// <param name="jsonString"></param>
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBill.cs
@@ -3722,5 +3722,10 @@
            //
            DBUtility.ClsPub.HideGridView(grdMain, Name, ClsPub.AppPath);//设置隐藏列
        }
        private void grdMain_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
        }
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBill.designer.cs
@@ -79,6 +79,7 @@
            this.tabControl2 = new System.Windows.Forms.TabControl();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.gbUp = new System.Windows.Forms.GroupBox();
            this.textHPicNumVer = new System.Windows.Forms.TextBox();
            this.textHProductNum = new System.Windows.Forms.TextBox();
            this.textHMaterTexture = new System.Windows.Forms.TextBox();
            this.label62 = new System.Windows.Forms.Label();
@@ -235,7 +236,6 @@
            this.grdSum = new System.Windows.Forms.DataGridView();
            this.panel6 = new System.Windows.Forms.Panel();
            this.lblHStockQty = new System.Windows.Forms.Label();
            this.textHPicNumVer = new System.Windows.Forms.TextBox();
            this.Tool.SuspendLayout();
            this.P1.SuspendLayout();
            this.tabControl2.SuspendLayout();
@@ -269,10 +269,10 @@
            this.sc,
            this.fz,
            this.toolStripSeparator8,
            this.bc,
            this.AddRow,
            this.DelRow,
            this.toolStripSeparator4,
            this.bc,
            this.fq,
            this.toolStripSeparator5,
            this.sh,
@@ -296,7 +296,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(1348, 50);
            this.Tool.Size = new System.Drawing.Size(1797, 62);
            this.Tool.Stretch = true;
            this.Tool.TabIndex = 17;
            this.Tool.Text = "toolStrip1";
@@ -346,7 +346,7 @@
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 62);
            // 
            // xz
            // 
@@ -409,7 +409,7 @@
            // toolStripSeparator8
            // 
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 62);
            // 
            // AddRow
            // 
@@ -442,7 +442,7 @@
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 62);
            // 
            // bc
            // 
@@ -475,7 +475,7 @@
            // toolStripSeparator5
            // 
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator5.Visible = false;
            // 
            // sh
@@ -511,7 +511,7 @@
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 62);
            // 
            // sz
            // 
@@ -576,7 +576,7 @@
            // toolStripSeparator6
            // 
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 62);
            this.toolStripSeparator6.Visible = false;
            // 
            // qt
@@ -597,7 +597,7 @@
            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(45, 47);
            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;
@@ -605,71 +605,71 @@
            // å…³é—­ToolStripMenuItem
            // 
            this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem";
            this.关闭ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            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(136, 22);
            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(133, 6);
            this.toolStripSeparator15.Size = new System.Drawing.Size(164, 6);
            // 
            // å®¡æ ¸ToolStripMenuItem
            // 
            this.审核ToolStripMenuItem.Name = "审核ToolStripMenuItem";
            this.审核ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            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(136, 22);
            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(133, 6);
            this.toolStripSeparator14.Size = new System.Drawing.Size(164, 6);
            // 
            // ä½œåºŸToolStripMenuItem
            // 
            this.作废ToolStripMenuItem.Name = "作废ToolStripMenuItem";
            this.作废ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            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(136, 22);
            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(133, 6);
            this.toolStripMenuItem1.Size = new System.Drawing.Size(164, 6);
            // 
            // éšè—åˆ—设置ToolStripMenuItem
            // 
            this.隐藏列设置ToolStripMenuItem.Name = "隐藏列设置ToolStripMenuItem";
            this.隐藏列设置ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.隐藏列设置ToolStripMenuItem.Size = new System.Drawing.Size(167, 26);
            this.隐藏列设置ToolStripMenuItem.Text = "隐藏列设置";
            this.隐藏列设置ToolStripMenuItem.Click += new System.EventHandler(this.隐藏列设置ToolStripMenuItem_Click_1);
            // 
            // toolStripSeparator9
            // 
            this.toolStripSeparator9.Name = "toolStripSeparator9";
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 62);
            // 
            // tc
            // 
@@ -689,7 +689,7 @@
            // 
            this.toolStripSeparator12.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator12.Name = "toolStripSeparator12";
            this.toolStripSeparator12.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator12.Size = new System.Drawing.Size(6, 62);
            // 
            // yc
            // 
@@ -699,7 +699,7 @@
            this.yc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.yc.ImageTransparentColor = System.Drawing.Color.White;
            this.yc.Name = "yc";
            this.yc.Size = new System.Drawing.Size(48, 47);
            this.yc.Size = new System.Drawing.Size(58, 59);
            this.yc.Text = "隐藏列";
            this.yc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
@@ -710,7 +710,7 @@
            // 
            this.toolStripSeparator13.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator13.Name = "toolStripSeparator13";
            this.toolStripSeparator13.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator13.Size = new System.Drawing.Size(6, 62);
            // 
            // mrlk
            // 
@@ -720,7 +720,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;
@@ -730,7 +730,7 @@
            // 
            this.toolStripSeparator11.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator11.Name = "toolStripSeparator11";
            this.toolStripSeparator11.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator11.Size = new System.Drawing.Size(6, 62);
            // 
            // bclk
            // 
@@ -740,7 +740,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;
@@ -750,15 +750,16 @@
            // 
            this.toolStripSeparator10.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator10.Name = "toolStripSeparator10";
            this.toolStripSeparator10.Size = new System.Drawing.Size(6, 50);
            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(1268, 34);
            this.lblCaption.Size = new System.Drawing.Size(1690, 42);
            this.lblCaption.TabIndex = 18;
            this.lblCaption.Text = "单据编辑";
            this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -770,9 +771,10 @@
            this.P1.Controls.Add(this.pic1);
            this.P1.Controls.Add(this.lblCaption);
            this.P1.Dock = System.Windows.Forms.DockStyle.Top;
            this.P1.Location = new System.Drawing.Point(41, 50);
            this.P1.Location = new System.Drawing.Point(55, 62);
            this.P1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.P1.Name = "P1";
            this.P1.Size = new System.Drawing.Size(1268, 254);
            this.P1.Size = new System.Drawing.Size(1690, 318);
            this.P1.TabIndex = 31;
            // 
            // tabControl2
@@ -781,21 +783,21 @@
            this.tabControl2.Controls.Add(this.tabPage3);
            this.tabControl2.Controls.Add(this.tabPage4);
            this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl2.Location = new System.Drawing.Point(0, 34);
            this.tabControl2.Margin = new System.Windows.Forms.Padding(2);
            this.tabControl2.Location = new System.Drawing.Point(0, 42);
            this.tabControl2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabControl2.Name = "tabControl2";
            this.tabControl2.SelectedIndex = 0;
            this.tabControl2.Size = new System.Drawing.Size(1268, 220);
            this.tabControl2.Size = new System.Drawing.Size(1690, 276);
            this.tabControl2.TabIndex = 310;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.gbUp);
            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(1260, 194);
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage2.Size = new System.Drawing.Size(1682, 247);
            this.tabPage2.TabIndex = 0;
            this.tabPage2.Text = "表头信息";
            this.tabPage2.UseVisualStyleBackColor = true;
@@ -856,27 +858,42 @@
            this.gbUp.Controls.Add(this.label4);
            this.gbUp.Controls.Add(this.txtHBillNo);
            this.gbUp.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gbUp.Location = new System.Drawing.Point(2, 2);
            this.gbUp.Location = new System.Drawing.Point(3, 2);
            this.gbUp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.gbUp.Name = "gbUp";
            this.gbUp.Size = new System.Drawing.Size(1256, 190);
            this.gbUp.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.gbUp.Size = new System.Drawing.Size(1676, 243);
            this.gbUp.TabIndex = 33;
            this.gbUp.TabStop = false;
            //
            // textHPicNumVer
            //
            this.textHPicNumVer.BackColor = System.Drawing.SystemColors.Window;
            this.textHPicNumVer.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textHPicNumVer.Location = new System.Drawing.Point(1333, 29);
            this.textHPicNumVer.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textHPicNumVer.Name = "textHPicNumVer";
            this.textHPicNumVer.Size = new System.Drawing.Size(249, 25);
            this.textHPicNumVer.TabIndex = 337;
            this.textHPicNumVer.Tag = "0";
            // 
            // textHProductNum
            // 
            this.textHProductNum.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textHProductNum.Location = new System.Drawing.Point(1001, 106);
            this.textHProductNum.Location = new System.Drawing.Point(1335, 132);
            this.textHProductNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textHProductNum.Name = "textHProductNum";
            this.textHProductNum.Size = new System.Drawing.Size(189, 21);
            this.textHProductNum.Size = new System.Drawing.Size(251, 25);
            this.textHProductNum.TabIndex = 336;
            this.textHProductNum.Tag = "0";
            // 
            // textHMaterTexture
            // 
            this.textHMaterTexture.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textHMaterTexture.Location = new System.Drawing.Point(1001, 80);
            this.textHMaterTexture.Location = new System.Drawing.Point(1335, 100);
            this.textHMaterTexture.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textHMaterTexture.Name = "textHMaterTexture";
            this.textHMaterTexture.Size = new System.Drawing.Size(189, 21);
            this.textHMaterTexture.Size = new System.Drawing.Size(251, 25);
            this.textHMaterTexture.TabIndex = 335;
            this.textHMaterTexture.Tag = "0";
            // 
@@ -884,18 +901,20 @@
            // 
            this.label62.AutoSize = true;
            this.label62.ForeColor = System.Drawing.Color.Black;
            this.label62.Location = new System.Drawing.Point(928, 138);
            this.label62.Location = new System.Drawing.Point(1237, 172);
            this.label62.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label62.Name = "label62";
            this.label62.Size = new System.Drawing.Size(53, 12);
            this.label62.Size = new System.Drawing.Size(69, 15);
            this.label62.TabIndex = 333;
            this.label62.Text = "版    æœ¬";
            // 
            // textHVerNum
            // 
            this.textHVerNum.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textHVerNum.Location = new System.Drawing.Point(1000, 134);
            this.textHVerNum.Location = new System.Drawing.Point(1333, 168);
            this.textHVerNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textHVerNum.Name = "textHVerNum";
            this.textHVerNum.Size = new System.Drawing.Size(189, 21);
            this.textHVerNum.Size = new System.Drawing.Size(251, 25);
            this.textHVerNum.TabIndex = 334;
            this.textHVerNum.Tag = "0";
            // 
@@ -903,9 +922,10 @@
            // 
            this.label63.AutoSize = true;
            this.label63.ForeColor = System.Drawing.Color.Black;
            this.label63.Location = new System.Drawing.Point(928, 110);
            this.label63.Location = new System.Drawing.Point(1237, 138);
            this.label63.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label63.Name = "label63";
            this.label63.Size = new System.Drawing.Size(53, 12);
            this.label63.Size = new System.Drawing.Size(67, 15);
            this.label63.TabIndex = 330;
            this.label63.Text = "成品编号";
            // 
@@ -913,9 +933,10 @@
            // 
            this.label64.AutoSize = true;
            this.label64.ForeColor = System.Drawing.Color.Black;
            this.label64.Location = new System.Drawing.Point(926, 27);
            this.label64.Location = new System.Drawing.Point(1235, 34);
            this.label64.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label64.Name = "label64";
            this.label64.Size = new System.Drawing.Size(53, 12);
            this.label64.Size = new System.Drawing.Size(67, 15);
            this.label64.TabIndex = 328;
            this.label64.Text = "图号版本";
            // 
@@ -923,9 +944,10 @@
            // 
            this.label65.AutoSize = true;
            this.label65.ForeColor = System.Drawing.Color.Black;
            this.label65.Location = new System.Drawing.Point(927, 56);
            this.label65.Location = new System.Drawing.Point(1236, 70);
            this.label65.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label65.Name = "label65";
            this.label65.Size = new System.Drawing.Size(53, 12);
            this.label65.Size = new System.Drawing.Size(67, 15);
            this.label65.TabIndex = 326;
            this.label65.Text = "总装图号";
            // 
@@ -933,9 +955,10 @@
            // 
            this.textHPicNumAssemble.BackColor = System.Drawing.SystemColors.Window;
            this.textHPicNumAssemble.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textHPicNumAssemble.Location = new System.Drawing.Point(1001, 52);
            this.textHPicNumAssemble.Location = new System.Drawing.Point(1335, 65);
            this.textHPicNumAssemble.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textHPicNumAssemble.Name = "textHPicNumAssemble";
            this.textHPicNumAssemble.Size = new System.Drawing.Size(188, 21);
            this.textHPicNumAssemble.Size = new System.Drawing.Size(249, 25);
            this.textHPicNumAssemble.TabIndex = 327;
            this.textHPicNumAssemble.Tag = "0";
            // 
@@ -943,9 +966,10 @@
            // 
            this.label66.AutoSize = true;
            this.label66.ForeColor = System.Drawing.Color.Black;
            this.label66.Location = new System.Drawing.Point(926, 84);
            this.label66.Location = new System.Drawing.Point(1235, 105);
            this.label66.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label66.Name = "label66";
            this.label66.Size = new System.Drawing.Size(53, 12);
            this.label66.Size = new System.Drawing.Size(69, 15);
            this.label66.TabIndex = 323;
            this.label66.Text = "材    è´¨";
            // 
@@ -953,18 +977,20 @@
            // 
            this.label42.AutoSize = true;
            this.label42.ForeColor = System.Drawing.Color.Black;
            this.label42.Location = new System.Drawing.Point(608, 138);
            this.label42.Location = new System.Drawing.Point(811, 172);
            this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(53, 12);
            this.label42.Size = new System.Drawing.Size(67, 15);
            this.label42.TabIndex = 321;
            this.label42.Text = "项目编号";
            // 
            // txtHProjectNum
            // 
            this.txtHProjectNum.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProjectNum.Location = new System.Drawing.Point(680, 134);
            this.txtHProjectNum.Location = new System.Drawing.Point(907, 168);
            this.txtHProjectNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProjectNum.Name = "txtHProjectNum";
            this.txtHProjectNum.Size = new System.Drawing.Size(189, 21);
            this.txtHProjectNum.Size = new System.Drawing.Size(251, 25);
            this.txtHProjectNum.TabIndex = 322;
            this.txtHProjectNum.Tag = "0";
            // 
@@ -973,9 +999,10 @@
            this.cmdEquipMentID.BackColor = System.Drawing.Color.Transparent;
            this.cmdEquipMentID.Image = ((System.Drawing.Image)(resources.GetObject("cmdEquipMentID.Image")));
            this.cmdEquipMentID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdEquipMentID.Location = new System.Drawing.Point(848, 106);
            this.cmdEquipMentID.Location = new System.Drawing.Point(1131, 132);
            this.cmdEquipMentID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdEquipMentID.Name = "cmdEquipMentID";
            this.cmdEquipMentID.Size = new System.Drawing.Size(22, 22);
            this.cmdEquipMentID.Size = new System.Drawing.Size(29, 28);
            this.cmdEquipMentID.TabIndex = 320;
            this.cmdEquipMentID.UseVisualStyleBackColor = false;
            this.cmdEquipMentID.Click += new System.EventHandler(this.cmdEquipMentID_Click);
@@ -984,18 +1011,20 @@
            // 
            this.label41.AutoSize = true;
            this.label41.ForeColor = System.Drawing.Color.Black;
            this.label41.Location = new System.Drawing.Point(608, 110);
            this.label41.Location = new System.Drawing.Point(811, 138);
            this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(53, 12);
            this.label41.Size = new System.Drawing.Size(67, 15);
            this.label41.TabIndex = 318;
            this.label41.Text = "模具设备";
            // 
            // txtHEquipMentID
            // 
            this.txtHEquipMentID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEquipMentID.Location = new System.Drawing.Point(680, 106);
            this.txtHEquipMentID.Location = new System.Drawing.Point(907, 132);
            this.txtHEquipMentID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEquipMentID.Name = "txtHEquipMentID";
            this.txtHEquipMentID.Size = new System.Drawing.Size(167, 21);
            this.txtHEquipMentID.Size = new System.Drawing.Size(221, 25);
            this.txtHEquipMentID.TabIndex = 319;
            this.txtHEquipMentID.Tag = "0";
            this.txtHEquipMentID.TextChanged += new System.EventHandler(this.txtEquipMentID_TextChanged);
@@ -1004,9 +1033,10 @@
            // 
            this.label40.AutoSize = true;
            this.label40.ForeColor = System.Drawing.Color.Black;
            this.label40.Location = new System.Drawing.Point(607, 166);
            this.label40.Location = new System.Drawing.Point(809, 208);
            this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(53, 12);
            this.label40.Size = new System.Drawing.Size(67, 15);
            this.label40.TabIndex = 316;
            this.label40.Text = "原料批次";
            // 
@@ -1014,19 +1044,20 @@
            // 
            this.txtHMateOutBatchNo.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMateOutBatchNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMateOutBatchNo.Location = new System.Drawing.Point(680, 162);
            this.txtHMateOutBatchNo.Location = new System.Drawing.Point(907, 202);
            this.txtHMateOutBatchNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMateOutBatchNo.Name = "txtHMateOutBatchNo";
            this.txtHMateOutBatchNo.Size = new System.Drawing.Size(190, 21);
            this.txtHMateOutBatchNo.Size = new System.Drawing.Size(252, 25);
            this.txtHMateOutBatchNo.TabIndex = 317;
            this.txtHMateOutBatchNo.Tag = "0";
            // 
            // chkHBLFlag
            // 
            this.chkHBLFlag.AutoSize = true;
            this.chkHBLFlag.Location = new System.Drawing.Point(494, 142);
            this.chkHBLFlag.Margin = new System.Windows.Forms.Padding(2);
            this.chkHBLFlag.Location = new System.Drawing.Point(659, 178);
            this.chkHBLFlag.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.chkHBLFlag.Name = "chkHBLFlag";
            this.chkHBLFlag.Size = new System.Drawing.Size(72, 16);
            this.chkHBLFlag.Size = new System.Drawing.Size(89, 19);
            this.chkHBLFlag.TabIndex = 315;
            this.chkHBLFlag.Text = "补料标记";
            this.chkHBLFlag.UseVisualStyleBackColor = true;
@@ -1035,9 +1066,10 @@
            // 
            this.label39.AutoSize = true;
            this.label39.ForeColor = System.Drawing.Color.Black;
            this.label39.Location = new System.Drawing.Point(24, 142);
            this.label39.Location = new System.Drawing.Point(32, 178);
            this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(53, 12);
            this.label39.Size = new System.Drawing.Size(67, 15);
            this.label39.TabIndex = 314;
            this.label39.Text = "补料原因";
            // 
@@ -1045,9 +1077,10 @@
            // 
            this.txtHQty.BackColor = System.Drawing.SystemColors.Window;
            this.txtHQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHQty.Location = new System.Drawing.Point(376, 78);
            this.txtHQty.Location = new System.Drawing.Point(501, 98);
            this.txtHQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHQty.Name = "txtHQty";
            this.txtHQty.Size = new System.Drawing.Size(188, 21);
            this.txtHQty.Size = new System.Drawing.Size(249, 25);
            this.txtHQty.TabIndex = 299;
            this.txtHQty.Tag = "0";
            this.txtHQty.TextChanged += new System.EventHandler(this.txtHQty_TextChanged);
@@ -1056,9 +1089,10 @@
            // 
            this.label38.AutoSize = true;
            this.label38.ForeColor = System.Drawing.Color.Black;
            this.label38.Location = new System.Drawing.Point(305, 82);
            this.label38.Location = new System.Drawing.Point(407, 102);
            this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(65, 12);
            this.label38.Size = new System.Drawing.Size(82, 15);
            this.label38.TabIndex = 312;
            this.label38.Text = "流转卡数量";
            // 
@@ -1066,9 +1100,10 @@
            // 
            this.label37.AutoSize = true;
            this.label37.ForeColor = System.Drawing.Color.Black;
            this.label37.Location = new System.Drawing.Point(602, 26);
            this.label37.Location = new System.Drawing.Point(803, 32);
            this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(65, 12);
            this.label37.Size = new System.Drawing.Size(82, 15);
            this.label37.TabIndex = 310;
            this.label37.Text = "订单跟踪号";
            // 
@@ -1077,10 +1112,11 @@
            this.txtHOrderProcNO.BackColor = System.Drawing.Color.Beige;
            this.txtHOrderProcNO.Enabled = false;
            this.txtHOrderProcNO.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHOrderProcNO.Location = new System.Drawing.Point(680, 24);
            this.txtHOrderProcNO.Location = new System.Drawing.Point(907, 30);
            this.txtHOrderProcNO.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHOrderProcNO.Name = "txtHOrderProcNO";
            this.txtHOrderProcNO.ReadOnly = true;
            this.txtHOrderProcNO.Size = new System.Drawing.Size(188, 21);
            this.txtHOrderProcNO.Size = new System.Drawing.Size(249, 25);
            this.txtHOrderProcNO.TabIndex = 311;
            // 
            // cmdHMaterID2
@@ -1088,9 +1124,10 @@
            this.cmdHMaterID2.BackColor = System.Drawing.Color.Transparent;
            this.cmdHMaterID2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID2.Image")));
            this.cmdHMaterID2.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHMaterID2.Location = new System.Drawing.Point(261, 51);
            this.cmdHMaterID2.Location = new System.Drawing.Point(348, 64);
            this.cmdHMaterID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHMaterID2.Name = "cmdHMaterID2";
            this.cmdHMaterID2.Size = new System.Drawing.Size(22, 22);
            this.cmdHMaterID2.Size = new System.Drawing.Size(29, 28);
            this.cmdHMaterID2.TabIndex = 307;
            this.cmdHMaterID2.UseVisualStyleBackColor = false;
            this.cmdHMaterID2.Click += new System.EventHandler(this.cmdHMaterID2_Click);
@@ -1099,9 +1136,10 @@
            // 
            this.label34.AutoSize = true;
            this.label34.ForeColor = System.Drawing.Color.Black;
            this.label34.Location = new System.Drawing.Point(607, 56);
            this.label34.Location = new System.Drawing.Point(809, 70);
            this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(53, 12);
            this.label34.Size = new System.Drawing.Size(67, 15);
            this.label34.TabIndex = 305;
            this.label34.Text = "产品规格";
            // 
@@ -1109,9 +1147,10 @@
            // 
            this.txtHModel2.BackColor = System.Drawing.SystemColors.Window;
            this.txtHModel2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHModel2.Location = new System.Drawing.Point(681, 52);
            this.txtHModel2.Location = new System.Drawing.Point(908, 65);
            this.txtHModel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHModel2.Name = "txtHModel2";
            this.txtHModel2.Size = new System.Drawing.Size(188, 21);
            this.txtHModel2.Size = new System.Drawing.Size(249, 25);
            this.txtHModel2.TabIndex = 306;
            this.txtHModel2.Tag = "0";
            // 
@@ -1119,9 +1158,10 @@
            // 
            this.label35.AutoSize = true;
            this.label35.ForeColor = System.Drawing.Color.Black;
            this.label35.Location = new System.Drawing.Point(310, 56);
            this.label35.Location = new System.Drawing.Point(413, 70);
            this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(53, 12);
            this.label35.Size = new System.Drawing.Size(67, 15);
            this.label35.TabIndex = 303;
            this.label35.Text = "产品代码";
            // 
@@ -1129,9 +1169,10 @@
            // 
            this.txtHMaterNumber2.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterNumber2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterNumber2.Location = new System.Drawing.Point(376, 52);
            this.txtHMaterNumber2.Location = new System.Drawing.Point(501, 65);
            this.txtHMaterNumber2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterNumber2.Name = "txtHMaterNumber2";
            this.txtHMaterNumber2.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterNumber2.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterNumber2.TabIndex = 304;
            this.txtHMaterNumber2.Tag = "0";
            // 
@@ -1139,9 +1180,10 @@
            // 
            this.label36.AutoSize = true;
            this.label36.ForeColor = System.Drawing.Color.Black;
            this.label36.Location = new System.Drawing.Point(24, 56);
            this.label36.Location = new System.Drawing.Point(32, 70);
            this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(53, 12);
            this.label36.Size = new System.Drawing.Size(67, 15);
            this.label36.TabIndex = 300;
            this.label36.Text = "产品名称";
            // 
@@ -1149,9 +1191,10 @@
            // 
            this.txtHMaterID2.BackColor = System.Drawing.Color.Beige;
            this.txtHMaterID2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID2.Location = new System.Drawing.Point(93, 52);
            this.txtHMaterID2.Location = new System.Drawing.Point(124, 65);
            this.txtHMaterID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterID2.Name = "txtHMaterID2";
            this.txtHMaterID2.Size = new System.Drawing.Size(167, 21);
            this.txtHMaterID2.Size = new System.Drawing.Size(221, 25);
            this.txtHMaterID2.TabIndex = 301;
            this.txtHMaterID2.Tag = "0";
            // 
@@ -1159,18 +1202,20 @@
            // 
            this.dtpHPlanEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHPlanEndDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHPlanEndDate.Location = new System.Drawing.Point(376, 108);
            this.dtpHPlanEndDate.Location = new System.Drawing.Point(501, 135);
            this.dtpHPlanEndDate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.dtpHPlanEndDate.Name = "dtpHPlanEndDate";
            this.dtpHPlanEndDate.Size = new System.Drawing.Size(188, 21);
            this.dtpHPlanEndDate.Size = new System.Drawing.Size(249, 25);
            this.dtpHPlanEndDate.TabIndex = 282;
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.ForeColor = System.Drawing.Color.Black;
            this.label12.Location = new System.Drawing.Point(295, 112);
            this.label12.Location = new System.Drawing.Point(393, 140);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(77, 12);
            this.label12.Size = new System.Drawing.Size(97, 15);
            this.label12.TabIndex = 281;
            this.label12.Text = "计划完工日期";
            // 
@@ -1178,18 +1223,20 @@
            // 
            this.dtpHPlanBeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHPlanBeginDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHPlanBeginDate.Location = new System.Drawing.Point(92, 108);
            this.dtpHPlanBeginDate.Location = new System.Drawing.Point(123, 135);
            this.dtpHPlanBeginDate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.dtpHPlanBeginDate.Name = "dtpHPlanBeginDate";
            this.dtpHPlanBeginDate.Size = new System.Drawing.Size(188, 21);
            this.dtpHPlanBeginDate.Size = new System.Drawing.Size(249, 25);
            this.dtpHPlanBeginDate.TabIndex = 280;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.ForeColor = System.Drawing.Color.Black;
            this.label7.Location = new System.Drawing.Point(10, 112);
            this.label7.Location = new System.Drawing.Point(13, 140);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(77, 12);
            this.label7.Size = new System.Drawing.Size(97, 15);
            this.label7.TabIndex = 279;
            this.label7.Text = "计划开工日期";
            // 
@@ -1198,9 +1245,10 @@
            this.cmdHUnitID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHUnitID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHUnitID.Image")));
            this.cmdHUnitID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHUnitID.Location = new System.Drawing.Point(847, 78);
            this.cmdHUnitID.Location = new System.Drawing.Point(1129, 98);
            this.cmdHUnitID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHUnitID.Name = "cmdHUnitID";
            this.cmdHUnitID.Size = new System.Drawing.Size(22, 22);
            this.cmdHUnitID.Size = new System.Drawing.Size(29, 28);
            this.cmdHUnitID.TabIndex = 274;
            this.cmdHUnitID.UseVisualStyleBackColor = false;
            this.cmdHUnitID.Visible = false;
@@ -1210,9 +1258,10 @@
            // 
            this.label26.AutoSize = true;
            this.label26.ForeColor = System.Drawing.Color.Black;
            this.label26.Location = new System.Drawing.Point(606, 84);
            this.label26.Location = new System.Drawing.Point(808, 105);
            this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(53, 12);
            this.label26.Size = new System.Drawing.Size(69, 15);
            this.label26.TabIndex = 272;
            this.label26.Text = "单    ä½";
            // 
@@ -1220,9 +1269,10 @@
            // 
            this.txtHUnitID.BackColor = System.Drawing.Color.Beige;
            this.txtHUnitID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHUnitID.Location = new System.Drawing.Point(680, 80);
            this.txtHUnitID.Location = new System.Drawing.Point(907, 100);
            this.txtHUnitID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHUnitID.Name = "txtHUnitID";
            this.txtHUnitID.Size = new System.Drawing.Size(166, 21);
            this.txtHUnitID.Size = new System.Drawing.Size(220, 25);
            this.txtHUnitID.TabIndex = 273;
            this.txtHUnitID.Tag = "0";
            this.txtHUnitID.TextChanged += new System.EventHandler(this.txtHUnitID_TextChanged);
@@ -1231,9 +1281,10 @@
            // 
            this.label1.AutoSize = true;
            this.label1.ForeColor = System.Drawing.Color.Black;
            this.label1.Location = new System.Drawing.Point(18, 83);
            this.label1.Location = new System.Drawing.Point(24, 104);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.Size = new System.Drawing.Size(82, 15);
            this.label1.TabIndex = 265;
            this.label1.Text = "生产订单号";
            // 
@@ -1241,9 +1292,10 @@
            // 
            this.txtHICMOBillNo.BackColor = System.Drawing.SystemColors.Window;
            this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOBillNo.Location = new System.Drawing.Point(92, 80);
            this.txtHICMOBillNo.Location = new System.Drawing.Point(123, 100);
            this.txtHICMOBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHICMOBillNo.Name = "txtHICMOBillNo";
            this.txtHICMOBillNo.Size = new System.Drawing.Size(188, 21);
            this.txtHICMOBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHICMOBillNo.TabIndex = 266;
            this.txtHICMOBillNo.Tag = "0";
            // 
@@ -1251,36 +1303,40 @@
            // 
            this.txtHExplanation.BackColor = System.Drawing.SystemColors.Window;
            this.txtHExplanation.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHExplanation.Location = new System.Drawing.Point(92, 139);
            this.txtHExplanation.Location = new System.Drawing.Point(123, 174);
            this.txtHExplanation.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHExplanation.Name = "txtHExplanation";
            this.txtHExplanation.Size = new System.Drawing.Size(398, 21);
            this.txtHExplanation.Size = new System.Drawing.Size(529, 25);
            this.txtHExplanation.TabIndex = 284;
            this.txtHExplanation.Tag = "0";
            // 
            // txtHRemark
            // 
            this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHRemark.Location = new System.Drawing.Point(92, 166);
            this.txtHRemark.Location = new System.Drawing.Point(123, 208);
            this.txtHRemark.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHRemark.Name = "txtHRemark";
            this.txtHRemark.Size = new System.Drawing.Size(472, 21);
            this.txtHRemark.Size = new System.Drawing.Size(628, 25);
            this.txtHRemark.TabIndex = 264;
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.ForeColor = System.Drawing.Color.Black;
            this.label20.Location = new System.Drawing.Point(22, 170);
            this.label20.Location = new System.Drawing.Point(29, 212);
            this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(53, 12);
            this.label20.Size = new System.Drawing.Size(69, 15);
            this.label20.TabIndex = 263;
            this.label20.Text = "备    æ³¨";
            // 
            // txtHWWOrderBillNo
            // 
            this.txtHWWOrderBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWWOrderBillNo.Location = new System.Drawing.Point(681, 305);
            this.txtHWWOrderBillNo.Location = new System.Drawing.Point(908, 381);
            this.txtHWWOrderBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWWOrderBillNo.Name = "txtHWWOrderBillNo";
            this.txtHWWOrderBillNo.Size = new System.Drawing.Size(188, 21);
            this.txtHWWOrderBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHWWOrderBillNo.TabIndex = 262;
            this.txtHWWOrderBillNo.Tag = "0";
            this.txtHWWOrderBillNo.Visible = false;
@@ -1289,9 +1345,10 @@
            // 
            this.label2.AutoSize = true;
            this.label2.ForeColor = System.Drawing.Color.Black;
            this.label2.Location = new System.Drawing.Point(601, 309);
            this.label2.Location = new System.Drawing.Point(801, 386);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.Size = new System.Drawing.Size(82, 15);
            this.label2.TabIndex = 261;
            this.label2.Text = "委外订单号";
            this.label2.Visible = false;
@@ -1300,9 +1357,10 @@
            // 
            this.label5.AutoSize = true;
            this.label5.ForeColor = System.Drawing.Color.Black;
            this.label5.Location = new System.Drawing.Point(23, 309);
            this.label5.Location = new System.Drawing.Point(31, 386);
            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(77, 12);
            this.label5.Size = new System.Drawing.Size(97, 15);
            this.label5.TabIndex = 259;
            this.label5.Text = "委外订单内码";
            this.label5.Visible = false;
@@ -1310,9 +1368,10 @@
            // txtHWWOrderInterID
            // 
            this.txtHWWOrderInterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWWOrderInterID.Location = new System.Drawing.Point(104, 305);
            this.txtHWWOrderInterID.Location = new System.Drawing.Point(139, 381);
            this.txtHWWOrderInterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWWOrderInterID.Name = "txtHWWOrderInterID";
            this.txtHWWOrderInterID.Size = new System.Drawing.Size(188, 21);
            this.txtHWWOrderInterID.Size = new System.Drawing.Size(249, 25);
            this.txtHWWOrderInterID.TabIndex = 260;
            this.txtHWWOrderInterID.Tag = "0";
            this.txtHWWOrderInterID.Visible = false;
@@ -1320,9 +1379,10 @@
            // txtHWWOrderEntryID
            // 
            this.txtHWWOrderEntryID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWWOrderEntryID.Location = new System.Drawing.Point(400, 305);
            this.txtHWWOrderEntryID.Location = new System.Drawing.Point(533, 381);
            this.txtHWWOrderEntryID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWWOrderEntryID.Name = "txtHWWOrderEntryID";
            this.txtHWWOrderEntryID.Size = new System.Drawing.Size(188, 21);
            this.txtHWWOrderEntryID.Size = new System.Drawing.Size(249, 25);
            this.txtHWWOrderEntryID.TabIndex = 258;
            this.txtHWWOrderEntryID.Tag = "0";
            this.txtHWWOrderEntryID.Visible = false;
@@ -1331,9 +1391,10 @@
            // 
            this.label16.AutoSize = true;
            this.label16.ForeColor = System.Drawing.Color.Black;
            this.label16.Location = new System.Drawing.Point(306, 309);
            this.label16.Location = new System.Drawing.Point(408, 386);
            this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(89, 12);
            this.label16.Size = new System.Drawing.Size(112, 15);
            this.label16.TabIndex = 257;
            this.label16.Text = "委外订单子内码";
            this.label16.Visible = false;
@@ -1342,18 +1403,20 @@
            // 
            this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.dtpHDate.Location = new System.Drawing.Point(376, 23);
            this.dtpHDate.Location = new System.Drawing.Point(501, 29);
            this.dtpHDate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.dtpHDate.Name = "dtpHDate";
            this.dtpHDate.Size = new System.Drawing.Size(184, 21);
            this.dtpHDate.Size = new System.Drawing.Size(244, 25);
            this.dtpHDate.TabIndex = 256;
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.ForeColor = System.Drawing.Color.Black;
            this.label9.Location = new System.Drawing.Point(307, 27);
            this.label9.Location = new System.Drawing.Point(409, 34);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(53, 12);
            this.label9.Size = new System.Drawing.Size(69, 15);
            this.label9.TabIndex = 255;
            this.label9.Text = "日    æœŸ";
            // 
@@ -1361,9 +1424,10 @@
            // 
            this.label4.AutoSize = true;
            this.label4.ForeColor = System.Drawing.Color.Black;
            this.label4.Location = new System.Drawing.Point(22, 27);
            this.label4.Location = new System.Drawing.Point(29, 34);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(53, 12);
            this.label4.Size = new System.Drawing.Size(68, 15);
            this.label4.TabIndex = 251;
            this.label4.Text = "单 æ® å·";
            // 
@@ -1371,9 +1435,10 @@
            // 
            this.txtHBillNo.BackColor = System.Drawing.Color.Beige;
            this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBillNo.Location = new System.Drawing.Point(92, 23);
            this.txtHBillNo.Location = new System.Drawing.Point(123, 29);
            this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.Size = new System.Drawing.Size(188, 21);
            this.txtHBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHBillNo.TabIndex = 252;
            // 
            // tabPage3
@@ -1408,11 +1473,11 @@
            this.tabPage3.Controls.Add(this.cmdHMaterID);
            this.tabPage3.Controls.Add(this.label6);
            this.tabPage3.Controls.Add(this.label10);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Margin = new System.Windows.Forms.Padding(2);
            this.tabPage3.Location = new System.Drawing.Point(4, 25);
            this.tabPage3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Padding = new System.Windows.Forms.Padding(2);
            this.tabPage3.Size = new System.Drawing.Size(1260, 194);
            this.tabPage3.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage3.Size = new System.Drawing.Size(1682, 247);
            this.tabPage3.TabIndex = 1;
            this.tabPage3.Text = "其他信息";
            // 
@@ -1420,47 +1485,52 @@
            // 
            this.txtHprocExQty.BackColor = System.Drawing.SystemColors.Window;
            this.txtHprocExQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHprocExQty.Location = new System.Drawing.Point(704, 81);
            this.txtHprocExQty.Location = new System.Drawing.Point(939, 101);
            this.txtHprocExQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHprocExQty.Name = "txtHprocExQty";
            this.txtHprocExQty.ReadOnly = true;
            this.txtHprocExQty.Size = new System.Drawing.Size(86, 21);
            this.txtHprocExQty.Size = new System.Drawing.Size(113, 25);
            this.txtHprocExQty.TabIndex = 313;
            this.txtHprocExQty.Tag = "0";
            this.txtHprocExQty.TextChanged += new System.EventHandler(this.txtHprocExQty_TextChanged);
            // 
            // txtHWorkTypeID
            // 
            this.txtHWorkTypeID.Location = new System.Drawing.Point(618, 111);
            this.txtHWorkTypeID.Location = new System.Drawing.Point(824, 139);
            this.txtHWorkTypeID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWorkTypeID.Name = "txtHWorkTypeID";
            this.txtHWorkTypeID.Size = new System.Drawing.Size(173, 21);
            this.txtHWorkTypeID.Size = new System.Drawing.Size(229, 25);
            this.txtHWorkTypeID.TabIndex = 308;
            // 
            // txtHPlanQty
            // 
            this.txtHPlanQty.BackColor = System.Drawing.SystemColors.Window;
            this.txtHPlanQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPlanQty.Location = new System.Drawing.Point(618, 81);
            this.txtHPlanQty.Location = new System.Drawing.Point(824, 101);
            this.txtHPlanQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPlanQty.Name = "txtHPlanQty";
            this.txtHPlanQty.ReadOnly = true;
            this.txtHPlanQty.Size = new System.Drawing.Size(85, 21);
            this.txtHPlanQty.Size = new System.Drawing.Size(112, 25);
            this.txtHPlanQty.TabIndex = 278;
            this.txtHPlanQty.Tag = "0";
            this.txtHPlanQty.TextChanged += new System.EventHandler(this.txtHPlanQty_TextChanged);
            // 
            // txtHICMOEntryID
            // 
            this.txtHICMOEntryID.Location = new System.Drawing.Point(328, 111);
            this.txtHICMOEntryID.Location = new System.Drawing.Point(437, 139);
            this.txtHICMOEntryID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHICMOEntryID.Name = "txtHICMOEntryID";
            this.txtHICMOEntryID.Size = new System.Drawing.Size(188, 21);
            this.txtHICMOEntryID.Size = new System.Drawing.Size(249, 25);
            this.txtHICMOEntryID.TabIndex = 309;
            // 
            // label28
            // 
            this.label28.AutoSize = true;
            this.label28.ForeColor = System.Drawing.Color.Black;
            this.label28.Location = new System.Drawing.Point(540, 81);
            this.label28.Location = new System.Drawing.Point(720, 101);
            this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(53, 12);
            this.label28.Size = new System.Drawing.Size(67, 15);
            this.label28.TabIndex = 277;
            this.label28.Text = "生产数量";
            // 
@@ -1468,9 +1538,10 @@
            // 
            this.cmdSourceBillNo.Image = ((System.Drawing.Image)(resources.GetObject("cmdSourceBillNo.Image")));
            this.cmdSourceBillNo.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdSourceBillNo.Location = new System.Drawing.Point(493, 47);
            this.cmdSourceBillNo.Location = new System.Drawing.Point(657, 59);
            this.cmdSourceBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdSourceBillNo.Name = "cmdSourceBillNo";
            this.cmdSourceBillNo.Size = new System.Drawing.Size(22, 22);
            this.cmdSourceBillNo.Size = new System.Drawing.Size(29, 28);
            this.cmdSourceBillNo.TabIndex = 293;
            this.cmdSourceBillNo.UseVisualStyleBackColor = true;
            this.cmdSourceBillNo.Click += new System.EventHandler(this.cmdSourceBillNo_Click);
@@ -1479,9 +1550,10 @@
            // 
            this.label3.AutoSize = true;
            this.label3.ForeColor = System.Drawing.Color.Black;
            this.label3.Location = new System.Drawing.Point(540, 15);
            this.label3.Location = new System.Drawing.Point(720, 19);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(77, 12);
            this.label3.Size = new System.Drawing.Size(97, 15);
            this.label3.TabIndex = 285;
            this.label3.Text = "委外加工单位";
            // 
@@ -1489,9 +1561,10 @@
            // 
            this.txtHModel.BackColor = System.Drawing.SystemColors.Window;
            this.txtHModel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHModel.Location = new System.Drawing.Point(85, 81);
            this.txtHModel.Location = new System.Drawing.Point(113, 101);
            this.txtHModel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHModel.Name = "txtHModel";
            this.txtHModel.Size = new System.Drawing.Size(171, 21);
            this.txtHModel.Size = new System.Drawing.Size(227, 25);
            this.txtHModel.TabIndex = 297;
            this.txtHModel.Tag = "0";
            // 
@@ -1499,9 +1572,10 @@
            // 
            this.txtHUnitNumber.BackColor = System.Drawing.SystemColors.Window;
            this.txtHUnitNumber.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHUnitNumber.Location = new System.Drawing.Point(618, 47);
            this.txtHUnitNumber.Location = new System.Drawing.Point(824, 59);
            this.txtHUnitNumber.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHUnitNumber.Name = "txtHUnitNumber";
            this.txtHUnitNumber.Size = new System.Drawing.Size(173, 21);
            this.txtHUnitNumber.Size = new System.Drawing.Size(229, 25);
            this.txtHUnitNumber.TabIndex = 276;
            this.txtHUnitNumber.Tag = "0";
            // 
@@ -1509,25 +1583,28 @@
            // 
            this.label18.AutoSize = true;
            this.label18.ForeColor = System.Drawing.Color.Black;
            this.label18.Location = new System.Drawing.Point(266, 81);
            this.label18.Location = new System.Drawing.Point(355, 101);
            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(53, 12);
            this.label18.Size = new System.Drawing.Size(67, 15);
            this.label18.TabIndex = 94;
            this.label18.Text = "主要材料";
            // 
            // txtHKeyMaterID
            // 
            this.txtHKeyMaterID.Location = new System.Drawing.Point(85, 111);
            this.txtHKeyMaterID.Location = new System.Drawing.Point(113, 139);
            this.txtHKeyMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHKeyMaterID.Name = "txtHKeyMaterID";
            this.txtHKeyMaterID.Size = new System.Drawing.Size(171, 21);
            this.txtHKeyMaterID.Size = new System.Drawing.Size(227, 25);
            this.txtHKeyMaterID.TabIndex = 278;
            // 
            // txtHSupID
            // 
            this.txtHSupID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSupID.Location = new System.Drawing.Point(618, 15);
            this.txtHSupID.Location = new System.Drawing.Point(824, 19);
            this.txtHSupID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSupID.Name = "txtHSupID";
            this.txtHSupID.Size = new System.Drawing.Size(173, 21);
            this.txtHSupID.Size = new System.Drawing.Size(229, 25);
            this.txtHSupID.TabIndex = 286;
            this.txtHSupID.Tag = "0";
            this.txtHSupID.TextChanged += new System.EventHandler(this.txtHSupID_TextChanged);
@@ -1536,34 +1613,38 @@
            // 
            this.label24.AutoSize = true;
            this.label24.ForeColor = System.Drawing.Color.Black;
            this.label24.Location = new System.Drawing.Point(540, 47);
            this.label24.Location = new System.Drawing.Point(720, 59);
            this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(53, 12);
            this.label24.Size = new System.Drawing.Size(67, 15);
            this.label24.TabIndex = 275;
            this.label24.Text = "单位代码";
            // 
            // txtHMainMaterID
            // 
            this.txtHMainMaterID.Location = new System.Drawing.Point(328, 81);
            this.txtHMainMaterID.Location = new System.Drawing.Point(437, 101);
            this.txtHMainMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMainMaterID.Name = "txtHMainMaterID";
            this.txtHMainMaterID.Size = new System.Drawing.Size(188, 21);
            this.txtHMainMaterID.Size = new System.Drawing.Size(249, 25);
            this.txtHMainMaterID.TabIndex = 277;
            // 
            // textBox2
            // 
            this.textBox2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textBox2.Location = new System.Drawing.Point(328, 47);
            this.textBox2.Location = new System.Drawing.Point(437, 59);
            this.textBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(167, 21);
            this.textBox2.Size = new System.Drawing.Size(221, 25);
            this.textBox2.TabIndex = 292;
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.ForeColor = System.Drawing.Color.Black;
            this.label22.Location = new System.Drawing.Point(540, 111);
            this.label22.Location = new System.Drawing.Point(720, 139);
            this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(65, 12);
            this.label22.Size = new System.Drawing.Size(82, 15);
            this.label22.TabIndex = 253;
            this.label22.Text = "流转卡类型";
            // 
@@ -1572,9 +1653,10 @@
            this.cmdHSupID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSupID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSupID.Image")));
            this.cmdHSupID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHSupID.Location = new System.Drawing.Point(791, 15);
            this.cmdHSupID.Location = new System.Drawing.Point(1055, 19);
            this.cmdHSupID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHSupID.Name = "cmdHSupID";
            this.cmdHSupID.Size = new System.Drawing.Size(22, 22);
            this.cmdHSupID.Size = new System.Drawing.Size(29, 28);
            this.cmdHSupID.TabIndex = 287;
            this.cmdHSupID.UseVisualStyleBackColor = false;
            this.cmdHSupID.Click += new System.EventHandler(this.cmdHSupID_Click);
@@ -1583,9 +1665,10 @@
            // 
            this.label31.AutoSize = true;
            this.label31.ForeColor = System.Drawing.Color.Black;
            this.label31.Location = new System.Drawing.Point(28, 81);
            this.label31.Location = new System.Drawing.Point(37, 101);
            this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(53, 12);
            this.label31.Size = new System.Drawing.Size(67, 15);
            this.label31.TabIndex = 296;
            this.label31.Text = "子件规格";
            // 
@@ -1594,9 +1677,10 @@
            this.cmdHWorkShopID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHWorkShopID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHWorkShopID.Image")));
            this.cmdHWorkShopID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHWorkShopID.Location = new System.Drawing.Point(233, 15);
            this.cmdHWorkShopID.Location = new System.Drawing.Point(311, 19);
            this.cmdHWorkShopID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHWorkShopID.Name = "cmdHWorkShopID";
            this.cmdHWorkShopID.Size = new System.Drawing.Size(22, 22);
            this.cmdHWorkShopID.Size = new System.Drawing.Size(29, 28);
            this.cmdHWorkShopID.TabIndex = 290;
            this.cmdHWorkShopID.UseVisualStyleBackColor = false;
            this.cmdHWorkShopID.Click += new System.EventHandler(this.cmdHWorkShopID_Click);
@@ -1605,9 +1689,10 @@
            // 
            this.label29.AutoSize = true;
            this.label29.ForeColor = System.Drawing.Color.Black;
            this.label29.Location = new System.Drawing.Point(266, 47);
            this.label29.Location = new System.Drawing.Point(355, 59);
            this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(53, 12);
            this.label29.Size = new System.Drawing.Size(68, 15);
            this.label29.TabIndex = 291;
            this.label29.Text = "选 å• å·";
            // 
@@ -1616,9 +1701,10 @@
            this.cmdWorkType.BackColor = System.Drawing.Color.Transparent;
            this.cmdWorkType.Image = ((System.Drawing.Image)(resources.GetObject("cmdWorkType.Image")));
            this.cmdWorkType.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdWorkType.Location = new System.Drawing.Point(791, 111);
            this.cmdWorkType.Location = new System.Drawing.Point(1055, 139);
            this.cmdWorkType.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdWorkType.Name = "cmdWorkType";
            this.cmdWorkType.Size = new System.Drawing.Size(22, 22);
            this.cmdWorkType.Size = new System.Drawing.Size(29, 28);
            this.cmdWorkType.TabIndex = 309;
            this.cmdWorkType.UseVisualStyleBackColor = false;
            this.cmdWorkType.Click += new System.EventHandler(this.cmdWorkType_Click);
@@ -1626,9 +1712,10 @@
            // txtHWorkShopID
            // 
            this.txtHWorkShopID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWorkShopID.Location = new System.Drawing.Point(86, 15);
            this.txtHWorkShopID.Location = new System.Drawing.Point(115, 19);
            this.txtHWorkShopID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWorkShopID.Name = "txtHWorkShopID";
            this.txtHWorkShopID.Size = new System.Drawing.Size(146, 21);
            this.txtHWorkShopID.Size = new System.Drawing.Size(193, 25);
            this.txtHWorkShopID.TabIndex = 289;
            this.txtHWorkShopID.Tag = "0";
            this.txtHWorkShopID.TextChanged += new System.EventHandler(this.txtHWorkShopID_TextChanged);
@@ -1637,9 +1724,10 @@
            // 
            this.label32.AutoSize = true;
            this.label32.ForeColor = System.Drawing.Color.Black;
            this.label32.Location = new System.Drawing.Point(28, 111);
            this.label32.Location = new System.Drawing.Point(37, 139);
            this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(53, 12);
            this.label32.Size = new System.Drawing.Size(67, 15);
            this.label32.TabIndex = 283;
            this.label32.Text = "关键材料";
            // 
@@ -1647,9 +1735,10 @@
            // 
            this.txtHMaterNumber.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterNumber.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterNumber.Location = new System.Drawing.Point(328, 15);
            this.txtHMaterNumber.Location = new System.Drawing.Point(437, 19);
            this.txtHMaterNumber.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterNumber.Name = "txtHMaterNumber";
            this.txtHMaterNumber.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterNumber.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterNumber.TabIndex = 271;
            this.txtHMaterNumber.Tag = "0";
            // 
@@ -1657,9 +1746,10 @@
            // 
            this.txtHMaterID.BackColor = System.Drawing.Color.Beige;
            this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID.Location = new System.Drawing.Point(85, 47);
            this.txtHMaterID.Location = new System.Drawing.Point(113, 59);
            this.txtHMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterID.Name = "txtHMaterID";
            this.txtHMaterID.Size = new System.Drawing.Size(149, 21);
            this.txtHMaterID.Size = new System.Drawing.Size(197, 25);
            this.txtHMaterID.TabIndex = 268;
            this.txtHMaterID.Tag = "0";
            this.txtHMaterID.TextChanged += new System.EventHandler(this.txtHMaterID_TextChanged);
@@ -1668,9 +1758,10 @@
            // 
            this.label14.AutoSize = true;
            this.label14.ForeColor = System.Drawing.Color.Black;
            this.label14.Location = new System.Drawing.Point(28, 47);
            this.label14.Location = new System.Drawing.Point(37, 59);
            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(53, 12);
            this.label14.Size = new System.Drawing.Size(67, 15);
            this.label14.TabIndex = 267;
            this.label14.Text = "子件名称";
            // 
@@ -1679,9 +1770,10 @@
            this.cmdHMaterID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image")));
            this.cmdHMaterID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
            this.cmdHMaterID.Location = new System.Drawing.Point(233, 47);
            this.cmdHMaterID.Location = new System.Drawing.Point(311, 59);
            this.cmdHMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHMaterID.Name = "cmdHMaterID";
            this.cmdHMaterID.Size = new System.Drawing.Size(22, 22);
            this.cmdHMaterID.Size = new System.Drawing.Size(29, 28);
            this.cmdHMaterID.TabIndex = 269;
            this.cmdHMaterID.UseVisualStyleBackColor = false;
            this.cmdHMaterID.Click += new System.EventHandler(this.cmdHMaterID_Click);
@@ -1690,9 +1782,10 @@
            // 
            this.label6.AutoSize = true;
            this.label6.ForeColor = System.Drawing.Color.Black;
            this.label6.Location = new System.Drawing.Point(28, 15);
            this.label6.Location = new System.Drawing.Point(37, 19);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(53, 12);
            this.label6.Size = new System.Drawing.Size(67, 15);
            this.label6.TabIndex = 288;
            this.label6.Text = "生产车间";
            // 
@@ -1700,9 +1793,10 @@
            // 
            this.label10.AutoSize = true;
            this.label10.ForeColor = System.Drawing.Color.Black;
            this.label10.Location = new System.Drawing.Point(266, 15);
            this.label10.Location = new System.Drawing.Point(355, 19);
            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(53, 12);
            this.label10.Size = new System.Drawing.Size(67, 15);
            this.label10.TabIndex = 270;
            this.label10.Text = "子件代码";
            // 
@@ -1747,10 +1841,11 @@
            this.tabPage4.Controls.Add(this.label44);
            this.tabPage4.Controls.Add(this.txtHProdMaterCode);
            this.tabPage4.Controls.Add(this.label43);
            this.tabPage4.Location = new System.Drawing.Point(4, 22);
            this.tabPage4.Location = new System.Drawing.Point(4, 25);
            this.tabPage4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage4.Size = new System.Drawing.Size(1260, 194);
            this.tabPage4.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabPage4.Size = new System.Drawing.Size(1683, 246);
            this.tabPage4.TabIndex = 2;
            this.tabPage4.Text = "检移票信息";
            // 
@@ -1758,9 +1853,10 @@
            // 
            this.txtHMaterIDD.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterIDD.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterIDD.Location = new System.Drawing.Point(108, 170);
            this.txtHMaterIDD.Location = new System.Drawing.Point(144, 212);
            this.txtHMaterIDD.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterIDD.Name = "txtHMaterIDD";
            this.txtHMaterIDD.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterIDD.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterIDD.TabIndex = 308;
            this.txtHMaterIDD.Tag = "0";
            // 
@@ -1768,9 +1864,10 @@
            // 
            this.label61.AutoSize = true;
            this.label61.ForeColor = System.Drawing.Color.Black;
            this.label61.Location = new System.Drawing.Point(27, 173);
            this.label61.Location = new System.Drawing.Point(36, 216);
            this.label61.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label61.Name = "label61";
            this.label61.Size = new System.Drawing.Size(71, 12);
            this.label61.Size = new System.Drawing.Size(90, 15);
            this.label61.TabIndex = 307;
            this.label61.Text = "原材料内码D";
            // 
@@ -1778,9 +1875,10 @@
            // 
            this.txtHMaterIDC.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterIDC.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterIDC.Location = new System.Drawing.Point(706, 143);
            this.txtHMaterIDC.Location = new System.Drawing.Point(941, 179);
            this.txtHMaterIDC.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterIDC.Name = "txtHMaterIDC";
            this.txtHMaterIDC.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterIDC.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterIDC.TabIndex = 306;
            this.txtHMaterIDC.Tag = "0";
            // 
@@ -1788,9 +1886,10 @@
            // 
            this.label60.AutoSize = true;
            this.label60.ForeColor = System.Drawing.Color.Black;
            this.label60.Location = new System.Drawing.Point(631, 146);
            this.label60.Location = new System.Drawing.Point(841, 182);
            this.label60.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label60.Name = "label60";
            this.label60.Size = new System.Drawing.Size(71, 12);
            this.label60.Size = new System.Drawing.Size(90, 15);
            this.label60.TabIndex = 305;
            this.label60.Text = "原材料内码C";
            // 
@@ -1798,9 +1897,10 @@
            // 
            this.txtHMaterIDB.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterIDB.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterIDB.Location = new System.Drawing.Point(399, 143);
            this.txtHMaterIDB.Location = new System.Drawing.Point(532, 179);
            this.txtHMaterIDB.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterIDB.Name = "txtHMaterIDB";
            this.txtHMaterIDB.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterIDB.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterIDB.TabIndex = 304;
            this.txtHMaterIDB.Tag = "0";
            // 
@@ -1808,9 +1908,10 @@
            // 
            this.label59.AutoSize = true;
            this.label59.ForeColor = System.Drawing.Color.Black;
            this.label59.Location = new System.Drawing.Point(322, 146);
            this.label59.Location = new System.Drawing.Point(429, 182);
            this.label59.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label59.Name = "label59";
            this.label59.Size = new System.Drawing.Size(71, 12);
            this.label59.Size = new System.Drawing.Size(90, 15);
            this.label59.TabIndex = 303;
            this.label59.Text = "原材料内码B";
            // 
@@ -1818,9 +1919,10 @@
            // 
            this.txtHMaterIDA.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterIDA.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterIDA.Location = new System.Drawing.Point(108, 143);
            this.txtHMaterIDA.Location = new System.Drawing.Point(144, 179);
            this.txtHMaterIDA.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterIDA.Name = "txtHMaterIDA";
            this.txtHMaterIDA.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterIDA.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterIDA.TabIndex = 302;
            this.txtHMaterIDA.Tag = "0";
            // 
@@ -1828,9 +1930,10 @@
            // 
            this.label58.AutoSize = true;
            this.label58.ForeColor = System.Drawing.Color.Black;
            this.label58.Location = new System.Drawing.Point(27, 146);
            this.label58.Location = new System.Drawing.Point(36, 182);
            this.label58.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label58.Name = "label58";
            this.label58.Size = new System.Drawing.Size(71, 12);
            this.label58.Size = new System.Drawing.Size(90, 15);
            this.label58.TabIndex = 301;
            this.label58.Text = "原材料内码A";
            // 
@@ -1838,9 +1941,10 @@
            // 
            this.txtHMaterShortName.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterShortName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterShortName.Location = new System.Drawing.Point(706, 116);
            this.txtHMaterShortName.Location = new System.Drawing.Point(941, 145);
            this.txtHMaterShortName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterShortName.Name = "txtHMaterShortName";
            this.txtHMaterShortName.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterShortName.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterShortName.TabIndex = 300;
            this.txtHMaterShortName.Tag = "0";
            // 
@@ -1848,9 +1952,10 @@
            // 
            this.label57.AutoSize = true;
            this.label57.ForeColor = System.Drawing.Color.Black;
            this.label57.Location = new System.Drawing.Point(631, 119);
            this.label57.Location = new System.Drawing.Point(841, 149);
            this.label57.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label57.Name = "label57";
            this.label57.Size = new System.Drawing.Size(65, 12);
            this.label57.Size = new System.Drawing.Size(82, 15);
            this.label57.TabIndex = 299;
            this.label57.Text = "原材料简称";
            // 
@@ -1858,9 +1963,10 @@
            // 
            this.txtHProdType.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProdType.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProdType.Location = new System.Drawing.Point(399, 116);
            this.txtHProdType.Location = new System.Drawing.Point(532, 145);
            this.txtHProdType.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProdType.Name = "txtHProdType";
            this.txtHProdType.Size = new System.Drawing.Size(188, 21);
            this.txtHProdType.Size = new System.Drawing.Size(249, 25);
            this.txtHProdType.TabIndex = 298;
            this.txtHProdType.Tag = "0";
            // 
@@ -1868,9 +1974,10 @@
            // 
            this.label56.AutoSize = true;
            this.label56.ForeColor = System.Drawing.Color.Black;
            this.label56.Location = new System.Drawing.Point(322, 119);
            this.label56.Location = new System.Drawing.Point(429, 149);
            this.label56.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label56.Name = "label56";
            this.label56.Size = new System.Drawing.Size(53, 12);
            this.label56.Size = new System.Drawing.Size(67, 15);
            this.label56.TabIndex = 297;
            this.label56.Text = "生产类型";
            // 
@@ -1878,9 +1985,10 @@
            // 
            this.txtHMaterNumber_D.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterNumber_D.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterNumber_D.Location = new System.Drawing.Point(108, 116);
            this.txtHMaterNumber_D.Location = new System.Drawing.Point(144, 145);
            this.txtHMaterNumber_D.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterNumber_D.Name = "txtHMaterNumber_D";
            this.txtHMaterNumber_D.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterNumber_D.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterNumber_D.TabIndex = 296;
            this.txtHMaterNumber_D.Tag = "0";
            // 
@@ -1888,9 +1996,10 @@
            // 
            this.label55.AutoSize = true;
            this.label55.ForeColor = System.Drawing.Color.Black;
            this.label55.Location = new System.Drawing.Point(27, 119);
            this.label55.Location = new System.Drawing.Point(36, 149);
            this.label55.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label55.Name = "label55";
            this.label55.Size = new System.Drawing.Size(71, 12);
            this.label55.Size = new System.Drawing.Size(90, 15);
            this.label55.TabIndex = 295;
            this.label55.Text = "原材料编号D";
            // 
@@ -1898,9 +2007,10 @@
            // 
            this.txtHMaterNumber_C.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterNumber_C.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterNumber_C.Location = new System.Drawing.Point(706, 89);
            this.txtHMaterNumber_C.Location = new System.Drawing.Point(941, 111);
            this.txtHMaterNumber_C.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterNumber_C.Name = "txtHMaterNumber_C";
            this.txtHMaterNumber_C.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterNumber_C.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterNumber_C.TabIndex = 294;
            this.txtHMaterNumber_C.Tag = "0";
            // 
@@ -1908,9 +2018,10 @@
            // 
            this.label54.AutoSize = true;
            this.label54.ForeColor = System.Drawing.Color.Black;
            this.label54.Location = new System.Drawing.Point(631, 92);
            this.label54.Location = new System.Drawing.Point(841, 115);
            this.label54.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label54.Name = "label54";
            this.label54.Size = new System.Drawing.Size(71, 12);
            this.label54.Size = new System.Drawing.Size(90, 15);
            this.label54.TabIndex = 293;
            this.label54.Text = "原材料编号C";
            // 
@@ -1918,9 +2029,10 @@
            // 
            this.txtHMaterNumber_B.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterNumber_B.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterNumber_B.Location = new System.Drawing.Point(399, 89);
            this.txtHMaterNumber_B.Location = new System.Drawing.Point(532, 111);
            this.txtHMaterNumber_B.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterNumber_B.Name = "txtHMaterNumber_B";
            this.txtHMaterNumber_B.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterNumber_B.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterNumber_B.TabIndex = 292;
            this.txtHMaterNumber_B.Tag = "0";
            // 
@@ -1928,9 +2040,10 @@
            // 
            this.label53.AutoSize = true;
            this.label53.ForeColor = System.Drawing.Color.Black;
            this.label53.Location = new System.Drawing.Point(322, 92);
            this.label53.Location = new System.Drawing.Point(429, 115);
            this.label53.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label53.Name = "label53";
            this.label53.Size = new System.Drawing.Size(71, 12);
            this.label53.Size = new System.Drawing.Size(90, 15);
            this.label53.TabIndex = 291;
            this.label53.Text = "原材料编号B";
            // 
@@ -1938,9 +2051,10 @@
            // 
            this.txtHMaterNumber_A.BackColor = System.Drawing.SystemColors.Window;
            this.txtHMaterNumber_A.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterNumber_A.Location = new System.Drawing.Point(108, 89);
            this.txtHMaterNumber_A.Location = new System.Drawing.Point(144, 111);
            this.txtHMaterNumber_A.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterNumber_A.Name = "txtHMaterNumber_A";
            this.txtHMaterNumber_A.Size = new System.Drawing.Size(188, 21);
            this.txtHMaterNumber_A.Size = new System.Drawing.Size(249, 25);
            this.txtHMaterNumber_A.TabIndex = 290;
            this.txtHMaterNumber_A.Tag = "0";
            // 
@@ -1948,9 +2062,10 @@
            // 
            this.label52.AutoSize = true;
            this.label52.ForeColor = System.Drawing.Color.Black;
            this.label52.Location = new System.Drawing.Point(27, 92);
            this.label52.Location = new System.Drawing.Point(36, 115);
            this.label52.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label52.Name = "label52";
            this.label52.Size = new System.Drawing.Size(71, 12);
            this.label52.Size = new System.Drawing.Size(90, 15);
            this.label52.TabIndex = 289;
            this.label52.Text = "原材料编号A";
            // 
@@ -1958,9 +2073,10 @@
            // 
            this.txtHImportNote.BackColor = System.Drawing.SystemColors.Window;
            this.txtHImportNote.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHImportNote.Location = new System.Drawing.Point(706, 62);
            this.txtHImportNote.Location = new System.Drawing.Point(941, 78);
            this.txtHImportNote.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHImportNote.Name = "txtHImportNote";
            this.txtHImportNote.Size = new System.Drawing.Size(188, 21);
            this.txtHImportNote.Size = new System.Drawing.Size(249, 25);
            this.txtHImportNote.TabIndex = 288;
            this.txtHImportNote.Tag = "0";
            // 
@@ -1968,9 +2084,10 @@
            // 
            this.label51.AutoSize = true;
            this.label51.ForeColor = System.Drawing.Color.Black;
            this.label51.Location = new System.Drawing.Point(631, 65);
            this.label51.Location = new System.Drawing.Point(841, 81);
            this.label51.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label51.Name = "label51";
            this.label51.Size = new System.Drawing.Size(53, 12);
            this.label51.Size = new System.Drawing.Size(67, 15);
            this.label51.TabIndex = 287;
            this.label51.Text = "重要提示";
            // 
@@ -1978,9 +2095,10 @@
            // 
            this.txtHWorkRemark.BackColor = System.Drawing.SystemColors.Window;
            this.txtHWorkRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWorkRemark.Location = new System.Drawing.Point(399, 62);
            this.txtHWorkRemark.Location = new System.Drawing.Point(532, 78);
            this.txtHWorkRemark.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWorkRemark.Name = "txtHWorkRemark";
            this.txtHWorkRemark.Size = new System.Drawing.Size(188, 21);
            this.txtHWorkRemark.Size = new System.Drawing.Size(249, 25);
            this.txtHWorkRemark.TabIndex = 286;
            this.txtHWorkRemark.Tag = "0";
            // 
@@ -1988,9 +2106,10 @@
            // 
            this.label50.AutoSize = true;
            this.label50.ForeColor = System.Drawing.Color.Black;
            this.label50.Location = new System.Drawing.Point(322, 65);
            this.label50.Location = new System.Drawing.Point(429, 81);
            this.label50.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(53, 12);
            this.label50.Size = new System.Drawing.Size(67, 15);
            this.label50.TabIndex = 285;
            this.label50.Text = "生产备注";
            // 
@@ -1998,9 +2117,10 @@
            // 
            this.txtHCusName.BackColor = System.Drawing.SystemColors.Window;
            this.txtHCusName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHCusName.Location = new System.Drawing.Point(108, 62);
            this.txtHCusName.Location = new System.Drawing.Point(144, 78);
            this.txtHCusName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHCusName.Name = "txtHCusName";
            this.txtHCusName.Size = new System.Drawing.Size(188, 21);
            this.txtHCusName.Size = new System.Drawing.Size(249, 25);
            this.txtHCusName.TabIndex = 284;
            this.txtHCusName.Tag = "0";
            // 
@@ -2008,9 +2128,10 @@
            // 
            this.label49.AutoSize = true;
            this.label49.ForeColor = System.Drawing.Color.Black;
            this.label49.Location = new System.Drawing.Point(27, 65);
            this.label49.Location = new System.Drawing.Point(36, 81);
            this.label49.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label49.Name = "label49";
            this.label49.Size = new System.Drawing.Size(53, 12);
            this.label49.Size = new System.Drawing.Size(67, 15);
            this.label49.TabIndex = 283;
            this.label49.Text = "客户名称";
            // 
@@ -2018,9 +2139,10 @@
            // 
            this.txtHProdMaterName.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProdMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProdMaterName.Location = new System.Drawing.Point(706, 34);
            this.txtHProdMaterName.Location = new System.Drawing.Point(941, 42);
            this.txtHProdMaterName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProdMaterName.Name = "txtHProdMaterName";
            this.txtHProdMaterName.Size = new System.Drawing.Size(188, 21);
            this.txtHProdMaterName.Size = new System.Drawing.Size(249, 25);
            this.txtHProdMaterName.TabIndex = 282;
            this.txtHProdMaterName.Tag = "0";
            // 
@@ -2028,9 +2150,10 @@
            // 
            this.label48.AutoSize = true;
            this.label48.ForeColor = System.Drawing.Color.Black;
            this.label48.Location = new System.Drawing.Point(631, 37);
            this.label48.Location = new System.Drawing.Point(841, 46);
            this.label48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label48.Name = "label48";
            this.label48.Size = new System.Drawing.Size(53, 12);
            this.label48.Size = new System.Drawing.Size(67, 15);
            this.label48.TabIndex = 281;
            this.label48.Text = "产品名称";
            // 
@@ -2038,9 +2161,10 @@
            // 
            this.txtHPlanSendGoodsDate.BackColor = System.Drawing.SystemColors.Window;
            this.txtHPlanSendGoodsDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPlanSendGoodsDate.Location = new System.Drawing.Point(399, 34);
            this.txtHPlanSendGoodsDate.Location = new System.Drawing.Point(532, 42);
            this.txtHPlanSendGoodsDate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPlanSendGoodsDate.Name = "txtHPlanSendGoodsDate";
            this.txtHPlanSendGoodsDate.Size = new System.Drawing.Size(188, 21);
            this.txtHPlanSendGoodsDate.Size = new System.Drawing.Size(249, 25);
            this.txtHPlanSendGoodsDate.TabIndex = 280;
            this.txtHPlanSendGoodsDate.Tag = "0";
            // 
@@ -2048,9 +2172,10 @@
            // 
            this.label47.AutoSize = true;
            this.label47.ForeColor = System.Drawing.Color.Black;
            this.label47.Location = new System.Drawing.Point(322, 37);
            this.label47.Location = new System.Drawing.Point(429, 46);
            this.label47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label47.Name = "label47";
            this.label47.Size = new System.Drawing.Size(77, 12);
            this.label47.Size = new System.Drawing.Size(97, 15);
            this.label47.TabIndex = 279;
            this.label47.Text = "预计出货日期";
            // 
@@ -2058,9 +2183,10 @@
            // 
            this.txtHCusNeedMaterial.BackColor = System.Drawing.SystemColors.Window;
            this.txtHCusNeedMaterial.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHCusNeedMaterial.Location = new System.Drawing.Point(108, 34);
            this.txtHCusNeedMaterial.Location = new System.Drawing.Point(144, 42);
            this.txtHCusNeedMaterial.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHCusNeedMaterial.Name = "txtHCusNeedMaterial";
            this.txtHCusNeedMaterial.Size = new System.Drawing.Size(188, 21);
            this.txtHCusNeedMaterial.Size = new System.Drawing.Size(249, 25);
            this.txtHCusNeedMaterial.TabIndex = 278;
            this.txtHCusNeedMaterial.Tag = "0";
            // 
@@ -2068,9 +2194,10 @@
            // 
            this.label46.AutoSize = true;
            this.label46.ForeColor = System.Drawing.Color.Black;
            this.label46.Location = new System.Drawing.Point(2, 37);
            this.label46.Location = new System.Drawing.Point(3, 46);
            this.label46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label46.Name = "label46";
            this.label46.Size = new System.Drawing.Size(101, 12);
            this.label46.Size = new System.Drawing.Size(127, 15);
            this.label46.TabIndex = 277;
            this.label46.Text = "客户要求材料成分";
            // 
@@ -2078,9 +2205,10 @@
            // 
            this.txtHCusShortName.BackColor = System.Drawing.SystemColors.Window;
            this.txtHCusShortName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHCusShortName.Location = new System.Drawing.Point(706, 6);
            this.txtHCusShortName.Location = new System.Drawing.Point(941, 8);
            this.txtHCusShortName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHCusShortName.Name = "txtHCusShortName";
            this.txtHCusShortName.Size = new System.Drawing.Size(188, 21);
            this.txtHCusShortName.Size = new System.Drawing.Size(249, 25);
            this.txtHCusShortName.TabIndex = 276;
            this.txtHCusShortName.Tag = "0";
            // 
@@ -2088,9 +2216,10 @@
            // 
            this.label45.AutoSize = true;
            this.label45.ForeColor = System.Drawing.Color.Black;
            this.label45.Location = new System.Drawing.Point(631, 9);
            this.label45.Location = new System.Drawing.Point(841, 11);
            this.label45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label45.Name = "label45";
            this.label45.Size = new System.Drawing.Size(53, 12);
            this.label45.Size = new System.Drawing.Size(67, 15);
            this.label45.TabIndex = 275;
            this.label45.Text = "客户简称";
            // 
@@ -2098,9 +2227,10 @@
            // 
            this.txtHSeOrderBillNo.BackColor = System.Drawing.SystemColors.Window;
            this.txtHSeOrderBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSeOrderBillNo.Location = new System.Drawing.Point(399, 6);
            this.txtHSeOrderBillNo.Location = new System.Drawing.Point(532, 8);
            this.txtHSeOrderBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSeOrderBillNo.Name = "txtHSeOrderBillNo";
            this.txtHSeOrderBillNo.Size = new System.Drawing.Size(188, 21);
            this.txtHSeOrderBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHSeOrderBillNo.TabIndex = 274;
            this.txtHSeOrderBillNo.Tag = "0";
            // 
@@ -2108,9 +2238,10 @@
            // 
            this.label44.AutoSize = true;
            this.label44.ForeColor = System.Drawing.Color.Black;
            this.label44.Location = new System.Drawing.Point(322, 9);
            this.label44.Location = new System.Drawing.Point(429, 11);
            this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label44.Name = "label44";
            this.label44.Size = new System.Drawing.Size(65, 12);
            this.label44.Size = new System.Drawing.Size(82, 15);
            this.label44.TabIndex = 273;
            this.label44.Text = "销售订单号";
            // 
@@ -2118,9 +2249,10 @@
            // 
            this.txtHProdMaterCode.BackColor = System.Drawing.SystemColors.Window;
            this.txtHProdMaterCode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProdMaterCode.Location = new System.Drawing.Point(108, 6);
            this.txtHProdMaterCode.Location = new System.Drawing.Point(144, 8);
            this.txtHProdMaterCode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProdMaterCode.Name = "txtHProdMaterCode";
            this.txtHProdMaterCode.Size = new System.Drawing.Size(188, 21);
            this.txtHProdMaterCode.Size = new System.Drawing.Size(249, 25);
            this.txtHProdMaterCode.TabIndex = 272;
            this.txtHProdMaterCode.Tag = "0";
            // 
@@ -2128,17 +2260,19 @@
            // 
            this.label43.AutoSize = true;
            this.label43.ForeColor = System.Drawing.Color.Black;
            this.label43.Location = new System.Drawing.Point(27, 9);
            this.label43.Location = new System.Drawing.Point(36, 11);
            this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(53, 12);
            this.label43.Size = new System.Drawing.Size(69, 15);
            this.label43.TabIndex = 271;
            this.label43.Text = "产品CODE";
            // 
            // pic1
            // 
            this.pic1.Location = new System.Drawing.Point(302, 3);
            this.pic1.Location = new System.Drawing.Point(403, 4);
            this.pic1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.pic1.Name = "pic1";
            this.pic1.Size = new System.Drawing.Size(66, 30);
            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;
@@ -2148,9 +2282,10 @@
            // 
            this.label33.AutoSize = true;
            this.label33.ForeColor = System.Drawing.Color.Black;
            this.label33.Location = new System.Drawing.Point(442, 25);
            this.label33.Location = new System.Drawing.Point(589, 31);
            this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(65, 12);
            this.label33.Size = new System.Drawing.Size(82, 15);
            this.label33.TabIndex = 298;
            this.label33.Text = "流转卡数量";
            this.label33.Visible = false;
@@ -2159,9 +2294,10 @@
            // 
            this.label30.AutoSize = true;
            this.label30.ForeColor = System.Drawing.Color.Black;
            this.label30.Location = new System.Drawing.Point(370, 27);
            this.label30.Location = new System.Drawing.Point(493, 34);
            this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(53, 12);
            this.label30.Size = new System.Drawing.Size(69, 15);
            this.label30.TabIndex = 294;
            this.label30.Text = "批    å·";
            this.label30.Visible = false;
@@ -2170,9 +2306,10 @@
            // 
            this.txtHBatchNo.BackColor = System.Drawing.SystemColors.Window;
            this.txtHBatchNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBatchNo.Location = new System.Drawing.Point(444, 23);
            this.txtHBatchNo.Location = new System.Drawing.Point(592, 29);
            this.txtHBatchNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHBatchNo.Name = "txtHBatchNo";
            this.txtHBatchNo.Size = new System.Drawing.Size(188, 21);
            this.txtHBatchNo.Size = new System.Drawing.Size(249, 25);
            this.txtHBatchNo.TabIndex = 295;
            this.txtHBatchNo.Tag = "0";
            this.txtHBatchNo.Visible = false;
@@ -2180,9 +2317,10 @@
            // txtHInnerBillNo
            // 
            this.txtHInnerBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHInnerBillNo.Location = new System.Drawing.Point(605, 12);
            this.txtHInnerBillNo.Location = new System.Drawing.Point(807, 15);
            this.txtHInnerBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHInnerBillNo.Name = "txtHInnerBillNo";
            this.txtHInnerBillNo.Size = new System.Drawing.Size(188, 21);
            this.txtHInnerBillNo.Size = new System.Drawing.Size(249, 25);
            this.txtHInnerBillNo.TabIndex = 254;
            this.txtHInnerBillNo.Tag = "0";
            // 
@@ -2210,18 +2348,20 @@
            this.panel2.Controls.Add(this.txtHMaker);
            this.panel2.Controls.Add(this.label8);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(41, 526);
            this.panel2.Location = new System.Drawing.Point(55, 658);
            this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(1268, 73);
            this.panel2.Size = new System.Drawing.Size(1690, 91);
            this.panel2.TabIndex = 32;
            // 
            // txtHDeleteDate
            // 
            this.txtHDeleteDate.BackColor = System.Drawing.Color.Transparent;
            this.txtHDeleteDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHDeleteDate.Location = new System.Drawing.Point(725, 47);
            this.txtHDeleteDate.Location = new System.Drawing.Point(967, 59);
            this.txtHDeleteDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHDeleteDate.Name = "txtHDeleteDate";
            this.txtHDeleteDate.Size = new System.Drawing.Size(98, 15);
            this.txtHDeleteDate.Size = new System.Drawing.Size(131, 19);
            this.txtHDeleteDate.TabIndex = 19;
            // 
            // label25
@@ -2229,9 +2369,10 @@
            this.label25.AutoSize = true;
            this.label25.BackColor = System.Drawing.Color.Transparent;
            this.label25.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label25.Location = new System.Drawing.Point(666, 50);
            this.label25.Location = new System.Drawing.Point(888, 62);
            this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(53, 12);
            this.label25.Size = new System.Drawing.Size(67, 15);
            this.label25.TabIndex = 18;
            this.label25.Text = "作废日期";
            // 
@@ -2239,9 +2380,10 @@
            // 
            this.txtHDeleteMan.BackColor = System.Drawing.Color.Transparent;
            this.txtHDeleteMan.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHDeleteMan.Location = new System.Drawing.Point(725, 12);
            this.txtHDeleteMan.Location = new System.Drawing.Point(967, 15);
            this.txtHDeleteMan.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHDeleteMan.Name = "txtHDeleteMan";
            this.txtHDeleteMan.Size = new System.Drawing.Size(98, 15);
            this.txtHDeleteMan.Size = new System.Drawing.Size(131, 19);
            this.txtHDeleteMan.TabIndex = 17;
            // 
            // label27
@@ -2249,9 +2391,10 @@
            this.label27.AutoSize = true;
            this.label27.BackColor = System.Drawing.Color.Transparent;
            this.label27.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label27.Location = new System.Drawing.Point(666, 12);
            this.label27.Location = new System.Drawing.Point(888, 15);
            this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(41, 12);
            this.label27.Size = new System.Drawing.Size(52, 15);
            this.label27.TabIndex = 16;
            this.label27.Text = "作废人";
            // 
@@ -2259,9 +2402,10 @@
            // 
            this.txtHUpDateDate.BackColor = System.Drawing.Color.Transparent;
            this.txtHUpDateDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHUpDateDate.Location = new System.Drawing.Point(562, 47);
            this.txtHUpDateDate.Location = new System.Drawing.Point(749, 59);
            this.txtHUpDateDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHUpDateDate.Name = "txtHUpDateDate";
            this.txtHUpDateDate.Size = new System.Drawing.Size(98, 15);
            this.txtHUpDateDate.Size = new System.Drawing.Size(131, 19);
            this.txtHUpDateDate.TabIndex = 15;
            // 
            // label23
@@ -2269,9 +2413,10 @@
            this.label23.AutoSize = true;
            this.label23.BackColor = System.Drawing.Color.Transparent;
            this.label23.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label23.Location = new System.Drawing.Point(503, 47);
            this.label23.Location = new System.Drawing.Point(671, 59);
            this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(53, 12);
            this.label23.Size = new System.Drawing.Size(67, 15);
            this.label23.TabIndex = 14;
            this.label23.Text = "修改日期";
            // 
@@ -2279,9 +2424,10 @@
            // 
            this.txtHUpDater.BackColor = System.Drawing.Color.Transparent;
            this.txtHUpDater.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHUpDater.Location = new System.Drawing.Point(562, 12);
            this.txtHUpDater.Location = new System.Drawing.Point(749, 15);
            this.txtHUpDater.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHUpDater.Name = "txtHUpDater";
            this.txtHUpDater.Size = new System.Drawing.Size(98, 15);
            this.txtHUpDater.Size = new System.Drawing.Size(131, 19);
            this.txtHUpDater.TabIndex = 13;
            // 
            // label21
@@ -2289,9 +2435,10 @@
            this.label21.AutoSize = true;
            this.label21.BackColor = System.Drawing.Color.Transparent;
            this.label21.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label21.Location = new System.Drawing.Point(503, 12);
            this.label21.Location = new System.Drawing.Point(671, 15);
            this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(41, 12);
            this.label21.Size = new System.Drawing.Size(52, 15);
            this.label21.TabIndex = 12;
            this.label21.Text = "修改人";
            // 
@@ -2299,9 +2446,10 @@
            // 
            this.txtHCloseDate.BackColor = System.Drawing.Color.Transparent;
            this.txtHCloseDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHCloseDate.Location = new System.Drawing.Point(397, 47);
            this.txtHCloseDate.Location = new System.Drawing.Point(529, 59);
            this.txtHCloseDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHCloseDate.Name = "txtHCloseDate";
            this.txtHCloseDate.Size = new System.Drawing.Size(98, 15);
            this.txtHCloseDate.Size = new System.Drawing.Size(131, 19);
            this.txtHCloseDate.TabIndex = 11;
            // 
            // label19
@@ -2309,9 +2457,10 @@
            this.label19.AutoSize = true;
            this.label19.BackColor = System.Drawing.Color.Transparent;
            this.label19.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label19.Location = new System.Drawing.Point(338, 50);
            this.label19.Location = new System.Drawing.Point(451, 62);
            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(53, 12);
            this.label19.Size = new System.Drawing.Size(67, 15);
            this.label19.TabIndex = 10;
            this.label19.Text = "关闭日期";
            // 
@@ -2319,9 +2468,10 @@
            // 
            this.txtHCloseMan.BackColor = System.Drawing.Color.Transparent;
            this.txtHCloseMan.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHCloseMan.Location = new System.Drawing.Point(396, 13);
            this.txtHCloseMan.Location = new System.Drawing.Point(528, 16);
            this.txtHCloseMan.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHCloseMan.Name = "txtHCloseMan";
            this.txtHCloseMan.Size = new System.Drawing.Size(98, 15);
            this.txtHCloseMan.Size = new System.Drawing.Size(131, 19);
            this.txtHCloseMan.TabIndex = 9;
            // 
            // label17
@@ -2329,9 +2479,10 @@
            this.label17.AutoSize = true;
            this.label17.BackColor = System.Drawing.Color.Transparent;
            this.label17.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label17.Location = new System.Drawing.Point(338, 16);
            this.label17.Location = new System.Drawing.Point(451, 20);
            this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(41, 12);
            this.label17.Size = new System.Drawing.Size(52, 15);
            this.label17.TabIndex = 8;
            this.label17.Text = "关闭人";
            // 
@@ -2339,9 +2490,10 @@
            // 
            this.txtHCheckDate.BackColor = System.Drawing.Color.Transparent;
            this.txtHCheckDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHCheckDate.Location = new System.Drawing.Point(234, 47);
            this.txtHCheckDate.Location = new System.Drawing.Point(312, 59);
            this.txtHCheckDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHCheckDate.Name = "txtHCheckDate";
            this.txtHCheckDate.Size = new System.Drawing.Size(98, 15);
            this.txtHCheckDate.Size = new System.Drawing.Size(131, 19);
            this.txtHCheckDate.TabIndex = 7;
            // 
            // label15
@@ -2349,9 +2501,10 @@
            this.label15.AutoSize = true;
            this.label15.BackColor = System.Drawing.Color.Transparent;
            this.label15.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label15.Location = new System.Drawing.Point(175, 50);
            this.label15.Location = new System.Drawing.Point(233, 62);
            this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(53, 12);
            this.label15.Size = new System.Drawing.Size(67, 15);
            this.label15.TabIndex = 6;
            this.label15.Text = "审核日期";
            // 
@@ -2359,9 +2512,10 @@
            // 
            this.txtHChecker.BackColor = System.Drawing.Color.Transparent;
            this.txtHChecker.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHChecker.Location = new System.Drawing.Point(234, 13);
            this.txtHChecker.Location = new System.Drawing.Point(312, 16);
            this.txtHChecker.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHChecker.Name = "txtHChecker";
            this.txtHChecker.Size = new System.Drawing.Size(98, 15);
            this.txtHChecker.Size = new System.Drawing.Size(131, 19);
            this.txtHChecker.TabIndex = 5;
            // 
            // label13
@@ -2369,9 +2523,10 @@
            this.label13.AutoSize = true;
            this.label13.BackColor = System.Drawing.Color.Transparent;
            this.label13.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label13.Location = new System.Drawing.Point(175, 16);
            this.label13.Location = new System.Drawing.Point(233, 20);
            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(41, 12);
            this.label13.Size = new System.Drawing.Size(52, 15);
            this.label13.TabIndex = 4;
            this.label13.Text = "审核人";
            // 
@@ -2379,9 +2534,10 @@
            // 
            this.txtHMakeDate.BackColor = System.Drawing.Color.Transparent;
            this.txtHMakeDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHMakeDate.Location = new System.Drawing.Point(71, 47);
            this.txtHMakeDate.Location = new System.Drawing.Point(95, 59);
            this.txtHMakeDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHMakeDate.Name = "txtHMakeDate";
            this.txtHMakeDate.Size = new System.Drawing.Size(98, 15);
            this.txtHMakeDate.Size = new System.Drawing.Size(131, 19);
            this.txtHMakeDate.TabIndex = 3;
            // 
            // label11
@@ -2389,9 +2545,10 @@
            this.label11.AutoSize = true;
            this.label11.BackColor = System.Drawing.Color.Transparent;
            this.label11.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label11.Location = new System.Drawing.Point(12, 50);
            this.label11.Location = new System.Drawing.Point(16, 62);
            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(53, 12);
            this.label11.Size = new System.Drawing.Size(67, 15);
            this.label11.TabIndex = 2;
            this.label11.Text = "制单日期";
            // 
@@ -2399,9 +2556,10 @@
            // 
            this.txtHMaker.BackColor = System.Drawing.Color.Transparent;
            this.txtHMaker.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.txtHMaker.Location = new System.Drawing.Point(71, 13);
            this.txtHMaker.Location = new System.Drawing.Point(95, 16);
            this.txtHMaker.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.txtHMaker.Name = "txtHMaker";
            this.txtHMaker.Size = new System.Drawing.Size(98, 15);
            this.txtHMaker.Size = new System.Drawing.Size(131, 19);
            this.txtHMaker.TabIndex = 1;
            // 
            // label8
@@ -2409,9 +2567,10 @@
            this.label8.AutoSize = true;
            this.label8.BackColor = System.Drawing.Color.Transparent;
            this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label8.Location = new System.Drawing.Point(12, 16);
            this.label8.Location = new System.Drawing.Point(16, 20);
            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(41, 12);
            this.label8.Size = new System.Drawing.Size(52, 15);
            this.label8.TabIndex = 0;
            this.label8.Text = "制单人";
            // 
@@ -2423,27 +2582,30 @@
            // panel1
            // 
            this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel1.Location = new System.Drawing.Point(0, 50);
            this.panel1.Location = new System.Drawing.Point(0, 62);
            this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(41, 549);
            this.panel1.Size = new System.Drawing.Size(55, 687);
            this.panel1.TabIndex = 33;
            // 
            // panel3
            // 
            this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel3.Location = new System.Drawing.Point(1309, 50);
            this.panel3.Location = new System.Drawing.Point(1745, 62);
            this.panel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(39, 549);
            this.panel3.Size = new System.Drawing.Size(52, 687);
            this.panel3.TabIndex = 34;
            // 
            // grdPrint
            // 
            this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdPrint.Location = new System.Drawing.Point(809, 543);
            this.grdPrint.Location = new System.Drawing.Point(1079, 679);
            this.grdPrint.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.grdPrint.Name = "grdPrint";
            this.grdPrint.RowHeadersWidth = 51;
            this.grdPrint.RowTemplate.Height = 23;
            this.grdPrint.Size = new System.Drawing.Size(25, 24);
            this.grdPrint.Size = new System.Drawing.Size(33, 30);
            this.grdPrint.TabIndex = 46;
            this.grdPrint.Visible = false;
            // 
@@ -2451,10 +2613,11 @@
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(41, 304);
            this.tabControl1.Location = new System.Drawing.Point(55, 380);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(1268, 222);
            this.tabControl1.Size = new System.Drawing.Size(1690, 278);
            this.tabControl1.TabIndex = 55;
            // 
            // tabPage1
@@ -2462,10 +2625,11 @@
            this.tabPage1.Controls.Add(this.grdMain);
            this.tabPage1.Controls.Add(this.grdSum);
            this.tabPage1.Controls.Add(this.panel6);
            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, 4, 4, 4);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(1260, 196);
            this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabPage1.Size = new System.Drawing.Size(1682, 249);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "明细信息";
            this.tabPage1.UseVisualStyleBackColor = true;
@@ -2479,15 +2643,17 @@
            this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdMain.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.grdMain.Location = new System.Drawing.Point(3, 3);
            this.grdMain.Location = new System.Drawing.Point(4, 4);
            this.grdMain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.grdMain.Name = "grdMain";
            this.grdMain.ReadOnly = true;
            this.grdMain.RowHeadersWidth = 30;
            this.grdMain.RowTemplate.Height = 23;
            this.grdMain.Size = new System.Drawing.Size(1254, 146);
            this.grdMain.Size = new System.Drawing.Size(1674, 187);
            this.grdMain.TabIndex = 58;
            this.grdMain.RowHeadersWidthChanged += new System.EventHandler(this.grdMain_RowHeadersWidthChanged);
            this.grdMain.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.grdMain_CellBeginEdit);
            this.grdMain.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdMain_CellContentClick);
            this.grdMain.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdMain_CellEndEdit);
            this.grdMain.CellLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdMain_CellLeave);
            this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged);
@@ -2503,13 +2669,14 @@
            this.grdSum.BackgroundColor = System.Drawing.Color.Khaki;
            this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.grdSum.Location = new System.Drawing.Point(3, 149);
            this.grdSum.Location = new System.Drawing.Point(4, 191);
            this.grdSum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.grdSum.Name = "grdSum";
            this.grdSum.ReadOnly = true;
            this.grdSum.RowHeadersWidth = 51;
            this.grdSum.RowTemplate.Height = 23;
            this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.grdSum.Size = new System.Drawing.Size(1254, 19);
            this.grdSum.Size = new System.Drawing.Size(1674, 24);
            this.grdSum.TabIndex = 57;
            // 
            // panel6
@@ -2518,35 +2685,27 @@
            this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panel6.Controls.Add(this.lblHStockQty);
            this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel6.Location = new System.Drawing.Point(3, 168);
            this.panel6.Location = new System.Drawing.Point(4, 215);
            this.panel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(1254, 25);
            this.panel6.Size = new System.Drawing.Size(1674, 30);
            this.panel6.TabIndex = 56;
            // 
            // lblHStockQty
            // 
            this.lblHStockQty.AutoSize = true;
            this.lblHStockQty.Location = new System.Drawing.Point(8, 6);
            this.lblHStockQty.Location = new System.Drawing.Point(11, 8);
            this.lblHStockQty.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblHStockQty.Name = "lblHStockQty";
            this.lblHStockQty.Size = new System.Drawing.Size(0, 12);
            this.lblHStockQty.Size = new System.Drawing.Size(0, 15);
            this.lblHStockQty.TabIndex = 0;
            //
            // textHPicNumVer
            //
            this.textHPicNumVer.BackColor = System.Drawing.SystemColors.Window;
            this.textHPicNumVer.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.textHPicNumVer.Location = new System.Drawing.Point(1000, 23);
            this.textHPicNumVer.Name = "textHPicNumVer";
            this.textHPicNumVer.Size = new System.Drawing.Size(188, 21);
            this.textHPicNumVer.TabIndex = 337;
            this.textHPicNumVer.Tag = "0";
            // 
            // Sc_ProcessExchangeBill
            // 
            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.Lavender;
            this.ClientSize = new System.Drawing.Size(1348, 599);
            this.ClientSize = new System.Drawing.Size(1797, 749);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.P1);
@@ -2560,6 +2719,7 @@
            this.Controls.Add(this.label30);
            this.ForeColor = System.Drawing.Color.Black;
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.Name = "Sc_ProcessExchangeBill";
            this.Text = "工序流转卡";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBill.resx
@@ -360,7 +360,7 @@
  <data name="set.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADwSURBVDhPhY+xDYUwDESz09/pr8ACiBGQ6Cj+IFRU6akY
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADwSURBVDhPhY+xDYUwDESz09/pr8ACiBGQ6Cj+IFRU6akY
        go7OP2dzliGROOkp2Pgucer7XkC6xDr0ZRgGx6aCaA6GluQ4DjnPsw6KAeu66jdOEkI1AOz7jp4RjErD
        TKBodvkQngYTQW9ZlvuNxl3cC88rpYNe13UaAtDDiR4otZm5F2/iSjln2bZNhzGH3iNAPIBo0yQ5fTQE
        wIhZUgXwmXkqpoIGXOZxHJVorgJ02IwqrjHPv8rME/81AAV2ZYDkr79imqbqBWo0TAyBCeZWQDT67UG+
@@ -370,7 +370,7 @@
  <data name="dy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK
        jo6OzvH7yVk/OFHg0MnC/vfuhzOq6zrK76vzIrRtm3nf92sgBpdlieu6ZgCe5xmAXEot0zTZMABBXLiU
        grRUVRWHYTATYpOfYR9kiGbMnQelUTu5wzmsoDWk796GOI6jGRDDzH0BxAyQ1Z5e4xhuGUSQWbkAaE2B
        FMRN05h9uAD4JoHato1d9yjCOjOAH9Y+QggDOW5gwZdfEgR7iAf4YG53yq0eBADzjlWk/+QP2WXf9xmk
@@ -380,7 +380,7 @@
  <data name="yl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
        UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG
        V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2
        9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK
@@ -393,7 +393,7 @@
  <data name="xz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG3SURBVDhPfVLdK0NhHH5LSXGn/QculCsfUbtRLl1JbhQh
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAG3SURBVDhPfVLdK0NhHH5LSXGn/QculCsfUbtRLl1JbhQh
        taxNNPnOolY+yhjjQo12oRQ3bhWiZGULF3Kv5Nucbeacs4/HeX/HnJ289tRT7+/5/Z7nfc+vw+bXgvD4
        NuFZDojpC2DOvwX/1i6YCDPeDXEjDyu+C5oRhrgX1knMZrMQkfe83vNf45+QydlVEtKZDETkvaWlkMlk
        Chn3LFOhptIQMQsgsHmElvYetHXYcHB4YgpjIzOLJMhKCiIqagoZLUVKJPEWlWg2UlOKs3KmB7ncC3RI
@@ -407,7 +407,7 @@
  <data name="xg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHvSURBVDhPnZJNSFRRGIYPCBHYLl24d9EiKsuN48KNBbUo
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAHvSURBVDhPnZJNSFRRGIYPCBHYLl24d9EiKsuN48KNBbUo
        EGSEmEwXoo0iRkR/ZBkSaC3m74qmC3/GjS7Edv5RTQNCMzUyNMWUWFaTo6AIaqjQ2/d999id61SLXnjh
        cr73ec8991yVqXZPLzq9PfD6e+AL2M1rnZ4n4IyO29Xa0YUf27twhwDlJfv3mdaawz8lw1mNWbrV7sHa
        6jrcUxsYTOOPbprelAxnNWbp+r1HWF1ZhnoMDHwFKp8BeYO0s0+b38IDyXBWY5au3nmIdOqbhC6HgYIh
@@ -422,7 +422,7 @@
  <data name="sc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG5SURBVDhPlZDrK4NhGMafP8BHf4BPwkfmq8NnvhKlUHxw
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAG5SURBVDhPlZDrK4NhGMafP8BHf4BPwkfmq8NnvhKlUHxw
        iEgSIsQKqcVyPjQ2Z9mS0ooSlqElQ07RaGRib6zmeHmf27O3zSZcdbXnfp77+r33PRZKZdXN8Le4/pt4
        wO15g0vykvn5V4j/1/5iEfsSv/iPbPbjQAgvHp5ecXrlwv6ZE7bDC1h2j7BitWNpzYZ5swUG0zL6Jxag
        GZxCe68+GFBe14rjkzOMjs9iSD+DPt0ktAN6dHQPQ63pR0N7N+pbtdBNL6KmRRNijVo1jWexHcLjfcbN
@@ -436,7 +436,7 @@
  <data name="fz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEXSURBVDhPpZG/TsJQFMbvO/kOsjrAzNI+Qu0L4MzCwg66
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAEXSURBVDhPpZG/TsJQFMbvO/kOsjrAzNI+Qu0L4MzCwg66
        mMgAC2wYmEggECCQdtDUuGhQFiWQfJxz7+0VUmgv8SRn6T395fsjeAbVK5SLInV934c8PjUMAAbYbrr4
        WTWxfqvjc1nB+7CE154nAXR2HhIDdhLQIkANHwsG3BnA9PHmPOQYoBRIwKiEFwLQydEmIAbwqxR8swK2
        MCIFfQ9B28H8qYDxw3UGgBV8ESD6A7CCkAENBuTSAYchqgxUiEHbxayRx+Q+A7DbPGuAVsAhsoWOSxby
@@ -444,31 +444,10 @@
        3/47QuwBNTYBELFI9AQAAAAASUVORK5CYII=
</value>
  </data>
  <data name="AddRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEdSURBVDhPY/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
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADSSURBVDhPlZPRDYQgEERpxgaswlCGv/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
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH1SURBVDhPjZPNSxRxGMcfI+jQLTxYIKLoQQsjvEadEoRO
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH1SURBVDhPjZPNSxRxGMcfI+jQLTxYIKLoQQsjvEadEoRO
        /gO+awReIiGty97sRQtbPSmoB8FFMSwKDx3VXdvcfGErt9YlpWUJF/dFV2d0v36fHc0XdPALX2bmme/z
        mec38xuRBi+kahqRVmD5yfmsWe3J9ErtDD6tAQkAv85pzWqP9oo0foVcbWcJMEwDpmnaWjMqyWlHplfq
        ZlD2IVPD5CTgnra3ZlTN3oMJaj24NWYVk6kUNrbsrRlV+QQBNZ7jgKkpPsVtb82oCl06wQnAv1gCa/Gk
@@ -480,10 +459,31 @@
        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="fq.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=
@@ -492,7 +492,7 @@
  <data name="sh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc
        d1EcjEwytSiH4SZcRHLQ7FemtlJDOPiZml8XSzMWMz9mK7Xevs/z7DvDzLzr9X2253k+r8+nvn0pM10t
        hGykjnMndRE1ZWJlVKvF+qdErytIF/1G6k72sMPTBULIRcCF4H2bcOMknC8SNsb/IXheJ8R8hAfPPwUH
        M4Qz6fKVlXBtJwRWxP99aX/NnKfgcJZwMkfwS9OwdW86TwFLc6MGmxPE2Zok+CwCzwjB5XDkLpbDJHYj
@@ -505,7 +505,7 @@
  <data name="qsh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGPSURBVDhPlZLLK0RhGMbfsrVRtkp2k4UFsUOxsPAn2NoI
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGPSURBVDhPlZLLK0RhGMbfsrVRtkp2k4UFsUOxsPAn2NoI
        C0MzEmpQFi4LpWEjUhaGMYqyUINQjEtqGEqkcZkY4zLO1CGP73vPN2cujdtTv97vPd/7PL2ncyhZTTWE
        TKjrn6UGUVRgVElhnlF/DamvzjJN36FmMkteHk8RbhYJODXQNwnXHkJgmrA2+I+A51VC1Et4WPlnwN4Y
        4UQMX7gIV27C5ZzR+8TzZccfA/bHCUcTBL/YRtZd5x8DpKoqyrE+RMzGMME7YHDlG4WUGvtZMsRtJ8bV
@@ -518,7 +518,7 @@
  <data name="sz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAClSURBVDhPxZNBCgMhDEVz1zmQSxkQXHoEj+CmdOtx0vyU
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAClSURBVDhPxZNBCgMhDEVz1zmQSxkQXHoEj+CmdOtx0vyU
        wFhjqaXQDyGEn/8QZ6Sf6TgSn8x83phl5For+iDsSOPW2uRNgJzzsARfLPVKKXsAC8OXcYKrVoBreHU6
        lQd4DW8BvPAWIISgPaX7d4AYo33KAYL54zvovWthNoh5yAzyAE+H6ApB3wZABkEtAdLeLhnE/RMhXBqC
        KO8tQIC4b+FPInoA2b1WbweybUAAAAAASUVORK5CYII=
@@ -527,7 +527,7 @@
  <data name="syz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACcSURBVDhPtZPBCcQgEEXtNVUFBI+WYAlewl4twxJm88RZ
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACcSURBVDhPtZPBCcQgEEXtNVUFBI+WYAlewl4twxJm88RZ
        xDUbDeyDQWf4805q/o3U02yblbbq+JoakhhjCdPvIrIfUuYhhGsJ4TNXgt77ocA5NxboMuGz/QSnBO1y
        H7wV9MtLgtHykiDnXIbWvp4JIKX0JaGfFkAv4b4kgFbCuSwAlVCPBKCS9iXSa90KAIn+BeD9s0j9/Avz
        GPMGIZpkvqVDGAQAAAAASUVORK5CYII=
@@ -536,7 +536,7 @@
  <data name="xyz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACYSURBVDhPrZMxDsMgEAT5qx9DSW0pEiVPoKSkSc9zNlmL
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACYSURBVDhPrZMxDsMgEAT5qx9DSW0pEiVPoKSkSc9zNlmL
        i+wUezjKSifB6mZEYYe/ZNseOM+sj34edbi4A9ifIIBa6wFOAcYYWvQtyDl/BNZJiRK8K1/iCjzJyguk
        ZEkwJey4c5GsCgxOKaG1dk9gcIwRpZR7L5AwowQuzCgB7xJmbNHGBDwTlLCF3z9Bjv0LTO/dh39PCC/T
        8HpVcPCyWAAAAABJRU5ErkJggg==
@@ -545,7 +545,7 @@
  <data name="mz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACXSURBVDhPrZPBCYAwDEW7a4fpsWdB6LEjdIRevHec2JQE
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACXSURBVDhPrZPBCYAwDEW7a4fpsWdB6LEjdIRevHec2JQE
        NIlgxA9B6c97iGj4JTHuQLcq2F2Hju+hAsYYagG7DQC2A9ZOa01L1hItSIkUlFJswexNiU9gSNxPICV+
        AUnwbFbfBAznnP0ChlNKUGv1CSTsegcWzN0rwbwoGPNKMLNACWNYzvMkCL13BXPw+0cQx/wXvieEEzaJ
        cBFxK5ZNAAAAAElFTkSuQmCC
@@ -554,7 +554,7 @@
  <data name="qt.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADvSURBVDhPzVLBCoJAEPUT/A5P/oh/4Vd19VBdig6egwg8
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADvSURBVDhPzVLBCoJAEPUT/A5P/oh/4Vd19VBdig6egwg8
        SZCIeIgIIYTIIiKiw752ZlcMS43q0IPB2dmZ994OGj+F53lwXRemaXJQTjV93Q5qlh/Yto1JkKM3XnJe
        EqmuBmgVHop2QLIHZmsBPxFcI5JWJ6RAaukByM5AflEk05XAKBJ81+qCFMh2dgKKK3C8VSR+XLnQ7c8o
        CdJCOpAk25qDToLyCWEO3kFMO9ioHfTDN57wuMR5JhBk0rocHiyUOt3paIZWYDUaoqCcahQYmnAcp53k
@@ -564,7 +564,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
@@ -574,7 +574,7 @@
  <data name="yc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD3SURBVDhPnZC9FYIwFEaZiQFkAB1ADzULZACGoJLKSio7
        YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAD3SURBVDhPnZC9FYIwFEaZiQFkAB1ADzULZACGoJLKSio7
        BqCzorNiABgABnjme+GFBPlR3znfSUJy7yMJdorG0S2KY1r6/lE0PBMcdA8z3NZEd9VtSmiolU7iSjwY
        CcNyUUL0UhzMIcK4An8IPFjGr2F0s3CTmrFOLbgN67vK79LQsOCqQhaIxIE9AfXVxT4Wwzp1NsGYQ4b9
        tjhSe4smiVKma19NL+4KBEQA85hH1OQH+T6T6MgagaArThys0V3g8ZwpgbryzBuIXAfB3iosZSUP3VEH
@@ -584,7 +584,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
@@ -599,7 +599,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