条码生成模块,增加选择源单(生产入库单、采购入库单、销售退货单、生产退料单)生成条码,条码生成时同步生成条码出入库记录功能
17个文件已修改
1个文件已删除
14个文件已添加
235592 ■■■■ 已修改文件
BaseSet/BaseSet.csproj 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Web References/WMSWeb/Reference.cs 32513 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Web References/WMSWeb/WebService1.wsdl 14533 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/DAL.csproj 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/Web References/WMSWeb/Reference.cs 32513 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/Web References/WMSWeb/WebService1.wsdl 14533 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Model.csproj 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Web References/WMSWeb/Reference.cs 32513 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Web References/WMSWeb/WebService1.wsdl 14533 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM.zip 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/NETSCM.csproj 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/Web References/WMSWeb/Reference.cs 32513 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/Web References/WMSWeb/WebService1.wsdl 14533 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/SCM.csproj 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/Web References/WMSWeb/Reference.cs 32513 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/Web References/WMSWeb/WebService1.wsdl 14533 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/公用类/ClsPub1.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/条码打印/Gy_BarCodeBill.cs 140 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/源单/Cls_S_IF_MateOutBackBillList.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/源单/Cls_S_IF_POStockInBillList.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/源单/Cls_S_IF_ProductInBillList.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/源单/Cls_S_IF_SellOutBackBillList.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/BaseSet.csproj
@@ -272,6 +272,9 @@
    <None Include="Web References\WMSWeb\ClsGy_BadReason_Model1.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model_View1.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
@@ -302,6 +305,9 @@
    <None Include="Web References\WMSWeb\ClsGy_Warehouse_Model1.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_Mould.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_WMS1.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
BaseSet/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsGy_BarCodeBill_WMS_Model" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>BaseSet.WMSWeb.ClsGy_BarCodeBill_WMS_Model, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
BaseSet/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsKf_ICStockBill_Mould" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>BaseSet.WMSWeb.ClsKf_ICStockBill_Mould, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
BaseSet/Web References/WMSWeb/Reference.cs
Diff too large
BaseSet/Web References/WMSWeb/WebService1.wsdl
Diff too large
DAL/DAL.csproj
@@ -182,6 +182,9 @@
    <None Include="Web References\WMSWeb\ClsGy_BadReason_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model_View.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
@@ -212,6 +215,9 @@
    <None Include="Web References\WMSWeb\ClsGy_Warehouse_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_Mould.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_WMS.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
DAL/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsGy_BarCodeBill_WMS_Model" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>DAL.WMSWeb.ClsGy_BarCodeBill_WMS_Model, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
DAL/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsKf_ICStockBill_Mould" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>DAL.WMSWeb.ClsKf_ICStockBill_Mould, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
DAL/Web References/WMSWeb/Reference.cs
Diff too large
DAL/Web References/WMSWeb/WebService1.wsdl
Diff too large
Model/Model.csproj
@@ -160,6 +160,9 @@
    <None Include="Web References\WMSWeb\ClsGy_BadReason_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model_View.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
@@ -190,6 +193,9 @@
    <None Include="Web References\WMSWeb\ClsGy_Warehouse_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_Mould.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_WMS.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
Model/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsGy_BarCodeBill_WMS_Model" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>Model.WMSWeb.ClsGy_BarCodeBill_WMS_Model, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
Model/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsKf_ICStockBill_Mould" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>Model.WMSWeb.ClsKf_ICStockBill_Mould, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
Model/Web References/WMSWeb/Reference.cs
Diff too large
Model/Web References/WMSWeb/WebService1.wsdl
Diff too large
NETSCM.zip
Binary files differ
NETSCM/NETSCM.csproj
@@ -180,6 +180,9 @@
  </ItemGroup>
  <ItemGroup>
    <None Include="app.config" />
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model_View.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
@@ -189,6 +192,9 @@
    <None Include="Web References\WMSWeb\ClsGy_Source_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_Mould.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\Reference.map">
      <Generator>MSDiscoCodeGenerator</Generator>
      <LastGenOutput>Reference.cs</LastGenOutput>
