出库单事务类型赋值逻辑修改
This commit is contained in:
parent
c36e23b893
commit
d2f7661b2b
|
@ -217,10 +217,10 @@ public class MaterialOutApplyPluginExt extends AbstractBillPlugIn implements Bef
|
||||||
|
|
||||||
protected void carryHeadData(DynamicObject applyBill) {
|
protected void carryHeadData(DynamicObject applyBill) {
|
||||||
this.getModel().beginInit();
|
this.getModel().beginInit();
|
||||||
DynamicObject transType = applyBill.getDynamicObject("transtype");
|
// DynamicObject transType = applyBill.getDynamicObject("transtype");
|
||||||
if (transType != null) {
|
// if (transType != null) {
|
||||||
this.getModel().setValue("transtype", transType.getPkValue());
|
// this.getModel().setValue("transtype", transType.getPkValue());
|
||||||
}
|
// }//二开去除:无需携带上游单据的事务类型至出库单
|
||||||
|
|
||||||
DynamicObject supplier = applyBill.getDynamicObject("supplier");
|
DynamicObject supplier = applyBill.getDynamicObject("supplier");
|
||||||
if (supplier != null) {
|
if (supplier != null) {
|
||||||
|
|
Loading…
Reference in New Issue