优化入库单

This commit is contained in:
xuhaihui 2025-11-14 15:11:35 +08:00
parent 5432763ef9
commit a3fed09676
2 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ public class MaterialInbPurchaseApplyPlugin extends AbstractBillPlugIn implement
String invoiceTypeIdName = invoiceTypeId.getString("name"); String invoiceTypeIdName = invoiceTypeId.getString("name");
if (!invoiceTypeIdName.contains("")) { if (!invoiceTypeIdName.contains("")) {
this.getModel().setValue("zcgj_invoicetax", BigDecimal.ZERO, rowIndex); this.getModel().setValue("zcgj_invoicetax", BigDecimal.ZERO, rowIndex);
this.getModel().setValue("zcgj_oftaxinvoiceamount", dataEntity.get("zcgj_invoiceamount"), rowIndex); this.getModel().setValue("zcgj_invoiceamount", dataEntity.get("zcgj_oftaxinvoiceamount"), rowIndex);
} }
} }
} }

View File

@ -596,9 +596,9 @@ public class OutContractSettleEditPluginExt extends AbstractBillPlugIn implement
this.getModel().setValue("oftaxamount", BigDecimal.ZERO, 1);//合同支付项-价税合计 this.getModel().setValue("oftaxamount", BigDecimal.ZERO, 1);//合同支付项-价税合计
this.getModel().setValue("amount", BigDecimal.ZERO, 1);//合同支付项-金额 this.getModel().setValue("amount", BigDecimal.ZERO, 1);//合同支付项-金额
this.getModel().deleteEntryRow("itementry", 1); this.getModel().deleteEntryRow("itementry", 1);
return;
} }
} }
return;
} }
this.autoFetch(); this.autoFetch();
this.sumMaterialInAmountToItemEntry(); this.sumMaterialInAmountToItemEntry();