Browse Source

提交订单金额判断修复

zhengjinyi 3 years ago
parent
commit
501b60be22
2 changed files with 3 additions and 3 deletions
  1. 1 1
      pages/user/order/create-order.vue
  2. 2 2
      services/config.env.js

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

@@ -536,7 +536,7 @@
 				console.log('优惠券金额',this.couponAmount)
 			},
 			orderSubmitMit(){// 提交订单按钮点击事件
-				if(this.orderShouldPayFee <1000){
+				if(this.allPrice <1000){
 					this.showModal = true
 					this.contentModalText = '采购金额过小,将扣除500采美豆,建议您前往采美旗下“呵呵商城”小程序购买小额商品。'    //操作文字提示语句
 					this.showModalstauts = 1

+ 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'