|
|
|
@ -1,6 +1,10 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="check-page">
|
|
|
|
<div class="check-page">
|
|
|
|
<div class="button-box">
|
|
|
|
<div class="button-box">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-button type="primary" @click="truncateStock" class="export-all">
|
|
|
|
|
|
|
|
清空盘点信息
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
<a-button type="primary" @click="exportStock" class="export-all">
|
|
|
|
<a-button type="primary" @click="exportStock" class="export-all">
|
|
|
|
导出巷道盘点数据
|
|
|
|
导出巷道盘点数据
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
@ -170,6 +174,17 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
truncateStock() {
|
|
|
|
|
|
|
|
this.$api.httpApi.truncateStock({
|
|
|
|
|
|
|
|
params: {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
exportAllStock() {
|
|
|
|
exportAllStock() {
|
|
|
|
this.$utils.downloadFileUrl('盘点列表.xls', '/api/stock/exportAll');
|
|
|
|
this.$utils.downloadFileUrl('盘点列表.xls', '/api/stock/exportAll');
|
|
|
|
|
|
|
|
|
|
|
|
|