diff --git a/BWP.B3ButcherManageExport.Web/Pages/B3ButcherManageExport/NC_/StatPayToNc_/StatPayToNcList.cs b/BWP.B3ButcherManageExport.Web/Pages/B3ButcherManageExport/NC_/StatPayToNc_/StatPayToNcList.cs index 7570778..7d44ac1 100644 --- a/BWP.B3ButcherManageExport.Web/Pages/B3ButcherManageExport/NC_/StatPayToNc_/StatPayToNcList.cs +++ b/BWP.B3ButcherManageExport.Web/Pages/B3ButcherManageExport/NC_/StatPayToNc_/StatPayToNcList.cs @@ -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"); diff --git a/BWP.B3ButcherManageExport/BL/NC/script/大红门结算单导NC凭证.py b/BWP.B3ButcherManageExport/BL/NC/script/大红门结算单导NC凭证.py index 6846a15..4655c59 100644 --- a/BWP.B3ButcherManageExport/BL/NC/script/大红门结算单导NC凭证.py +++ b/BWP.B3ButcherManageExport/BL/NC/script/大红门结算单导NC凭证.py @@ -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];