1.取消佣金汇率计算
This commit is contained in:
25655 2025-03-18 11:30:34 +08:00
parent ea5dd8a01a
commit 29f2f350e0

View File

@ -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);