yusijie
2025-06-29 92bc347f39b0c9b03c394b8fb918de2bd018b986
物料标准包装模块;送货单添加保存前后存储过程控制;
4个文件已修改
3个文件已添加
294 ■■■■■ 已修改文件
DAL/DAL.csproj 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/SCM/ClsSupMaterPackBill.cs 200 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/采购管理/ClsCg_POInStockBill.cs 54 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Model.csproj 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/SCM/ClsSupMaterPackBillMain.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/SCM/ClsSupMaterPackBillSub.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/WMS/ClsGy_BarCodeBill_WMS_Model.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/DAL.csproj
@@ -64,7 +64,7 @@
    </Reference>
    <Reference Include="SQLHelper, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\DLL\SQLHelper.dll</HintPath>
      <HintPath>..\..\..\..\网站发布\供应商平台\SRMAPI\bin\SQLHelper.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Data" />
@@ -93,6 +93,7 @@
    <Compile Include="SCM\ClsSup_AskPriceBill.cs" />
    <Compile Include="SCM\ClsSup_EvaluateBill.cs" />
    <Compile Include="SCM\ClsSup_EvaluateSchemeBill.cs" />
    <Compile Include="SCM\ClsSupMaterPackBill.cs" />
    <Compile Include="SCM\ClsSup_QuotePriceBill.cs" />
    <Compile Include="SCM\ClsSup_SampleRequestBill.cs" />
    <Compile Include="SCM\ClsSup_SampleTestBill.cs" />
