智云外网版WMS\MES\SCM(作废)
yxj
2021-08-27 c6d368826e3c197509f075faead2cfb0e8c400db
条码生成模块新增选源单:生产汇报单功能
1个文件已添加
3个文件已修改
46 ■■■■■ 已修改文件
SCM/SCM.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/公用类/ClsPub1.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/条码打印/Gy_BarCodeBill.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/源单/Cls_S_IF_ICMOReportBillList.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/SCM.csproj
@@ -407,6 +407,7 @@
    <Compile Include="报表\Kf_SellOutReturnedReport.designer.cs">
      <DependentUpon>Kf_SellOutReturnedReport.cs</DependentUpon>
    </Compile>
    <Compile Include="源单\Cls_S_IF_ICMOReportBillList.cs" />
    <Compile Include="源单\Cls_S_IFCLD_ICMOList.cs" />
    <Compile Include="公用类\Cls_S_K3_PoinStockList.cs" />
    <Compile Include="公用类\Cls_S_K3_POOrderBillList.cs" />
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:8091/WEBS-WMS/WebService1.asmx";       //四维尔   å¤–网
        public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx";       //四维尔   å¤–网
        //public static string WEBSURL = "http://192.168.0.66/WEBS-WMS/WebService1.asmx";               //四维尔   å†…网
        //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS-TEST/WebService1.asmx";  //四维尔测试
        //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx";        //韩电    å¤–网JIT(不用)
@@ -24,7 +24,7 @@
        //public static string WEBSURL = "http://192.192.192.13/WMSWEBS/WebService1.asmx";              //卓力
        //public static string WEBSURL = "http://120.195.29.36:1230/WEBS-WMS/WebService1.asmx";         //江苏龙亨
        //public static string WEBSURL = "http://192.168.63.139/WEBS-WMS/WebService1.asmx";
        public static string WEBSURL = "http://192.168.2.18/WEBS-WMS/WebService1.asmx";              //公司台式机
        //public static string WEBSURL = "http://192.168.2.18/WEBS-WMS/WebService1.asmx";              //公司台式机
        //public static string WEBSURL = "http://192.168.0.108/WEBS-WMS/WebService1.asmx";              //å®¶
        public static long HOrgID = 0;
        public static string HOrgNumber = "";
SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill.cs
@@ -211,6 +211,7 @@
            }
            //
            cmbSourceBillType.Items.Add("生产订单");
            cmbSourceBillType.Items.Add("生产汇报单");
            cmbSourceBillType.Items.Add("采购订单");
            cmbSourceBillType.Items.Add("收料通知单");
            cmbSourceBillType.Items.Add("委外订单");
@@ -2641,6 +2642,15 @@
                    FillSelectData(oIFCLD_ICMOList.oBillSelectColl);
                }
            }
            else if (cmbSourceBillType.Text.Trim() == "生产汇报单")
            {
                sWhere = " and HOrgID =" + sHOrgID.ToString();
                SCM.Cls_S_IF_ICMOReportBillList oIF_ICMOReportBillList = new SCM.Cls_S_IF_ICMOReportBillList();
                if (oIF_ICMOReportBillList.Refresh(sWhere))  //选择原单
                {
                    FillSelectData(oIF_ICMOReportBillList.oBillSelectColl);
                }
            }
            else if (cmbSourceBillType.Text.Trim() == "收料通知单")
            {
                sWhere = " and HOrgID =" + sHOrgID.ToString();
@@ -2708,6 +2718,16 @@
                    //写入信息
                    Sub_WriteInForm(Ds.Tables[0], i);
                }
                //生产汇报单
                if (oSelectRow.BillType == "3711")
                {
                    grdMain.Rows.Add();
                    grdMain.Rows[i].Cells[HTagCol].Value = "*";
                    //得到信息
                    Ds = oWeb.getDataSetBySQL("select * from h_v_IF_ICMOReportList where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_IF_ICMOReportList", ref DBUtility.ClsPub.sExeReturnInfo);
                    //写入信息
                    Sub_WriteInForm1(Ds.Tables[0], i);
                }
                //收料通知单
                if (oSelectRow.BillType == "1103")
                {
SCM/Ô´µ¥/Cls_S_IF_ICMOReportBillList.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_ICMOReportBillList : Cls_S_Xt_BaseBill
    {
        public Cls_S_IF_ICMOReportBillList()
        {
            base.ViewName = "h_v_IF_ICMOReportBillList_Source";
            base.mvarReportTitle = "生产汇报单";
            base.mvarItemKey = "3711";
            base.sCondtion = "  ";
            base.sOrderSql = "   order by å•据号 desc,HSubID  ";
            base.sKeyCol = "部门";
        }
    }
}