库存预警

This commit is contained in:
weiwei committed 2025-02-24 16:55:13 +08:00
1 parent f26d9b3b5e
commit 799aee3db9
3 files changed
+136 -14

No files matched your search

@@ -113,13 +113,7 @@
>
编辑
</el-button>
<el-button
icon="delete"
text
type="primary"
v-auth="'supermarket_supermarketSpu_del'"
@click="handleDelete([scope.row.id])"
>
<el-button icon="delete" text type="primary" v-auth="'supermarket_supermarketSpu_del'" @click="handleDelete([scope.row.id])">
删除
</el-button>
</template>
@@ -157,8 +151,7 @@ const state: BasicTableProps = reactive<BasicTableProps>({
})
// table hook
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } =
useTable(state)
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state)
// 清空搜索条件
const resetQuery = () => {
@@ -171,11 +164,7 @@ const resetQuery = () => {
// 导出excel
const exportExcel = () => {
downBlobFile(
"/supermarket/supermarketSpu/export",
Object.assign(state.queryForm, { ids: selectObjs }),
"supermarketSpu.xlsx",
)
downBlobFile("/supermarket/supermarketSpu/export", Object.assign(state.queryForm, { ids: selectObjs }), "supermarketSpu.xlsx")
}
// 多选事件