入库单结算类型逻辑调整
This commit is contained in:
parent
b745cc37a2
commit
169f777d7a
|
|
@ -22,6 +22,7 @@ public class MaterialoutbillProcbsCkOp extends AbstractOperationServicePlugIn {
|
|||
e.getFieldKeys().add("entryentity");
|
||||
e.getFieldKeys().add("entryentity.procbs");
|
||||
e.getFieldKeys().add("entryentity.zcgj_accounttype");
|
||||
e.getFieldKeys().add("costtype");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -43,7 +44,8 @@ public class MaterialoutbillProcbsCkOp extends AbstractOperationServicePlugIn {
|
|||
ExtendedDataEntity[] extendedDataEntities = this.getDataEntities();
|
||||
for (ExtendedDataEntity extendedDataEntity : extendedDataEntities) {
|
||||
DynamicObject dataEntity = extendedDataEntity.getDataEntity();
|
||||
|
||||
String costtype = dataEntity.getString("costtype");
|
||||
if("a".equals(costtype)){
|
||||
DynamicObjectCollection dynamicObjectCollection = dataEntity.getDynamicObjectCollection("entryentity");
|
||||
int i=0;
|
||||
for (DynamicObject dynamicObject : dynamicObjectCollection) {
|
||||
|
|
@ -62,4 +64,5 @@ public class MaterialoutbillProcbsCkOp extends AbstractOperationServicePlugIn {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue