Commit a91d77ad by 匡雅琴

样式调整

1 parent 94e4778c
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
name: 'purchaseamount', name: 'purchaseamount',
hasIcon: '¥', hasIcon: '¥',
type: 'number', type: 'number',
width: '3.1vw' width: '4.5vw'
} }
] ]
} }
......
...@@ -108,7 +108,6 @@ export default { ...@@ -108,7 +108,6 @@ export default {
}, },
methods: { methods: {
async init() { async init() {
console.log(222);
this.tabObject = this.$route.query this.tabObject = this.$route.query
const { year } = this.$route.query const { year } = this.$route.query
this.defaultYear = year this.defaultYear = year
...@@ -124,7 +123,6 @@ export default { ...@@ -124,7 +123,6 @@ export default {
// 获取门店的商品采购占比(商城、自采) // 获取门店的商品采购占比(商城、自采)
getMerchantGoodsRatio(merchantid) { getMerchantGoodsRatio(merchantid) {
this.api.solar.getMerchantGoodsRatio({ year: this.$store.state.app.solarYear, MerchantId: merchantid }).then(res => { this.api.solar.getMerchantGoodsRatio({ year: this.$store.state.app.solarYear, MerchantId: merchantid }).then(res => {
console.log(res)
if (!res.code === '0') { if (!res.code === '0') {
this.openMessage('获取门店商品采购占比失败') this.openMessage('获取门店商品采购占比失败')
return return
...@@ -178,7 +176,6 @@ export default { ...@@ -178,7 +176,6 @@ export default {
return new Promise(resolve => { return new Promise(resolve => {
let _merchantList let _merchantList
this.api.solar.getAllRanking({ year: this.$store.state.app.solarYear }).then(res => { this.api.solar.getAllRanking({ year: this.$store.state.app.solarYear }).then(res => {
console.log(res, '000')
if (!res.code === '0') { if (!res.code === '0') {
this.openMessage('获取商品采购额排名失败') this.openMessage('获取商品采购额排名失败')
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!