Просмотр исходного кода

commit -m 二手訂單增加返佣訂單

zhengjinyi 3 лет назад
Родитель
Сommit
8a1cb56c17
1 измененных файлов с 7 добавлено и 3 удалено
  1. 7 3
      pages/seller/order/create-order.vue

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

@@ -5,10 +5,15 @@
 		<!-- 商品 -->
 		<seller-goodsList ref='goods' v-if="isRequest" :goodsData="goodsData" @handleGoodList="handChangeInputGoodsList"></seller-goodsList>
 		<!-- 返佣订单 -->
-		<view class="Rebate" @click="RebateChang" v-if="goodsData.length==1 && secondflag">
+		<view class="Rebate" @click="handleSecondFlag" v-if="goodsData.length==1 && secondflag">
 			<text class="rebate-title">返佣订单</text>
 			<text class="iconfont" :class="rebatecheck?'icon-yixuanze':'icon-weixuanze'" ></text>
 		</view>
+		<!-- 返佣订单 -->
+		<view class="Rebate" @click="handleSecondFlag" v-if="!secondflag">
+			<text class="rebate-title">二手返佣订单</text>
+			<text class="iconfont" :class="rebatecheck?'icon-yixuanze':'icon-weixuanze'" ></text>
+		</view>
 		<!-- 发票信息 -->
 		<seller-invoice ref="invoice" 
 						v-if="isRequest" 
@@ -540,7 +545,7 @@
 					this.$util.msg(error.msg,2000)
 				})
 			},
-			RebateChang(){//  返佣订单勾选
+			handleSecondFlag(){// 返佣订单勾选
 				this.rebatecheck = !this.rebatecheck
 				if(this.rebatecheck){
 					this.ischecked = false
@@ -569,7 +574,6 @@
 					this.orderShouldPayFee = this.allPrice + parseInt(this.freightData.postage) - this.couponAmount
 				}
 			},
-			
 			handFreightAlertShow(){//显示邮费弹窗
 				this.isfreightTip = true
 			},