Browse Source

master
gww 7 years ago
parent
commit
5c0be053e7
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      BWP.B3ButcherManageExport.Web/Pages/B3ButcherManageExport/NC_/StatPayToNc_/StatPayToNcList.cs
  2. +2
    -0
      BWP.B3ButcherManageExport/BL/NC/script/大红门结算单导NC凭证.py

+ 1
- 0
BWP.B3ButcherManageExport.Web/Pages/B3ButcherManageExport/NC_/StatPayToNc_/StatPayToNcList.cs View File

@ -84,6 +84,7 @@ namespace BWP.Web.Pages.B3ButcherManageExport.NC_.StatPayToNc_
AddDFBrowseGridColumn(grid, "AccountingUnit_Name");
AddDFBrowseGridColumn(grid, "Department_Name");
AddDFBrowseGridColumn(grid, "Supplier_Name");
AddDFBrowseGridColumn(grid, "Money");
AddDFBrowseGridColumn(grid, "Employee_Name");
AddDFBrowseGridColumn(grid, "CheckUser_Name");
AddDFBrowseGridColumn(grid, "Remark");


+ 2
- 0
BWP.B3ButcherManageExport/BL/NC/script/大红门结算单导NC凭证.py View File

@ -23,6 +23,8 @@ class BLMethodEvents(BLMethodEventsBase):
voucher2 = NcVoucher();
for dmo in dmos:
if dmo.Money is None or dmo.Money==0:
self.error("结算单No."+str(dmo.ID)+" 金额为0或为空");
voucher2.B2BillIDs.Add(dmo.ID);
statePay = dmos[0];


Loading…
Cancel
Save