NETSCM/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsGy_BarCodeBill_WMS_Model" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>NETSCM.WMSWeb.ClsGy_BarCodeBill_WMS_Model, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
NETSCM/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsKf_ICStockBill_Mould" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>NETSCM.WMSWeb.ClsKf_ICStockBill_Mould, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
NETSCM/Web References/WMSWeb/Reference.cs
Diff too large
NETSCM/Web References/WMSWeb/WebService1.wsdl
Diff too large
SCM/SCM.csproj
@@ -440,6 +440,10 @@
    <Compile Include="报表\Kf_SellOutReturnedReport.designer.cs">
      <DependentUpon>Kf_SellOutReturnedReport.cs</DependentUpon>
    </Compile>
    <Compile Include="源单\Cls_S_IF_POStockInBillList.cs" />
    <Compile Include="源单\Cls_S_IF_MateOutBackBillList.cs" />
    <Compile Include="源单\Cls_S_IF_SellOutBackBillList.cs" />
    <Compile Include="源单\Cls_S_IF_ProductInBillList.cs" />
    <Compile Include="源单\Cls_S_IF_ICMOReportBillList.cs" />
    <Compile Include="源单\Cls_S_IFCLD_ICMOList.cs" />
    <Compile Include="公用类\Cls_S_K3_PoinStockList.cs" />
@@ -931,6 +935,9 @@
    <None Include="Web References\WMSWeb\ClsGy_BadReason_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsGy_BarCodeBill_WMS_Model_View.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
@@ -961,6 +968,9 @@
    <None Include="Web References\WMSWeb\ClsGy_Warehouse_Model.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_Mould.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
    <None Include="Web References\WMSWeb\ClsKf_ICStockBill_WMS.datasource">
      <DependentUpon>Reference.map</DependentUpon>
    </None>
SCM/Web References/WMSWeb/ClsGy_BarCodeBill_WMS_Model.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsGy_BarCodeBill_WMS_Model" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>SCM.WMSWeb.ClsGy_BarCodeBill_WMS_Model, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
SCM/Web References/WMSWeb/ClsKf_ICStockBill_Mould.datasource
New file
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is
    used to store generic object data source configuration information.
    Renaming the file extension or editing the content of this file may
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ClsKf_ICStockBill_Mould" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>SCM.WMSWeb.ClsKf_ICStockBill_Mould, Web References.WMSWeb.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>
SCM/Web References/WMSWeb/Reference.cs
Diff too large
SCM/Web References/WMSWeb/WebService1.wsdl
Diff too large
SCM/¹«ÓÃÀà/ClsPub1.cs
@@ -14,7 +14,7 @@
        //public static string WEBSURL = "http://124.70.129.242/WEBS-WMS/WebService1.asmx";             //雅琪诺
        //public static string WEBSURL = "http://192.168.1.29/WEBS-WMS/WebService1.asmx";               //圣龙    å†…网
        //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx";            //圣龙(不用)
        public static string WEBSURL = "http://220.189.218.154:8092/WEBS-WMS/WebService1.asmx";   //四维尔    æ–°ä¸­é—´å±‚    å¤–网
        //public static string WEBSURL = "http://220.189.218.154:8092/WEBS-WMS/WebService1.asmx";   //四维尔    æ–°ä¸­é—´å±‚    å¤–网
        //public static string WEBSURL = "http://192.168.0.178/WEBS-WMS/WebService1.asmx";          //四维尔    æ–°ä¸­é—´å±‚    å†…网
        //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx";        //韩电    å¤–网JIT(不用)
        //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx";         //韩电    å¤–网
@@ -24,7 +24,7 @@
        //public static string WEBSURL = "http://120.195.29.36:1230/WEBS-WMS/WebService1.asmx";         //江苏龙亨
        //public static string WEBSURL = "http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx";         //森楷
        //public static string WEBSURL = "http://192.168.63.195/WEBS-WMS/WebService1.asmx";
        //public static string WEBSURL = "http://192.168.63.7/WEBS-WMS/WebService1.asmx";              //公司台式机
        public static string WEBSURL = "http://192.168.63.3/WEBS-WMS/WebService1.asmx";              //公司台式机
        //public static string WEBSURL = "http://192.168.0.107/WEBS-WMS/WebService1.asmx";              //å®¶
        //public static string WEBSURL = "http://47.96.97.237/WEBS-WMS/WebService1.asmx";              //公司服务器
SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill.cs
@@ -246,6 +246,10 @@
                cmbSourceBillType.Items.Add("采购订单");
                cmbSourceBillType.Items.Add("收料通知单");
                cmbSourceBillType.Items.Add("委外订单");
                cmbSourceBillType.Items.Add("生产入库单");
                cmbSourceBillType.Items.Add("采购入库单");
                cmbSourceBillType.Items.Add("销售退货单");
                cmbSourceBillType.Items.Add("生产退料单");
                cmbSourceBillType.SelectedIndex = 0;
            }
            //
@@ -2032,6 +2036,17 @@
                {
                    oWeb.getRunProc("exec h_p_WMS_BarCodeBackToOtherInRepuest  " + HInterID.ToString() + "", ref DBUtility.ClsPub.sExeReturnInfo);
                }
                //条码生成时同步生成条码出入库记录
                if (cmbSourceBillType.Text.Trim() == "生产入库单" || cmbSourceBillType.Text.Trim() == "采购入库单"
                    || cmbSourceBillType.Text.Trim() == "销售退货单" || cmbSourceBillType.Text.Trim() == "生产退料单")
                {
                    if (!oWeb.set_BarCodeAutoWMS(HInterID, HSourceBillType, HOrgID, ref DBUtility.ClsPub.sExeReturnInfo))
                    {
                        MessageBox.Show(DBUtility.ClsPub.sExeReturnInfo, "提示");
                        return;
                    }
                }
                tabControl1.SelectedIndex = 2;
            }
            catch (Exception e)
@@ -2931,6 +2946,42 @@
                    FillSelectData(oIF_StockInRequestBillList.oBillSelectColl);
                }
            }
            else if (cmbSourceBillType.Text.Trim() == "生产入库单")
            {
                sWhere = " and HOrgID =" + sHOrgID.ToString();
                SCM.Cls_S_IF_ProductInBillList oIF_ProductInBillList = new SCM.Cls_S_IF_ProductInBillList();
                if (oIF_ProductInBillList.Refresh(sWhere))  //选择原单
                {
                    FillSelectData(oIF_ProductInBillList.oBillSelectColl);
                }
            }
            else if (cmbSourceBillType.Text.Trim() == "采购入库单")
            {
                sWhere = " and HOrgID =" + sHOrgID.ToString();
                SCM.Cls_S_IF_POStockInBillList oIF_POStockInBillList = new SCM.Cls_S_IF_POStockInBillList();
                if (oIF_POStockInBillList.Refresh(sWhere))  //选择原单
                {
                    FillSelectData(oIF_POStockInBillList.oBillSelectColl);
                }
            }
            else if (cmbSourceBillType.Text.Trim() == "销售退货单")
            {
                sWhere = " and HOrgID =" + sHOrgID.ToString();
                SCM.Cls_S_IF_SellOutBackBillList oIF_SellOutBackBillList = new SCM.Cls_S_IF_SellOutBackBillList();
                if (oIF_SellOutBackBillList.Refresh(sWhere))  //选择原单
                {
                    FillSelectData(oIF_SellOutBackBillList.oBillSelectColl);
                }
            }
            else if (cmbSourceBillType.Text.Trim() == "生产退料单")
            {
                sWhere = " and HOrgID =" + sHOrgID.ToString();
                SCM.Cls_S_IF_MateOutBackBillList oIF_MateOutBackBillList = new SCM.Cls_S_IF_MateOutBackBillList();
                if (oIF_MateOutBackBillList.Refresh(sWhere))  //选择原单
                {
                    FillSelectData(oIF_MateOutBackBillList.oBillSelectColl);
                }
            }
            else
            {
@@ -3052,6 +3103,46 @@
                        txtHCaseNo.Text = (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]) + 1).ToString();
                        txtHCaseNo.Tag = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]).ToString();
                    }
                }
                //生产入库单
                if (oSelectRow.BillType == "1202")
                {
                    grdMain.Rows.Add();
                    grdMain.Rows[i].Cells[HTagCol].Value = "*";
                    //得到信息
                    Ds = oWeb.getDataSetBySQL("select * from h_v_IF_ProductInBillList_Source where HMainID=" + oSelectRow.BillMainID + " and HSubID=" + oSelectRow.BillSubID, "h_v_IF_ProductInBillList_Source", ref DBUtility.ClsPub.sExeReturnInfo);
                    //写入信息
                    Sub_WriteInForm_InOut(Ds.Tables[0], i);
                }
                //采购入库单
                if (oSelectRow.BillType == "1201")
                {
                    grdMain.Rows.Add();
                    grdMain.Rows[i].Cells[HTagCol].Value = "*";
                    //得到信息
                    Ds = oWeb.getDataSetBySQL("select * from h_v_IF_POStockInBillList_Source     where HMainID=" + oSelectRow.BillMainID + " and HSubID=" + oSelectRow.BillSubID, "h_v_IF_POStockInBillList_Source    ", ref DBUtility.ClsPub.sExeReturnInfo);
                    //写入信息
                    Sub_WriteInForm_InOut(Ds.Tables[0], i);
                }
                //销售退货单
                if (oSelectRow.BillType == "1247")
                {
                    grdMain.Rows.Add();
                    grdMain.Rows[i].Cells[HTagCol].Value = "*";
                    //得到信息
                    Ds = oWeb.getDataSetBySQL("select * from h_v_IF_SellOutBackBillList_Source where HMainID=" + oSelectRow.BillMainID + " and HSubID=" + oSelectRow.BillSubID, "h_v_IF_SellOutBackBillList_Source", ref DBUtility.ClsPub.sExeReturnInfo);
                    //写入信息
                    Sub_WriteInForm_InOut(Ds.Tables[0], i);
                }
                //生产退料单
                if (oSelectRow.BillType == "1244")
                {
                    grdMain.Rows.Add();
                    grdMain.Rows[i].Cells[HTagCol].Value = "*";
                    //得到信息
                    Ds = oWeb.getDataSetBySQL("select * from h_v_IF_MateOutBackBillList_Source where HMainID=" + oSelectRow.BillMainID + " and HSubID=" + oSelectRow.BillSubID, "h_v_IF_MateOutBackBillList_Source", ref DBUtility.ClsPub.sExeReturnInfo);
                    //写入信息
                    Sub_WriteInForm_InOut(Ds.Tables[0], i);
                }
                //即时库存
                if (oSelectRow.BillType == "JSKC")
