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