优化入库单
This commit is contained in:
parent
5432763ef9
commit
a3fed09676
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -596,10 +596,10 @@ 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();
|
||||||
SettleUpdateAmtUtils.calAllTypeAmount(this.getModel());
|
SettleUpdateAmtUtils.calAllTypeAmount(this.getModel());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue