Skip to content

Commit

Permalink
修改订单显示错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xiran2018 committed Mar 15, 2020
1 parent 6b486dc commit 3267b4e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 21 deletions.
25 changes: 8 additions & 17 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
<result property="mailfee" column="mailfee"/>
<result property="currencyId" column="currencyId"/>
<result property="currencyrate" column="currencyrate"/>
<result property="productCurrencyRate" column="productCurrencyRate"/>
<result property="usejifen" column="usejifen"/>
<result property="givejifen" column="givejifen"/>
<result property="userip" column="userip"/>
Expand Down
4 changes: 3 additions & 1 deletion WebRoot/jqladmin/order/js/order-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@ function generateXiangXiInfo(order,odsvoList,uinfo,currencyArgs)
//支付总金额
//price
// var tempAmount=od.price*od.ordercount;
productPrice = parseFloat(productPrice)
var tempAmount=productPrice*od.ordercount;
productAmount=productAmount+tempAmount//商品总价格
var tempAmountEx= parseFloat(calculateFeeByExchangeRate(tempAmount,orderCurrencyRate)).toFixed(2)
// var tempAmountEx= parseFloat(calculateFeeByExchangeRate(tempAmount,orderCurrencyRate)).toFixed(2)
var tempAmountEx= parseFloat(tempAmount).toFixed(2)
var tempAmountPrice=orderCurrencyShowSybol+" "+tempAmountEx;//calculateFeeByExchangeRate in math.js
// var tempAmountPrice=orderCurrencyShowSybol+" "+calculateFeeByExchangeRate(tempAmount,orderCurrencyRate);//calculateFeeByExchangeRate in math.js
html+="<td class='amount'>";
Expand Down
4 changes: 3 additions & 1 deletion WebRoot/order/js/order-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,11 @@ function generateXiangXiInfo(order,odsvoList,currencyArgs)
//支付总金额
//price
// var tempAmount=od.price*od.ordercount;
productPrice = parseFloat(productPrice)
var tempAmount=productPrice*od.ordercount;
productAmount=productAmount+tempAmount//商品总价格
var tempAmountEx= parseFloat(calculateFeeByExchangeRate(tempAmount,orderCurrencyRate)).toFixed(2)
// var tempAmountEx= parseFloat(calculateFeeByExchangeRate(tempAmount,orderCurrencyRate)).toFixed(2)
var tempAmountEx= parseFloat(tempAmount).toFixed(2)
var tempAmountPrice=orderCurrencyShowSybol+" "+tempAmountEx;//calculateFeeByExchangeRate in math.js
html+="<td class='amount'>";
html+="<span>"+tempAmountPrice+"</span>";
Expand Down
4 changes: 2 additions & 2 deletions WebRoot/ueditor/ueditor.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* 因此,UEditor提供了针对不同页面的编辑器可单独配置的根路径,具体来说,在需要实例化编辑器的页面最顶部写上如下代码即可。当然,需要令此处的URL等于对应的配置。
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
*/
// var URL = window.UEDITOR_HOME_URL || getUEBasePath();
var URL = "/own/ueditor/";
var URL = window.UEDITOR_HOME_URL || getUEBasePath();
// var URL = "/own/ueditor/";

/**
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
Expand Down
1 change: 1 addition & 0 deletions src/admin/ru/own/www/logic/order/OrderOperateMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
<result property="mailfee" column="mailfee"/>
<result property="currencyId" column="currencyId"/>
<result property="currencyrate" column="currencyrate"/>
<result property="productCurrencyRate" column="productCurrencyRate"/>
<result property="usejifen" column="usejifen"/>
<result property="givejifen" column="givejifen"/>
<result property="userip" column="userip"/>
Expand Down

0 comments on commit 3267b4e

Please sign in to comment.