|
@@ -93,7 +93,7 @@
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
<a-col :md="4" :sm="24">采购数量:{{ (totalData && (totalData.totalbuyAmount || totalData.totalbuyAmount==0)) ? totalData.totalbuyAmount : '--' }}</a-col>
|
|
<a-col :md="4" :sm="24">采购数量:{{ (totalData && (totalData.totalbuyAmount || totalData.totalbuyAmount==0)) ? totalData.totalbuyAmount : '--' }}</a-col>
|
|
<a-col :md="4" :sm="24">库存数量:{{ (totalData && (totalData.totalstoreAmount || totalData.totalstoreAmount==0)) ? totalData.totalstoreAmount: '--' }}</a-col>
|
|
<a-col :md="4" :sm="24">库存数量:{{ (totalData && (totalData.totalstoreAmount || totalData.totalstoreAmount==0)) ? totalData.totalstoreAmount: '--' }}</a-col>
|
|
- <a-col :md="4" :sm="24">已售出数量:{{ (totalData && (totalData.sellAmount || totalData.sellAmount==0)) ?totalData.sellAmount: '--' }}</a-col>
|
|
|
|
|
|
+ <a-col :md="4" :sm="24">已售出数量:{{ (totalData && (totalData.totalsellAmount || totalData.totalsellAmount==0)) ?totalData.totalsellAmount: '--' }}</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
</template>
|
|
</template>
|
|
</s-table>
|
|
</s-table>
|
|
@@ -111,7 +111,7 @@ import subarea from '@/views/common/subarea.js'
|
|
import AreaList from '@/views/common/areaList.js'
|
|
import AreaList from '@/views/common/areaList.js'
|
|
import BizUser from '@/views/common/bizUser.js'
|
|
import BizUser from '@/views/common/bizUser.js'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
-import { querySaleDealercount, reportSalesBillExport, querybyDealerList } from '@/api/reportData'
|
|
|
|
|
|
+import { querySaleDealercount, excelSaleOnlineExport, querybyDealerList } from '@/api/reportData'
|
|
export default {
|
|
export default {
|
|
name: 'TireSalesDealerList',
|
|
name: 'TireSalesDealerList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
@@ -247,28 +247,14 @@ export default {
|
|
// 导出
|
|
// 导出
|
|
handleExport () {
|
|
handleExport () {
|
|
const _this = this
|
|
const _this = this
|
|
- this.$refs.ruleForm.validate(valid => {
|
|
|
|
- if (valid) {
|
|
|
|
- const params = _this.queryParam
|
|
|
|
- _this.$store.state.app.curActionPermission = 'B_salesOrderTotalExport'
|
|
|
|
- _this.showExport = true
|
|
|
|
- _this.exportLoading = true
|
|
|
|
- _this.spinning = true
|
|
|
|
- hdExportExcel(reportSalesBillExport, params, '轮胎销售报表(经销商)', function () {
|
|
|
|
- _this.exportLoading = false
|
|
|
|
- _this.spinning = false
|
|
|
|
- _this.$store.state.app.curActionPermission = ''
|
|
|
|
- })
|
|
|
|
- } else {
|
|
|
|
- return false
|
|
|
|
- }
|
|
|
|
|
|
+ const params = _this.queryParam
|
|
|
|
+ _this.exportLoading = true
|
|
|
|
+ _this.spinning = true
|
|
|
|
+ hdExportExcel(excelSaleOnlineExport, params, '轮胎销售报表(经销商)', function () {
|
|
|
|
+ _this.exportLoading = false
|
|
|
|
+ _this.spinning = false
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- filterOption (input, option) {
|
|
|
|
- return (
|
|
|
|
- option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
- )
|
|
|
|
- },
|
|
|
|
pageInit () {
|
|
pageInit () {
|
|
const _this = this
|
|
const _this = this
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|