|
|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="check-page">
|
|
|
|
|
<a-button type="primary" @click="exportStock" class="export-all">
|
|
|
|
|
导出全部巷道
|
|
|
|
|
导出巷道盘点数据
|
|
|
|
|
</a-button>
|
|
|
|
|
<div class="title-info">
|
|
|
|
|
<span class="explain">颜色说明:</span>
|
|
|
|
|
@ -131,6 +131,7 @@ export default {
|
|
|
|
|
this.$set(this.data,i,res.data[i])
|
|
|
|
|
}
|
|
|
|
|
this.select = res.data[0].id
|
|
|
|
|
this.selectName = res.data[0].name
|
|
|
|
|
//this.$set(this.select,res.data.list[0].id,0)
|
|
|
|
|
this.getStreetDetail(this.select);
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
@ -215,7 +216,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}).then(res => {
|
|
|
|
|
let blob = new Blob([res], {type: "application/vnd.ms-excel"})
|
|
|
|
|
this.$utils.downloadFile('巷道列表.xls', blob)
|
|
|
|
|
this.$utils.downloadFile(this.streetDetail.name+'-盘点列表.xls', blob)
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|