From ef38da99b04abd76895f1495734108a49d64f426 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期四, 30 六月 2022 22:45:45 +0800
Subject: [PATCH] 新增了奥邦交接单

---
 WarM/条码打印/Sc_ICMOToBarCode.cs                               |    4 
 WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user |  198 +-
 WorkM/流转卡管理/Sc_ABJJD.cs                                     | 1364 +++++++++++++++++++++
 Model/车间管理/ClsSc_ABJJDSub.cs                                |   26 
 WebAPI/WebAPI.csproj.user                                   |    2 
 Model/Model.csproj                                          |    2 
 Model/车间管理/ClsSc_ABJJDMain.cs                               |   13 
 WebAPI/Controllers/SellOutBackController.cs                 |    2 
 DAL/车间管理/ClsSc_ABJJD.cs                                     |  234 +++
 WorkM/流转卡管理/Sc_ABJJD.resx                                   |  647 ++++++++++
 WebAPI/Web.config                                           |    4 
 DAL/DAL.csproj                                              |    1 
 DAL/源单/ERP源单/Cls_S_Sc_ABJJD.cs                              |   25 
 WorkM/流转卡管理/Sc_ABJJD.designer.cs                            | 1306 ++++++++++++++++++++
 14 files changed, 3,724 insertions(+), 104 deletions(-)

diff --git a/DAL/DAL.csproj b/DAL/DAL.csproj
index 72a046c..b3c82ee 100644
--- a/DAL/DAL.csproj
+++ b/DAL/DAL.csproj
@@ -80,6 +80,7 @@
     <Compile Include="鍩虹璧勬枡\InterFace鍩虹璧勬枡\ClsIF_ORGANIZATIONS_View.cs" />
     <Compile Include="鍩虹璧勬枡\鍏朵粬鍩虹璧勬枡\ClsGy_QCCheckProject_View.cs" />
     <Compile Include="鍩虹璧勬枡\鍏朵粬鍩虹璧勬枡\ClsGy_StdWorkTimes_Ctl.cs" />
+    <Compile Include="婧愬崟\ERP婧愬崟\Cls_S_Sc_ABJJD.cs" />
     <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_ICMOBillList.cs" />
     <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_PackageDismantleBillList.cs" />
     <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_MoveStockBillList.cs" />
diff --git "a/DAL/\346\272\220\345\215\225/ERP\346\272\220\345\215\225/Cls_S_Sc_ABJJD.cs" "b/DAL/\346\272\220\345\215\225/ERP\346\272\220\345\215\225/Cls_S_Sc_ABJJD.cs"
new file mode 100644
index 0000000..b35d266
--- /dev/null
+++ "b/DAL/\346\272\220\345\215\225/ERP\346\272\220\345\215\225/Cls_S_Sc_ABJJD.cs"
@@ -0,0 +1,25 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+using SQLHelper;
+using DBUtility;
+
+namespace DAL
+{
+    public class Cls_S_Sc_ABJJD : Cls_S_Xt_BaseBill
+    {
+       
+        //
+        public Cls_S_Sc_ABJJD()
+        {
+            base.ViewName = "h_v_Sc_ABJJD";
+            base.mvarReportTitle = "鐢熶骇鐘舵�佷复鏃惰〃鍒楄〃";
+            base.mvarItemKey = "";
+            base.sCondtion = "   ";
+            base.sOrderSql = "  order by hsubid desc  ";
+            base.sKeyCol = "";
+        }
+       
+        
+    }
+}
diff --git "a/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJD.cs" "b/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJD.cs"
new file mode 100644
index 0000000..6294cb6
--- /dev/null
+++ "b/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJD.cs"
@@ -0,0 +1,234 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+
+namespace DAL
+{
+    public class ClsSc_ABJJD : DBUtility.ClsXt_BaseBill
+    {
+        public Model.ClsSc_ABJJDMain omodel = new Model.ClsSc_ABJJDMain();
+        public List<Model.ClsSc_ABJJDSub> DetailColl = new List<Model.ClsSc_ABJJDSub>();
+
+        public ClsSc_ABJJD()
+        {
+            base.MvarItemKeySub = "Sc_ABJJDSub";
+            base.MvarItemKeySub2 = "";
+            base.MvarItemKeySub3 = "";
+            base.MvarItemKeySub4 = "";
+            base.MvarItemKey = "Sc_ABJJDMain";
+            base.MvarReportTitle = "浜ゆ帴鍗�";
+            base.BillType = "9999";
+            base.HBillSubType = "9999";
+
+        }
+
+        #region 鍥哄畾浠g爜
+
+        ~ClsSc_ABJJD()
+        {
+            DetailColl = null;
+        }
+
+        #endregion   鑷畾涔夋柟娉�
+
+
+
+      
+        public override bool AddBill(ref string sReturn)
+        {
+            try
+            {
+                //寰楀埌mainid
+                omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
+                //omodel.HBillNo = DBUtility.ClsPub.CreateBillCode(BillType, ref DBUtility.ClsPub.sExeReturnInfo, true);
+                //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙�
+                //if (IsExistBillNo(ref DBUtility.ClsPub.sExeReturnInfo, omodel.HBillNo, Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew, omodel.HInterID))
+                //{
+                //    omodel.HBillNo = DBUtility.ClsPub.CreateBillCode(BillType, ref DBUtility.ClsPub.sExeReturnInfo, true);
+                //}
+                if (IsExistMainID(ref DBUtility.ClsPub.sExeReturnInfo, omodel.HInterID, Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew))
+                {
+                    omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
+                }
+                //
+                oCn.BeginTran();
+                //涓昏〃
+                oCn.RunProc("Insert Into WW_EntrustWorkOrderBillMain   " +
+                "(HBillType,HBillSubType,HInterID,HBillNo,HDate" +
+                ",HYear,HPeriod,HRemark,HMaker,HMakeDate" +
+                ",HDeptID,HSupID,HOrderProcNO" +
+                ") " +
+                " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" +
+                ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" +
+                ", " + omodel.HDeptID.ToString() + "," + omodel.HSupID.ToString() + ",'" + omodel.HOrderProcNO + "'" +
+                ") ");
+                //鎻掑叆瀛愯〃
+                foreach (Model.ClsSc_ABJJDSub oSub in DetailColl)
+                {
+                    oCn.RunProc("Insert into WW_EntrustWorkOrderBillSub " +
+                      " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" +
+                      ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
+                      ",HOrderBillNo,HMaterLenModel,HMaterQty,HMaterID,HQty" +
+                      ",HEntrustType,HNextProcName,HPrice,HOutQty,HInQty" +
+                      ",HBackSupDate,HInDate,HWorkProcFlow,HProcID,HLeftMater" +
+                      ") values("
+                      + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate.ToShortDateString() + "'," + 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.HOrderBillNo + "','" + oSub.HMaterLenModel + "'," + oSub.HMaterQty.ToString() + "," + oSub.HMaterID.ToString() + "," + oSub.HQty.ToString() +
+                      ",'" + oSub.HEntrustType + "','" + oSub.HNextProcName + "'," + oSub.HPrice.ToString() + "," + oSub.HOutQty.ToString() + "," + oSub.HInQty.ToString() +
+                      ",'" + oSub.HBackSupDate.ToShortDateString() + "','" + oSub.HInDate.ToShortDateString() + "','" + oSub.HWorkProcFlow + "'," + oSub.HProcID.ToString() + ",'" + oSub.HLeftMater +  "'"  + 
+                      ") ");
+                }
+
+                //鏍规嵁鍐呯爜 濮斿宸ュ崟琛ㄥご渚涘簲鍟� 鍥炲~瀵瑰簲娴佽浆鍗� 渚涘簲鍟嗭紝鏈夊澶栨爣璁版墠鍥炲~..骞朵笖鍥炲~ 鍏宠仈鏁伴噺
+                oCn.RunProc("exec h_p_WW_EntrustWorkOrderToProcExch " + omodel.HInterID.ToString());
+                //
+                DataSet Ds;
+                Ds = oCn.RunProcReturn("exec h_p_WW_EntrustWorkOrderToProcExch_QtyCtrl " + omodel.HInterID.ToString() + "", "h_p_WW_EntrustWorkOrderToProcExch_QtyCtrl");
+                if (Ds == null)
+                {
+                    sReturn = "鍒ゆ柇鏁伴噺澶辫触锛�";
+                    oCn.RollBack();
+                    return false;
+                }
+                if (Ds.Tables[0].Rows.Count == 0)
+                {
+                    sReturn = "鍒ゆ柇鏁伴噺澶辫触锛�";
+                    oCn.RollBack();
+                    return false;
+                }
+                if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBack"]) == "2")
+                {
+                    sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBackRemark"]);
+                    oCn.RollBack();
+                    return false;
+                }
+                //
+                sReturn = "鏂板鍗曟嵁鎴愬姛锛�";
+                oCn.Commit();
+                return true;
+            }
+            catch (Exception e)
+            {
+                sReturn = e.Message;
+                oCn.RollBack();
+                throw (e);
+            }
+        }
+        //鏄剧ず鍗曟嵁
+        public override bool ShowBill(Int64 lngBillKey, ref string sReturn)
+        {
+            try
+            {
+                //鏌ヨ涓昏〃
+                DataSet Ds;
+                Ds = oCn.RunProcReturn("Select * from WW_EntrustWorkOrderBillMain Where HInterID=" + lngBillKey.ToString(), "WW_EntrustWorkOrderBillMain");
+                if (Ds.Tables[0].Rows.Count == 0)
+                {
+                    sReturn = "鍗曟嵁鏈壘鍒帮紒";
+                    return false;
+                }
+                //鍥哄畾璧嬪��===========================================
+                omodel.HYear = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HYear"]);
+                omodel.HPeriod = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HPeriod"]);
+                omodel.HBillType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillType"]);
+                omodel.HBillSubType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillSubType"]);
+                omodel.HInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"]);
+                omodel.HDate = DBUtility.ClsPub.isDate(Ds.Tables[0].Rows[0]["HDate"]);
+                omodel.HBillNo = Ds.Tables[0].Rows[0]["HBillNo"].ToString().Trim();
+                omodel.HBillStatus = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HBillStatus"]);
+                omodel.HCheckItemNowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNowID"]);
+                omodel.HCheckItemNextID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNextID"]);
+                omodel.HCheckFlowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckFlowID"]);
+                omodel.HRemark = Ds.Tables[0].Rows[0]["HRemark"].ToString().Trim();
+                omodel.HBackDate = Ds.Tables[0].Rows[0]["HBackDate"].ToString().Trim();
+                omodel.HBacker = Ds.Tables[0].Rows[0]["HBacker"].ToString().Trim();
+                omodel.HCheckDate = Ds.Tables[0].Rows[0]["HCheckDate"].ToString().Trim();
+                omodel.HChecker = Ds.Tables[0].Rows[0]["HChecker"].ToString().Trim();
+                omodel.HMaker = Ds.Tables[0].Rows[0]["HMaker"].ToString().Trim();
+                omodel.HMakeDate = Ds.Tables[0].Rows[0]["HMakeDate"].ToString().Trim();
+                omodel.HUpDateDate = Ds.Tables[0].Rows[0]["HUpDateDate"].ToString().Trim();
+                omodel.HUpDater = Ds.Tables[0].Rows[0]["HUpDater"].ToString().Trim();
+                omodel.HCloseDate = Ds.Tables[0].Rows[0]["HCloseDate"].ToString().Trim();
+                omodel.HCloseMan = Ds.Tables[0].Rows[0]["HCloseMan"].ToString().Trim();
+                omodel.HCloseType = DBUtility.ClsPub.isBool(Ds.Tables[0].Rows[0]["HCloseType"]);
+                omodel.HDeleteDate = Ds.Tables[0].Rows[0]["HDeleteDate"].ToString().Trim();
+                omodel.HDeleteMan = Ds.Tables[0].Rows[0]["HDeleteMan"].ToString().Trim();
+                //========================================================
+                omodel.HDeptID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HDeptID"]);
+                omodel.HSupID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HSupID"]);
+                omodel.HOrderProcNO = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HOrderProcNO"]);
+                //
+
+                //寰幆
+                DataSet DsSub;
+                DsSub = oCn.RunProcReturn("Select * from WW_EntrustWorkOrderBillSub Where HInterID=" + lngBillKey.ToString(), "WW_EntrustWorkOrderBillSub");
+                DetailColl.Clear();//娓呯┖
+                for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++)
+                {
+                    Model.ClsSc_ABJJDSub oSub = new Model.ClsSc_ABJJDSub();
+                    // 鍥哄畾璧嬪��===============================================
+                    oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]);
+                    oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]);
+                    oSub.HSourceInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceInterID"]);
+                    oSub.HSourceEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceEntryID"]);
+                    oSub.HSourceBillType = DsSub.Tables[0].Rows[i]["HSourceBillType"].ToString().Trim();
+                    oSub.HSourceBillNo = DsSub.Tables[0].Rows[i]["HSourceBillNo"].ToString().Trim();
+                    oSub.HRelationQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationQty"]);
+                    oSub.HRelationMoney = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationMoney"]);
+                    oSub.HCloseMan = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HCloseMan"]);
+                    oSub.HCloseType = DBUtility.ClsPub.isBool(DsSub.Tables[0].Rows[i]["HCloseType"]);
+                    oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HEntryCloseDate"]);
+                    oSub.HRemark = DsSub.Tables[0].Rows[i]["HRemark"].ToString().Trim();
+                    //===================================================
+                    oSub.HOrderBillNo = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HOrderBillNo"]);
+                    oSub.HLeftMater = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HLeftMater"]);
+                    oSub.HMaterLenModel = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HMaterLenModel"]);
+                    oSub.HMaterQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HMaterQty"]);
+                    oSub.HMaterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HMaterID"]);
+                    oSub.HProcID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HProcID"]);
+                    oSub.HQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HQty"]);
+                    oSub.HEntrustType = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HEntrustType"]);
+                    oSub.HNextProcName = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HNextProcName"]);
+                    oSub.HPrice = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HPrice"]);
+                    oSub.HOutQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HOutQty"]);
+                    oSub.HInQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HInQty"]);
+                    oSub.HInDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HInDate"]);
+                    oSub.HBackSupDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HBackSupDate"]);
+                    oSub.HWorkProcFlow = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HWorkProcFlow"]);
+                    DetailColl.Add(oSub);
+                }
+                sReturn = "鏄剧ず鍗曟嵁鎴愬姛锛�";
+                return true;
+            }
+            catch (Exception e)
+            {
+                sReturn = e.Message;
+                throw (e);
+            }
+        }
+
+
+        //鏇存柊鎵撳嵃娆℃暟
+        public bool Set_PrintQty(long sInterID)
+        {
+            try
+            {
+                oCn.BeginTran();
+                //鏇存柊 鎵撳嵃娆℃暟
+                oCn.RunProc("update WW_EntrustWorkOrderBillMain set HPrintQty=isnull(HPrintQty,0)+1 where HInterID=" + sInterID.ToString(), ref DBUtility.ClsPub.sExeReturnInfo);
+                oCn.Commit();
+                return true;
+            }
+            catch (Exception e)
+            {
+                oCn.RollBack();
+                throw (e);
+            }
+        }
+
+
+    }
+
+}
diff --git a/Model/Model.csproj b/Model/Model.csproj
index 0088b91..9d264c3 100644
--- a/Model/Model.csproj
+++ b/Model/Model.csproj
@@ -646,7 +646,9 @@
     <Compile Include="杞﹂棿绠$悊\ClsSc_StationOutBillMain.cs" />
     <Compile Include="杞﹂棿绠$悊\ClsSc_StationOutBillSub.cs" />
     <Compile Include="杞﹂棿绠$悊\ClsSc_StationOutBillSub_Item.cs" />
+    <Compile Include="杞﹂棿绠$悊\ClsSc_ABJJDMain.cs" />
     <Compile Include="杞﹂棿绠$悊\ClsWW_EntrustWorkOrderBillMain.cs" />
+    <Compile Include="杞﹂棿绠$悊\ClsSc_ABJJDSub.cs" />
     <Compile Include="杞﹂棿绠$悊\ClsWW_EntrustWorkOrderBillSub.cs" />
     <Compile Include="杞﹂棿绠$悊\Sc_ProcessExchangeBackBillMain.cs" />
     <Compile Include="杞﹂棿绠$悊\Sc_ProcessExchangeBackBillSub.cs" />
diff --git "a/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJDMain.cs" "b/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJDMain.cs"
new file mode 100644
index 0000000..1e01d5c
--- /dev/null
+++ "b/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJDMain.cs"
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Model
+{
+    public class ClsSc_ABJJDMain: DBUtility.ClsXt_BaseBillMain
+    {
+        //public Int64 HDeptID;//		int	//申请部门(h_v_CLD_Department)
+        //public Int64 HSupID;//		int	//外协供应商(h_v_CLD_Supplier)
+        //public string HOrderProcNO;//	varchar(100)	//订单跟踪号
+    }
+}
diff --git "a/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJDSub.cs" "b/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJDSub.cs"
new file mode 100644
index 0000000..4d3c5b5
--- /dev/null
+++ "b/Model/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ABJJDSub.cs"
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Model
+{
+    public class ClsSc_ABJJDSub : DBUtility.ClsXt_BaseBillSub
+    {
+        public string HOrderBillNo;//	varchar(100)	//订单号
+        public string HMaterLenModel;//	varchar(200)	//板材料件尺寸
+        public double HMaterQty;//	dec(18,8)		//板材张数
+        public Int64 HMaterID;//		int		//加工产品(h_v_CLD_Material)
+        public double HQty;//		dec(18,8)		//生产数量
+        public string HEntrustType;//	varchar(200)	//委外加工类型
+        public string HNextProcName;//	varchar(200) 	//委外下道工序
+        public double HPrice;//		dec(18,8)		//加工单价
+        public double HOutQty;//		dec(18,8)		//转出数量
+        public double HInQty;//		dec(18,8)		//接收数量
+        public DateTime HInDate;//		datetime		//回厂时间
+        public string HRemark;//		varchar(500)	//备注
+        public string HWorkProcFlow;//	varchar(500)	//产品工艺
+        public Int64 HProcID;
+        public DateTime HBackSupDate;
+        public string HLeftMater;           //余料
+    }
+}
diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
index 07f7c53..710979b 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
@@ -807,7 +807,9 @@
                 //00 鍏堢敓鎴� 鍞竴鐨� 鎵樻潯鐮�
 
                 //鐢熸垚涓�涓绠辩爜
-                string sPackStr = "ZXM" + HYear + HPeriod + HDay; //澶栫鐮� 鍓嶇紑
+                long HTMaterID = 0;
+                HTMaterID = ClsPub.isLong(grdMain.Rows[0].Cells[Fun_GetCol("HMaterID")].Value);
+                string sPackStr = "ZXM" + HYear + HPeriod + HDay + HTMaterID; //澶栫鐮� 鍓嶇紑
                 DataSet  DsTM = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + sPackStr + "'", "h_p_WMS_GetMaxNo");    //鑾峰彇鏈�澶ф祦姘村彿                                                                                          //oCn.RunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'");
                 Int64 TTM_LSH = ClsPub.isInt(DsTM.Tables[0].Rows[0][0]) + 1;
                 string sPackBarCode = sPackStr + TTM_LSH.ToString();
diff --git a/WebAPI/Controllers/SellOutBackController.cs b/WebAPI/Controllers/SellOutBackController.cs
index 3fc17c7..1b4d8fd 100644
--- a/WebAPI/Controllers/SellOutBackController.cs
+++ b/WebAPI/Controllers/SellOutBackController.cs
@@ -401,7 +401,7 @@
                 websLsmain.HEmpID = lsmain[0].HEmpID;
                 websLsmain.HRemark = lsmain[0].HRemark;
                 websLsmain.HMaker = lsmain[0].HMaker;
