fix:
1.取消佣金汇率计算
This commit is contained in:
parent
ea5dd8a01a
commit
29f2f350e0
@ -344,19 +344,19 @@ public class SalesOrderEdit extends AbstractBillPlugIn implements Plugin, Before
|
||||
}
|
||||
break;
|
||||
//计算佣金汇率
|
||||
case "yem_cncurrency":
|
||||
this.getModel().setValue("yem_cnexrate", null);
|
||||
case "yem_currencybase":
|
||||
case "org":
|
||||
case "yem_exratedate":
|
||||
case "yem_exratetable":
|
||||
if (org != null && cncurrency != null && currencybase != null && exratetable != null) {
|
||||
BigDecimal exchangeRate = CommonUtils.getExchangeRate(exratetable.getLong("id"), cncurrency.getLong("id"), currencybase.getLong("id"),
|
||||
org.getLong("id"), exratedate);
|
||||
this.getModel().setValue("yem_cnexrate", exchangeRate);
|
||||
|
||||
}
|
||||
break;
|
||||
// case "yem_cncurrency":
|
||||
// this.getModel().setValue("yem_cnexrate", null);
|
||||
// case "yem_currencybase":
|
||||
// case "org":
|
||||
// case "yem_exratedate":
|
||||
// case "yem_exratetable":
|
||||
// if (org != null && cncurrency != null && currencybase != null && exratetable != null) {
|
||||
// BigDecimal exchangeRate = CommonUtils.getExchangeRate(exratetable.getLong("id"), cncurrency.getLong("id"), currencybase.getLong("id"),
|
||||
// org.getLong("id"), exratedate);
|
||||
// this.getModel().setValue("yem_cnexrate", exchangeRate);
|
||||
//
|
||||
// }
|
||||
// break;
|
||||
case "yem_fundusetype":
|
||||
// 资金使用类型字段切换时,清空 配件客商/借记额度
|
||||
this.getModel().setValue("yem_debitamount", null);
|
||||
|
Loading…
Reference in New Issue
Block a user