瀏覽代碼

订单模块修改

zhengjinyi 3 年之前
父節點
當前提交
15ba25a5b2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/static/js/shopping/confirm.js

+ 1 - 1
src/main/resources/static/js/shopping/confirm.js

@@ -718,7 +718,7 @@ var shoppingConfirm = new Vue({
             }
             _self.confirmParam.payInfo.postage = parseInt(_self.hanldPostage).toFixed(2);
             _self.confirmParam.payInfo.postageFlag = parseInt(_self.hanldPostageFlag);
-            _self.confirmParam.payInfo.orderShouldPayFee = _self.hanldShouldPayFee.toFixed(2);
+            _self.confirmParam.payInfo.orderShouldPayFee = parseFloat(_self.hanldShouldPayFee).toFixed(2);
             _self.confirmParam.payInfo = JSON.stringify(_self.confirmParam.payInfo);
             _self.confirmParam.orderInfo = JSON.stringify(_self.confirmParam.orderInfo);
             _self.confirmParam.orderInvoice = JSON.stringify(_self.confirmParam.orderInvoice);