Compare commits

...

2 Commits

Author SHA1 Message Date
xuhaihui e3906e5d15 标记 2025-07-28 17:15:47 +08:00
xuhaihui d2f7661b2b 出库单事务类型赋值逻辑修改 2025-07-28 16:55:17 +08:00
2 changed files with 1381 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) {