清除盘点内容

merge-requests/4/head
LAPTOP-S9HJSOEB\昊天 2 years ago
parent 61722cbae4
commit 9342696548

Binary file not shown.

@ -183,6 +183,11 @@ export default {
name: '导出单个巷道',
method: 'GET'
},
trStockTable:{
url: '/stock/trStockTable',
name: '清除盘点内容',
method: 'POST'
},
exportAllStock: {
url: '/stock/exportAll',
name: '导出所有巷道',

@ -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');

@ -109,6 +109,7 @@
<viewer>
<img class="historyImg" :src="imgUrl+text.pic"/>
<img class="historyImg" :src="imgUrl+text.pic+'.jpg'"/>
<img class="historyImg" :src="imgUrl+text.pic+'.jpg'+'.jpg'"/>
</viewer>
</happy-scroll>
</span>

Loading…
Cancel
Save