售卖时间管控
This commit is contained in:
@@ -153,16 +153,16 @@ export default {
|
|||||||
},
|
},
|
||||||
show(obj) {
|
show(obj) {
|
||||||
if (obj && obj.id) {
|
if (obj && obj.id) {
|
||||||
console.log(obj, '调试1')
|
|
||||||
this.form = obj
|
this.form = obj
|
||||||
this.form.id = obj.id
|
this.form.id = obj.id
|
||||||
this.form.isShow = obj.isShow
|
this.form.isShow = obj.isShow
|
||||||
this.form.name = obj.name
|
this.form.name = obj.name
|
||||||
this.form.sort = obj.sort
|
this.form.sort = obj.sort
|
||||||
this.form.productIds = obj.productIds
|
this.form.productIds = obj.productIds
|
||||||
|
if (obj.saleStartTime != null) {
|
||||||
this.$set(this.form, 'saleTime', [obj.saleStartTime, obj.saleEndTime])
|
this.$set(this.form, 'saleTime', [obj.saleStartTime, obj.saleEndTime])
|
||||||
|
}
|
||||||
this.getProduts()
|
this.getProduts()
|
||||||
console.log(this.form, '调试1')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
|
|||||||
Reference in New Issue
Block a user