fix:
1.外销合同获取标准价按钮生成数据更改问题处理
This commit is contained in:
parent
da7aa098ab
commit
c6b75c4d8e
@ -420,9 +420,9 @@ public class SalesOrderZJEdit extends AbstractBillPlugIn implements Plugin, Befo
|
||||
case "yem_singlenumber":
|
||||
ZJUtils.countCostSumAmountZJ(model);//
|
||||
break;
|
||||
// case "yem_marketraisepribase":
|
||||
// ClientUtils.countStandardSales(model);
|
||||
// break;
|
||||
case "yem_marketraisepribase":
|
||||
ClientUtils.countStandardSales(model);
|
||||
break;
|
||||
case "yem_giftcurrency":
|
||||
countGiftRate();
|
||||
break;
|
||||
|
@ -1950,6 +1950,7 @@ public class ClientUtils {
|
||||
// if (!isFCAPriceItem(model, idx)) {
|
||||
// return;
|
||||
// }
|
||||
String string = model.getDataEntityType().getName();
|
||||
|
||||
DynamicObject dataEntity = model.getDataEntity(true);
|
||||
DynamicObjectCollection c = dataEntity.getDynamicObjectCollection("yem_es_materialinfo");
|
||||
@ -1971,6 +1972,15 @@ public class ClientUtils {
|
||||
int rowCount = model.getEntryRowCount("yem_es_materialinfo");
|
||||
for (int i = 0; i < rowCount; i++) {
|
||||
DynamicObject d = c.get(i);
|
||||
if (string.equals("yem_es_xsalesorder")){
|
||||
String yemLinetype = d.getString("yem_linetype");
|
||||
if (!"add".equals(yemLinetype)){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (!"Z".equals(d.getString("yem_businesssort"))){
|
||||
continue;
|
||||
}
|
||||
DynamicObjectCollection subC = d.getDynamicObjectCollection("yem_multiconfig");
|
||||
BigDecimal sumAmt = BigDecimal.ZERO;
|
||||
for (DynamicObject sub : subC) {
|
||||
|
Loading…
Reference in New Issue
Block a user