yxj
1 天以前 e376ae7ff7dc914a91032a9e5954fca28b20287d
直接调拨免扫物料条码上传方法修改,条码状态更新导入模块优化
3个文件已修改
22 ■■■■■ 已修改文件
LMES/LMES.csproj 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/数据导入/Gy_DataIn_UpDateBarCodeStatus.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/条码管理/WEBSController.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LMES/LMES.csproj
@@ -91,6 +91,10 @@
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
    <Reference Include="WebAPI, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bin\x86\Debug\WebAPI.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="ClsShowMod.cs" />
WarM/Êý¾Ýµ¼Èë/Gy_DataIn_UpDateBarCodeStatus.cs
@@ -69,11 +69,15 @@
                HBarCodeStatus = DBUtility.ClsPub.isStrNull(grdmain.Rows[i].Cells[sHBarCodeStatusCol].Value);
                //必填项判断
                if (HBarCode == "")
                {
                    sHRemark = sHRemark + "第" + DBUtility.ClsPub.isStrNull(i + 1) + "行,条码编号不能为空!";
                }
                else
                //if (HBarCode == "")
                //{
                //    sHRemark = sHRemark + "第" + DBUtility.ClsPub.isStrNull(i + 1) + "行,条码编号不能为空!";
                //}
                //else
                //{
                //    b = true;
                //}
                if (HBarCode != "")
                {
                    b = true;
                }
@@ -222,7 +226,7 @@
            }
            OpenExcelFile.Title = "Open Excel File  ";
            OpenExcelFile.FileName = "";
            OpenExcelFile.Filter = "Microsoft Office Excel Files(*.xls)|*.xls";
            OpenExcelFile.Filter = "Microsoft Office Excel Files(*.xls;*.xlsx)|*.xls;*.xlsx";
            OpenExcelFile.ShowDialog();
            if (OpenExcelFile.FileName != "")
            {
WebAPI/Controllers/ÌõÂë¹ÜÀí/WEBSController.cs
@@ -3954,7 +3954,7 @@
                    //数量与源单数量不一致时,更新条码出入库临时表 HQty å­—段值
                    if (item.HQty != item.HQtyMust)
                    {
                        oCn.RunProc("Update KF_PonderationBillMain_Temp set HQty=" + item.HQty.ToString() + " where HInterID= " + websLsmain.HInterID.ToString() + " and HBillType='" + websLsmain.HBillType + "' and HSourceInterID= " + item.HSourceInterID.ToString() + " and HSourceEntryID= " + item.HSourceEntryID.ToString());
                        oCn.RunProc("Update KF_PonderationBillMain_Temp set HQty2=" + item.HQty.ToString() + " where HInterID= " + websLsmain.HInterID.ToString() + " and HBillType='" + websLsmain.HBillType + "' and HSourceInterID= " + item.HSourceInterID.ToString() + " and HSourceEntryID= " + item.HSourceEntryID.ToString());
                    }
                }