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

View File

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