|
|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="check-page">
|
|
|
|
|
<div class="button-box">
|
|
|
|
|
<a-button type="primary" @click="trStockTable" class="export-all">
|
|
|
|
|
清空盘点数据
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="primary" @click="exportStock" class="export-all">
|
|
|
|
|
导出巷道盘点数据
|
|
|
|
|
</a-button>
|
|
|
|
|
@ -226,6 +229,16 @@ export default {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
trStockTable() {
|
|
|
|
|
this.$api.httpApi.trStockTable({
|
|
|
|
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
this.$message.success('清除成功')
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
exportAllStock() {
|
|
|
|
|
this.$utils.downloadFileUrl('盘点列表.xls', '/api/stock/exportAll');
|
|
|
|
|
|
|
|
|
|
|