@@ -3383,6 +3474,55 @@
            RowCount(i, 0);
        }
        //根据TABLE写入界面(出入库单据)
        private void Sub_WriteInForm_InOut(DataTable oTable, int i)
        {
            ////加载表体
            grdMain.Rows[i].Cells[HTagCol].Value = "*";
            grdMain.Rows[i].Cells[HQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["可生成条码数量"]);
            grdMain.Rows[i].Cells[HinitQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["可生成条码数量"]);
            grdMain.Rows[i].Cells[HMinQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["最小包装数"]);
            //
            grdMain.Rows[i].Cells[HMainIDCol].Value = oTable.Rows[0]["HMainID"].ToString();
            grdMain.Rows[i].Cells[HSubIDCol].Value = oTable.Rows[0]["HSubID"].ToString();
            grdMain.Rows[i].Cells[HBillNoCol].Value = oTable.Rows[0]["单据号"].ToString();
            grdMain.Rows[i].Cells[HBillTypeCol].Value = oTable.Rows[0]["HBillType"].ToString();
            grdMain.Rows[i].Cells[HDeptIDCol].Value = oTable.Rows[0]["HDeptID"].ToString();
            grdMain.Rows[i].Cells[HDeptNumberCol].Value = oTable.Rows[0]["部门代码"].ToString();
            grdMain.Rows[i].Cells[HDeptNameCol].Value = oTable.Rows[0]["部门"].ToString();
            grdMain.Rows[i].Cells[HMaterIDCol].Value = oTable.Rows[0]["HMaterID"].ToString();
            grdMain.Rows[i].Cells[HMaterNumberCol].Value = oTable.Rows[0]["物料代码"].ToString();
            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["物料名称"].ToString();
            grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["规格型号"].ToString();
            grdMain.Rows[i].Cells[HBatchNoCol].Value = oTable.Rows[0]["批号"].ToString();
            grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString();
            grdMain.Rows[i].Cells[HUnitNumberCol].Value = oTable.Rows[0]["计量单位代码"].ToString();
            grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计量单位"].ToString();
            grdMain.Rows[i].Cells[HAuxPropIDCol].Value = oTable.Rows[0]["HAuxPropID"].ToString();
            grdMain.Rows[i].Cells[HAuxPropNumberCol].Value = oTable.Rows[0]["辅助属性代码"].ToString();
            grdMain.Rows[i].Cells[HAuxPropNameCol].Value = oTable.Rows[0]["辅助属性"].ToString();
            grdMain.Rows[i].Cells[HWhIDCol].Value = oTable.Rows[0]["HWhID"].ToString();
            grdMain.Rows[i].Cells[HWhNumberCol].Value = oTable.Rows[0]["仓库代码"].ToString();
            grdMain.Rows[i].Cells[HWhNameCol].Value = oTable.Rows[0]["仓库"].ToString();
            grdMain.Rows[i].Cells[HSPIDCol].Value = oTable.Rows[0]["HSPID"].ToString();
            grdMain.Rows[i].Cells[HSPNumberCol].Value = oTable.Rows[0]["仓位代码"].ToString();
            grdMain.Rows[i].Cells[HSPNameCol].Value = oTable.Rows[0]["仓位"].ToString();
            grdMain.Rows[i].Cells[HMTONoCol].Value = oTable.Rows[0]["计划跟踪号"].ToString();
            //--
            //设置可编辑列
            string sAllowCol = HQtyCol.ToString() +
                                "," + HMinQtyCol.ToString();
            grdMain.Columns[HBillNoCol].ReadOnly = true;
            //设置合计列
            string sTotalCol = HQtyCol.ToString();
            //
            ClsPub1.initGridLast(sAllowCol, sTotalCol, oSumGrid);
            tabControl1.SelectedIndex = 0;
            bc.Enabled = true;
            //
            RowCount(i, 0);
        }
        //根据TABLE写入界面(即时库存)
        private void Sub_WriteInForm2(DataTable oTable, int i)
        {
SCM/Ô´µ¥/Cls_S_IF_MateOutBackBillList.cs
New file
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Text;
using DBUtility;
namespace SCM
{
    public class Cls_S_IF_MateOutBackBillList : Cls_S_Xt_BaseBill
    {
        public Cls_S_IF_MateOutBackBillList()
        {
            base.ViewName = "h_v_IF_MateOutBackBillList_Source";
            base.mvarReportTitle = "生产退料单";
            base.mvarItemKey = "1244";
            base.sCondtion = "    ";
            base.sOrderSql = "  order by å•据号 desc,hsubid ";
            base.sKeyCol = "单据号";
        }
    }
}
SCM/Ô´µ¥/Cls_S_IF_POStockInBillList.cs
New file
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Text;
using DBUtility;
namespace SCM
{
    public class Cls_S_IF_POStockInBillList : Cls_S_Xt_BaseBill
    {
        public Cls_S_IF_POStockInBillList()
        {
            base.ViewName = "h_v_IF_POStockInBillList_Source";
            base.mvarReportTitle = "采购入库单";
            base.mvarItemKey = "1201";
            base.sCondtion = "    ";
            base.sOrderSql = "  order by å•据号 desc,hsubid ";
            base.sKeyCol = "单据号";
        }
    }
}
SCM/Ô´µ¥/Cls_S_IF_ProductInBillList.cs
New file
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Text;
using DBUtility;
namespace SCM
{
    public class Cls_S_IF_ProductInBillList : Cls_S_Xt_BaseBill
    {
        public Cls_S_IF_ProductInBillList()
        {
            base.ViewName = "h_v_IF_ProductInBillList_Source";
            base.mvarReportTitle = "生产入库单";
            base.mvarItemKey = "1202";
            base.sCondtion = "    ";
            base.sOrderSql = "  order by å•据号 desc,hsubid ";
            base.sKeyCol = "单据号";
        }
    }
}
SCM/Ô´µ¥/Cls_S_IF_SellOutBackBillList.cs
New file
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Text;
using DBUtility;
namespace SCM
{
    public class Cls_S_IF_SellOutBackBillList : Cls_S_Xt_BaseBill
    {
        public Cls_S_IF_SellOutBackBillList()
        {
            base.ViewName = "h_v_IF_SellOutBackBillList_Source";
            base.mvarReportTitle = "销售退货单";
            base.mvarItemKey = "1247";
            base.sCondtion = "    ";
            base.sOrderSql = "  order by å•据号 desc,hsubid ";
            base.sKeyCol = "单据号";
        }
    }
}