Commit b8010d2a by caoyanzhi

update: 更新

parent d7ad7e4a
...@@ -413,11 +413,6 @@ export default { ...@@ -413,11 +413,6 @@ export default {
} }
}, },
mounted() { mounted() {
let that = this;
that.activeBrand = that.brandId;
if (!!that.brandId) {
that.getTableList();
}
let start = new Date(); let start = new Date();
start = new Date(start.setMonth(start.getMonth() - 3)); start = new Date(start.setMonth(start.getMonth() - 3));
const end = new Date(); const end = new Date();
...@@ -440,6 +435,11 @@ export default { ...@@ -440,6 +435,11 @@ export default {
.padStart(2, '0') .padStart(2, '0')
); );
this.conditionObj.dateRange = [startDate.join('-'), endDate.join('-')]; this.conditionObj.dateRange = [startDate.join('-'), endDate.join('-')];
let that = this;
that.activeBrand = that.brandId;
if (!!that.brandId) {
that.getTableList();
}
}, },
components: { components: {
multipleDel, multipleDel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment