出库单优化仓库字段清空逻辑
This commit is contained in:
parent
37cf044f44
commit
c984723eab
|
@ -73,7 +73,10 @@ public class MaterialOutBillPlugin extends AbstractBillPlugIn implements BeforeF
|
|||
Object newValue = changeData.getNewValue();//新值
|
||||
if (newValue != null) {
|
||||
DynamicObject warehouse = (DynamicObject) newValue;
|
||||
this.getModel().setValue("zcgj_fiorg", warehouse.get("org"));
|
||||
this.getModel().setValue("zcgj_fiorg", warehouse.get("org"));//核算组织
|
||||
}else {
|
||||
this.getModel().setValue("zcgj_fiorg", null);//清空核算组织字段
|
||||
this.getModel().setValue("project", null);//清空项目字段
|
||||
}
|
||||
} else if ("zcgj_fiorg".equals(key)) {
|
||||
//核算组织
|
||||
|
|
Loading…
Reference in New Issue