Quellcode durchsuchen

commit -m 支付

zhengjinyi vor 3 Jahren
Ursprung
Commit
aa3a71782f
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      pages/user/order/order-pay.vue
  2. 2 2
      services/config.env.js

+ 1 - 1
pages/user/order/order-pay.vue

@@ -171,7 +171,7 @@
 					this.discernReceipt = response.data.discernReceipt 			// 支付记录
 					this.payTotalFee = response.data.order.payTotalFee  		// 订单总额
 					this.receiptAmount = response.data.order.receiptAmount  	// 已付金额
-					this.payableAmount = response.data.order.payableAmount - this.receiptAmount// 已付金额
+					this.payableAmount = (response.data.order.payableAmount*100 - this.receiptAmount*100)/100// 已付金额
 					this.payAmount = this.toFixedFn(this.payableAmount)			// 自定义金额
 					console.log('this.payAmount',this.payAmount)
 					this.balanceAmount = this.payableAmount - this.payAmount	// 计算剩余支付金额

+ 2 - 2
services/config.env.js

@@ -4,8 +4,8 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'http://192.168.2.67:18002'	 //智捷联调地址
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.75:18002'	 //超超联调地址
-    URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'
+    // URL_CONFIG = 'https://core-b.caimei365.com'
+    URL_CONFIG = 'https://core.caimei365.com'
 }else{
     // 生产环境
     // URL_CONFIG = 'https://core-b.caimei365.com'