zhengjinyi 3 rokov pred
rodič
commit
15ba25a5b2

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