出库单事务类型赋值逻辑修改

This commit is contained in:
xuhaihui 2025-07-28 16:55:17 +08:00
parent c36e23b893
commit d2f7661b2b
1 changed files with 4 additions and 4 deletions

View File

@ -217,10 +217,10 @@ public class MaterialOutApplyPluginExt extends AbstractBillPlugIn implements Bef
protected void carryHeadData(DynamicObject applyBill) {
this.getModel().beginInit();
DynamicObject transType = applyBill.getDynamicObject("transtype");
if (transType != null) {
this.getModel().setValue("transtype", transType.getPkValue());
}
// DynamicObject transType = applyBill.getDynamicObject("transtype");
// if (transType != null) {
// this.getModel().setValue("transtype", transType.getPkValue());
// }//二开去除无需携带上游单据的事务类型至出库单
DynamicObject supplier = applyBill.getDynamicObject("supplier");
if (supplier != null) {