h5
fanfan 7 months ago
parent db506380f4
commit 7a3be578cb
  1. 4
      pages/goods/components/setPrice.vue
  2. 3
      pages/goods/detail.vue
  3. 3
      pages/goods/seckillDetail.vue

@ -6,6 +6,9 @@
请设置秒杀价
</view>
<view class="priceContainer">
<view class="priceCon">
<text>成本价</text>{{Number(cost_price_min)}}
</view>
<view class="priceCon">
<text>秒杀价</text><input type="text" v-model="secondPrice" class="input"
placeholder="秒杀价格可低于成本价" />
@ -58,6 +61,7 @@
startTime: '',
sec_hour: '',
secondPrice: '',
cost_price_min:'',
secondQuota: false,
quotaNum: '',
fontColor: '#262626',

@ -728,7 +728,8 @@
this.$refs.setRange.sec_hour = item.sec_hour
this.$refs.setRange.secondPrice = item.seckill_price
this.$refs.setRange.secondQuota = item.is_limit == 1 ? true : false
this.$refs.setRange.quotaNum = item.limit_times
this.$refs.setRange.quotaNum = item.limit_times;
this.$refs.setRange.cost_price_min=this.goods.cost_price_min
}
this.$refs.setRange.afterSale = true;

@ -632,7 +632,8 @@
this.$refs.setRange.sec_hour = item.sec_hour
this.$refs.setRange.secondPrice = item.seckill_price
this.$refs.setRange.secondQuota = item.is_limit == 1 ? true : false
this.$refs.setRange.quotaNum = item.limit_times
this.$refs.setRange.quotaNum = item.limit_times;
this.$refs.setRange.cost_price_min=this.goods.cost_price_min
}
this.$refs.setRange.afterSale = true;

Loading…
Cancel
Save