-
+                websLsmain.HBillType = "1247";//鍥哄畾鍊�
                 if (webserver.set_SaveSellOutBackBill_New(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo))
                 {
                     objJsonResult.code = "0";
diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
index 4afe066..46cf623 100644
--- a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -9,37 +9,37 @@
   </PropertyGroup>
   <ItemGroup>
     <File Include="apiapp.json">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="bin/Antlr3.Runtime.dll">
-      <publishTime>02/22/2013 08:43:40</publishTime>
+      <publishTime>02/22/2013 16:43:40</publishTime>
     </File>
     <File Include="bin/Antlr3.Runtime.pdb">
-      <publishTime>02/22/2013 08:43:40</publishTime>
+      <publishTime>02/22/2013 16:43:40</publishTime>
     </File>
     <File Include="bin/BLL.dll">
-      <publishTime>06/17/2022 11:19:20</publishTime>
+      <publishTime>06/30/2022 09:51:15</publishTime>
     </File>
     <File Include="bin/BLL.pdb">
-      <publishTime>06/17/2022 11:19:20</publishTime>
+      <publishTime>06/30/2022 09:51:15</publishTime>
     </File>
     <File Include="bin/BouncyCastle.Crypto.dll">
       <publishTime>12/18/2020 05:32:28</publishTime>
     </File>
     <File Include="bin/DAL.dll">
-      <publishTime>06/17/2022 11:19:18</publishTime>
+      <publishTime>06/30/2022 09:51:13</publishTime>
     </File>
     <File Include="bin/DAL.pdb">
-      <publishTime>06/17/2022 11:19:18</publishTime>
+      <publishTime>06/30/2022 09:51:13</publishTime>
     </File>
     <File Include="bin/Dapper.dll">
-      <publishTime>07/22/2016 14:52:40</publishTime>
+      <publishTime>07/22/2016 22:52:40</publishTime>
     </File>
     <File Include="bin/DBUtility.dll">
-      <publishTime>06/17/2022 11:19:14</publishTime>
+      <publishTime>06/30/2022 09:51:11</publishTime>
     </File>
     <File Include="bin/DBUtility.pdb">
-      <publishTime>06/17/2022 11:19:14</publishTime>
+      <publishTime>06/30/2022 09:51:11</publishTime>
     </File>
     <File Include="bin/Grpc.Core.Api.dll">
       <publishTime>03/22/2022 13:17:26</publishTime>
@@ -69,7 +69,7 @@
       <publishTime>08/25/2021 10:28:25</publishTime>
     </File>
     <File Include="bin/Kingdee.BOS.WebApi.Client.dll">
-      <publishTime>10/11/2021 09:26:35</publishTime>
+      <publishTime>03/15/2022 10:06:40</publishTime>
     </File>
     <File Include="bin/Kingdee.BOS.WebApi.FormService.dll">
       <publishTime>09/20/2018 19:23:20</publishTime>
@@ -84,25 +84,25 @@
       <publishTime>03/19/2022 07:38:42</publishTime>
     </File>
     <File Include="bin/Microsoft.Azure.AppService.ApiApps.Service.dll">
-      <publishTime>03/18/2015 17:02:50</publishTime>
+      <publishTime>03/19/2015 01:02:50</publishTime>
     </File>
     <File Include="bin/Microsoft.CSharp.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/Microsoft.Web.Infrastructure.dll">
-      <publishTime>07/25/2012 11:48:56</publishTime>
+      <publishTime>07/25/2012 19:48:56</publishTime>
     </File>
     <File Include="bin/Model.dll">
-      <publishTime>06/17/2022 11:19:15</publishTime>
+      <publishTime>06/30/2022 09:51:11</publishTime>
     </File>
     <File Include="bin/Model.pdb">
-      <publishTime>06/17/2022 11:19:15</publishTime>
+      <publishTime>06/30/2022 09:51:11</publishTime>
     </File>
     <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="bin/Newtonsoft.Json.dll">
-      <publishTime>08/03/2014 20:33:56</publishTime>
+      <publishTime>08/04/2014 04:33:56</publishTime>
     </File>
     <File Include="bin/NPOI.dll">
       <publishTime>10/23/2021 09:07:54</publishTime>
@@ -129,31 +129,31 @@
       <publishTime>10/23/2021 17:07:54</publishTime>
     </File>
     <File Include="bin/Pub_Class.dll">
-      <publishTime>06/17/2022 11:19:12</publishTime>
+      <publishTime>06/30/2022 09:51:09</publishTime>
     </File>
     <File Include="bin/Pub_Class.pdb">
-      <publishTime>06/17/2022 11:19:12</publishTime>
+      <publishTime>06/30/2022 09:51:09</publishTime>
     </File>
     <File Include="bin/Pub_Control.dll">
-      <publishTime>06/17/2022 11:19:13</publishTime>
+      <publishTime>06/30/2022 09:51:10</publishTime>
     </File>
     <File Include="bin/Pub_Control.pdb">
-      <publishTime>06/17/2022 11:19:13</publishTime>
+      <publishTime>06/30/2022 09:51:10</publishTime>
     </File>
     <File Include="bin/SQLHelper.dll">
-      <publishTime>06/17/2022 11:19:13</publishTime>
+      <publishTime>06/30/2022 09:51:10</publishTime>
     </File>
     <File Include="bin/SQLHelper.pdb">
-      <publishTime>06/17/2022 11:19:13</publishTime>
+      <publishTime>06/30/2022 09:51:10</publishTime>
     </File>
     <File Include="bin/stdole.dll">
       <publishTime>05/09/2021 13:35:37</publishTime>
     </File>
     <File Include="bin/Swashbuckle.Core.dll">
-      <publishTime>02/15/2015 17:57:08</publishTime>
+      <publishTime>02/16/2015 01:57:08</publishTime>
     </File>
     <File Include="bin/System.Buffers.dll">
-      <publishTime>07/19/2017 10:01:28</publishTime>
+      <publishTime>07/19/2017 18:01:28</publishTime>
     </File>
     <File Include="bin/System.ComponentModel.DataAnnotations.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
@@ -177,19 +177,19 @@
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/System.IdentityModel.Tokens.Jwt.dll">
-      <publishTime>08/19/2014 10:03:34</publishTime>
+      <publishTime>08/19/2014 18:03:34</publishTime>
     </File>
     <File Include="bin/System.Memory.dll">
-      <publishTime>04/17/2019 16:24:34</publishTime>
+      <publishTime>04/18/2019 00:24:34</publishTime>
     </File>
     <File Include="bin/System.Net.Http.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/System.Net.Http.Formatting.dll">
-      <publishTime>11/28/2018 13:00:36</publishTime>
+      <publishTime>11/28/2018 21:00:36</publishTime>
     </File>
     <File Include="bin/System.Runtime.CompilerServices.Unsafe.dll">
-      <publishTime>09/18/2018 19:38:10</publishTime>
+      <publishTime>09/19/2018 03:38:10</publishTime>
     </File>
     <File Include="bin/System.Runtime.Serialization.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
@@ -198,7 +198,7 @@
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/System.Web.Cors.dll">
-      <publishTime>11/28/2018 12:58:44</publishTime>
+      <publishTime>11/28/2018 20:58:44</publishTime>
     </File>
     <File Include="bin/System.Web.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
@@ -213,37 +213,37 @@
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/System.Web.Helpers.dll">
-      <publishTime>01/28/2015 04:04:30</publishTime>
+      <publishTime>01/28/2015 12:04:30</publishTime>
     </File>
     <File Include="bin/System.Web.Http.Cors.dll">
-      <publishTime>11/28/2018 13:01:26</publishTime>
+      <publishTime>11/28/2018 21:01:26</publishTime>
     </File>
     <File Include="bin/System.Web.Http.dll">
-      <publishTime>11/28/2018 13:01:00</publishTime>
+      <publishTime>11/28/2018 21:01:00</publishTime>
     </File>
     <File Include="bin/System.Web.Http.WebHost.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="bin/System.Web.Mvc.dll">
-      <publishTime>01/28/2015 04:02:18</publishTime>
+      <publishTime>01/28/2015 12:02:18</publishTime>
     </File>
     <File Include="bin/System.Web.Optimization.dll">
-      <publishTime>02/11/2014 15:26:04</publishTime>
+      <publishTime>02/11/2014 23:26:04</publishTime>
     </File>
     <File Include="bin/System.Web.Razor.dll">
-      <publishTime>01/28/2015 04:02:32</publishTime>
+      <publishTime>01/28/2015 12:02:32</publishTime>
     </File>
     <File Include="bin/System.Web.Services.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/System.Web.WebPages.Deployment.dll">
-      <publishTime>01/28/2015 04:04:30</publishTime>
+      <publishTime>01/28/2015 12:04:30</publishTime>
     </File>
     <File Include="bin/System.Web.WebPages.dll">
-      <publishTime>01/28/2015 04:04:30</publishTime>
+      <publishTime>01/28/2015 12:04:30</publishTime>
     </File>
     <File Include="bin/System.Web.WebPages.Razor.dll">
-      <publishTime>01/28/2015 04:04:30</publishTime>
+      <publishTime>01/28/2015 12:04:30</publishTime>
     </File>
     <File Include="bin/System.Xml.dll">
       <publishTime>09/26/2012 03:16:08</publishTime>
@@ -252,19 +252,19 @@
       <publishTime>09/26/2012 03:16:08</publishTime>
     </File>
     <File Include="bin/WebActivatorEx.dll">
-      <publishTime>11/24/2014 11:18:48</publishTime>
+      <publishTime>11/24/2014 19:18:48</publishTime>
     </File>
     <File Include="bin/WebAPI.dll">
-      <publishTime>06/17/2022 11:15:38</publishTime>
+      <publishTime>06/30/2022 09:51:17</publishTime>
     </File>
     <File Include="bin/WebAPI.dll.config">
       <publishTime>12/15/2021 17:59:43</publishTime>
     </File>
     <File Include="bin/WebAPI.pdb">
-      <publishTime>06/17/2022 11:15:38</publishTime>
+      <publishTime>06/30/2022 09:51:17</publishTime>
     </File>
     <File Include="bin/WebGrease.dll">
-      <publishTime>07/17/2013 17:03:52</publishTime>
+      <publishTime>07/18/2013 01:03:52</publishTime>
     </File>
     <File Include="bin/zh-Hans/System.Net.Http.Formatting.resources.dll">
       <publishTime>11/29/2018 21:26:02</publishTime>
@@ -273,58 +273,58 @@
       <publishTime>11/29/2018 21:26:30</publishTime>
     </File>
     <File Include="Config/kdapi.config">
-      <publishTime>02/13/2021 14:18:17</publishTime>
+      <publishTime>06/28/2022 08:44:51</publishTime>
     </File>
     <File Include="Content/bootstrap.css">
-      <publishTime>10/11/2021 09:26:37</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Content/bootstrap.min.css">
-      <publishTime>10/11/2021 09:26:37</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Content/Site.css">
-      <publishTime>10/11/2021 09:26:37</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/BLL.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/DAL.dll">
-      <publishTime>11/01/2021 09:08:18</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/DBUtility.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Kingdee.BOS.WebApi.Client.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Model.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Newtonsoft.Json.Net35.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Pub_Class.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Pub_Control.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/SQLHelper.dll">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.eot">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.svg">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.ttf">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.woff">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Global.asax">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="grpc_csharp_ext.x64.dll">
       <publishTime>03/22/2022 13:17:22</publishTime>
@@ -333,7 +333,7 @@
       <publishTime>03/22/2022 13:17:22</publishTime>
     </File>
     <File Include="Index.html">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="libgrpc_csharp_ext.x64.dylib">
       <publishTime>03/19/2022 07:38:44</publishTime>
@@ -342,109 +342,109 @@
       <publishTime>03/19/2022 07:38:42</publishTime>
     </File>
     <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="packages.config">
-      <publishTime>05/17/2022 10:50:07</publishTime>
+      <publishTime>05/07/2022 09:07:20</publishTime>
     </File>
     <File Include="Views/Scripts/bootstrap.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/bootstrap.min.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery-1.10.2.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery-1.10.2.min.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery-1.10.2.min.map">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.min.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.unobtrusive.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/modernizr-2.6.2.js">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Shared/Error.cshtml">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Shared/_Layout.cshtml">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/web.config">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/_ViewStart.cshtml">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Department_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Customer_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Department_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Employee_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Group_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Source_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource">
-      <publishTime>04/06/2022 11:02:09</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource">
-      <publishTime>10/11/2021 09:26:38</publishTime>
+      <publishTime>06/18/2022 15:45:06</publishTime>
     </File>
     <File Include="Web References/WebS/Reference.cs">
       <publishTime>12/20/2021 13:19:56</publishTime>
@@ -459,7 +459,7 @@
       <publishTime>12/20/2021 13:19:56</publishTime>
     </File>
     <File Include="Web.config">
-      <publishTime>06/17/2022 11:19:21</publishTime>
+      <publishTime>06/30/2022 09:51:31</publishTime>
     </File>
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/WebAPI/Web.config b/WebAPI/Web.config
index 825d970..43fcb1f 100644
--- a/WebAPI/Web.config
+++ b/WebAPI/Web.config
@@ -22,7 +22,7 @@
 	  <!--<add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/>    -->
 	  <!--<add key="sUrl" value="http://192.168.63.195/WEBS-WMS/WebService1.asmx"/> 棰滃彴寮忔満-->
 	  <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> 澶忓疂-->
-	  <add key="sUrl" value="http://192.168.10.66/WEBS-WMS/WebService1.asmx" /> 
+	  <add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx" /> 
 	  <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/>    鍗氭棩绉戞妧-->
 	  <!--<add key="sUrl" value="http://192.168.0.214/WEBS-WMS/WebService1.asmx"/>    鐟炰笌绁�-->
 	  <!--<add key="sUrl" value="http://192.168.10.66/WEBS-WMS/WebService1.asmx"/>    妫シ-->
@@ -100,7 +100,7 @@
   <applicationSettings>
     <WebAPI.Properties.Settings>
       <setting name="WebAPI_WebS_WebService1" serializeAs="String">
-        <value>http://192.168.10.66/WEBS-WMS/WebService1.asmx</value>
+        <value>http://47.96.97.237/WEBS-WMS/WebService1.asmx</value>
       </setting>
     </WebAPI.Properties.Settings>
   </applicationSettings>
diff --git a/WebAPI/WebAPI.csproj.user b/WebAPI/WebAPI.csproj.user
index e7d6e7d..16d95e2 100644
--- a/WebAPI/WebAPI.csproj.user
+++ b/WebAPI/WebAPI.csproj.user
@@ -9,7 +9,7 @@
     <WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
     <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
     <NameOfLastUsedPublishProfile>D:\Git\houduan\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
-    <NameOfLastUsedPublishProfile>D:\椤圭洰\LayUI\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
+    <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
     <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
     <UseIISExpress>false</UseIISExpress>
     <Use64BitIISExpress />
diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.cs" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.cs"
new file mode 100644
index 0000000..bb37d91
--- /dev/null
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.cs"
@@ -0,0 +1,1364 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+using gregn6Lib;
+using Pub_Class;
+
+namespace WorkM
+{
+    public partial class Sc_ABJJD : Form
+    {
+        public Sc_ABJJD()
+        {
+            InitializeComponent();
+        }
+        //瀹氫箟鍒�
+        public const Int16 HTagCol = 0;
+        public const Int16 HSnoCol = 1;
+        public const Int16 HOrderBillNoCol = 2;
+        public const Int16 HMaterLenModelCol = 3;
+        public const Int16 HLeftMaterCol = 4;
+        public const Int16 HMaterQtyCol = 5;
+        public const Int16 HMaterNumberCol = 6;
+        public const Int16 HMaterNameCol = 7;
+        public const Int16 HMaterModelCol = 8;
+        public const Int16 HQtyCol = 9;
+        public const Int16 HEntrustTypeCol = 10;
+        public const Int16 HNextProcNameCol = 11;
+        public const Int16 HPriceCol = 12;
+        public const Int16 HOutQtyCol = 13;
+        public const Int16 HInQtyCol = 14;
+        public const Int16 HInDateCol = 15;
+        public const Int16 HBackDateCol = 16; //渚涘簲鍟嗗洖澶嶆棩鏈�
+        public const Int16 HBackSupDateCol = 17; //渚涘簲鍟嗗洖澶嶆棩鏈�
+        public const Int16 HWorkProcFlowCol = 18;
+        public const Int16 HRemarkCol = 19;
+        public const Int16 HSourceBillNoCol = 20;
+        public const Int16 HSourceBillTypeCol = 21;
+        public const Int16 HRelationQtyCol = 22;
+        public const Int16 HRelationMoneyCol = 23;
+        public const Int16 HCloseManCol = 24;
+        public const Int16 HEntryCloseDateCol = 25;
+        public const Int16 HCloseTypeCol = 26;
+        public const Int16 HEntryIDCol = 27;
+        public const Int16 HProcIDCol = 28;
+        public const Int16 HSourceInterIDCol = 29;
+        public const Int16 HSourceEntryIDCol = 30;
+        public const Int16 HMaterIDCol =31;
+        //
+        public const string ModName = "10000";                   //鍗曟嵁绫诲瀷
+        public  string ModCaption = "浜ゆ帴鍗�";          //鍗曟嵁鍚嶇О
+        public const string ModRightName = "Sc_ABJJD";
+        public bool BillChange;                                 //鍗曟嵁淇敼鐘舵��
+        //
+        public DBUtility.ClsPub.Enum_BillStatus BillStatus;     //鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛�
+        public Int64 KeyID;                                     //鍗曟嵁涓诲唴鐮�
+        public bool grdStatus;                                 //缃戞牸鐘舵�侊紙涓嶅彲缂栬緫锛屽彲缂栬緫锛�
+        public DAL.Cls_S_Sc_ABJJD BillNew = new DAL.Cls_S_Sc_ABJJD();   //瀵瑰簲鍗曟嵁绫�
+        public DAL.Cls_S_Sc_ABJJD BillOld = new DAL.Cls_S_Sc_ABJJD();   //瀵瑰簲鍗曟嵁绫�
+        ClsGridViewSum oSumGrid = new ClsGridViewSum();
+        //-------------------------------------------------------------------------
+        public string sProcExchInterIDList = "";
+        public bool HEditFlag_Relation;
+
+
+        #region 鍥哄畾浠g爜
+
+
+        //娓呯┖鐣岄潰
+        public void Sub_ClearBill()
+        {
+            DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp);
+            ////
+            //txtHMaker.Text = ClsPub.CurUserName;
+            //txtHMakeDate.Text = "";
+            //txtHChecker.Text = "";
+            //txtHCheckDate.Text = "";
+            //txtHCloseMan.Text = "";
+            //txtHCloseDate.Text = "";
+            //txtHDeleteMan.Text = "";
+            //txtHDeleteDate.Text = "";
+            //txtHUpDater.Text = "";
+            //txtHUpDateDate.Text = "";
+            initGrid();
+        }
+     
+        private void bclk_Click(object sender, EventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name);
+        }
+        //澧炶鎸夐挳  
+        private void AddRow_Click(object sender, EventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.AddRow(oSumGrid);
+        }
+        //鍒犺鎸夌航  
+        private void DelRow_Click(object sender, EventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.DelRow(oSumGrid);
+        }
+        private void mrlk_Click(object sender, EventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name);
+        }
+        ////绂诲紑鍗曞厓鏍�
+        //private void grdMain_LeaveCell(object sender, EventArgs e)
+        //{
+        //    oSumGrid.LeaveCell();
+        //}
+
+        ////缃戞牸鍗曞厓鏍煎彉鍖栦簨浠�
+        //private void grdMain_RowColChange(object sender, EventArgs e)
+        //{
+        //    //
+        //    if (!grdStatus)
+        //    {
+        //        return;
+        //    }
+        //    DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+        //    //
+        //    if (!CheckGridRow(oSumGrid.OldCell.Row))
+        //        return;
+
+        //}
+
+        //鏀惧純 缂栬緫
+     
+        private void Sc_ABJJD_Paint(object sender, PaintEventArgs e)//鐢荤嚎
+        {
+            Graphics g = panel2.CreateGraphics();
+            Pen p = new Pen(Color.Gray);
+            p.Width = 1;
+            g.DrawLine(p, new Point(txtHMaker.Left, txtHMaker.Top + txtHMaker.Height), new Point(txtHMaker.Left + txtHMaker.Width, txtHMaker.Top + txtHMaker.Height));
+            g.DrawLine(p, new Point(txtHMakeDate.Left, txtHMakeDate.Top + txtHMakeDate.Height), new Point(txtHMakeDate.Left + txtHMakeDate.Width, txtHMakeDate.Top + txtHMakeDate.Height));
+            //
+            g.DrawLine(p, new Point(txtHChecker.Left, txtHChecker.Top + txtHChecker.Height), new Point(txtHChecker.Left + txtHChecker.Width, txtHChecker.Top + txtHChecker.Height));
+            g.DrawLine(p, new Point(txtHCheckDate.Left, txtHCheckDate.Top + txtHCheckDate.Height), new Point(txtHCheckDate.Left + txtHCheckDate.Width, txtHCheckDate.Top + txtHCheckDate.Height));
+            //
+            g.DrawLine(p, new Point(txtHCloseMan.Left, txtHCloseMan.Top + txtHCloseMan.Height), new Point(txtHCloseMan.Left + txtHCloseMan.Width, txtHCloseMan.Top + txtHCloseMan.Height));
+            g.DrawLine(p, new Point(txtHCloseDate.Left, txtHCloseDate.Top + txtHCloseDate.Height), new Point(txtHCloseDate.Left + txtHCloseDate.Width, txtHCloseDate.Top + txtHCloseDate.Height));
+            //
+            g.DrawLine(p, new Point(this.txtHDeleteMan.Left, txtHDeleteMan.Top + txtHDeleteMan.Height), new Point(txtHDeleteMan.Left + txtHDeleteMan.Width, txtHDeleteMan.Top + txtHDeleteMan.Height));
+            g.DrawLine(p, new Point(txtHDeleteDate.Left, txtHDeleteDate.Top + txtHDeleteDate.Height), new Point(txtHDeleteDate.Left + txtHDeleteDate.Width, txtHDeleteDate.Top + txtHDeleteDate.Height));
+            //
+            g.DrawLine(p, new Point(this.txtHUpDater.Left, txtHUpDater.Top + txtHUpDater.Height), new Point(txtHUpDater.Left + txtHUpDater.Width, txtHUpDater.Top + txtHUpDater.Height));
+            g.DrawLine(p, new Point(txtHUpDateDate.Left, txtHUpDateDate.Top + txtHUpDateDate.Height), new Point(txtHUpDateDate.Left + txtHUpDateDate.Width, txtHUpDateDate.Top + txtHUpDateDate.Height));
+            //鎺т欢浣嶇疆璁剧疆 
+        }
+        //鎺т欢浣嶇疆
+        private void Sub_ControlLocation()
+        {
+            //
+        }
+
+        //绐椾綋鍔犺浇
+        private void Sc_ABJJD_Load(object sender, EventArgs e)
+        {
+            //鎵撳嵃鍒濆鍖�        
+            oSumGrid.NoCol = HSnoCol;
+            oSumGrid.ogrdMain = grdMain;
+            oSumGrid.oGridsum = grdSum;
+            this.Text = ModCaption;     //鍛藉悕绐椾綋鏍囬
+            this.lblCaption.Text = ModCaption;//鍛藉悕鍗曟嵁鏍囬
+        }
+
+
+        //鏈紶
+
+        //鏂板鎸夌航
+        private void xz_Click(object sender, EventArgs e)
+        {
+            redblue.Checked = false;
+            this.Sub_AddBill();
+        }
+        //淇濆瓨鎸夐挳
+        private void bc_Click(object sender, EventArgs e)
+        {
+            this.Sub_SaveBill();
+        }
+      
+        //瀹℃牳鎸夐挳
+       
+        //閫�鍑烘寜閽�
+        private void tc_Click(object sender, EventArgs e)
+        {
+            this.Close();
+        }
+
+        //鏍规嵁缂栬緫鐘舵�� 璁剧疆 鎺т欢鏄惁鍏佽褰曞叆    
+        private void Sub_LrtextStatus(bool TextEnabled)
+        {
+            if (TextEnabled == true)
+            {
+                //鎺т欢鍏ㄩ儴鏈夋晥
+                gbUp.Enabled = true;
+                grdMain.BackColor = ClsPub.EditColor;
+
+            }
+            else
+            {   //鎺т欢鍏ㄩ儴鏃犳晥
+                gbUp.Enabled = false;
+                grdMain.BackColor = ClsPub.ViewColor;
+            }
+        }
+        //澶嶅埗鍗曟嵁
+        private void Sub_CopyBill()
+        {
+            this.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
+            this.Sub_OperStatus();//璁剧疆TOOLBAR
+            this.txtHBillNo.Text = ClsPub.CreateBillCode(BillNew.BillType, ref ClsPub.sExeReturnInfo, true);//寰楀埌鏂板崟鍙� 
+            this.txtHBillNo.Enabled = true;
+            this.txtHBillNo.Focus();
+            this.txtHMaker.Text = ClsPub.CurUserName;
+            this.txtHMakeDate.Text = "";
+            this.txtHChecker.Text = "";
+            this.txtHCloseDate.Text = "";
+            this.txtHCloseMan.Text = "";
+            this.txtHCloseDate.Text = "";
+            this.txtHDeleteMan.Text = "";
+            this.txtHDeleteDate.Text = "";
+            this.txtHUpDater.Text = "";
+            this.txtHUpDateDate.Text = "";
+        }
+        //澶嶅埗鎸夐挳
+        private void fz_Click(object sender, EventArgs e)
+        {
+            Sub_CopyBill();
+        }
+        //timer
+        private void timer1_Tick(object sender, EventArgs e)
+        {
+            timer1.Enabled = false;
+            Sub_ControlLocation();
+            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_View)
+            {
+                this.Sub_ShowBill();
+            }
+            else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_UpdatePrice)
+            {
+                this.Sub_AddBill();
+                DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+                if (sProcExchInterIDList.Trim() != "")
+                {
+                    DAL.Cls_S_Sc_ProcessExchangeBill oCls_S_Sc_ProcessExchangeBill = new DAL.Cls_S_Sc_ProcessExchangeBill();
+                    string sWhere = " and HmainID in ( " + sProcExchInterIDList.Trim() + ") and  isnull(濮斿宸ュ崟鍏宠仈鏁伴噺,0)=0   and  濮斿鏍囪=1  ";
+                    if (oCls_S_Sc_ProcessExchangeBill.Refresh(sWhere))  //閫夋嫨鍘熷崟
+                    {
+                        FillSelectData(oCls_S_Sc_ProcessExchangeBill.oBillSelectColl);
+                    }
+                }
+            }
+            else 
+            {
+                this.Sub_AddBill();
+                DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+            }
+
+
+        }
+        //绐椾綋鍗歌浇
+        private void Sc_ABJJD_FormClosing(object sender, FormClosingEventArgs e)
+        {
+            BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
+            DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name);
+        }
+        //鏂板鍗曟嵁
+        private void Sub_AddBill()
+        {
+            this.BillNew = new DAL.ClsSc_ABJJD();
+            this.BillOld = new DAL.ClsSc_ABJJD();
+            this.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
+            this.Sub_OperStatus();//璁剧疆TOOLBAR
+            this.Sub_ClearBill();//娓呯┖鐣岄潰
+            this.txtHBillNo.Text = ClsPub.CreateBillCode(BillNew.BillType, ref ClsPub.sExeReturnInfo, true);//寰楀埌鏂板崟鍙�
+            this.txtHBillNo.Enabled = true;
+            this.txtHBillNo.Focus();
+        }
+        //TOOLBAR鐘舵��  鎸夐挳鏄惁鐏板害
+        public void Sub_OperStatus()
+        {
+            switch (BillStatus)
+            {
+                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View:
+                    //娴忚鐘舵��
+                    yl.Enabled = true;
+                    xz.Enabled = true;
+                    xg.Enabled = true;
+                    sc.Enabled = true;
+                    AddRow.Enabled = false;
+                    DelRow.Enabled = false;
+                    bc.Enabled = false;
+                    fq.Enabled = false;
+                    sz.Enabled = true;
+                    syz.Enabled = true;
+                    xyz.Enabled = true;
+                    mz.Enabled = true;
+                    tc.Enabled = true;
+                    redblue.Enabled = false;
+                    //鏈鏍�
+                    if (txtHChecker.Text.Trim() == "")
+                    {
+                        sh.Enabled = true;
+                        qsh.Enabled = false;
+                        //gb.Enabled = false;
+                        //hf.Enabled = false;
+                        xg.Enabled = true;
+                        sc.Enabled = true;
+                        //鏈鏍�
+                        pic1.Visible = false;
+                        pic1.Image = null;
+                        //
+                    }
+                    else if (txtHCloseMan.Text.Trim() == "" && txtHChecker.Text.Trim() != "")//瀹℃牳鏈叧闂�
+                    {
+                        sh.Enabled = false;
+                        qsh.Enabled = true;
+                        //gb.Enabled = true;
+                        //hf.Enabled = false;
+                        xg.Enabled = false;
+                        sc.Enabled = false;
+                        //
+                        pic1.Visible = true;
+                        pic1.Image = System.Drawing.Image.FromFile(ClsPub.AppPath + @"/Pic/Checked.jpg");
+                        //
+                    }
+                    else//宸插叧闂�
+                    {
+                        sh.Enabled = false;
+                        qsh.Enabled = false;
+                        //gb.Enabled = false;
+                        //hf.Enabled = true;
+                        xg.Enabled = false;
+                        sc.Enabled = false;
+                        //
+                        pic1.Visible = true;
+                        pic1.Image = System.Drawing.Image.FromFile(ClsPub.AppPath + @"/Pic/Closed.jpg");
+                        //
+                    }
+                    if (txtHDeleteMan.Text.Trim() == "")
+                    {
+                        //zf.Enabled = true;
+                        //zc.Enabled = false;
+                    }
+                    else //宸蹭綔搴�
+                    {
+                        //zf.Enabled = false;
+                        //zc.Enabled = true;
+                        xg.Enabled = false;
+                        sc.Enabled = false;
+                        AddRow.Enabled = false;
+                        DelRow.Enabled = false;
+                        bc.Enabled = false;
+                        fq.Enabled = false;
+                        sh.Enabled = false;
+                        qsh.Enabled = false;
+                        //gb.Enabled = false;
+                        //hf.Enabled = false;
+                        //
+                        pic1.Visible = true;
+                        pic1.Image = System.Drawing.Image.FromFile(ClsPub.AppPath + @"/Pic/Deleted.jpg");
+                        //
+                    }
+                    Sub_LrtextStatus(false);
+                    grdStatus = false;
+                    break;
+                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew:
+                    //鏂板鐘舵��
+                    yl.Enabled = false;
+                    xz.Enabled = false;
+                    xg.Enabled = false;
+                    sc.Enabled = false;
+                    AddRow.Enabled = true;
+                    DelRow.Enabled = true;
+                    bc.Enabled = true;
+                    fq.Enabled = true;
+                    sh.Enabled = false;
+                    qsh.Enabled = false;
+                    //gb.Enabled = false;
+                    //hf.Enabled = false;
+                    //zf.Enabled = false;
+                    //zc.Enabled = false;
+                    sz.Enabled = false;
+                    syz.Enabled = false;
+                    xyz.Enabled = false;
+                    mz.Enabled = false;
+                    tc.Enabled = true;
+                    Sub_LrtextStatus(true);
+                    grdStatus = true;
+                    redblue.Enabled = true;
+                    //鏈鏍�
+                    pic1.Visible = false;
+                    pic1.Image = null;
+                    //
+                    break;
+                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify:
+                    //淇敼鐘舵��
+                    yl.Enabled = false;
+                    xz.Enabled = false;
+                    xg.Enabled = false;
+                    sc.Enabled = false;
+                    AddRow.Enabled = true;
+                    DelRow.Enabled = true;
+                    bc.Enabled = true;
+                    fq.Enabled = true;
+                    sh.Enabled = false;
+                    qsh.Enabled = false;
+                    //gb.Enabled = false;
+                    //hf.Enabled = false;
+                    //zf.Enabled = false;
+                    //zc.Enabled = false;
+                    sz.Enabled = false;
+                    syz.Enabled = false;
+                    xyz.Enabled = false;
+                    mz.Enabled = false;
+                    tc.Enabled = true;
+                    Sub_LrtextStatus(true);
+                    grdStatus = true;
+                    redblue.Enabled = true;
+                    //鏈鏍�
+                    pic1.Visible = false;
+                    pic1.Image = null;
+                    //
+                    break;
+            }
+
+        }
+        #endregion
+
+        #region  璇诲啓绫�
+        //鏄剧ず鍗曟嵁
+        public void Sub_ShowBill()
+        {
+            //DAL.ClsIF_Department_View oDep = new DAL.ClsIF_Department_View();
+            //DAL.ClsIF_Supplier_View oSup = new DAL.ClsIF_Supplier_View();
+            //DAL.ClsIF_Material_View oMater = new DAL.ClsIF_Material_View();
+            ////鍒ゆ柇鏄惁瀛樺湪鍗曟嵁
+            //if (BillOld.ShowBill(BillOld.omodel.HInterID, ref  ClsPub.sExeReturnInfo) == false)
+            //{
+            //    MessageBox.Show(ClsPub.sExeReturnInfo, "鎻愮ず");
+            //    return;
+            //}
+            ////娓呯┖
+            //Sub_ClearBill();
+            ////鍔犺浇琛ㄥご
+
+            
+
+            ////============================================================
+            ////鍗曟嵁鍥哄畾璧嬪��
+            //this.dtpHDate.Value = BillOld.omodel.HDate;
+            //this.txtHBillNo.Text = BillOld.omodel.HBillNo;
+            //this.txtHRemark.Text = BillOld.omodel.HRemark;
+            //this.txtHMaker.Text = BillOld.omodel.HMaker;
+            //this.txtHMakeDate.Text = BillOld.omodel.HMakeDate;
+            //this.txtHChecker.Text = BillOld.omodel.HChecker;
+            //this.txtHCheckDate.Text = BillOld.omodel.HCheckDate;
+            //this.txtHCloseMan.Text = BillOld.omodel.HCloseMan;
+            //this.txtHCloseDate.Text = BillOld.omodel.HCloseDate;
+            //this.txtHDeleteMan.Text = BillOld.omodel.HDeleteMan;
+            //this.txtHDeleteDate.Text = BillOld.omodel.HDeleteDate;
+            //this.txtHUpDater.Text = BillOld.omodel.HUpDater;
+            //this.txtHUpDateDate.Text = BillOld.omodel.HUpDateDate;
+            ////
+           
+            ////this.txtHInnerBillNo.Text = BillOld.omodel.HInnerBillNo;
+            ////redblue.Checked = BillOld.omodel.HRedBlueFlag;
+            ////鍔犺浇琛ㄤ綋
+            //initGrid();
+            //int i = 0;
+            //foreach (Model.ClsSc_ABJJDSub oSub in BillOld.DetailColl)
+            //{
+            //    if (i >= grdMain.RowCount - 1)
+            //        grdMain.Rows.Add();
+            //    //鍗曟嵁鍥哄畾璧嬪��
+            //    grdMain.Rows[i].Cells[HTagCol].Value = "*";
+            //    grdMain.Rows[i].Cells[HEntryIDCol].Value = oSub.HEntryID.ToString();
+            //    grdMain.Rows[i].Cells[HRemarkCol].Value = oSub.HRemark;
+            //    grdMain.Rows[i].Cells[HCloseManCol].Value = oSub.HCloseMan;
+            //    grdMain.Rows[i].Cells[HEntryCloseDateCol].Value = oSub.HEntryCloseDate;
+            //    grdMain.Rows[i].Cells[HCloseTypeCol].Value = oSub.HCloseType;
+            //    grdMain.Rows[i].Cells[HSourceBillNoCol].Value = oSub.HSourceBillNo;
+            //    grdMain.Rows[i].Cells[HSourceInterIDCol].Value = oSub.HSourceInterID.ToString();
+            //    grdMain.Rows[i].Cells[HSourceEntryIDCol].Value = oSub.HSourceEntryID.ToString();
+            //    grdMain.Rows[i].Cells[HSourceBillTypeCol].Value = oSub.HSourceBillType.Trim();
+            //    grdMain.Rows[i].Cells[HRelationQtyCol].Value = oSub.HRelationQty.ToString();
+            //    grdMain.Rows[i].Cells[HRelationMoneyCol].Value = oSub.HRelationMoney.ToString();
+            //    //======================================================================================
+            //    //
+            //    grdMain.Rows[i].Cells[HMaterIDCol].Value = oSub.HMaterID.ToString();
+            //    if (oMater.GetInfoByID(oSub.HMaterID))
+            //    {
+            //        grdMain.Rows[i].Cells[HMaterNumberCol].Value = oMater.omodel.HNumber;
+            //        grdMain.Rows[i].Cells[HMaterNameCol].Value = oMater.omodel.HName;
+            //        grdMain.Rows[i].Cells[HMaterModelCol].Value = oMater.omodel.HModel;
+
+            //    }
+            //    else
+            //    {
+            //        grdMain.Rows[i].Cells[HMaterNumberCol].Value = "";
+            //        grdMain.Rows[i].Cells[HMaterNameCol].Value = "";
+            //        grdMain.Rows[i].Cells[HMaterModelCol].Value = "";
+            //    }
+            //    //
+            //    //if (BillOld.omodel.HRedBlueFlag == true)
+            //    //{
+            //    //    grdMain.Rows[i].Cells[HQtyCol].Value = DBUtility.ClsPub.isStrNull(-oSub.HQty);
+            //    //}
+            //    //else
+            //    //{
+            //    //    grdMain.Rows[i].Cells[HQtyCol].Value = DBUtility.ClsPub.isStrNull(oSub.HQty);
+            //    //}
+            //    grdMain.Rows[i].Cells[HOrderBillNoCol].Value = oSub.HOrderBillNo;
+            //    grdMain.Rows[i].Cells[HMaterLenModelCol].Value = oSub.HMaterLenModel;
+            //    grdMain.Rows[i].Cells[HMaterQtyCol].Value = oSub.HMaterQty.ToString();
+            //    grdMain.Rows[i].Cells[HQtyCol].Value = oSub.HQty.ToString();
+            //    grdMain.Rows[i].Cells[HEntrustTypeCol].Value = oSub.HEntrustType;
+            //    grdMain.Rows[i].Cells[HNextProcNameCol].Value = oSub.HNextProcName;
+            //    grdMain.Rows[i].Cells[HPriceCol].Value = oSub.HPrice.ToString();
+            //    grdMain.Rows[i].Cells[HOutQtyCol].Value = oSub.HOutQty.ToString();
+            //    grdMain.Rows[i].Cells[HInQtyCol].Value = oSub.HInQty.ToString();
+            //    if (oSub.HInDate < Convert.ToDateTime("1960-01-01"))
+            //    {
+            //        grdMain.Rows[i].Cells[HInDateCol].Value = "";
+            //    }
+            //    else
+            //    {
+            //        grdMain.Rows[i].Cells[HInDateCol].Value = oSub.HInDate.ToString();
+            //    }
+            //    if (oSub.HBackSupDate < Convert.ToDateTime("1960-01-01"))
+            //    {
+            //        grdMain.Rows[i].Cells[HBackSupDateCol].Value = "";
+            //    }
+            //    else
+            //    {
+            //        grdMain.Rows[i].Cells[HBackSupDateCol].Value = oSub.HBackSupDate.ToString();
+            //    }
+            //    grdMain.Rows[i].Cells[HWorkProcFlowCol].Value = oSub.HWorkProcFlow;
+            //    grdMain.Rows[i].Cells[HLeftMaterCol].Value = oSub.HLeftMater;
+            //    grdMain.Rows[i].Cells[HProcIDCol].Value = oSub.HProcID;
+            //    i = i + 1;
+            //}
+            ////GRID鍏佽鍒锋柊 
+            //DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+            ////
+            //Sub_OperStatus();
+        }
+
+        //鍗曟嵁瀹屾暣鎬у垽鏂�          鏈畬鎴�
+        private bool Sub_AllowSave()
+        {
+            //蹇呰緭椤圭洰鏄惁涓虹┖
+          
+            //鍗曟嵁鍙锋槸鍚﹂噸澶�
+            if (BillNew.IsExistBillNo(ref ClsPub.sExeReturnInfo, txtHBillNo.Text.Trim(), BillStatus, BillOld.omodel.HInterID))
+            {
+                MessageBox.Show("鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒", "鎻愮ず");
+                return false;
+            }
+            //鏄庣粏琛ㄦ槸鍚︿负闆惰
+            bool b = false;
+            for (int i = 0; i < grdMain.RowCount; i++)
+            {
+                if (!IsNullRow(i))
+                {
+                    b = true;
+                    break;
+                }
+            }
+            if (b == false)
+            {
+                MessageBox.Show("琛ㄤ綋鏄庣粏琛屼笉瀛樺湪锛佽褰曞叆锛�", "鎻愮ず");
+                return false;
+            }
+            return true;
+        }
+        //淇濆瓨鍗曟嵁
+        private bool Sub_SaveBill()
+        {
+            Model.ClsSc_ABJJDSub oBillSub = new Model.ClsSc_ABJJDSub();
+            //鍒ゆ柇鏉冮檺
+            //if (!ClsPub.Security_Log(ModRightNameEdit, 1, true, DBUtility.ClsPub.CurUserName))
+            //{
+            //    return false;
+            //}
+            //
+            Int32 i;
+            bool bResult;
+            BillNew = new DAL.ClsSc_ABJJD();
+            //澶卞幓鐒︾偣
+            lblCaption.Focus();
+            if (!Sub_AllowSave())//鍗曟嵁瀹屾暣鎬у垽鏂�
+                return false;
+            //璧嬪�糏D
+            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
+                BillNew.omodel.HInterID = BillOld.omodel.HInterID;
+            else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_UpdatePrice)
+                BillNew.omodel.HInterID = BillOld.omodel.HInterID;
+            //涓荤被璧嬪��
+            //鍒ゆ柇浼氳鏈熸槸鍚﹀悎鐞�
+            string s = "";
+            int sYear = 0;
+            int sPeriod = 0;
+            if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(dtpHDate.Value, ref sYear, ref sPeriod, ref s) == false)
+            {
+                MessageBox.Show(s, "鎻愮ず");
+                return false;
+            }
+            BillNew.omodel.HYear = sYear;
+            BillNew.omodel.HPeriod = sPeriod;
+            //鍥哄畾璧嬪��=================================
+            BillNew.omodel.HBillNo = this.txtHBillNo.Text.Trim();  //鍦ㄨ祴鍊肩被鍓嶅氨澶勭悊濂藉瓧绗︿覆鍜屾暟瀛�
+            BillNew.omodel.HDate = this.dtpHDate.Value;
+            BillNew.omodel.HRemark = this.txtHRemark.Text.Trim();
+            //====================================================
+            //BillNew.omodel.HInnerBillNo = ClsPub.isStrNull(this.txtHInnerBillNo.Text);
+            //BillNew.omodel.HRedBlueFlag = redblue.Checked;
+            //鏄庣粏绫昏祴鍊�
+            BillNew.DetailColl = new List<Model.ClsSc_ABJJDSub>();
+            for (i = 0; i <= grdMain.RowCount - 1; i++)
+            {
+                if (ClsPub.isLong(grdMain.Rows[i].Cells[HMaterIDCol].Value) != 0)
+                {
+                    Model.ClsSc_ABJJDSub oSub = new Model.ClsSc_ABJJDSub();
+                    //鍥哄畾璧嬪��========================================
+                    oSub.HEntryID = i + 1;
+                    oSub.HRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HRemarkCol].Value);
+                    oSub.HSourceInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceInterIDCol].Value);
+                    oSub.HSourceEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSourceEntryIDCol].Value);
+                    oSub.HSourceBillType = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSourceBillTypeCol].Value);
+                    oSub.HSourceBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSourceBillNoCol].Value);
+                    oSub.HRelationQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationQtyCol].Value);
+                    oSub.HRelationMoney = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelationMoneyCol].Value);
+                    oSub.HCloseMan = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HCloseManCol].Value);
+                    oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEntryCloseDateCol].Value);
+                    oSub.HCloseType = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HCloseTypeCol].Value);
+                    //=============================
+                    oSub.HOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HOrderBillNoCol].Value);
+                    oSub.HLeftMater = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HLeftMaterCol].Value);
+                    oSub.HMaterLenModel = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMaterLenModelCol].Value);
+                    oSub.HMaterQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HMaterQtyCol].Value);
+                    oSub.HMaterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HMaterIDCol].Value);
+                    oSub.HProcID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcIDCol].Value);
+                    oSub.HQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HQtyCol].Value);
+                    oSub.HEntrustType = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HEntrustTypeCol].Value);
+                    oSub.HNextProcName = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HNextProcNameCol].Value);
+                    oSub.HPrice = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HPriceCol].Value);
+                    oSub.HOutQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HOutQtyCol].Value);
+                    oSub.HInQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HInQtyCol].Value);
+                    oSub.HInDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HInDateCol].Value);
+                    oSub.HBackSupDate = DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HBackSupDateCol].Value);
+                    oSub.HWorkProcFlow = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWorkProcFlowCol].Value);
+                    //if (oSub.HQty <= 0)
+                    //{
+                    //    MessageBox.Show("绗�" + ClsPub.isStrNull(i + 1) + "琛岋紝鐢熶骇鏁伴噺涓嶈兘涓�0鎴栬�呭皬浜�0");
+                    //    return false;
+                    //}
+                    //if (redblue.Checked == true)
+                    //{
+                    //    oSub.HQty = -oSub.HQty;
+                    //}
+                    //else
+                    //{
+                    //    oSub.HQty = oSub.HQty;
+                    //}
+                    BillNew.DetailColl.Add(oSub);
+                }
+            }
+            //淇濆瓨瀹屾瘯鍚庡鐞�
+            if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
+            {
+                bResult = BillNew.AddBill(ref ClsPub.sExeReturnInfo);
+            }
+            else
+            {
+                bResult = BillNew.ModifyBill(BillNew.omodel.HInterID, ref ClsPub.sExeReturnInfo);
+            }
+            //鎻愮ず
+            if (bResult == true)
+            {
+                BillChange = true;
+                MessageBox.Show("鍗曟嵁瀛樼洏瀹屾瘯!鍗曟嵁鍙�:" + this.txtHBillNo.Text.Trim(), "鎻愮ず");
+                if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew)
+                {
+                    BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
+                    BillOld.omodel.HInterID = BillNew.omodel.HInterID;
+                    this.Sub_ShowBill();
+                }
+                else if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
+                {
+                    BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
+                }
+                this.Sub_OperStatus();
+                return true;
+            }
+            else
+            {
+                MessageBox.Show("淇濆瓨澶辫触!鍘熷洜:" + ClsPub.sExeReturnInfo, "鎻愮ず");
+                return false;
+            }
+        }
+        #endregion
+
+
+        #region 绐椾綋澶勭悊鏂规硶
+        //鍒濆鍖朑RID
+        private void initGrid()
+        {
+
+            //
+            grdMain.ColumnCount = 32;                       //鎬诲垪鏁�
+            DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name);
+            //=
+            grdMain.Columns[HOrderBillNoCol].HeaderText = "璁㈠崟鍙�";
+            grdMain.Columns[HMaterLenModelCol].HeaderText = "鏂欎欢灏哄";
+            grdMain.Columns[HLeftMaterCol].HeaderText = "鍙戞枡灏哄";
+            grdMain.Columns[HMaterQtyCol].HeaderText = "鏁伴噺锛堝紶锛�";
+            grdMain.Columns[HMaterIDCol].HeaderText = "鍔犲伐浜у搧ID";
+            grdMain.Columns[HMaterNumberCol].HeaderText = "鏂欏彿";
+            grdMain.Columns[HMaterNameCol].HeaderText = "鍚嶇О";
+            grdMain.Columns[HMaterModelCol].HeaderText = "瑙勬牸鍨嬪彿";
+            grdMain.Columns[HQtyCol].HeaderText = "鐢熶骇鏁伴噺锛圥CS锛�";
+            grdMain.Columns[HEntrustTypeCol].HeaderText = "濮斿鍔犲伐绫诲瀷";
+            grdMain.Columns[HNextProcNameCol].HeaderText = "涓嬮亾宸ュ簭";
+            grdMain.Columns[HPriceCol].HeaderText = "鍗曚环";
+            grdMain.Columns[HOutQtyCol].HeaderText = "瀹炲彂鏁伴噺";
+            grdMain.Columns[HInQtyCol].HeaderText = "鍥炲巶鏁伴噺";
+            grdMain.Columns[HInDateCol].HeaderText = "鍥炲巶鏃堕棿";
+            grdMain.Columns[HBackSupDateCol].HeaderText = "渚涘簲鍟嗗洖澶嶆棩鏈�";
+            grdMain.Columns[HWorkProcFlowCol].HeaderText = "浜у搧宸ヨ壓";
+            ////鍥哄畾璧嬪��=====================================================
+            grdMain.Columns[HSnoCol].HeaderText = "搴忓彿";
+            grdMain.Columns[HRemarkCol].HeaderText = "澶囨敞";
+            grdMain.Columns[HSourceInterIDCol].HeaderText = "婧愬崟涓诲唴鐮�";
+            grdMain.Columns[HSourceBillNoCol].HeaderText = "婧愬崟鍗曞彿";
+            grdMain.Columns[HSourceEntryIDCol].HeaderText = "婧愬崟瀛愬唴鐮�";
+            grdMain.Columns[HSourceBillTypeCol].HeaderText = "婧愬崟绫诲瀷";
+            grdMain.Columns[HRelationQtyCol].HeaderText = "鍏宠仈鏁伴噺";
+            grdMain.Columns[HRelationMoneyCol].HeaderText = "鍏宠仈閲戦";
+            grdMain.Columns[HCloseManCol].HeaderText = "琛屽叧闂汉";
+            grdMain.Columns[HEntryCloseDateCol].HeaderText = "鍏抽棴鏃堕棿";
+            grdMain.Columns[HCloseTypeCol].HeaderText = "鎵嬪伐鍏抽棴";
+            //=============================================================================
+            //鏍煎紡鍖� 
+            ////闅愯棌鍒�
+            grdMain.Columns[HTagCol].Visible = false;
+            grdMain.Columns[HEntryIDCol].Visible = false;
+            grdMain.Columns[HMaterIDCol].Visible = false;
+
+            grdMain.Columns[HRelationQtyCol].Visible = false;
+            grdMain.Columns[HRelationMoneyCol].Visible = false;
+            grdMain.Columns[HCloseManCol].Visible = false;
+            grdMain.Columns[HEntryCloseDateCol].Visible = false;
+            grdMain.Columns[HCloseTypeCol].Visible = false;
+            grdMain.Columns[HSourceInterIDCol].Visible= false;
+            grdMain.Columns[HSourceEntryIDCol].Visible = false;
+            grdMain.Columns[HProcIDCol].Visible = false;
+            grdMain.Columns[HBackDateCol].Visible = false;
+
+            //璁剧疆鍙紪杈戝垪
+            string sAllowCol = HPriceCol.ToString() +
+                //"," + HOrderBillNoCol.ToString() +
+                //"," + HMaterLenModelCol.ToString() +
+                //"," + HMaterQtyCol.ToString() +
+                "," + HQtyCol.ToString() +
+                "," + HLeftMaterCol.ToString() +
+                //"," + HEntrustTypeCol.ToString() +
+                //"," + HNextProcNameCol.ToString() +
+                //"," + HMaterNumberCol.ToString() +
+                "," + HOutQtyCol.ToString() +
+                "," + HBackSupDateCol.ToString() +
+                "," + HMaterLenModelCol.ToString() +
+                "," + HMaterQtyCol.ToString() +
+                            "," + HInDateCol.ToString() +
+                            "," + HRemarkCol.ToString();
+            //璁剧疆鍚堣鍒�
+            string sTotalCol = HQtyCol.ToString() +
+                           "," + HMaterQtyCol.ToString() +
+                           "," + HOutQtyCol.ToString() +
+                           "," + HInQtyCol.ToString();
+            //鏍煎紡鍖栫綉鏍�
+            DBUtility.Xt_BaseBillFun.initGridLast(sAllowCol, sTotalCol, oSumGrid);
+            if (redblue.Checked == true)
+            {
+                oSumGrid.SetGridRedMain();
+            }
+            else
+            {
+                oSumGrid.SetGridMain();
+            }
+        }
+
+        //鍏紡閲嶇畻
+        private void RowCount(int sRow, int sTag)
+        {
+            //if (sTag == 0)
+            //{
+            //    //閲戦鍒�=鏁伴噺*鍗曚环
+            //    double sMoney = 0;
+            //    sMoney = ClsPub.isDoule(grdMain.Rows[sRow].Cells[HPriceCol].Value) * ClsPub.isDoule(grdMain.Rows[sRow].Cells[HQtyCol].Value);
+            //    grdMain.Rows[sRow].Cells[HMoneyCol].Value = sMoney.ToString();
+            //}
+            //else
+            //{
+            //    //鍗曚环鍒�=閲戦/鏁伴噺
+            //    double sMoney = 0;
+            //}
+        }
+
+
+
+
+        //鏍稿閫夋嫨鐨勫唴瀹�
+        public bool CheckGridCell(Cell oCell)
+        {
+            int Row;
+            int Col;
+            Row = oCell.Row;
+            Col = oCell.Col;
+            //杈撳叆浠g爜寰楀埌淇℃伅
+            if (Col == HMaterNumberCol)  //鐗╂枡浠g爜鍒�
+            {
+
+                return false;
+            }
+            //else if (Col == HUnitNameCol)  //鍗曚綅 鍒�
+            //{
+
+            //    return false;
+            //}
+            else //鍏朵粬鍒�
+            {
+            }
+            //  
+            oSumGrid.EditStatus = false;
+            return true;
+        }
+
+
+        //'鍒ゆ柇缃戞牸琛岀殑褰曞叆鏄惁姝g‘
+        private bool CheckGridRow(int Row)
+        {
+            Cell oCell = new Cell();
+            int c = 0;
+            //for (c = 0; c < grdMain.ColumnCount; c++)
+            //{
+            //    oCell.Row = Row;
+            //    oCell.Col = c;
+            //    //if (!CheckGridCell(oCell))
+            //    //    return false;
+
+            //}
+            return true;
+        }
+        //甯姪鍑芥暟
+        private void Sub_GridKey(int sKeyCode, int sRow, int sCol, DataGridViewTextBoxEditingControl oEdit)
+        {
+            DAL.ClsIF_Material_View oMater = new DAL.ClsIF_Material_View();
+            if (!grdStatus)
+            {
+                return;
+            }
+            oSumGrid.EditStatus = true;
+            switch (sKeyCode)
+            {
+                case 118:          //F7
+                    {
+                        switch (sCol)
+                        {
+                            case HMaterNumberCol:
+                                oMater.WherePart = "";
+                                if (oMater.RefreshView())
+                                {
+                                    grdMain.Rows[sRow].Cells[HMaterIDCol].Value = oMater.omodel.HItemID.ToString();
+                                    grdMain.Rows[sRow].Cells[HMaterNumberCol].Value = oMater.omodel.HNumber;
+                                    grdMain.Rows[sRow].Cells[HMaterNameCol].Value = oMater.omodel.HName;
+                                    grdMain.Rows[sRow].Cells[HMaterModelCol].Value = oMater.omodel.HModel;
+                                    EditingControl.Text = oMater.omodel.HNumber;
+                                }
+                                else
+                                {
+                                    grdMain.Rows[sRow].Cells[HMaterIDCol].Value = 0;
+                                    grdMain.Rows[sRow].Cells[HMaterNumberCol].Value = "";
+                                    grdMain.Rows[sRow].Cells[HMaterNameCol].Value = "";
+                                    grdMain.Rows[sRow].Cells[HMaterModelCol].Value = "";
+                                }
+                                break;
+                            //
+                            case HInDateCol:
+                                BLL.ClsPub_BLL.Sub_SelectDate(grdMain, sRow, HInDateCol);
+                                oEdit.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[sRow].Cells[HInDateCol].Value);
+                                break;
+                            case HBackSupDateCol:
+                                BLL.ClsPub_BLL.Sub_SelectDate(grdMain, sRow, HBackSupDateCol);
+                                oEdit.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[sRow].Cells[HBackSupDateCol].Value);
+                                break;
+                            default:
+                                break;
+                        }
+                        break;
+                    }
+                case 117:  //F6
+                    {
+                        switch (sCol)
+                        {
+                            case HInDateCol:
+                                BLL.ClsPub_BLL.Sub_SelectDate_ALL(grdMain, sRow, HInDateCol,HMaterIDCol);
+                                oEdit.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[sRow].Cells[HInDateCol].Value);
+                                break;
+                            case HBackSupDateCol:
+                                BLL.ClsPub_BLL.Sub_SelectDate_ALL(grdMain, sRow, HBackSupDateCol, HMaterIDCol);
+                                oEdit.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[sRow].Cells[HBackSupDateCol].Value);
+                                break;
+                            default:
+                                break;
+                        }
+                        break;
+                    }
+                default:
+                    break;
+            }
+        }
+
+        #region  鍩烘湰涓嶅彉
+
+        //鏄惁鏄┖琛�
+        private bool IsNullRow(int Row)
+        {
+            return DBUtility.Xt_BaseBillFun.IsNullRow(Row, HMaterIDCol, grdMain);
+        }
+
+
+        //缃戞牸缂栬緫鍓嶅垽鏂�
+        private void grdMain_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
+        {
+            int i = grdMain.CurrentCell.ColumnIndex;
+            if (DBUtility.Xt_BaseBillFun.AllowEdit(grdStatus, oSumGrid, i))
+            {
+                e.Cancel = true;
+            }
+            if (HEditFlag_Relation == true)
+            {
+                if (e.ColumnIndex != HBackSupDateCol)
+                {
+                    e.Cancel = true;
+                }
+            }
+        }
+
+        private void grdMain_Scroll(object sender, ScrollEventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+            oSumGrid.DisplayCurRow();
+        }
+
+        //缃戞牸缂栬緫鍚庡鐞�
+        private void grdMain_CellEndEdit(object sender, DataGridViewCellEventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+            RowCount(e.RowIndex, 0);  //璁$畻 閲戦 鍗曚环
+            //
+            if (this.EditingControl != null)      //閲婃斁浜嬩欢
+            {
+                EditingControl.KeyDown -= new KeyEventHandler(this.EditingControl_KeyDown);
+                this.EditingControl = null;
+            }
+        }
+        DataGridViewTextBoxEditingControl EditingControl;
+
+        private void grdMain_CellLeave(object sender, DataGridViewCellEventArgs e)
+        {
+            //
+            if (!grdStatus)
+            {
+                return;
+            }
+            DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+            // 
+            if (!CheckGridRow(oSumGrid.OldCell.Row))
+                return;
+        }
+
+        private void grdMain_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+        }
+
+        private void grdMain_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
+        {
+            if (grdMain.CurrentCell != null)
+            {
+                if (e.Control is DataGridViewTextBoxEditingControl)
+                {
+                    this.EditingControl = (DataGridViewTextBoxEditingControl)e.Control;
+                    //澧炲姞濮旀墭澶勭悊 
+                    this.EditingControl.KeyDown += new KeyEventHandler(this.EditingControl_KeyDown);
+                }
+            }
+        }
+        private void EditingControl_KeyDown(object sender, KeyEventArgs e)
+        {
+            //涓氬姟澶勭悊 
+            Sub_GridKey(e.KeyValue, grdMain.CurrentRow.Index, grdMain.CurrentCell.ColumnIndex, EditingControl);
+        }
+        private void grdMain_RowHeadersWidthChanged(object sender, EventArgs e)
+        {
+            DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+        }
+
+
+        #endregion
+
+        #endregion
+
+
+        #region  //鎵撳嵃璁剧疆
+
+        GridppReport Report;
+
+        //棰勮
+        private void yl_Click(object sender, EventArgs e)
+        {
+            //閫夋嫨鎵撳嵃妯℃澘
+            BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp();
+            oFrm.sBillName = ModName;
+            oFrm.sBillModel = ModCaption;
+            oFrm.ShowDialog();
+            if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK)
+            {
+                //
+                Sub_SetReport(oFrm.sOpenTmp);
+                Report.PrintPreview(true);
+            }
+        }
+        //鎵惧埌瀵瑰簲鎵撳嵃妯″潡
+        private void Sub_SetReport(string sOpenTmp)
+        {
+            //
+            Report = new GridppReport();
+            Report.LoadFromFile(ClsPub.AppPath + @"\" + sOpenTmp + ".grf");  //here .
+            Report.BeforePostRecord += new _IGridppReportEvents_BeforePostRecordEventHandler(ReportBeforePostRecord);
+            Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable);
+        }
+        //璧嬪�艰〃澶�
+        private void ReportBeforePostRecord()// 
+        {
+            Report.FieldByName("鍗曟嵁鍙�").AsString = txtHBillNo.Text;
+            Report.FieldByName("鏃ユ湡").AsString = dtpHDate.Value.ToString();
+            Report.FieldByName("琛ㄥご澶囨敞").AsString = txtHRemark.Text;
+        }
+        //璧嬪�艰〃浣�
+        private void ReportFetchRecordByDataTable()
+        {
+            BLL.Utility.FillRecordToReport(Report, grdMain, grdPrint, HMaterIDCol);
+        }
+        //鎵撳嵃璁剧疆
+        private void set_Click(object sender, EventArgs e)
+        {
+            // 
+            BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp();
+            oFrm.sBillName = ModName;
+            oFrm.sBillModel = ModCaption;
+            oFrm.ShowDialog();
+        }
+        //鎵撳嵃
+        private void dy_Click(object sender, EventArgs e)
+        {
+            //閫夋嫨鎵撳嵃妯℃澘
+            BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp();
+            oFrm.sBillName = ModName;
+            oFrm.sBillModel = ModCaption;
+            oFrm.ShowDialog();
+            if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK)
+            {
+                //
+                Sub_SetReport(oFrm.sOpenTmp);
+                Report.Print(true);
+            }
+        }
+
+        #endregion
+
+
+
+        #region  婧愬崟澶勭悊
+        //閫夊師鍗� 
+        //private void cmdSourceBillNo_Click(object sender, EventArgs e)
+        //{
+        //    if (cmbSourceBillType.Text.Trim() == "鐢熶骇娲惧伐鍗�")    //骞�
+        //    {
+        //        string sWhere = " and HDeptID=" + DBUtility.ClsPub.isLong(txtHCurID.Tag).ToString();
+        //        DAL.Cls_S_Sc_ICMOSortBill oSc_ICMOSortBill = new DAL.Cls_S_Sc_ICMOSortBill();
+        //        if (oSc_ICMOSortBill.Refresh(sWhere))  //閫夋嫨鍘熷崟
+        //        {
+        //            FillSelectData(oSc_ICMOSortBill.oBillSelectColl);
+        //        }
+        //    }
+        //    else if (cmbSourceBillType.Text.Trim() == "鍘嗗彶鐢熶骇娲惧伐鍗�")    //骞�
+        //    {
+        //        string sWhere = " and HDeptID=" + DBUtility.ClsPub.isLong(txtHCurID.Tag).ToString();
+        //        DAL.Cls_S_Sc_ICMOSortBill oSc_ICMOSortBill = new DAL.Cls_S_Sc_ICMOSortBill();
+        //        if (oSc_ICMOSortBill.Refresh_History(sWhere))  //閫夋嫨鍘熷崟
+        //        {
+        //            FillSelectData(oSc_ICMOSortBill.oBillSelectColl);
+        //        }
+        //    }
+        //    else
+        //    {
+
+        //    }
+        //}
+        //
+        private void FillSelectData(List<DBUtility.BillSelect> oList)
+        {
+            DataSet Ds;
+            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            oSumGrid.Changelock = true;
+            if (BillStatus == Pub_Class.ClsPub.Enum_BillStatus.BillStatus_Modify)
+            {
+            }
+            else
+            {
+                initGrid();
+            }
+            //鎵惧埌鐜版湁鐗╂枡琛�
+            int c = 0;
+            int CurMaterRow=0;
+            for (c = 0; c < grdMain.Rows.Count; c++)
+            {
+                if (DBUtility.ClsPub.isLong(grdMain.Rows[c].Cells[HMaterIDCol].Value) != 0 )
+                {
+                    CurMaterRow = c;
+                }
+            }
+            //
+            int i = -1;
+            foreach (DBUtility.BillSelect oSelectRow in oList)
+            {
+                i = i + 1;
+                CurMaterRow = CurMaterRow + 1;
+                // 
+                if (oSelectRow.BillType == "9988")//浣滃簾
+                {
+                    grdMain.Rows.Add();
+                    Application.DoEvents();
+                    //寰楀埌淇℃伅
+                    Ds = oCn.RunProcReturn("select * from h_v_Sc_ABJJD_Source where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_Sc_ABJJD_Source");
+                    //鍐欏叆淇℃伅
+                    if (BillStatus == Pub_Class.ClsPub.Enum_BillStatus.BillStatus_Modify)
+                    {
+                        Sub_WriteInForm(Ds.Tables[0], CurMaterRow);
+                    }
+                    else
+                    {
+                        Sub_WriteInForm(Ds.Tables[0], i);
+                    }
+                    Application.DoEvents();
+                }
+                if (oSelectRow.BillType == "3772" || oSelectRow.BillType == "3769")// 
+                {
+                    grdMain.Rows.Add();
+                    grdMain.Rows[i].Cells[HTagCol].Value = "*";
+                    //寰楀埌淇℃伅
+                    Ds = oCn.RunProcReturn("select * from h_v_Sc_ProcessExchangeBillList where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_Sc_ProcessExchangeBillList");
+                    //鍐欏叆淇℃伅
+                    if (BillStatus == Pub_Class.ClsPub.Enum_BillStatus.BillStatus_Modify)
+                    {
+                        Sub_WriteInFormByProcExch(Ds.Tables[0], CurMaterRow);
+                    }
+                    else
+                    {
+                        Sub_WriteInFormByProcExch(Ds.Tables[0], i);
+                    }
+                }
+                //
+            }
+            //
+            oSumGrid.Changelock = false;
+            DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid);
+        }
+
+        // 
+        private void Sub_WriteInFormByProcExch(DataTable oTable, int i)
+        {
+            DAL.ClsIF_Material_View oMater = new DAL.ClsIF_Material_View();
+
+            //
+            grdMain.Rows[i].Cells[HTagCol].Value = "*";
+            grdMain.Rows[i].Cells[HOrderBillNoCol].Value = oTable.Rows[0]["璁㈠崟璺熻釜鍙�"].ToString();
+            grdMain.Rows[i].Cells[HMaterNumberCol].Value = oTable.Rows[0]["浜у搧浠g爜"].ToString();
+            grdMain.Rows[i].Cells[HMaterIDCol].Value = oTable.Rows[0]["HMaterID"].ToString();
+            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["浜у搧"].ToString();
+            grdMain.Rows[i].Cells[HWorkProcFlowCol].Value = oTable.Rows[0]["琛ㄥご澶囨敞"].ToString();
+            //////////////////////////////////////////
+            grdMain.Rows[i].Cells[HSourceBillNoCol].Value = oTable.Rows[0]["鍗曟嵁鍙�"].ToString();
+            grdMain.Rows[i].Cells[HSourceBillTypeCol].Value = oTable.Rows[0]["HBillType"].ToString();
+            grdMain.Rows[i].Cells[HSourceEntryIDCol].Value = oTable.Rows[0]["HSUBID"].ToString();
+            grdMain.Rows[i].Cells[HSourceInterIDCol].Value = oTable.Rows[0]["HMainID"].ToString();
+            grdMain.Rows[i].Cells[HProcIDCol].Value = oTable.Rows[0]["HProcID"].ToString();
+            //鑾峰彇鍏朵粬淇℃伅
+            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            DataSet ds;
+            ds = oCn.RunProcReturn("exec  h_p_Sc_ABJJD " + grdMain.Rows[i].Cells[HSourceInterIDCol].Value.ToString() + "," + grdMain.Rows[i].Cells[HSourceEntryIDCol].Value.ToString(), "h_p_Sc_ABJJD");
+            if (ds == null || ds.Tables[0].Rows.Count == 0)
+            {
+                return;
+            }
+            else
+            {
+                grdMain.Rows[i].Cells[HMaterLenModelCol].Value = ds.Tables[0].Rows[0]["涓嬫枡灏哄"].ToString();
+                grdMain.Rows[i].Cells[HMaterQtyCol].Value = ds.Tables[0].Rows[0]["鏁伴噺锛堝紶锛�"].ToString();
+                grdMain.Rows[i].Cells[HQtyCol].Value = ds.Tables[0].Rows[0]["鐢熶骇鏁伴噺"].ToString();
+                grdMain.Rows[i].Cells[HEntrustTypeCol].Value = ds.Tables[0].Rows[0]["濮斿鍔犲伐绫诲瀷"].ToString();
+                grdMain.Rows[i].Cells[HNextProcNameCol].Value = ds.Tables[0].Rows[0]["涓嬮亾宸ュ簭"].ToString();
+                grdMain.Rows[i].Cells[HMaterModelCol].Value = ds.Tables[0].Rows[0]["瑙勬牸鍨嬪彿"].ToString();
+                grdMain.Rows[i].Cells[HLeftMaterCol].Value = ds.Tables[0].Rows[0]["瑙勬牸鍨嬪彿"].ToString();
+            }
+            //
+        }
+
+
+        //鏍规嵁TABLE鍐欏叆鐣岄潰
+        private void Sub_WriteInForm(DataTable oTable, int i)
+        {
+            ////鍔犺浇琛ㄥご
+            //this.txtHDeptID.Tag = oTable.Rows[0]["HDeptID"].ToString();
+            //this.txtHDeptID.Text = oTable.Rows[0]["閮ㄩ棬鍚嶇О"].ToString();
+            ////鍔犺浇琛ㄤ綋
+            grdMain.Rows[i].Cells[HTagCol].Value = "*";
+            grdMain.Rows[i].Cells[HOrderBillNoCol].Value = oTable.Rows[i]["璁㈠崟璺熻釜鍙�"].ToString();
+            grdMain.Rows[i].Cells[HMaterLenModelCol].Value = oTable.Rows[i]["涓嬫枡灏哄"].ToString();
+            grdMain.Rows[i].Cells[HMaterQtyCol].Value = oTable.Rows[i]["鏁伴噺锛堝紶锛�"].ToString();
+            grdMain.Rows[i].Cells[HMaterNumberCol].Value = oTable.Rows[i]["鏂欏彿"].ToString();
+            grdMain.Rows[i].Cells[HMaterIDCol].Value = oTable.Rows[i]["HMaterID"].ToString();
+            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[i]["鍚嶇О"].ToString();
+            grdMain.Rows[i].Cells[HQtyCol].Value = oTable.Rows[i]["鐢熶骇鏁伴噺"].ToString();
+            grdMain.Rows[i].Cells[HEntrustTypeCol].Value = oTable.Rows[i]["濮斿鍔犲伐绫诲瀷"].ToString();
+            grdMain.Rows[i].Cells[HNextProcNameCol].Value = oTable.Rows[i]["涓嬮亾宸ュ簭"].ToString();
+            grdMain.Rows[i].Cells[HWorkProcFlowCol].Value = oTable.Rows[i]["宸ヨ壓娴佺▼"].ToString();
+            //////////////////////////////////////////
+            grdMain.Rows[i].Cells[HSourceBillNoCol].Value = oTable.Rows[i]["鍗曟嵁鍙�"].ToString();
+            grdMain.Rows[i].Cells[HSourceBillTypeCol].Value = oTable.Rows[i]["HBillType"].ToString();
+            grdMain.Rows[i].Cells[HSourceEntryIDCol].Value = oTable.Rows[i]["HSUBID"].ToString();
+            grdMain.Rows[i].Cells[HSourceInterIDCol].Value = oTable.Rows[i]["HMainID"].ToString();
+        }
+
+        #endregion
+
+
+        private void redblue_Click(object sender, EventArgs e)
+        {
+            if (redblue.Checked == true)
+            {
+                redblue.Checked = false;
+            }
+            else
+            {
+                redblue.Checked = true;
+            }
+        }
+       
+        private void 闅愯棌鍒楄缃甌oolStripMenuItem_Click(object sender, EventArgs e)
+        {
+            BLL.Gy_GridView_Hide oHide = new BLL.Gy_GridView_Hide();
+            oHide.KeyItem = this.Name;
+            oHide.oGrd = grdMain;
+            oHide.ShowDialog();
+            //
+            DBUtility.ClsPub.HideGridView(grdMain, Name, ClsPub.AppPath);//璁剧疆闅愯棌鍒�
+        }
+
+
+        
+
+        
+
+        private void SetProcCommPrice()
+        {
+            //DAL.ClsGy_ProcCommPrice_Ctl oProcCommPrice = new DAL.ClsGy_ProcCommPrice_Ctl();
+            //double dPrice = 0;
+            //for (int i=0; i < grdMain.Rows.Count; i++)
+            //{
+            //    if (DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HMaterIDCol].Value) > 0)
+            //    {
+            //        dPrice = oProcCommPrice.LoadProcPrice(DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HMaterIDCol].Value), DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcIDCol].Value), DBUtility.ClsPub.isLong(txtHSupID.Tag), true);
+            //        grdMain.Rows[i].Cells[HPriceCol].Value = dPrice;
+            //    }
+            //}
+        }
+
+     
+        //鍔犺浇鎸夐挳锛坺uofei锛�
+        private void jz_Click(object sender, EventArgs e)
+        {
+            //DataSet Ds;
+            //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            ////寰楀埌淇℃伅
+            //Ds = oCn.RunProcReturn("exec h_p_Sc_ABJJD " + txtHSupID.Tag + ",'" + txtHOrderProcNO.Text + "'", "h_p_Sc_ABJJD", ref DBUtility.ClsPub.sExeReturnInfo);
+            ////鍐欏叆淇℃伅
+            //if (Ds==null ||  Ds.Tables[0].Rows.Count == 0)
+            //{
+            //    MessageBox.Show("娌℃湁杩斿洖浠讳綍缁撴灉锛岃閲嶆柊纭鎵�閫変緵搴斿晢涓庤鍗曡窡韪彿鏄惁姝g‘锛�");
+            //    return;
+            //}
+            //else
+            //{
+            //    for (int i = 0; i < Ds.Tables[0].Rows.Count; i++)
+            //    {
+            //        grdMain.Rows[i].Cells[HTagCol].Value = "*";
+            //        grdMain.Rows[i].Cells[HOrderBillNoCol].Value = Ds.Tables[0].Rows[i]["璁㈠崟璺熻釜鍙�"].ToString();
+            //        grdMain.Rows[i].Cells[HMaterLenModelCol].Value = Ds.Tables[0].Rows[i]["涓嬫枡灏哄"].ToString();
+            //        grdMain.Rows[i].Cells[HMaterQtyCol].Value = Ds.Tables[0].Rows[i]["鏁伴噺锛堝紶锛�"].ToString();
+            //        grdMain.Rows[i].Cells[HMaterNumberCol].Value = Ds.Tables[0].Rows[i]["鏂欏彿"].ToString();
+            //        grdMain.Rows[i].Cells[HMaterIDCol].Value = Ds.Tables[0].Rows[i]["HMaterID"].ToString();
+            //        grdMain.Rows[i].Cells[HMaterNameCol].Value = Ds.Tables[0].Rows[i]["鍚嶇О"].ToString();
+            //        grdMain.Rows[i].Cells[HQtyCol].Value = Ds.Tables[0].Rows[i]["鐢熶骇鏁伴噺"].ToString();
+            //        grdMain.Rows[i].Cells[HEntrustTypeCol].Value = Ds.Tables[0].Rows[i]["濮斿鍔犲伐绫诲瀷"].ToString();
+            //        grdMain.Rows[i].Cells[HNextProcNameCol].Value = Ds.Tables[0].Rows[i]["涓嬮亾宸ュ簭"].ToString();
+            //        grdMain.Rows[i].Cells[HWorkProcFlowCol].Value = Ds.Tables[0].Rows[i]["宸ヨ壓娴佺▼"].ToString();
+            //    }
+            //}
+
+            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            oCn.RunProc("exec h_p_MES_ReadyEntrustWorkBillList "); //灏嗛檰鏄庡瓨鍌ㄨ繃绋� 鍐欏叆 琛紝骞剁敤瑙嗗浘璋冪敤
+            ////////
+            DAL.Cls_S_Sc_ABJJD oCls_S_Sc_ABJJD = new DAL.Cls_S_Sc_ABJJD();
+            string sWhere = "   ";
+            if (oCls_S_Sc_ABJJD.Refresh(sWhere))  //閫夋嫨鍘熷崟
+            {
+                FillSelectData(oCls_S_Sc_ABJJD.oBillSelectColl);
+            } 
+
+
+        }
+
+        private void cmdSourceBillNo_Click(object sender, EventArgs e)
+        {
+            //
+            SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
+            oCN.RunProc("exec  h_p_SC_ProcExchBillDateBack ");
+            oCN.RunProc("exec  h_p_Sc_ProcExchOrderNoSet ");
+            //
+            DAL.Cls_S_Sc_ProcessExchangeBill oCls_S_Sc_ProcessExchangeBill = new DAL.Cls_S_Sc_ProcessExchangeBill();
+            string sWhere = " and  isnull(濮斿宸ュ崟鍏宠仈鏁伴噺,0)<鐢熶骇鏁伴噺   and  濮斿鏍囪=1  and HStatus not in (5,6)  ";
+            if (oCls_S_Sc_ProcessExchangeBill.Refresh(sWhere))  //閫夋嫨鍘熷崟
+            {
+                FillSelectData(oCls_S_Sc_ProcessExchangeBill.oBillSelectColl);
+            }
+        }
+
+       
+        //璧嬪�艰〃澶�
+      
+        //璧嬪�艰〃浣�
+        private void ReportFetchRecordByDataTable2()
+        {
+            DataTable ds = new DataTable();
+            BLL.Utility.FillRecordToReport(Report, grdSendGoods, ds, 0);
+        }
+
+    }
+}
\ No newline at end of file
diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.designer.cs" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.designer.cs"
new file mode 100644
index 0000000..7fe49b8
--- /dev/null
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.designer.cs"
@@ -0,0 +1,1306 @@
+锘縩amespace WorkM
+{
+    partial class Sc_ABJJD
+    {
+        /// <summary>
+        /// 蹇呴渶鐨勮璁″櫒鍙橀噺銆�
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 娓呯悊鎵�鏈夋鍦ㄤ娇鐢ㄧ殑璧勬簮銆�
+        /// </summary>
+        /// <param name="disposing">濡傛灉搴旈噴鏀炬墭绠¤祫婧愶紝涓� true锛涘惁鍒欎负 false銆�</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 绐椾綋璁捐鍣ㄧ敓鎴愮殑浠g爜
+
+        /// <summary>
+        /// 璁捐鍣ㄦ敮鎸佹墍闇�鐨勬柟娉� - 涓嶈
+        /// 浣跨敤浠g爜缂栬緫鍣ㄤ慨鏀规鏂规硶鐨勫唴瀹广��
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sc_ABJJD));
+            this.Tool = new System.Windows.Forms.ToolStrip();
+            this.set = new System.Windows.Forms.ToolStripButton();
+            this.dy = new System.Windows.Forms.ToolStripButton();
+            this.yl = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
+            this.bcai = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+            this.xz = new System.Windows.Forms.ToolStripButton();
+            this.xg = new System.Windows.Forms.ToolStripButton();
+            this.sc = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
+            this.AddRow = new System.Windows.Forms.ToolStripButton();
+            this.DelRow = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
+            this.bc = new System.Windows.Forms.ToolStripButton();
+            this.fq = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
+            this.sh = new System.Windows.Forms.ToolStripButton();
+            this.qsh = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+            this.sz = new System.Windows.Forms.ToolStripButton();
+            this.syz = new System.Windows.Forms.ToolStripButton();
+            this.xyz = new System.Windows.Forms.ToolStripButton();
+            this.mz = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
+            this.redblue = new System.Windows.Forms.ToolStripButton();
+            this.qt = new System.Windows.Forms.ToolStripDropDownButton();
+            this.鍏抽棴ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.鍙嶅叧闂璗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator();
+            this.瀹℃牳ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.鍙嶅鏍窽oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator();
+            this.浣滃簾ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.鎾ら攢浣滃簾ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
+            this.澶嶅埗ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
+            this.闅愯棌鍒楄缃甌oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.jz = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
+            this.tc = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
+            this.mrlk = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
+            this.bclk = new System.Windows.Forms.ToolStripButton();
+            this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
+            this.lblCaption = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.txtHBillNo = new System.Windows.Forms.TextBox();
+            this.P1 = new System.Windows.Forms.Panel();
+            this.pic1 = new System.Windows.Forms.PictureBox();
+            this.gbUp = new System.Windows.Forms.GroupBox();
+            this.cmdSourceBillNo = new System.Windows.Forms.Button();
+            this.textBox2 = new System.Windows.Forms.TextBox();
+            this.label22 = new System.Windows.Forms.Label();
+            this.txtHInnerBillNo = new System.Windows.Forms.TextBox();
+            this.txtHRemark = new System.Windows.Forms.TextBox();
+            this.label20 = new System.Windows.Forms.Label();
+            this.label10 = new System.Windows.Forms.Label();
+            this.dtpHDate = new System.Windows.Forms.DateTimePicker();
+            this.label9 = new System.Windows.Forms.Label();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.txtHDeleteDate = new System.Windows.Forms.Label();
+            this.label25 = new System.Windows.Forms.Label();
+            this.txtHDeleteMan = new System.Windows.Forms.Label();
+            this.label27 = new System.Windows.Forms.Label();
+            this.txtHUpDateDate = new System.Windows.Forms.Label();
+            this.label23 = new System.Windows.Forms.Label();
+            this.txtHUpDater = new System.Windows.Forms.Label();
+            this.label21 = new System.Windows.Forms.Label();
+            this.txtHCloseDate = new System.Windows.Forms.Label();
+            this.label19 = new System.Windows.Forms.Label();
+            this.txtHCloseMan = new System.Windows.Forms.Label();
+            this.label17 = new System.Windows.Forms.Label();
+            this.txtHCheckDate = new System.Windows.Forms.Label();
+            this.label15 = new System.Windows.Forms.Label();
+            this.txtHChecker = new System.Windows.Forms.Label();
+            this.label13 = new System.Windows.Forms.Label();
+            this.txtHMakeDate = new System.Windows.Forms.Label();
+            this.label11 = new System.Windows.Forms.Label();
+            this.txtHMaker = new System.Windows.Forms.Label();
+            this.label8 = new System.Windows.Forms.Label();
+            this.timer1 = new System.Windows.Forms.Timer(this.components);
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.grdMain = new System.Windows.Forms.DataGridView();
+            this.grdSum = new System.Windows.Forms.DataGridView();
+            this.grdPrint = new System.Windows.Forms.DataGridView();
+            this.tabControl1 = new System.Windows.Forms.TabControl();
+            this.tabPage1 = new System.Windows.Forms.TabPage();
+            this.tabPage2 = new System.Windows.Forms.TabPage();
+            this.grdSendGoods = new System.Windows.Forms.DataGridView();
+            this.Tool.SuspendLayout();
+            this.P1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit();
+            this.gbUp.SuspendLayout();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
+            this.tabControl1.SuspendLayout();
+            this.tabPage1.SuspendLayout();
+            this.tabPage2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.grdSendGoods)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // Tool
+            // 
+            this.Tool.AutoSize = false;
+            this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage")));
+            this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+            this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22);
+            this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.set,
+            this.dy,
+            this.yl,
+            this.toolStripSeparator7,
+            this.bcai,
+            this.toolStripSeparator2,
+            this.xz,
+            this.xg,
+            this.sc,
+            this.toolStripSeparator8,
+            this.AddRow,
+            this.DelRow,
+            this.toolStripSeparator4,
+            this.bc,
+            this.fq,
+            this.toolStripSeparator5,
+            this.sh,
+            this.qsh,
+            this.toolStripSeparator1,
+            this.sz,
+            this.syz,
+            this.xyz,
+            this.mz,
+            this.toolStripSeparator3,
+            this.redblue,
+            this.qt,
+            this.jz,
+            this.toolStripSeparator9,
+            this.tc,
+            this.toolStripSeparator12,
+            this.mrlk,
+            this.toolStripSeparator11,
+            this.bclk,
+            this.toolStripSeparator10});
+            this.Tool.Location = new System.Drawing.Point(0, 0);
+            this.Tool.Name = "Tool";
+            this.Tool.Padding = new System.Windows.Forms.Padding(0);
+            this.Tool.Size = new System.Drawing.Size(1017, 50);
+            this.Tool.Stretch = true;
+            this.Tool.TabIndex = 17;
+            this.Tool.Text = "toolStrip1";
+            // 
+            // set
+            // 
+            this.set.AutoSize = false;
+            this.set.Image = ((System.Drawing.Image)(resources.GetObject("set.Image")));
+            this.set.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.set.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.set.ImageTransparentColor = System.Drawing.Color.White;
+            this.set.Name = "set";
+            this.set.Size = new System.Drawing.Size(35, 47);
+            this.set.Text = "璁剧疆";
+            this.set.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.set.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.set.Click += new System.EventHandler(this.set_Click);
+            // 
+            // dy
+            // 
+            this.dy.AutoSize = false;
+            this.dy.Image = ((System.Drawing.Image)(resources.GetObject("dy.Image")));
+            this.dy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.dy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.dy.ImageTransparentColor = System.Drawing.Color.White;
+            this.dy.Name = "dy";
+            this.dy.Size = new System.Drawing.Size(35, 47);
+            this.dy.Text = "鎵撳嵃";
+            this.dy.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.dy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.dy.Click += new System.EventHandler(this.dy_Click);
+            // 
+            // yl
+            // 
+            this.yl.AutoSize = false;
+            this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image")));
+            this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.yl.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.yl.Name = "yl";
+            this.yl.Size = new System.Drawing.Size(35, 47);
+            this.yl.Text = "棰勮";
+            this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.yl.Click += new System.EventHandler(this.yl_Click);
+            // 
+            // toolStripSeparator7
+            // 
+            this.toolStripSeparator7.Name = "toolStripSeparator7";
+            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50);
+            // 
+            // bcai
+            // 
+            this.bcai.AutoSize = false;
+            this.bcai.Image = ((System.Drawing.Image)(resources.GetObject("bcai.Image")));
+            this.bcai.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.bcai.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.bcai.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.bcai.Name = "bcai";
+            this.bcai.Size = new System.Drawing.Size(35, 47);
+            this.bcai.Text = "鏉挎潗";
+            this.bcai.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.bcai.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            //this.bcai.Click += new System.EventHandler(this.bcai_Click);
+            // 
+            // toolStripSeparator2
+            // 
+            this.toolStripSeparator2.Name = "toolStripSeparator2";
+            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50);
+            // 
+            // xz
+            // 
+            this.xz.AutoSize = false;
+            this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image")));
+            this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.xz.ImageTransparentColor = System.Drawing.Color.White;
+            this.xz.Name = "xz";
+            this.xz.Size = new System.Drawing.Size(35, 47);
+            this.xz.Text = "鏂板";
+            this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.xz.Click += new System.EventHandler(this.xz_Click);
+            // 
+            // xg
+            // 
+            this.xg.AutoSize = false;
+            this.xg.Image = ((System.Drawing.Image)(resources.GetObject("xg.Image")));
+            this.xg.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.xg.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.xg.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.xg.Name = "xg";
+            this.xg.Size = new System.Drawing.Size(35, 47);
+            this.xg.Text = "淇敼";
+            this.xg.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.xg.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.xg.Click += new System.EventHandler(this.xg_Click);
+            // 
+            // sc
+            // 
+            this.sc.AutoSize = false;
+            this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image")));
+            this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.sc.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.sc.Name = "sc";
+            this.sc.Size = new System.Drawing.Size(35, 47);
+            this.sc.Text = "鍒犻櫎";
+            this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.sc.Click += new System.EventHandler(this.sc_Click);
+            // 
+            // toolStripSeparator8
+            // 
+            this.toolStripSeparator8.Name = "toolStripSeparator8";
+            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
+            // 
+            // AddRow
+            // 
+            this.AddRow.AutoSize = false;
+            this.AddRow.Image = ((System.Drawing.Image)(resources.GetObject("AddRow.Image")));
+            this.AddRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.AddRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.AddRow.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.AddRow.Name = "AddRow";
+            this.AddRow.Size = new System.Drawing.Size(35, 47);
+            this.AddRow.Text = "澧炶";
+            this.AddRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.AddRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.AddRow.Click += new System.EventHandler(this.AddRow_Click);
+            // 
+            // DelRow
+            // 
+            this.DelRow.AutoSize = false;
+            this.DelRow.Image = ((System.Drawing.Image)(resources.GetObject("DelRow.Image")));
+            this.DelRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.DelRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.DelRow.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.DelRow.Name = "DelRow";
+            this.DelRow.Size = new System.Drawing.Size(35, 47);
+            this.DelRow.Text = "鍒犺";
+            this.DelRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.DelRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.DelRow.Click += new System.EventHandler(this.DelRow_Click);
+            // 
+            // toolStripSeparator4
+            // 
+            this.toolStripSeparator4.Name = "toolStripSeparator4";
+            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 50);
+            // 
+            // bc
+            // 
+            this.bc.AutoSize = false;
+            this.bc.Image = ((System.Drawing.Image)(resources.GetObject("bc.Image")));
+            this.bc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.bc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.bc.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.bc.Name = "bc";
+            this.bc.Size = new System.Drawing.Size(35, 47);
+            this.bc.Text = "淇濆瓨";
+            this.bc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.bc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.bc.Click += new System.EventHandler(this.bc_Click);
+            // 
+            // fq
+            // 
+            this.fq.AutoSize = false;
+            this.fq.Image = ((System.Drawing.Image)(resources.GetObject("fq.Image")));
+            this.fq.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.fq.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.fq.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.fq.Name = "fq";
+            this.fq.Size = new System.Drawing.Size(35, 47);
+            this.fq.Text = "鏀惧純";
+            this.fq.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.fq.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.fq.Click += new System.EventHandler(this.fq_Click);
+            // 
+            // toolStripSeparator5
+            // 
+            this.toolStripSeparator5.Name = "toolStripSeparator5";
+            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50);
+            // 
+            // sh
+            // 
+            this.sh.AutoSize = false;
+            this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image")));
+            this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.sh.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.sh.Name = "sh";
+            this.sh.Size = new System.Drawing.Size(35, 47);
+            this.sh.Text = "瀹℃牳";
+            this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.sh.Visible = false;
+            this.sh.Click += new System.EventHandler(this.sh_Click);
+            // 
+            // qsh
+            // 
+            this.qsh.AutoSize = false;
+            this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image")));
+            this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.qsh.Name = "qsh";
+            this.qsh.Size = new System.Drawing.Size(35, 47);
+            this.qsh.Text = "鍙嶅";
+            this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.qsh.Visible = false;
+            this.qsh.Click += new System.EventHandler(this.qsh_Click);
+            // 
+            // toolStripSeparator1
+            // 
+            this.toolStripSeparator1.Name = "toolStripSeparator1";
+            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50);
+            // 
+            // sz
+            // 
+            this.sz.AutoSize = false;
+            this.sz.Image = ((System.Drawing.Image)(resources.GetObject("sz.Image")));
+            this.sz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.sz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.sz.ImageTransparentColor = System.Drawing.Color.White;
+            this.sz.Name = "sz";
+            this.sz.Size = new System.Drawing.Size(35, 47);
+            this.sz.Text = "棣栧紶";
+            this.sz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.sz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.sz.Click += new System.EventHandler(this.sz_Click);
+            // 
+            // syz
+            // 
+            this.syz.AutoSize = false;
+            this.syz.Image = ((System.Drawing.Image)(resources.GetObject("syz.Image")));
+            this.syz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.syz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.syz.ImageTransparentColor = System.Drawing.Color.White;
+            this.syz.Name = "syz";
+            this.syz.Size = new System.Drawing.Size(35, 47);
+            this.syz.Text = "涓婂紶";
+            this.syz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.syz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.syz.Click += new System.EventHandler(this.syz_Click);
+            // 
+            // xyz
+            // 
+            this.xyz.AutoSize = false;
+            this.xyz.Image = ((System.Drawing.Image)(resources.GetObject("xyz.Image")));
+            this.xyz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.xyz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.xyz.ImageTransparentColor = System.Drawing.Color.White;
+            this.xyz.Name = "xyz";
+            this.xyz.Size = new System.Drawing.Size(35, 47);
+            this.xyz.Text = "涓嬪紶";
+            this.xyz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.xyz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.xyz.Click += new System.EventHandler(this.xyz_Click);
+            // 
+            // mz
+            // 
+            this.mz.AutoSize = false;
+            this.mz.Image = ((System.Drawing.Image)(resources.GetObject("mz.Image")));
+            this.mz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.mz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.mz.ImageTransparentColor = System.Drawing.Color.White;
+            this.mz.Name = "mz";
+            this.mz.Size = new System.Drawing.Size(35, 47);
+            this.mz.Text = "鏈紶";
+            this.mz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.mz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.mz.Click += new System.EventHandler(this.mz_Click);
+            // 
+            // toolStripSeparator3
+            // 
+            this.toolStripSeparator3.Name = "toolStripSeparator3";
+            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50);
+            // 
+            // redblue
+            // 
+            this.redblue.AutoSize = false;
+            this.redblue.Image = ((System.Drawing.Image)(resources.GetObject("redblue.Image")));
+            this.redblue.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.redblue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.redblue.ImageTransparentColor = System.Drawing.Color.White;
+            this.redblue.Name = "redblue";
+            this.redblue.Size = new System.Drawing.Size(35, 47);
+            this.redblue.Text = "绾㈠瓧";
+            this.redblue.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.redblue.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.redblue.Visible = false;
+            this.redblue.Click += new System.EventHandler(this.redblue_Click);
+            // 
+            // qt
+            // 
+            this.qt.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.鍏抽棴ToolStripMenuItem,
+            this.鍙嶅叧闂璗oolStripMenuItem,
+            this.toolStripSeparator15,
+            this.瀹℃牳ToolStripMenuItem,
+            this.鍙嶅鏍窽oolStripMenuItem,
+            this.toolStripSeparator14,
+            this.浣滃簾ToolStripMenuItem,
+            this.鎾ら攢浣滃簾ToolStripMenuItem,
+            this.toolStripSeparator6,
+            this.澶嶅埗ToolStripMenuItem,
+            this.toolStripMenuItem1,
+            this.闅愯棌鍒楄缃甌oolStripMenuItem});
+            this.qt.Image = ((System.Drawing.Image)(resources.GetObject("qt.Image")));
+            this.qt.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.qt.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.qt.ImageTransparentColor = System.Drawing.Color.White;
+            this.qt.Name = "qt";
+            this.qt.Size = new System.Drawing.Size(45, 47);
+            this.qt.Text = "鍏朵粬";
+            this.qt.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.qt.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.qt.Visible = false;
+            // 
+            // 鍏抽棴ToolStripMenuItem
+            // 
+            this.鍏抽棴ToolStripMenuItem.Name = "鍏抽棴ToolStripMenuItem";
+            this.鍏抽棴ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            this.鍏抽棴ToolStripMenuItem.Text = "鍏抽棴";
+            this.鍏抽棴ToolStripMenuItem.Click += new System.EventHandler(this.鍏抽棴ToolStripMenuItem_Click);
+            // 
+            // 鍙嶅叧闂璗oolStripMenuItem
+            // 
+            this.鍙嶅叧闂璗oolStripMenuItem.Name = "鍙嶅叧闂璗oolStripMenuItem";
+            this.鍙嶅叧闂璗oolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            this.鍙嶅叧闂璗oolStripMenuItem.Text = "鍙嶅叧闂�";
+            this.鍙嶅叧闂璗oolStripMenuItem.Click += new System.EventHandler(this.鍙嶅叧闂璗oolStripMenuItem_Click);
+            // 
+            // toolStripSeparator15
+            // 
+            this.toolStripSeparator15.Name = "toolStripSeparator15";
+            this.toolStripSeparator15.Size = new System.Drawing.Size(133, 6);
+            // 
+            // 瀹℃牳ToolStripMenuItem
+            // 
+            this.瀹℃牳ToolStripMenuItem.Name = "瀹℃牳ToolStripMenuItem";
+            this.瀹℃牳ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            this.瀹℃牳ToolStripMenuItem.Text = "瀹℃牳";
+            //this.瀹℃牳ToolStripMenuItem.Click += new System.EventHandler(this.瀹℃牳ToolStripMenuItem_Click);
+            // 
+            // 鍙嶅鏍窽oolStripMenuItem
+            // 
+            this.鍙嶅鏍窽oolStripMenuItem.Name = "鍙嶅鏍窽oolStripMenuItem";
+            this.鍙嶅鏍窽oolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            this.鍙嶅鏍窽oolStripMenuItem.Text = "鍙嶅鏍�";
+            //this.鍙嶅鏍窽oolStripMenuItem.Click += new System.EventHandler(this.鍙嶅鏍窽oolStripMenuItem_Click);
+            // 
+            // toolStripSeparator14
+            // 
+            this.toolStripSeparator14.Name = "toolStripSeparator14";
+            this.toolStripSeparator14.Size = new System.Drawing.Size(133, 6);
+            // 
+            // 浣滃簾ToolStripMenuItem
+            // 
+            this.浣滃簾ToolStripMenuItem.Name = "浣滃簾ToolStripMenuItem";
+            this.浣滃簾ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            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.Text = "鎾ら攢浣滃簾";
+            //this.鎾ら攢浣滃簾ToolStripMenuItem.Click += new System.EventHandler(this.鎾ら攢浣滃簾ToolStripMenuItem_Click);
+            // 
+            // toolStripSeparator6
+            // 
+            this.toolStripSeparator6.Name = "toolStripSeparator6";
+            this.toolStripSeparator6.Size = new System.Drawing.Size(133, 6);
+            // 
+            // 澶嶅埗ToolStripMenuItem
+            // 
+            this.澶嶅埗ToolStripMenuItem.Name = "澶嶅埗ToolStripMenuItem";
+            this.澶嶅埗ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            this.澶嶅埗ToolStripMenuItem.Text = "澶嶅埗";
+            // 
+            // toolStripMenuItem1
+            // 
+            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
+            this.toolStripMenuItem1.Size = new System.Drawing.Size(133, 6);
+            // 
+            // 闅愯棌鍒楄缃甌oolStripMenuItem
+            // 
+            this.闅愯棌鍒楄缃甌oolStripMenuItem.Name = "闅愯棌鍒楄缃甌oolStripMenuItem";
+            this.闅愯棌鍒楄缃甌oolStripMenuItem.Size = new System.Drawing.Size(136, 22);
+            this.闅愯棌鍒楄缃甌oolStripMenuItem.Text = "闅愯棌鍒楄缃�";
+            this.闅愯棌鍒楄缃甌oolStripMenuItem.Click += new System.EventHandler(this.闅愯棌鍒楄缃甌oolStripMenuItem_Click);
+            // 
+            // jz
+            // 
+            this.jz.AutoSize = false;
+            this.jz.Image = ((System.Drawing.Image)(resources.GetObject("jz.Image")));
+            this.jz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.jz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.jz.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.jz.Name = "jz";
+            this.jz.Size = new System.Drawing.Size(35, 47);
+            this.jz.Text = "鍔犺浇";
+            this.jz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.jz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.jz.Visible = false;
+            this.jz.Click += new System.EventHandler(this.jz_Click);
+            // 
+            // toolStripSeparator9
+            // 
+            this.toolStripSeparator9.Name = "toolStripSeparator9";
+            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50);
+            // 
+            // tc
+            // 
+            this.tc.AutoSize = false;
+            this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image")));
+            this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.tc.ImageTransparentColor = System.Drawing.Color.White;
+            this.tc.Name = "tc";
+            this.tc.Size = new System.Drawing.Size(35, 47);
+            this.tc.Text = "閫�鍑�";
+            this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.tc.Click += new System.EventHandler(this.tc_Click);
+            // 
+            // toolStripSeparator12
+            // 
+            this.toolStripSeparator12.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+            this.toolStripSeparator12.Name = "toolStripSeparator12";
+            this.toolStripSeparator12.Size = new System.Drawing.Size(6, 50);
+            // 
+            // mrlk
+            // 
+            this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+            this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image")));
+            this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.mrlk.ImageTransparentColor = System.Drawing.Color.White;
+            this.mrlk.Name = "mrlk";
+            this.mrlk.Size = new System.Drawing.Size(60, 47);
+            this.mrlk.Text = "榛樿鍒楀";
+            this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.mrlk.Click += new System.EventHandler(this.mrlk_Click);
+            // 
+            // toolStripSeparator11
+            // 
+            this.toolStripSeparator11.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+            this.toolStripSeparator11.Name = "toolStripSeparator11";
+            this.toolStripSeparator11.Size = new System.Drawing.Size(6, 50);
+            // 
+            // bclk
+            // 
+            this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+            this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image")));
+            this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.bclk.ImageTransparentColor = System.Drawing.Color.White;
+            this.bclk.Name = "bclk";
+            this.bclk.Size = new System.Drawing.Size(60, 47);
+            this.bclk.Text = "淇濆瓨鍒楀";
+            this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.bclk.Click += new System.EventHandler(this.bclk_Click);
+            // 
+            // toolStripSeparator10
+            // 
+            this.toolStripSeparator10.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+            this.toolStripSeparator10.Name = "toolStripSeparator10";
+            this.toolStripSeparator10.Size = new System.Drawing.Size(6, 50);
+            // 
+            // lblCaption
+            // 
+            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(501, 12);
+            this.lblCaption.Name = "lblCaption";
+            this.lblCaption.Size = new System.Drawing.Size(118, 24);
+            this.lblCaption.TabIndex = 18;
+            this.lblCaption.Text = "鍗曟嵁缂栬緫";
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.ForeColor = System.Drawing.Color.Black;
+            this.label2.Location = new System.Drawing.Point(31, 24);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(53, 12);
+            this.label2.TabIndex = 19;
+            this.label2.Text = "鍗� 鎹� 鍙�";
+            // 
+            // txtHBillNo
+            // 
+            this.txtHBillNo.BackColor = System.Drawing.Color.Beige;
+            this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHBillNo.Location = new System.Drawing.Point(90, 20);
+            this.txtHBillNo.Name = "txtHBillNo";
+            this.txtHBillNo.Size = new System.Drawing.Size(188, 21);
+            this.txtHBillNo.TabIndex = 20;
+            // 
+            // P1
+            // 
+            this.P1.BackColor = System.Drawing.Color.Lavender;
+            this.P1.Controls.Add(this.pic1);
+            this.P1.Controls.Add(this.lblCaption);
+            this.P1.Controls.Add(this.gbUp);
+            this.P1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.P1.Location = new System.Drawing.Point(41, 50);
+            this.P1.Name = "P1";
+            this.P1.Size = new System.Drawing.Size(937, 193);
+            this.P1.TabIndex = 31;
+            // 
+            // pic1
+            // 
+            this.pic1.Location = new System.Drawing.Point(313, 3);
+            this.pic1.Name = "pic1";
+            this.pic1.Size = new System.Drawing.Size(78, 41);
+            this.pic1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.pic1.TabIndex = 36;
+            this.pic1.TabStop = false;
+            this.pic1.Visible = false;
+            // 
+            // gbUp
+            // 
+            this.gbUp.BackColor = System.Drawing.Color.Transparent;
+            this.gbUp.Controls.Add(this.cmdSourceBillNo);
+            this.gbUp.Controls.Add(this.textBox2);
+            this.gbUp.Controls.Add(this.label22);
+            this.gbUp.Controls.Add(this.txtHBillNo);
+            this.gbUp.Controls.Add(this.label2);
+            this.gbUp.Controls.Add(this.txtHInnerBillNo);
+            this.gbUp.Controls.Add(this.txtHRemark);
+            this.gbUp.Controls.Add(this.label20);
+            this.gbUp.Controls.Add(this.label10);
+            this.gbUp.Controls.Add(this.dtpHDate);
+            this.gbUp.Controls.Add(this.label9);
+            this.gbUp.Location = new System.Drawing.Point(14, 39);
+            this.gbUp.Name = "gbUp";
+            this.gbUp.Size = new System.Drawing.Size(892, 135);
+            this.gbUp.TabIndex = 33;
+            this.gbUp.TabStop = false;
+            // 
+            // cmdSourceBillNo
+            // 
+            this.cmdSourceBillNo.Image = ((System.Drawing.Image)(resources.GetObject("cmdSourceBillNo.Image")));
+            this.cmdSourceBillNo.ImageAlign = System.Drawing.ContentAlignment.TopRight;
+            this.cmdSourceBillNo.Location = new System.Drawing.Point(257, 62);
+            this.cmdSourceBillNo.Name = "cmdSourceBillNo";
+            this.cmdSourceBillNo.Size = new System.Drawing.Size(22, 22);
+            this.cmdSourceBillNo.TabIndex = 118;
+            this.cmdSourceBillNo.UseVisualStyleBackColor = true;
+            this.cmdSourceBillNo.Click += new System.EventHandler(this.cmdSourceBillNo_Click);
+            // 
+            // textBox2
+            // 
+            this.textBox2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.textBox2.Location = new System.Drawing.Point(90, 64);
+            this.textBox2.Name = "textBox2";
+            this.textBox2.Size = new System.Drawing.Size(166, 21);
+            this.textBox2.TabIndex = 117;
+            // 
+            // label22
+            // 
+            this.label22.AutoSize = true;
+            this.label22.ForeColor = System.Drawing.Color.Black;
+            this.label22.Location = new System.Drawing.Point(24, 68);
+            this.label22.Name = "label22";
+            this.label22.Size = new System.Drawing.Size(53, 12);
+            this.label22.TabIndex = 116;
+            this.label22.Text = "閫� 鍗� 鍙�";
+            // 
+            // txtHInnerBillNo
+            // 
+            this.txtHInnerBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHInnerBillNo.Location = new System.Drawing.Point(665, 20);
+            this.txtHInnerBillNo.Name = "txtHInnerBillNo";
+            this.txtHInnerBillNo.Size = new System.Drawing.Size(188, 21);
+            this.txtHInnerBillNo.TabIndex = 80;
+            this.txtHInnerBillNo.Visible = false;
+            // 
+            // txtHRemark
+            // 
+            this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHRemark.Location = new System.Drawing.Point(372, 62);
+            this.txtHRemark.Multiline = true;
+            this.txtHRemark.Name = "txtHRemark";
+            this.txtHRemark.Size = new System.Drawing.Size(481, 23);
+            this.txtHRemark.TabIndex = 57;
+            // 
+            // label20
+            // 
+            this.label20.AutoSize = true;
+            this.label20.ForeColor = System.Drawing.Color.Black;
+            this.label20.Location = new System.Drawing.Point(314, 67);
+            this.label20.Name = "label20";
+            this.label20.Size = new System.Drawing.Size(53, 12);
+            this.label20.TabIndex = 56;
+            this.label20.Text = "澶�    娉�";
+            // 
+            // label10
+            // 
+            this.label10.AutoSize = true;
+            this.label10.ForeColor = System.Drawing.Color.Black;
+            this.label10.Location = new System.Drawing.Point(593, 24);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(65, 12);
+            this.label10.TabIndex = 35;
+            this.label10.Text = "鍐呴儴鍗曟嵁鍙�";
+            this.label10.Visible = false;
+            // 
+            // dtpHDate
+            // 
+            this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+            this.dtpHDate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.dtpHDate.Location = new System.Drawing.Point(375, 20);
+            this.dtpHDate.Name = "dtpHDate";
+            this.dtpHDate.Size = new System.Drawing.Size(188, 21);
+            this.dtpHDate.TabIndex = 32;
+            // 
+            // label9
+            // 
+            this.label9.AutoSize = true;
+            this.label9.ForeColor = System.Drawing.Color.Black;
+            this.label9.Location = new System.Drawing.Point(314, 24);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(53, 12);
+            this.label9.TabIndex = 31;
+            this.label9.Text = "鏃�    鏈�";
+            // 
+            // panel2
+            // 
+            this.panel2.BackColor = System.Drawing.Color.Lavender;
+            this.panel2.Controls.Add(this.txtHDeleteDate);
+            this.panel2.Controls.Add(this.label25);
+            this.panel2.Controls.Add(this.txtHDeleteMan);
+            this.panel2.Controls.Add(this.label27);
+            this.panel2.Controls.Add(this.txtHUpDateDate);
+            this.panel2.Controls.Add(this.label23);
+            this.panel2.Controls.Add(this.txtHUpDater);
+            this.panel2.Controls.Add(this.label21);
+            this.panel2.Controls.Add(this.txtHCloseDate);
+            this.panel2.Controls.Add(this.label19);
+            this.panel2.Controls.Add(this.txtHCloseMan);
+            this.panel2.Controls.Add(this.label17);
+            this.panel2.Controls.Add(this.txtHCheckDate);
+            this.panel2.Controls.Add(this.label15);
+            this.panel2.Controls.Add(this.txtHChecker);
+            this.panel2.Controls.Add(this.label13);
+            this.panel2.Controls.Add(this.txtHMakeDate);
+            this.panel2.Controls.Add(this.label11);
+            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, 649);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(937, 93);
+            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.Name = "txtHDeleteDate";
+            this.txtHDeleteDate.Size = new System.Drawing.Size(98, 15);
+            this.txtHDeleteDate.TabIndex = 19;
+            // 
+            // label25
+            // 
+            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.Name = "label25";
+            this.label25.Size = new System.Drawing.Size(53, 12);
+            this.label25.TabIndex = 18;
+            this.label25.Text = "浣滃簾鏃ユ湡";
+            // 
+            // txtHDeleteMan
+            // 
+            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.Name = "txtHDeleteMan";
+            this.txtHDeleteMan.Size = new System.Drawing.Size(98, 15);
+            this.txtHDeleteMan.TabIndex = 17;
+            // 
+            // label27
+            // 
+            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.Name = "label27";
+            this.label27.Size = new System.Drawing.Size(41, 12);
+            this.label27.TabIndex = 16;
+            this.label27.Text = "浣滃簾浜�";
+            // 
+            // txtHUpDateDate
+            // 
+            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.Name = "txtHUpDateDate";
+            this.txtHUpDateDate.Size = new System.Drawing.Size(98, 15);
+            this.txtHUpDateDate.TabIndex = 15;
+            // 
+            // label23
+            // 
+            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.Name = "label23";
+            this.label23.Size = new System.Drawing.Size(53, 12);
+            this.label23.TabIndex = 14;
+            this.label23.Text = "淇敼鏃ユ湡";
+            // 
+            // txtHUpDater
+            // 
+            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.Name = "txtHUpDater";
+            this.txtHUpDater.Size = new System.Drawing.Size(98, 15);
+            this.txtHUpDater.TabIndex = 13;
+            // 
+            // label21
+            // 
+            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.Name = "label21";
+            this.label21.Size = new System.Drawing.Size(41, 12);
+            this.label21.TabIndex = 12;
+            this.label21.Text = "淇敼浜�";
+            // 
+            // txtHCloseDate
+            // 
+            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.Name = "txtHCloseDate";
+            this.txtHCloseDate.Size = new System.Drawing.Size(98, 15);
+            this.txtHCloseDate.TabIndex = 11;
+            // 
+            // label19
+            // 
+            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.Name = "label19";
+            this.label19.Size = new System.Drawing.Size(53, 12);
+            this.label19.TabIndex = 10;
+            this.label19.Text = "鍏抽棴鏃ユ湡";
+            // 
+            // txtHCloseMan
+            // 
+            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.Name = "txtHCloseMan";
+            this.txtHCloseMan.Size = new System.Drawing.Size(98, 15);
+            this.txtHCloseMan.TabIndex = 9;
+            // 
+            // label17
+            // 
+            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.Name = "label17";
+            this.label17.Size = new System.Drawing.Size(41, 12);
+            this.label17.TabIndex = 8;
+            this.label17.Text = "鍏抽棴浜�";
+            // 
+            // txtHCheckDate
+            // 
+            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.Name = "txtHCheckDate";
+            this.txtHCheckDate.Size = new System.Drawing.Size(98, 15);
+            this.txtHCheckDate.TabIndex = 7;
+            // 
+            // label15
+            // 
+            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.Name = "label15";
+            this.label15.Size = new System.Drawing.Size(53, 12);
+            this.label15.TabIndex = 6;
+            this.label15.Text = "瀹℃牳鏃ユ湡";
+            // 
+            // txtHChecker
+            // 
+            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.Name = "txtHChecker";
+            this.txtHChecker.Size = new System.Drawing.Size(98, 15);
+            this.txtHChecker.TabIndex = 5;
+            // 
+            // label13
+            // 
+            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.Name = "label13";
+            this.label13.Size = new System.Drawing.Size(41, 12);
+            this.label13.TabIndex = 4;
+            this.label13.Text = "瀹℃牳浜�";
+            // 
+            // txtHMakeDate
+            // 
+            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.Name = "txtHMakeDate";
+            this.txtHMakeDate.Size = new System.Drawing.Size(98, 15);
+            this.txtHMakeDate.TabIndex = 3;
+            // 
+            // label11
+            // 
+            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.Name = "label11";
+            this.label11.Size = new System.Drawing.Size(53, 12);
+            this.label11.TabIndex = 2;
+            this.label11.Text = "鍒跺崟鏃ユ湡";
+            // 
+            // txtHMaker
+            // 
+            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.Name = "txtHMaker";
+            this.txtHMaker.Size = new System.Drawing.Size(98, 15);
+            this.txtHMaker.TabIndex = 1;
+            // 
+            // label8
+            // 
+            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.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(41, 12);
+            this.label8.TabIndex = 0;
+            this.label8.Text = "鍒跺崟浜�";
+            // 
+            // timer1
+            // 
+            this.timer1.Enabled = true;
+            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
+            // 
+            // panel1
+            // 
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
+            this.panel1.Location = new System.Drawing.Point(0, 50);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(41, 692);
+            this.panel1.TabIndex = 33;
+            // 
+            // panel3
+            // 
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
+            this.panel3.Location = new System.Drawing.Point(978, 50);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(39, 692);
+            this.panel3.TabIndex = 34;
+            // 
+            // grdMain
+            // 
+            this.grdMain.AllowUserToAddRows = false;
+            this.grdMain.AllowUserToDeleteRows = false;
+            this.grdMain.BackgroundColor = System.Drawing.Color.WhiteSmoke;
+            this.grdMain.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            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(2, 2);
+            this.grdMain.Name = "grdMain";
+            this.grdMain.ReadOnly = true;
+            this.grdMain.RowHeadersWidth = 30;
+            this.grdMain.RowTemplate.Height = 23;
+            this.grdMain.Size = new System.Drawing.Size(925, 357);
+            this.grdMain.TabIndex = 44;
+            this.grdMain.RowHeadersWidthChanged += new System.EventHandler(this.grdMain_RowHeadersWidthChanged);
+            this.grdMain.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.grdMain_CellBeginEdit);
+            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);
+            this.grdMain.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.grdMain_EditingControlShowing);
+            this.grdMain.Scroll += new System.Windows.Forms.ScrollEventHandler(this.grdMain_Scroll);
+            // 
+            // grdSum
+            // 
+            this.grdSum.AllowUserToAddRows = false;
+            this.grdSum.AllowUserToDeleteRows = false;
+            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(2, 359);
+            this.grdSum.Name = "grdSum";
+            this.grdSum.ReadOnly = true;
+            this.grdSum.RowTemplate.Height = 23;
+            this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None;
+            this.grdSum.Size = new System.Drawing.Size(925, 19);
+            this.grdSum.TabIndex = 45;
+            // 
+            // grdPrint
+            // 
+            this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.grdPrint.Location = new System.Drawing.Point(809, 543);
+            this.grdPrint.Name = "grdPrint";
+            this.grdPrint.RowTemplate.Height = 23;
+            this.grdPrint.Size = new System.Drawing.Size(25, 24);
+            this.grdPrint.TabIndex = 46;
+            this.grdPrint.Visible = false;
+            // 
+            // tabControl1
+            // 
+            this.tabControl1.Controls.Add(this.tabPage1);
+            this.tabControl1.Controls.Add(this.tabPage2);
+            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tabControl1.Location = new System.Drawing.Point(41, 243);
+            this.tabControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.tabControl1.Name = "tabControl1";
+            this.tabControl1.SelectedIndex = 0;
+            this.tabControl1.Size = new System.Drawing.Size(937, 406);
+            this.tabControl1.TabIndex = 47;
+            // 
+            // tabPage1
+            // 
+            this.tabPage1.Controls.Add(this.grdMain);
+            this.tabPage1.Controls.Add(this.grdSum);
+            this.tabPage1.Location = new System.Drawing.Point(4, 22);
+            this.tabPage1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.tabPage1.Name = "tabPage1";
+            this.tabPage1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.tabPage1.Size = new System.Drawing.Size(929, 380);
+            this.tabPage1.TabIndex = 0;
+            this.tabPage1.Text = "鏄庣粏淇℃伅";
+            this.tabPage1.UseVisualStyleBackColor = true;
+            // 
+            // tabPage2
+            // 
+            this.tabPage2.Controls.Add(this.grdSendGoods);
+            this.tabPage2.Location = new System.Drawing.Point(4, 22);
+            this.tabPage2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.tabPage2.Name = "tabPage2";
+            this.tabPage2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.tabPage2.Size = new System.Drawing.Size(929, 380);
+            this.tabPage2.TabIndex = 1;
+            this.tabPage2.Text = "鍏朵粬淇℃伅";
+            this.tabPage2.UseVisualStyleBackColor = true;
+            // 
+            // grdSendGoods
+            // 
+            this.grdSendGoods.AllowUserToAddRows = false;
+            this.grdSendGoods.AllowUserToDeleteRows = false;
+            this.grdSendGoods.BackgroundColor = System.Drawing.Color.WhiteSmoke;
+            this.grdSendGoods.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.grdSendGoods.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.grdSendGoods.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.grdSendGoods.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.grdSendGoods.Location = new System.Drawing.Point(2, 2);
+            this.grdSendGoods.Name = "grdSendGoods";
+            this.grdSendGoods.ReadOnly = true;
+            this.grdSendGoods.RowHeadersWidth = 30;
+            this.grdSendGoods.RowTemplate.Height = 23;
+            this.grdSendGoods.Size = new System.Drawing.Size(925, 376);
+            this.grdSendGoods.TabIndex = 45;
+            // 
+            // Sc_ABJJD
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.BackColor = System.Drawing.Color.Lavender;
+            this.ClientSize = new System.Drawing.Size(1017, 742);
+            this.Controls.Add(this.tabControl1);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.P1);
+            this.Controls.Add(this.panel1);
+            this.Controls.Add(this.panel3);
+            this.Controls.Add(this.Tool);
+            this.Controls.Add(this.grdPrint);
+            this.ForeColor = System.Drawing.Color.Black;
+            this.KeyPreview = true;
+            this.Name = "Sc_ABJJD";
+            this.Text = "浜ゆ帴鍗�";
+            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Sc_ABJJD_FormClosing);
+            this.Load += new System.EventHandler(this.Sc_ABJJD_Load);
+            this.Paint += new System.Windows.Forms.PaintEventHandler(this.Sc_ABJJD_Paint);
+            this.Tool.ResumeLayout(false);
+            this.Tool.PerformLayout();
+            this.P1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.pic1)).EndInit();
+            this.gbUp.ResumeLayout(false);
+            this.gbUp.PerformLayout();
+            this.panel2.ResumeLayout(false);
+            this.panel2.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit();
+            this.tabControl1.ResumeLayout(false);
+            this.tabPage1.ResumeLayout(false);
+            this.tabPage2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.grdSendGoods)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.ToolStrip Tool;
+        private System.Windows.Forms.ToolStripButton yl;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+        private System.Windows.Forms.ToolStripButton xz;
+        private System.Windows.Forms.ToolStripButton xg;
+        private System.Windows.Forms.ToolStripButton sc;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
+        private System.Windows.Forms.ToolStripButton bc;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
+        private System.Windows.Forms.ToolStripButton fq;
+        private System.Windows.Forms.ToolStripButton sh;
+        private System.Windows.Forms.ToolStripButton qsh;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
+        private System.Windows.Forms.ToolStripButton sz;
+        private System.Windows.Forms.ToolStripButton syz;
+        private System.Windows.Forms.ToolStripButton xyz;
+        private System.Windows.Forms.ToolStripButton mz;
+        private System.Windows.Forms.Label lblCaption;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.TextBox txtHBillNo;
+        private System.Windows.Forms.Panel P1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Label txtHMaker;
+        private System.Windows.Forms.Label label8;
+        private System.Windows.Forms.Label txtHUpDateDate;
+        private System.Windows.Forms.Label label23;
+        private System.Windows.Forms.Label txtHUpDater;
+        private System.Windows.Forms.Label label21;
+        private System.Windows.Forms.Label txtHCloseDate;
+        private System.Windows.Forms.Label label19;
+        private System.Windows.Forms.Label txtHCloseMan;
+        private System.Windows.Forms.Label label17;
+        private System.Windows.Forms.Label txtHCheckDate;
+        private System.Windows.Forms.Label label15;
+        private System.Windows.Forms.Label txtHChecker;
+        private System.Windows.Forms.Label label13;
+        private System.Windows.Forms.Label txtHMakeDate;
+        private System.Windows.Forms.Label label11;
+        private System.Windows.Forms.Label txtHDeleteDate;
+        private System.Windows.Forms.Label label25;
+        private System.Windows.Forms.Label txtHDeleteMan;
+        private System.Windows.Forms.Label label27;
+        private System.Windows.Forms.Timer timer1;
+        private System.Windows.Forms.ToolStripButton AddRow;
+        private System.Windows.Forms.ToolStripButton DelRow;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
+        private System.Windows.Forms.DateTimePicker dtpHDate;
+        private System.Windows.Forms.Label label9;
+        private System.Windows.Forms.GroupBox gbUp;
+        private System.Windows.Forms.Label label10;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
+        private System.Windows.Forms.ToolStripButton tc;
+        private System.Windows.Forms.TextBox txtHRemark;
+        private System.Windows.Forms.Label label20;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator12;
+        private System.Windows.Forms.ToolStripButton mrlk;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator11;
+        private System.Windows.Forms.ToolStripButton bclk;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator10;
+        private System.Windows.Forms.PictureBox pic1;
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Panel panel3;
+        private System.Windows.Forms.DataGridView grdMain;
+        private System.Windows.Forms.DataGridView grdSum;
+        private System.Windows.Forms.DataGridView grdPrint;
+        private System.Windows.Forms.ToolStripButton set;
+        private System.Windows.Forms.ToolStripButton dy;
+        private System.Windows.Forms.TextBox txtHInnerBillNo;
+        private System.Windows.Forms.ToolStripButton redblue;
+        private System.Windows.Forms.ToolStripDropDownButton qt;
+        private System.Windows.Forms.ToolStripMenuItem 鍏抽棴ToolStripMenuItem;
+        private System.Windows.Forms.ToolStripMenuItem 鍙嶅叧闂璗oolStripMenuItem;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator15;
+        private System.Windows.Forms.ToolStripMenuItem 瀹℃牳ToolStripMenuItem;
+        private System.Windows.Forms.ToolStripMenuItem 鍙嶅鏍窽oolStripMenuItem;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator14;
+        private System.Windows.Forms.ToolStripMenuItem 浣滃簾ToolStripMenuItem;
+        private System.Windows.Forms.ToolStripMenuItem 鎾ら攢浣滃簾ToolStripMenuItem;
+        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
+        private System.Windows.Forms.ToolStripMenuItem 闅愯棌鍒楄缃甌oolStripMenuItem;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
+        private System.Windows.Forms.ToolStripMenuItem 澶嶅埗ToolStripMenuItem;
+        private System.Windows.Forms.ToolStripButton jz;
+        private System.Windows.Forms.Button cmdSourceBillNo;
+        private System.Windows.Forms.TextBox textBox2;
+        private System.Windows.Forms.Label label22;
+        private System.Windows.Forms.TabControl tabControl1;
+        private System.Windows.Forms.TabPage tabPage1;
+        private System.Windows.Forms.TabPage tabPage2;
+        private System.Windows.Forms.DataGridView grdSendGoods;
+        private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
+        private System.Windows.Forms.ToolStripButton bcai;
+    }
+}
\ No newline at end of file
diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.resx" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.resx"
new file mode 100644
index 0000000..4ad38f8
--- /dev/null
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ABJJD.resx"
@@ -0,0 +1,647 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="Tool.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        /9j/4AAQSkZJRgABAQEASABIAAD/4QSARXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAAB
+        AAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAUAAAAcgEyAAIAAAAUAAAAhodpAAQAAAAB
+        AAAAmgAAAMYASAAAAAEAAABIAAAAAQAAQWRvYmUgUGhvdG9zaG9wIDcuMAAyMDA0OjEwOjE0IDE1OjUw
+        OjUwAAADoAEAAwAAAAH//wAAoAIABAAAAAEAAAQAoAMABAAAAAEAAABoAAAAAAAAAAYBAwADAAAAAQAG
+        AAABGgAFAAAAAQAAARQBGwAFAAAAAQAAARwBKAADAAAAAQACAAACAQAEAAAAAQAAASQCAgAEAAAAAQAA
+        A1QAAAAAAAAASAAAAAEAAABIAAAAAf/Y/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4d
+        GhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIy
+        MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgABgCgAwEhAAIRAQMR
+        Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE
+        EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElK
+        U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrC
+        w8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAAB
+        AgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkj
+        M1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5
+        eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm
+        5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A9P8A+EAsf+fy4o/4QCy/5/Liuv6z/dOf2HmH/CAWX/P5
+        cUf8IBZf8/lz+lH1n+6HsPMP+EAsv+fy5/Oj/hALL/n8uKPrP90PYeYf8IBZf8/lxR/wgFl/z+XFH1n+
+        6HsPMP8AhALL/n8uKP8AhX9j/wA/lxR9Z/uh7B9w/wCFf2P/AD+XFH/CAWP/AD+XFH1n+6HsH3D/AIQC
+        x/5/Lij/AIQCy/5/Lij6z/dD2HmH/CAWX/P5cUf8K/sf+fy4o+tf3Q9h5h/wgFj/AM/lxR/wgFl/z+XF
+        H1r+6HsPMP8AhALL/n8uKP8AhALL/n8uKPrX90PYeZ//2f/bAEMAAgEBAgEBAgICAgICAgIDBQMDAwMD
+        BgQEAwUHBgcHBwYHBwgJCwkICAoIBwcKDQoKCwwMDAwHCQ4PDQwOCwwMDP/bAEMBAgICAwMDBgMDBgwI
+        BwgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIACoE
+        AAMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUE
+        BAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4
+        OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmq
+        srO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEB
+        AQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIy
+        gQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZn
+        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
+</value>
+  </data>
+  <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
+        go7OP2dzliGROOkp2Pgucer7XkC6xDr0ZRgGx6aCaA6GluQ4DjnPsw6KAeu66jdOEkI1AOz7jp4RjErD
+        TKBodvkQngYTQW9ZlvuNxl3cC88rpYNe13UaAtDDiR4otZm5F2/iSjln2bZNhzGH3iNAPIBo0yQ5fTQE
+        wIhZUgXwmXkqpoIGXOZxHJVorgJ02IwqrjHPv8rME/81AAV2ZYDkr79imqbqBWo0TAyBCeZWQDT67UG+
+        /zMAK+AEvIh14aZmAHgzuloBzZ1fFA0vxpT+sRXMCLq81bkAAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="dy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK
+        jo6OzvH7yVk/OFHg0MnC/vfuhzOq6zrK76vzIrRtm3nf92sgBpdlieu6ZgCe5xmAXEot0zTZMABBXLiU
+        grRUVRWHYTATYpOfYR9kiGbMnQelUTu5wzmsoDWk796GOI6jGRDDzH0BxAyQ1Z5e4xhuGUSQWbkAaE2B
+        FMRN05h9uAD4JoHato1d9yjCOjOAH9Y+QggDOW5gwZdfEgR7iAf4YG53yq0eBADzjlWk/+QP2WXf9xmk
+        u3/Bo2wICEG/Oo9XdCIYwhNr8dl8ZRwfdQAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="yl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
+        UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG
+        V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2
+        9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK
+        f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8
+        NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN
+        BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA
+        AABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="bcai.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU
+        UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG
+        V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2
+        9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK
+        f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8
+        NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN
+        BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA
+        AABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="xz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG3SURBVDhPfVLdK0NhHH5LSXGn/QculCsfUbtRLl1JbhQh
+        taxNNPnOolY+yhjjQo12oRQ3bhWiZGULF3Kv5Nucbeacs4/HeX/HnJ289tRT7+/5/Z7nfc+vw+bXgvD4
+        NuFZDojpC2DOvwX/1i6YCDPeDXEjDyu+C5oRhrgX1knMZrMQkfe83vNf45+QydlVEtKZDETkvaWlkMlk
+        Chn3LFOhptIQMQsgsHmElvYetHXYcHB4YgpjIzOLJMhKCiIqagoZLUVKJPEWlWg2UlOKs3KmB7ncC3RI
+        yioKMfc5Zc4IkhUMCAOXVgvY4OQsNeJJBYl/qKYM8/ZtQr9QCwlZtFf0j3lI+PiUIQmoaHvg/RJ7mMzX
+        KlDtv6NXUIBjeJoG3mNfiMbNlFXdXGy/MplZAGB1QeqxPtcUHV4lbUkxg7K2PK4XOW7+N3PYBiaoeI5+
+        4uXDINdWu1hhM0evc5SEx7c4nt4TRL51rvEAXLT+MR+fGn8m67YPUXH/IuH+NUbkNZnVB0C5opD8m3Me
+        QndfXpGHXECnlRF/ZILJ09zWhaqGJlTVG+R6ZW0jeAgNadjZ29f72iz36Cpj3yFNGCz1c9N0AAAAAElF
+        TkSuQmCC
+</value>
+  </data>
+  <data name="xg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHvSURBVDhPnZJNSFRRGIYPCBHYLl24d9EiKsuN48KNBbUo
+        EGSEmEwXoo0iRkR/ZBkSaC3m74qmC3/GjS7Edv5RTQNCMzUyNMWUWFaTo6AIaqjQ2/d999id61SLXnjh
+        cr73ec8991yVqXZPLzq9PfD6e+AL2M1rnZ4n4IyO29Xa0YUf27twhwDlJfv3mdaawz8lw1mNWbrV7sHa
+        6jrcUxsYTOOPbprelAxnNWbp+r1HWF1ZhnoMDHwFKp8BeYO0s0+b38IDyXBWY5au3nmIdOqbhC6HgYIh
+        ArrI3Rmmkq3NDWRK40o13XiAxYXPsltBkAb7YbIRN6HoyVyEDyt51rhSV67dRTL5EcqgxV5yn91GQvI4
+        1BjFViHBEeCNI98qqGu+ibnEB7h8UaiqWaiLlo3Jpd9w8J15BC6ZzVdWQX3LbfSPPBUPjY4jqJ2cXxDg
+        YENE4LkdoMi/mF3AOlvhwonSM+JjJeUYHhkT+EBDzAbLsYr7ZabRbM08p6sg5bjf/hVm6Xi2eOirVv8H
+        x2foKkhcgFcV/4YnQhFkOnDJvF+Bd74D2zEp2YO/pJZtefqFO/Dy9Xu8iCQQin1CgEHSXoHLocSs+LQh
+        Gc4yw6w676yRL37ccRpHS87hfqUZPnKqzCzRmhoz0EYzznCWmQvOWvwCAklSiLgvRB8AAAAASUVORK5C
+        YII=
+</value>
+  </data>
+  <data name="sc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG5SURBVDhPlZDrK4NhGMafP8BHf4BPwkfmq8NnvhKlUHxw
+        iEgSIsQKqcVyPjQ2Z9mS0ooSlqElQ07RaGRib6zmeHmf27O3zSZcdbXnfp77+r33PRZKZdXN8Le4/pt4
+        wO15g0vykvn5V4j/1/5iEfsSv/iPbPbjQAgvHp5ecXrlwv6ZE7bDC1h2j7BitWNpzYZ5swUG0zL6Jxag
+        GZxCe68+GFBe14rjkzOMjs9iSD+DPt0ktAN6dHQPQ63pR0N7N+pbtdBNL6KmRRNijVo1jWexHcLjfcbN
+        gwcDBhOOzp0wW+zoGpmG0bxBE1U2tAX/ocWVjQRY27JDenzClUtC39g8Dk4dcFzf0RuXw+nC+uZOMKCg
+        vI4avgPupUfg4wPWaEb2yVeLOGN5JVX08B3ARcFt+SBbAfnVBMgprKDmUIBOJgeaIr4sgr6avxEgK7+U
+        mkOuIIsgxeEBVsJcGblF1PgTgMZODQuwMj5XenYBNa5a9+CWAZe3bvTo5uhO2Zn/xgmLOwWSKSbg8r4D
+        954XXNxIVNP4IszPVAtIwBrJKWmIjE1AlCoR0aokxMQnYWLGqEAoKIv3+mrGGPsEfOpdAqh7YNYAAAAA
+        SUVORK5CYII=
+</value>
+  </data>
+  <data name="AddRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        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
+        /gO+awReIiGty97sRQtbPSmoB8FFMSwKDx3VXdvcfGErt9YlpWUJF/dFV2d0v36fHc0XdPALX2bmme/z
+        mec38xuRBi+kahqRVmD5yfmsWe3J9ErtDD6tAQkAv85pzWqP9oo0foVcbWcJMEwDpmnaWjMqyWlHplfq
+        ZlD2IVPD5CTgnra3ZlTN3oMJaj24NWYVk6kUNrbsrRlV+QQBNZ7jgKkpPsVtb82oCl06wQnAv1gCa/Gk
+        rTWjutBHQN0+oOxgCbE4NuIJW2tGJc4jgNvvgUu9LLzYhHRuQ96Yp1vvdWwjt2UR0mVA6vdf4h1+hSv9
+        BDxfh1R+huS/ghR0Hnd+Bxu+QKrdcEwkmY2dAAwQ8DScGe8sSRUbqj0Y+c5zR+QUwOOQFbz2EtKyij+/
+        rTc/69tFKLjzH+DyM9O2wq3MiXSsux8JGGSx+YcFKHpNQBD+b8Dc/C78Pw2E/3L9RwGPAhYg654LeY4l
+        ZA+x2DiH9CaPeZygaQEBBrU5sJxCNJo6BOgSHi4wrz8TdbF8GJefBUn0IRYBQktAmKtZXeExsoPouoF0
+        eosbh3u/3ot3QQKafJAHsxZAlVUxCinthlx3QkreHrqY1+oS+maP5Rs8L6Xvj2MPx8IASe80O9sAAAAA
+        SUVORK5CYII=
+</value>
+  </data>
+  <data name="fq.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACfSURBVDhPYyAGsGWf/Q9lkglSz/xnSANiskHCqf9///8n
+        wxCQBhAOPfp/ytn/JBgCUpQIsRWGQQYQZwhQ8ilQEQj3XwAqnokFG8/EbwDMNrhiUCCSohluM0wxzAC8
+        mkEAagBYMbI/QQYQ1AwCuAwgSjMI4DKAaIBkwD2C0YULAJ2LYQgMEwWgBiAbAsMkGQLGoLBAxyR5C2YQ
+        OoYDBgYA9kn+I3B8Li4AAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="sh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc
+        d1EcjEwytSiH4SZcRHLQ7FemtlJDOPiZml8XSzMWMz9mK7Xevs/z7DvDzLzr9X2253k+r8+nvn0pM10t
+        hGykjnMndRE1ZWJlVKvF+qdErytIF/1G6k72sMPTBULIRcCF4H2bcOMknC8SNsb/IXheJ8R8hAfPPwUH
+        M4Qz6fKVlXBtJwRWxP99aX/NnKfgcJZwMkfwS9OwdW86TwFLc6MGmxPE2Zok+CwCzwjB5XDkLpbDJHYj
+        cax9ArbHDzukt5HJ9wxbpuGe7+fvvL1esLU6BTmsSHpyfggGRiaxe3yJaJzfhbI/wGHJ7MqKS1ZKv+xx
+        gWFoDDtH57h7jCGeSGDQHoTJGUwL5M6MSrsKFd5y/jst6DaapQkuEI6+4eU1hoZRP4dFFhTMK6FYUKB4
+        SQHVciGKbMpPQafBxAWhiDRBPA7S73O4gH0HWtGtza9BrVslCnUSrSmBPAET3Eee0GO9Ra8tjGQyySUs
+        8iQ1XvVn58xU1WnxG1zAJmn61pmIPgBiIY95z/CSIgAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="qsh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGPSURBVDhPlZLLK0RhGMbfsrVRtkp2k4UFsUOxsPAn2NoI
+        C0MzEmpQFi4LpWEjUhaGMYqyUINQjEtqGEqkcZkY4zLO1CGP73vPN2cujdtTv97vPd/7PL2ncyhZTTWE
+        TKjrn6UGUVRgVElhnlF/DamvzjJN36FmMkteHk8RbhYJODXQNwnXHkJgmrA2+I+A51VC1Et4WPlnwN4Y
+        4UQMX7gIV27C5ZzR+8TzZccfA/bHCUcTBL/YRtZd5x8DpKoqyrE+RMzGMME7YHDlG4WUGvtZMsRtJ8bV
+        RjjfEubPT+xYiFFjlN6zugecWJq08TevKzWQkoPwiYMgbkzu2dzeO4ztwzNENPYgx3bJSI2IfwA9+QbK
+        GO/lHQdYO/uxdRDA3WMUWiyGDncQXZ4g3j8+EiGNuSmYZqlmu0NscIpQ5A0vr1GU9fkZXdc5gNeuzU7B
+        XF+qwdrFATdhsYGmgep9jGmWR1mLFeqZGRLfQAbch5/Q4rpF63yIA3h9ZZZn7lVIymtYSiqRzszsghmS
+        PJzoib4AQHWvuebaS2wAAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="sz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAClSURBVDhPxZNBCgMhDEVz1zmQSxkQXHoEj+CmdOtx0vyU
+        wFhjqaXQDyGEn/8QZ6Sf6TgSn8x83phl5For+iDsSOPW2uRNgJzzsARfLPVKKXsAC8OXcYKrVoBreHU6
+        lQd4DW8BvPAWIISgPaX7d4AYo33KAYL54zvovWthNoh5yAzyAE+H6ApB3wZABkEtAdLeLhnE/RMhXBqC
+        KO8tQIC4b+FPInoA2b1WbweybUAAAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="syz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACcSURBVDhPtZPBCcQgEEXtNVUFBI+WYAlewl4twxJm88RZ
+        xDUbDeyDQWf4805q/o3U02yblbbq+JoakhhjCdPvIrIfUuYhhGsJ4TNXgt77ocA5NxboMuGz/QSnBO1y
+        H7wV9MtLgtHykiDnXIbWvp4JIKX0JaGfFkAv4b4kgFbCuSwAlVCPBKCS9iXSa90KAIn+BeD9s0j9/Avz
+        GPMGIZpkvqVDGAQAAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="xyz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACYSURBVDhPrZMxDsMgEAT5qx9DSW0pEiVPoKSkSc9zNlmL
+        i+wUezjKSifB6mZEYYe/ZNseOM+sj34edbi4A9ifIIBa6wFOAcYYWvQtyDl/BNZJiRK8K1/iCjzJyguk
+        ZEkwJey4c5GsCgxOKaG1dk9gcIwRpZR7L5AwowQuzCgB7xJmbNHGBDwTlLCF3z9Bjv0LTO/dh39PCC/T
+        8HpVcPCyWAAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="mz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACXSURBVDhPrZPBCYAwDEW7a4fpsWdB6LEjdIRevHec2JQE
+        NIlgxA9B6c97iGj4JTHuQLcq2F2Hju+hAsYYagG7DQC2A9ZOa01L1hItSIkUlFJswexNiU9gSNxPICV+
+        AUnwbFbfBAznnP0ChlNKUGv1CSTsegcWzN0rwbwoGPNKMLNACWNYzvMkCL13BXPw+0cQx/wXvieEEzaJ
+        cBFxK5ZNAAAAAElFTkSuQmCC
+</value>
+  </data>
+  <data name="redblue.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEXSURBVDhPpZG/TsJQFMbvO/kOsjrAzNI+Qu0L4MzCwg66
+        mMgAC2wYmEggECCQdtDUuGhQFiWQfJxz7+0VUmgv8SRn6T395fsjeAbVK5SLInV934c8PjUMAAbYbrr4
+        WTWxfqvjc1nB+7CE154nAXR2HhIDdhLQIkANHwsG3BnA9PHmPOQYoBRIwKiEFwLQydEmIAbwqxR8swK2
+        MCIFfQ9B28H8qYDxw3UGgBV8ESD6A7CCkAENBuTSAYchqgxUiEHbxayRx+Q+A7DbPGuAVsAhsoWOSxby
+        GGcDdAsRKTA13koF0oKdAl2jzCC24JAFiwxMC7GCRAs2Fg5bMCFyC9YZJFsIKcTUFmjkg+2eAgj+eMnq
+        3/47QuwBNTYBELFI9AQAAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="qt.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADvSURBVDhPzVLBCoJAEPUT/A5P/oh/4Vd19VBdig6egwg8
+        SZCIeIgIIYTIIiKiw752ZlcMS43q0IPB2dmZ994OGj+F53lwXRemaXJQTjV93Q5qlh/Yto1JkKM3XnJe
+        EqmuBmgVHop2QLIHZmsBPxFcI5JWJ6RAaukByM5AflEk05XAKBJ81+qCFMh2dgKKK3C8VSR+XLnQ7c8o
+        CdJCOpAk25qDToLyCWEO3kFMO9ioHfTDN57wuMR5JhBk0rocHiyUOt3paIZWYDUaoqCcahQYmnAcp53k
+        1Y8kyzxsWRZHJ0kDmOi/SNTxM3w1XINh3AF00QUlYhBzgwAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="jz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACfSURBVDhPYyAGsGWf/Q9lkglSz/xnSANiskHCqf9///8n
+        wxCQBhAOPfp/ytn/JBgCUpQIsRWGQQYQZwhQ8ilQEQj3XwAqnokFG8/EbwDMNrhiUCCSohluM0wxzAC8
+        mkEAagBYMbI/QQYQ1AwCuAwgSjMI4DKAaIBkwD2C0YULAJ2LYQgMEwWgBiAbAsMkGQLGoLBAxyR5C2YQ
+        OoYDBgYA9kn+I3B8Li4AAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7
+        bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G
+        rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY
+        wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg
+        gg==
+</value>
+  </data>
+  <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN
+        oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7
+        znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex
+        vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF
+        AG0RaJ0Gqp8A+0ICGBIZLkZLifXv8Xb3YnVlRdrdb23gtAHHjpdj5hAVRVdv+vBlaVkes+6pPVzhieHn
+        YQKiwHtHpSFp6+rB4sIn+Y37R+3hB5kNec2SSKV5isvebuiZj8YPxoKxYrSMAR90RyWc2AZqgp/lKSzB
+        Jc91xJI6nEoUdCECchrRJlZl4YA7XgJL+Yl7BszjauvEu9QCZoUk8UFHMq3jW+6HLJS1p+1hniZXO6pq
+        63Hk5Bkr/Fy9SHvC4+FXhuTa7V6s/dopydbOriXA7Ll/YN7nHrNSENeXMDA4aq0WvP0V2IpLSQFOpuaQ
+        mF+WPSm4Iv7CxmaXNBbWPwUtDpLhZ8/HwyU9ZolvjjkaUH3qrBUuV9WeBkv4mufh42clHWYaz7vwG72U
+        TLZQdeFnAAAAAElFTkSuQmCC
+</value>
+  </data>
+  <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW
+        /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7
+        77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq
+        aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI
+        JWylHvVeGGCm+hBQnNlCNIatWNxW6lGv9B0D3PsIXOrnQts2pGsX0mOdLX3WuYsbjT8gvTyNmsOPeJ+n
+        cOUtAa2bkEdfIbkdkLyuk8rtZGAGUuGCYzxBb/QUYJCAlpAp73+jnIEKN979pNcRPgPQEDSA7HZI4xpW
+        /pgvP+vdRzCwx/Y1AKeP3uZVtjIr0rJKPhMwxMX6RQO41U1AAL45YP77Pny/Ugitc//HAc/8BpD1wIkc
+        xxKuDnOxdh7pbc45rKBuAX4aNexfTiISYQNlALqFpwv068/EcbF0BJdfBEj0IhoGgktAKAisrXIO7yGy
+        mUI6vcPGYe/XePA+QECdF/Jk1gB0ZJWNQgpfQ273QQpeHSmf96oCquiN0R1eF1IPP+AAgRmsjnCqFmoA
+        AAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="cmdSourceBillNo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        R0lGODlhEAAQAIYAAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp
+        /yOn/2jD/q3h/le8/sz3/5zg/7bt/73l/7Xs/2fH/4DT///bnZXb/97//2rK/wWb/8np/6zf/1S//77x
+        /73w/8Xv/1+//wmc/1jA/5Db/5LV/6rn/6Xb/zCt/33O/9X3/4LO/7jj/4PT/x+m/7nk/3XP/3PJ/3bQ
+        /6Tb/5Td/zCv/3fM/029/4za/6Pf/ZHc/6Pk/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQB
+        AABBACwAAAAAEAAQAAAIqACDCBwoMIDBAAQTBjEYIcKECQYVLmQQ44KJFhBmQECYMAAOEAJYnPjgwAHH
+        gQEYqAhBA4YOBDwQIDg5cYcLGyg8LOixYAFNABJkZBBRI8cDEg98ACAIlIOGGylWGOhgwMBSphUq/ACC
+        wQAFClcFEiAAQICAEhZGvDAbloCCDQUAlDUrQO5AtwkKHBgQRK7duwryHmjAV2IQAoIJGxY4QK/ixYwH
+        FIYcEAA7
+</value>
+  </data>
+  <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>93, 17</value>
+  </metadata>
+  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>25</value>
+  </metadata>
+</root>
\ No newline at end of file

--
Gitblit v1.9.1