DAL/SCM/ClsSupMaterPackBill.cs
New file
@@ -0,0 +1,200 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace DAL
{
    public  class ClsSupMaterPackBill : DBUtility.ClsXt_BaseBill
    {
        public Model.ClsSupMaterPackBillMain omodel = new Model.ClsSupMaterPackBillMain();
        public List<Model.ClsSupMaterPackBillSub> DetailColl = new List<Model.ClsSupMaterPackBillSub>();
        public List<Model.ClsSupMaterPackBillSub> DetailColl_Source = new List<Model.ClsSupMaterPackBillSub>();
        public ClsSupMaterPackBill()
        {
            base.MvarItemKeyForWeb = "h_v_SRM_SupMaterPackMain_ForWeb";
            base.MvarItemKeySubForWeb = "h_v_SRM_SupMaterPackSub_ForWeb";
            base.MvarItemKeySub = "SRM_SupMaterPackSub";
            base.MvarItemKeySub2 = "";
            base.MvarItemKeySub3 = "";
            base.MvarItemKeySub4 = "";
            base.MvarItemKey="SRM_SupMaterPackMain";
            base.MvarReportTitle="物料最小包装";
            base.BillType= "10001";
            base.HBillSubType = "10001";
        }
        #region å›ºå®šä»£ç 
        ~ClsSupMaterPackBill()
        {
            DetailColl = null;
        }
        #endregion   è‡ªå®šä¹‰æ–¹æ³•
        //修改单据
        public override bool ModifyBill(Int64 lngBillKey, ref string sReturn)
        {
            try
            {
                //
                oCn.BeginTran();
                //更新主表
                oCn.RunProc("UpDate SRM_SupMaterPackMain set  " +
                "HRemark='" + omodel.HRemark + "'" +
                ",HModifyEmp='" + DBUtility.ClsPub.CurUserName + "'" +
                ",HModifyTime=getdate()" +
                //========================================
                ",HSupID=" + omodel.HSupID.ToString() +
                " where HInterID=" + lngBillKey.ToString());
                //删除关联
                DeleteRelation(ref sReturn, lngBillKey);
                //删除子表
                DeleteBillSub(lngBillKey);
                //插入子表
                omodel.HInterID = lngBillKey;
                foreach (Model.ClsSupMaterPackBillSub oSub in DetailColl)
                {
                    oCn.RunProc("Insert into SRM_SupMaterPackSub " +
                      " (HInterID,HEntryID,HRemark,HMaterID,HMinPackQty,HInBoxPackQty,HOutBoxPackQty,HPriority" +
                      ") values("
                      + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HRemark + "',"  + oSub.HMaterID + "," + oSub.HMinPackQty + "," + oSub.HInBoxPackQty + "," + oSub.HOutBoxPackQty + "," + oSub.HPriority +
                      ") ");
                }
                sReturn = "修改单据成功!";
                oCn.Commit();
                return true;
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                oCn.RollBack();
                throw (e);
            }
        }
        //新增单据
        public override bool AddBill(ref string sReturn)
        {
            try
            {
                //得到mainid
                omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                //若MAINDI重复则重新获取
                oCn.BeginTran();
                //主表
                oCn.RunProc("Insert Into SRM_SupMaterPackMain   " +
                "(HInterID,HMakeTime,HMakeEmp,HRemark,HUSEORGID,HCREATEORGID,HSupID,HBeginDate,HEndDate" +
                ") values(" + omodel.HInterID.ToString() + ",getdate(),'" + omodel.HMakeEmp + "','" + omodel.HRemark + "'," + omodel.HUSEORGID + "," + omodel.HCREATEORGID + "," + omodel.HSupID + ",'" + omodel.HBeginDate + "','" + omodel.HEndDate + "'" +
                ") ");
                //插入子表
                foreach (Model.ClsSupMaterPackBillSub oSub in DetailColl)
                {
                    oCn.RunProc("Insert into SRM_SupMaterPackSub " +
                      " (HInterID,HEntryID,HRemark,HMaterID,HMinPackQty,HInBoxPackQty,HOutBoxPackQty,HPriority" +
                      ") values("
                      + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HRemark + "'," + oSub.HMaterID + "," + oSub.HMinPackQty + "," + oSub.HInBoxPackQty + "," + oSub.HOutBoxPackQty + "," + oSub.HPriority +
                      ") ");
                }
                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 SRM_SupMaterPackMain Where HInterID=" + lngBillKey.ToString(), "SRM_SupMaterPackMain");
                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.HSupID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HSupID"]);
                omodel.HBeginDate = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBeginDate"]);
                omodel.HEndDate = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HEndDate"]);
                //
                //循环
                DataSet DsSub ;
                DsSub = oCn.RunProcReturn("Select * from SRM_SupMaterPackSub Where HInterID=" + lngBillKey.ToString() + " order by HEntryID ", "SRM_SupMaterPackSub");
                DetailColl.Clear();//清空
                for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++)
                {
                    Model.ClsSupMaterPackBillSub oSub = new Model.ClsSupMaterPackBillSub();
                    // å›ºå®šèµ‹å€¼===============================================
                    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.HMaterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HMaterID"]);
                    oSub.HUnitID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HUnitID"]);
                    DetailColl.Add(oSub);
                }
                sReturn = "显示单据成功!";
                return true;
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                throw (e);
            }
        }
    }
}
DAL/²É¹º¹ÜÀí/ClsCg_POInStockBill.cs
@@ -74,16 +74,24 @@
                ",HInnerBillNo='" + omodel.HInnerBillNo + "'" +
                ",HDeliveryNo='" + omodel.HDeliveryNo + "'" +
                ",HDHDate='" + omodel.HDHDate + "'" +
                ",HExpressSupplier='" + omodel.HExpressSupplier + "'" +
                ",HReceiveGoodsMan='" + omodel.HReceiveGoodsMan + "'" +
                ",HReceiveGoodsLink='" + omodel.HReceiveGoodsLink + "'" +
                ",HSendGoodsMan='" + omodel.HSendGoodsMan + "'" +
                ",HSendGoodsAddr='" + omodel.HSendGoodsAddr + "'" +
                ",HSendGoodsLink='" + omodel.HSendGoodsLink + "'" +
                " where HInterID=" + lngBillKey.ToString());
                //删除关联
                DeleteRelation(ref sReturn, lngBillKey);
                //DeleteRelation(ref sReturn, lngBillKey);
                oCn.RunProc("exec H_p_SRM_POInStockBill_UpdateBillRelateData_back " + lngBillKey.ToString());
                //删除子表
                DeleteBillSub(lngBillKey);
                //DeleteBillSub(lngBillKey);
                oCn.RunProc("delete from Cg_POInStockBillSub where HInterID = " + lngBillKey.ToString());
                //插入子表
                omodel.HInterID = lngBillKey;
                omodel.HInterID = lngBillKey;
                //凯贝奈特 HSupBatchNo,HSupMaterNumber
                foreach (Model.ClsCg_POInStockBillSub oSub in DetailColl)
                {
                    oCn.RunProc("Insert into Cg_POInStockBillSub " +
                      " (HInterID,HEntryID,HMaterID,HUnitID" +
                      ",HDate,HKFDate,HKFPeriod,HQty,HCheckQty,HPassQty,HBadQty,HPrice" +
@@ -92,16 +100,17 @@
                      ",HPOOrderInterID,HPOOrderEntryID,HPOOrderBillNo,HRelationQty,HRelationMoney" +
                      ",HWWOrderInterID,HWWOrderEntryID,HWWOrderBillNo,HWWOrderDetaiLID" +
                      ",HPropertyID,HSecUnitID,HSecUnitRate,HTaxPrice,HTaxMoney,HMainSourceInterID,HBatChNo" +
                      ",HAuxPropID,HMTONo,HPlanMode,HERPInterID,HERPEntryID,HReturnedQty,HDetailID) values("
                      ",HAuxPropID,HMTONo,HPlanMode,HERPInterID,HERPEntryID,HReturnedQty,HDetailID,F_xbkf_Combo,FSHDD,HExpressNumberSub" +
                      ",HExpressSupplierSub,HPlanArrivalDate,HBoxNumber,HSupBatchNo,HSupMaterNumber,HTAXPRICE_T) values("//
                      + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() +
                      ",'" + oSub.HDate + "','" + oSub.HKFDate + "'," + oSub.HKFPeriod.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HCheckQty.ToString() + "," + oSub.HPassQty.ToString() + "," + oSub.HBadQty.ToString() + "," + oSub.HPrice.ToString() +
                      "," + oSub.HMoney.ToString() + "," + oSub.HWHID.ToString() + "," + oSub.HStatus + "," + oSub.HSPID.ToString() + ",'','" + oSub.HEntryCloseDate +
                      "',0,''," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType.ToString() +
                      "',0,'" + oSub.HRemark + "'," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType.ToString() +
                      "'," + oSub.HPOOrderInterID.ToString() + "," + oSub.HPOOrderEntryID.ToString() + ",'" + oSub.HPOOrderBillNo + "'," + oSub.HRelationQty + "," + oSub.HRelationMoney +
                      "," + oSub.HWWOrderInterID.ToString() + "," + oSub.HWWOrderEntryID.ToString() + ",'" + oSub.HWWOrderBillNo + "'," + oSub.HWWOrderDetaiLID.ToString() +
                      "," + oSub.HPropertyID.ToString() + ",0," + oSub.HSecUnitRate.ToString() + "," + oSub.HTaxPrice.ToString() + "," + oSub.HTaxMoney.ToString() + "," + oSub.HMainSourceInterID.ToString() + ",'" + oSub.HBatChNo +
                      "'," + oSub.HAuxPropID.ToString() + ",'" + oSub.HMTONo.ToString() + "'," + oSub.HPlanMode + "," + oSub.HERPInterID.ToString() + "," + oSub.HERPEntryID.ToString() + "," + oSub.HReturnedQty.ToString() + "," + oSub.HDetailID.ToString() +
                      ") ");
                      "'," + oSub.HAuxPropID.ToString() + ",'" + oSub.HMTONo.ToString() + "'," + oSub.HPlanMode + "," + oSub.HERPInterID.ToString() + "," + oSub.HERPEntryID.ToString() + "," + oSub.HReturnedQty.ToString() + "," + oSub.HDetailID.ToString() + ",'" + oSub.F_xbkf_Combo.ToString() + "','" + oSub.FSHDD.ToString() + "','" + oSub.HExpressNumberSub + "','" + oSub.HExpressSupplierSub + "','" + oSub.HPlanArrivalDate + "','" + oSub.HBoxNumber + "','" + oSub.HSupBatchNo +
                      "','" + oSub.HSupMaterNumber + "'," + oSub.HTAXPRICE_T + ") ");//物流单号为瑞与琪使用
                }
                //
                Ds = oCn.RunProcReturn("exec H_p_SRM_POInStockBill_UpdateBillRelateData " + omodel.HInterID.ToString(), "H_p_SRM_POInStockBill_UpdateBillRelateData");
