编辑默认秒杀时间段为0
This commit is contained in:
parent
3b73d10ba9
commit
941202c180
|
@ -847,7 +847,7 @@ const defaultObj = {
|
||||||
guarantee_template_id: "",
|
guarantee_template_id: "",
|
||||||
delivery_way: [],
|
delivery_way: [],
|
||||||
mer_labels: [],
|
mer_labels: [],
|
||||||
delivery_free: 0,
|
delivery_free: 1,
|
||||||
select_act_date: "",
|
select_act_date: "",
|
||||||
attrValue: [
|
attrValue: [
|
||||||
{
|
{
|
||||||
|
@ -1471,7 +1471,9 @@ export default {
|
||||||
image: info.image,
|
image: info.image,
|
||||||
spike_image: info.image,
|
spike_image: info.image,
|
||||||
slider_image: info.slider_image,
|
slider_image: info.slider_image,
|
||||||
store_name: "【底价秒杀】 " + info.store_name,
|
store_name: this.$route.params.id
|
||||||
|
? info.store_name
|
||||||
|
: "【底价秒杀】 " + info.store_name,
|
||||||
store_info: info.store_info,
|
store_info: info.store_info,
|
||||||
start_day: info.seckillActive ? info.seckillActive.start_day : "",
|
start_day: info.seckillActive ? info.seckillActive.start_day : "",
|
||||||
end_day: info.seckillActive ? info.seckillActive.end_day : "",
|
end_day: info.seckillActive ? info.seckillActive.end_day : "",
|
||||||
|
@ -1509,12 +1511,12 @@ export default {
|
||||||
: "1",
|
: "1",
|
||||||
once_pay_count: info.seckillActive
|
once_pay_count: info.seckillActive
|
||||||
? info.seckillActive.once_pay_count
|
? info.seckillActive.once_pay_count
|
||||||
: "1",
|
: "0",
|
||||||
delivery_way:
|
delivery_way:
|
||||||
info.delivery_way && info.delivery_way.length
|
info.delivery_way && info.delivery_way.length
|
||||||
? info.delivery_way
|
? info.delivery_way
|
||||||
: this.deliveryType,
|
: this.deliveryType,
|
||||||
delivery_free: info.delivery_free ? info.delivery_free : 0,
|
delivery_free: info.delivery_free ? info.delivery_free : 1,
|
||||||
mer_labels:
|
mer_labels:
|
||||||
info.mer_labels && info.mer_labels.length
|
info.mer_labels && info.mer_labels.length
|
||||||
? info.mer_labels.map(Number)
|
? info.mer_labels.map(Number)
|
||||||
|
|
Loading…
Reference in New Issue