From a0a2d583c5a64d196e68e1f636be7b424ea3a4a6 Mon Sep 17 00:00:00 2001 From: lihongji <3117313295@qq.com> Date: 星期一, 19 八月 2024 15:04:48 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl index a26e3e5..40473ab 100644 --- a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl +++ b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl @@ -37,8 +37,7 @@ //鏌ヨ瀵瑰簲鐨勫彂鍔ㄦ満鎴愭湰 enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Generation() = product.Generation() and engine.MLB_MQB() = product.MQBMLB() - and engine.Factory() = ccunit - and exists( productparents, Elements, e, e.ID() = engine.Product() ) ); + and engine.Factory() = ccunit ); if( not isnull( enginecost ) ){ products.Add( product ); traverse( row, FinancialProductionCell, cell, cell.Value() <> '0' ){ @@ -64,8 +63,7 @@ //鏌ヨ瀵瑰簲鐨勫彂鍔ㄦ満鎴愭湰 enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Generation() = product.Generation() and engine.MLB_MQB() = product.MQBMLB() - and engine.Factory() = ccunit - and exists( productparents, Elements, e, e.ID() = engine.Product() ) ); + and engine.Factory() = ccunit ); if( not isnull( enginecost ) ){ products.Add( product ); traverse( row, FinancialSalesCell, cell, cell.Value() <> '0' ){ @@ -102,8 +100,7 @@ //鍦ㄥ彂鍔ㄦ満鎴愭湰鍙傛暟琛ㄦ壘鍒板搴旂殑鍖呰瀹归噺 enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Generation() = product.Generation() and engine.MLB_MQB() = product.MQBMLB() - and engine.Factory() = ccunit - and exists( productparents, Elements, e, e.ID() = engine.Product() ) ); + and engine.Factory() = ccunit ); //鍦ㄨ繍杈撴垚鏈弬鏁拌〃閲屾壘鍒板彂鍔ㄦ満瀵瑰簲杩愯緭鍗曚环鍜岃杞藉閲� transcost := selectobject( owner, LogisticsCostTransport, trans, trans.Origin() = ccline and trans.Destination() = ccrent @@ -134,8 +131,7 @@ //鏌ヨ瀵瑰簲鐨勫彂鍔ㄦ満鎴愭湰 enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Generation() = product.Generation() and engine.MLB_MQB() = product.MQBMLB() - and engine.Factory() = ccunit - and exists( productparents, Elements, e, e.ID() = engine.Product() ) ); + and engine.Factory() = ccunit ); if( not isnull( enginecost ) ){ products.Add( product ); //褰損roduct planning鐨勬棩鏈熷尯闂村湪闇�瑕佺殑鏃ユ湡鍖洪棿鍐� -- Gitblit v1.9.3