@@ -135,11 +144,25 @@
            try
            {
                //得到mainid
                omodel.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                if (omodel.HInterID == 0 || omodel.HInterID.ToString() == null || omodel.HInterID.ToString() == "undefined")
                {
                    omodel.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                }
                //omodel.HInterID = DBUtility.ClsPub.CreateBillID_Prod(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                //若MAINDI重复则重新获取
                oCn.BeginTran();
                //保存前控制=========================================
                Ds = oCn.RunProcReturn("Exec h_p_SRM_POInStockBill_BeforeSaveCtrl  " + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "',1 ", " h_p_SRM_POInStockBill_BeforeSaveCtrl ");
                if (Ds == null || DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBack"]) != "0")
                {
                    sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBackRemark"]);
                    oCn.RollBack();
                    return false;
                }
                //=========================================================
                //主表
                //凯贝奈特: HExpressSupplier,HReceiveGoodsMan,HReceiveGoodsLink
                oCn.RunProc("Insert Into Cg_POInStockBillMain     " +
@@ -150,7 +173,7 @@
                        ",HMainSourceInterID,HBillStatus,HCheckItemNowID,HCheckItemNextID,HCheckFlowID,HBacker,HBackDate,HExpressSupplier,HReceiveGoodsMan"+
                        ",HReceiveGoodsLink,HSendGoodsAddr,HSendGoodsMan,HSendGoodsLink,HPURCHASEORGID) " +
                        " 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.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HMaker + "',getdate()" +
                        ",'" + omodel.HAddress + "'," + omodel.HSupID.ToString() + "," + omodel.HCurID.ToString() + "," + omodel.HWHID.ToString() + "," + omodel.HExRate.ToString() + ",'" + omodel.HDHDate + "'" +
                        ", " + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() + "," + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "','" + omodel.HDeliveryNo + "','" + omodel.HMainSourceBillType + "','" + omodel.HMainSourceBillNo + "'," + omodel.HMainSourceInterID + "," + omodel.HMainSourceEntryID +
                        "," + omodel.HBillStatus + "," + omodel.HCheckItemNowID + "," + omodel.HCheckItemNextID + "," + omodel.HCheckFlowID + ",'','" + omodel.HBackDate + "','" + omodel.HExpressSupplier + "','" + omodel.HReceiveGoodsMan + "','" + omodel.HReceiveGoodsLink + "','" + omodel.HSendGoodsAddr + "','" + omodel.HSendGoodsMan + "','" + omodel.HSendGoodsLink + "'," + omodel.HPURCHASEORGID + ") ");
@@ -205,6 +228,17 @@
                //oCn.RunProc("exec h_p_IFK3_ToERP_CGPOInStockBill_Check " + omodel.HInterID.ToString() + "," + omodel.HBillerID.ToString());
                ////更新库存
                //oCn.RunProc("exec h_p_IFK3_ToERP_CGPOInStockBill_RelationInfoCtrl " + omodel.HInterID.ToString());
                //保存后控制=========================================
                Ds = oCn.RunProcReturn("Exec h_p_SRM_POInStockBill_AfterSaveCtrl  " + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "',1 ", " h_p_SRM_POInStockBill_AfterSaveCtrl ");
                if (Ds == null || DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBack"]) != "0")
                {
                    sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBackRemark"]);
                    oCn.RollBack();
                    return false;
                }
                //=========================================================
                sReturn = "新增单据成功!";
                oCn.Commit();
                return true;
Model/Model.csproj
@@ -142,7 +142,9 @@
    <Compile Include="SCM\ClsSup_EvaluateBillSub.cs" />
    <Compile Include="SCM\ClsSup_EvaluateSchemeBillMain.cs" />
    <Compile Include="SCM\ClsSup_EvaluateSchemeBillSub.cs" />
    <Compile Include="SCM\ClsSupMaterPackBillMain.cs" />
    <Compile Include="SCM\ClsSup_QuotePriceBillMain.cs" />
    <Compile Include="SCM\ClsSupMaterPackBillSub.cs" />
    <Compile Include="SCM\ClsSup_QuotePriceBillSub.cs" />
    <Compile Include="SCM\ClsSup_SampleRequestBillMain.cs" />
    <Compile Include="SCM\ClsSup_SampleRequestBillSub.cs" />
Model/SCM/ClsSupMaterPackBillMain.cs
New file
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
    public class ClsSupMaterPackBillMain : DBUtility.ClsXt_BaseBillMain
    {
        public Int64 HSupID;//       int       --供应商
        public string HBeginDate;//      datetime    --生效日期
        public string HEndDate;//         datetime    --失效日期
        public string HMakeEmp;//         --创建人
        public DateTime HMakeTime;//         datetime    --创建日期
        public Int64 HUSEORGID;//         datetime    --使用组织
        public Int64 HCREATEORGID;//         datetime    --创建组织
    }
}
Model/SCM/ClsSupMaterPackBillSub.cs
New file
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
    public class ClsSupMaterPackBillSub : DBUtility.ClsXt_BaseBillSub
    {
        public Int64 HMaterID;//  int                 --物料内码(h_v_K3_Material)(比录,可编辑,带出物料代码,物料名称,规格,单位)
        public Int64 HUnitID;//  int                --单位内码(h_v_K3_Unit)(比录,可编辑,带出单位代码,单位名称)
        public decimal HMinPackQty;//     dec(18,2)                 --最小包装数
        public decimal HInBoxPackQty;//    dec(18,2)                 --内箱包装数
        public decimal HOutBoxPackQty;//    dec(18,2)                 --外箱包装数
        public int HPriority;//   ä¼˜å…ˆçº§
    }
}
Model/WMS/ClsGy_BarCodeBill_WMS_Model.cs
@@ -36,5 +36,6 @@
        public string HSupBatchNo;            //供应商批次(凯贝)
        public string HSupMaterNumber;            //供应商料号 ï¼ˆå‡¯è´ï¼‰
        public Int64 HISKFPERIOD;            //是否启用保质期
        public string HMaterNumber; //物料代码
    }
}