This commit is contained in:
cun-nan 2024-07-30 14:11:24 +08:00
parent 6bc0df62eb
commit aed2ff5efc
2 changed files with 10 additions and 5 deletions

View File

@ -239,8 +239,8 @@ export default {
this.getStoreTotal()
this.selectChildByDeptIdApi()
// this.getStoreAmount()
this.value = this.deptId
this.chooseDept()
// this.value = this.deptId
// this.chooseDept()
this.selectBannerList()
let start = new Date();
start.setHours(0)
@ -321,6 +321,9 @@ export default {
selectChildByDeptIdApi() {
selectChildByDeptId().then(res => {
this.options = res.data
this.value = this.deptId
this.chooseDept()
})
},
getStoreTotal(){

View File

@ -244,9 +244,9 @@ export default {
this.value1 = [parseTime(oneWeekAgo),parseTime(nowDate)]
this.getStoreTotal()
this.selectChildByDeptIdApi()
// this.getStoreAmount()
this.value = this.deptId
this.chooseDept()
// // this.getStoreAmount()
// this.value = this.deptId
// this.chooseDept()
this.selectBannerList()
let start = new Date();
start.setHours(0)
@ -333,6 +333,8 @@ export default {
selectChildByDeptIdApi() {
selectChildByDeptId().then(res => {
this.options = res.data
this.value = this.deptId
this.chooseDept()
})
},
getStoreTotal(){