zhengjinyi пре 3 година
родитељ
комит
5429a53885
1 измењених фајлова са 7 додато и 2 уклоњено
  1. 7 2
      pages/seller/order/create-order.vue

+ 7 - 2
pages/seller/order/create-order.vue

@@ -475,8 +475,13 @@
 				console.log('优惠券金额',this.couponAmount)
 			},
 			orderSubmitMit(){//提交订单
-				this.modal = true
-				this.contentModalText = '请仔细确认订单是否为返佣订单后再提交订单'
+				console.log('secondflag',this.secondflag)
+				if(this.secondflag){
+					this.modal = true
+					this.contentModalText = '请仔细确认订单是否为返佣订单后再提交订单'
+				}else{
+					this.SellerCreateOrderSubmit()
+				}
 			},
 			handleClick(e){
 				//确认提交