Browse Source

装箱单校验功能调整

master
JinH 2 years ago
parent
commit
f747281591
  1. 2
      PDAForm/PDAForm/PDAForm.csproj
  2. 4
      Stone.WinForm/Stone.DataService/Stone.DataService.Biz/Bill/F_STD_Check.cs

2
PDAForm/PDAForm/PDAForm.csproj

@ -698,6 +698,7 @@
</EmbeddedResource>
<EmbeddedResource Include="Bill\VDA\frmBarCodeSelect.resx">
<DependentUpon>frmBarCodeSelect.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Bill\VDA\frmVDA.resx">
<DependentUpon>frmVDA.cs</DependentUpon>
@ -705,6 +706,7 @@
</EmbeddedResource>
<EmbeddedResource Include="Bill\VDA\frmVDACheck.resx">
<DependentUpon>frmVDACheck.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Bill\Verify\frmVerify.resx">
<SubType>Designer</SubType>

4
Stone.WinForm/Stone.DataService/Stone.DataService.Biz/Bill/F_STD_Check.cs

@ -64,8 +64,8 @@ namespace Stone.DataService.Biz.Bill
if (!Convert.ToBoolean(dtVDA.Rows[0]["IsPrintLabel"]))
throw new Exception($"装箱单号 {PackageNo} 未打印");
if (Convert.ToBoolean(dtVDA.Rows[0]["IsPackingVerification"]))
throw new Exception($"装箱单号 {PackageNo} 已经做过装箱校验了");
// if (Convert.ToBoolean(dtVDA.Rows[0]["IsPackingVerification"]))
// throw new Exception($"装箱单号 {PackageNo} 已经做过装箱校验了");
if (dtVDA.Rows[0]["PartNumber"].ToString().Trim().ToUpper() != PartNumber)
{

Loading…
Cancel
Save