lilei 6 months ago
parent
commit
2bb54a1d84

+ 8 - 5
pagesB/procureOrder/creatOrder.vue

@@ -162,17 +162,20 @@
 			settlement(){
 				if(this.totalAmount>0){
 					 if(this.hasPay && this.minPayAmount>this.totalAmount){
-					 	uni.showToast({
-					 		title: '支付金额不能小于'+this.minPayAmount+'元!',
-					 		icon: 'none'
-					 	})
+					 	uni.showModal({
+							content: '支付金额不能小于'+this.minPayAmount+'元!',
+							showCancel:false,
+							confirmText:'知道了'
+						})
 					 }else{
 						this.submitOrder()
 					 }
 				}else{
 					uni.showToast({
 						title: '请选择产品',
-						icon: 'none'
+						icon: 'none',
+						mask: true,
+						duration: 3000
 					})
 				}
 			},

+ 4 - 3
pagesB/procureOrder/orderDetail.vue

@@ -371,9 +371,10 @@
 		 // 立即支付
 		 payOrder(item){
 			if(item.totalAmount<this.minPayAmount){
-				uni.showToast({
-					title: '支付金额不能小于'+this.minPayAmount+'元!',
-					icon: 'none'
+				uni.showModal({
+					content: '支付金额不能小于'+this.minPayAmount+'元!',
+					showCancel:false,
+					confirmText:'知道了'
 				})
 				return
 			}

+ 4 - 3
pagesB/procureOrder/orderList.vue

@@ -278,9 +278,10 @@
 			payOrder(item){
 				const _this = this
 				if(item.totalAmount<this.minPayAmount){
-					uni.showToast({
-						title: '支付金额不能小于'+this.minPayAmount+'元!',
-						icon: 'none'
+					uni.showModal({
+						content: '支付金额不能小于'+this.minPayAmount+'元!',
+						showCancel:false,
+						confirmText:'知道了'
 					})
 					return
 				}

+ 8 - 6
pagesB/shopiing/productDetail.vue

@@ -461,9 +461,10 @@
 						toAuthStore()
 					}else{
 						if(this.detail.status==0 || this.detail.dealerScopeFlag==0){
-							uni.showToast({
-								title: '此商品已'+(this.detail.status==0?'下架':'售罄'),
-								icon: 'none'
+							uni.showModal({
+								content: '此商品已'+(this.detail.status==0?'下架':'售罄'),
+								showCancel:false,
+								confirmText:'知道了'
 							})
 						}else{
 							// 打开数量选择弹框
@@ -471,9 +472,10 @@
 								this.showPopu = true
 							}else{
 								if(this.hasPay && this.minPayAmount>this.payAmount){
-									uni.showToast({
-										title: '支付金额不能小于'+this.minPayAmount+'元!',
-										icon: 'none'
+									uni.showModal({
+										content: '支付金额不能小于'+this.minPayAmount+'元!',
+										showCancel:false,
+										confirmText:'知道了'
 									})
 								}else{
 									// 去结算生产订单