router/index.js
This commit is contained in:
@@ -395,7 +395,7 @@ export const constantRoutes = [{
|
|||||||
path: '/orderreserve/subBranch',
|
path: '/orderreserve/subBranch',
|
||||||
component: () =>
|
component: () =>
|
||||||
import('@/views/orderreserve/subBranch.vue'),
|
import('@/views/orderreserve/subBranch.vue'),
|
||||||
name: 'subBranch',
|
name: 'OrderreserveSubBranch',
|
||||||
meta: {
|
meta: {
|
||||||
title: '支行配货统计'
|
title: '支行配货统计'
|
||||||
}
|
}
|
||||||
@@ -404,7 +404,7 @@ export const constantRoutes = [{
|
|||||||
path: '/orderreserve/allDistributionCount',
|
path: '/orderreserve/allDistributionCount',
|
||||||
component: () =>
|
component: () =>
|
||||||
import('@/views/orderreserve/allDistributionCount.vue'),
|
import('@/views/orderreserve/allDistributionCount.vue'),
|
||||||
name: 'allDistributionCount',
|
name: 'OrderreserveAllDistributionCount',
|
||||||
meta: {
|
meta: {
|
||||||
title: '总配货统计'
|
title: '总配货统计'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -147,21 +147,27 @@
|
|||||||
this.$refs['btnbar'].setButtonList(this.btnList)
|
this.$refs['btnbar'].setButtonList(this.btnList)
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getAllStore()
|
this.initBank()
|
||||||
// this.loadList()
|
this.initStore()
|
||||||
this.getBankList()
|
this.initBrand()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 改变单行蓝色和绿色
|
initBank() {
|
||||||
cell({
|
reqBank.listBankAll()
|
||||||
row,
|
.then(resp => {
|
||||||
column,
|
this.bankList = resp.data
|
||||||
rowIndex,
|
})
|
||||||
columnIndex
|
},
|
||||||
}) {
|
initStore() {
|
||||||
if (columnIndex == 3) {
|
reqBank.listStoreOfBank(this.page.params.bankSid)
|
||||||
return 'padding: 0px'
|
.then(resp => {
|
||||||
}
|
this.storeList = resp.data
|
||||||
|
})
|
||||||
|
},
|
||||||
|
initBrand() {
|
||||||
|
reqMall.listAllBrand().then(resp => {
|
||||||
|
this.brandList = resp.data
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 搜索条件效果
|
// 搜索条件效果
|
||||||
clicksearchShow() {
|
clicksearchShow() {
|
||||||
@@ -184,47 +190,15 @@
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectTime1(val) {
|
|
||||||
console.log('selectTime1:', val)
|
|
||||||
this.page.params.startDate = val
|
|
||||||
},
|
|
||||||
selectTime2(val) {
|
|
||||||
console.log('selectTime2:', val)
|
|
||||||
this.page.params.endDate = val
|
|
||||||
},
|
|
||||||
|
|
||||||
giftPackSelect(val) {
|
|
||||||
console.log('>>>>>>>>>giftPackSelect', val)
|
|
||||||
this.page.params.store = val
|
|
||||||
},
|
|
||||||
|
|
||||||
getBankList() {
|
|
||||||
req2.bankSelect()
|
|
||||||
.then(resp => {
|
|
||||||
console.log('>>>>>>>>>getBankList', resp.data)
|
|
||||||
this.bankList = resp.data
|
|
||||||
})
|
|
||||||
.catch(() => {})
|
|
||||||
},
|
|
||||||
bankSelect(val) {
|
bankSelect(val) {
|
||||||
console.log('>>>>>>>>>bankSelect', val)
|
console.log('>>>>>>>>>bankSelect', val)
|
||||||
this.page.params.bankSid = val
|
this.page.params.bankSid = val
|
||||||
|
this.page.params.store = ''
|
||||||
|
this.initStore()
|
||||||
},
|
},
|
||||||
cardTypeSelect(val) {
|
|
||||||
console.log('>>>>>>>>>cardTypeSelect', val)
|
|
||||||
this.page.params.cardType = val
|
|
||||||
},
|
|
||||||
getAllStore() {
|
|
||||||
req.getAllStore().then((resp) => {
|
|
||||||
if (resp.success) {
|
|
||||||
this.giftPackList = resp.data
|
|
||||||
}
|
|
||||||
}).catch(() => {})
|
|
||||||
},
|
|
||||||
|
|
||||||
loadList() {
|
loadList() {
|
||||||
this.tableLoading = true
|
this.tableLoading = true
|
||||||
req.distributionList(this.page).then((resp) => {
|
req.pageOfCustomer(this.page).then((resp) => {
|
||||||
this.tableLoading = false
|
this.tableLoading = false
|
||||||
if (resp.success) {
|
if (resp.success) {
|
||||||
const data = resp.data
|
const data = resp.data
|
||||||
|
|||||||
Reference in New Issue
Block a user