合同列表提交,获取合同清单定额的金额失败
This commit is contained in:
parent
96ac2155d3
commit
34a9b6dfed
|
@ -52,6 +52,11 @@ public class ContractOPPlugin extends AbstractOperationServicePlugIn {
|
||||||
try {
|
try {
|
||||||
//合同监控列表点击提交会提示找不到:qeug_invoiceentryinfo属性
|
//合同监控列表点击提交会提示找不到:qeug_invoiceentryinfo属性
|
||||||
invoiceentryinfos = dataEntity.getDynamicObjectCollection("qeug_invoiceentryinfo");
|
invoiceentryinfos = dataEntity.getDynamicObjectCollection("qeug_invoiceentryinfo");
|
||||||
|
if (!invoiceentryinfos.isEmpty()) {
|
||||||
|
for (DynamicObject invoiceentryinfo : invoiceentryinfos) {
|
||||||
|
BigDecimal qeug_amount = invoiceentryinfo.getBigDecimal("qeug_amount");
|
||||||
|
}
|
||||||
|
}
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(),"recon_contractbill");
|
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(),"recon_contractbill");
|
||||||
invoiceentryinfos = dataEntity.getDynamicObjectCollection("qeug_invoiceentryinfo");
|
invoiceentryinfos = dataEntity.getDynamicObjectCollection("qeug_invoiceentryinfo");
|
||||||
|
|
Loading…
Reference in New Issue