修改借料管理页面

This commit is contained in:
zx
2026-01-22 17:11:36 +08:00
parent 6901af9579
commit 234d787247
5 changed files with 580 additions and 721 deletions

View File

@@ -101,7 +101,8 @@
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="stockList" show-overflow-tooltip border :row-class-name="tableBillRowClassName">
<el-table v-loading="loading" :data="stockList" show-overflow-tooltip border
:row-class-name="tableBillRowClassName">
<el-table-column label="序号" align="center" type="index" width="70" />
<el-table-column label="操作类型" align="center" prop="bizType" width="100">
<template #default="scope">
@@ -161,11 +162,12 @@ const storeStatusList = ref([
{ id: '0', statusName: "已入库" },
{ id: '1', statusName: "已出库" }
])//库存状态
// 0入库1出库2借料出库3还料入库
const isChukuList = ref([
{ value: '0', label: '入库', elTagType: "success", elTagClass: null },
{ value: '1', label: '借料出库', elTagType: "warning", elTagClass: null },
{ value: '3', label: '还料入库', elTagType: "warning", elTagClass: null },
{ value: '1', label: '出库', elTagType: "warning", elTagClass: null },
{ value: '2', label: '借料出库', elTagType: "", elTagClass: null },
{ value: '3', label: '还料入库', elTagType: "danger", elTagClass: null },
])
const data = reactive({
@@ -311,7 +313,7 @@ rklxList()
// 显示预出库的状态
const tableBillRowClassName = ({ row, rowIndex }) => {
console.log('row===>',row);
if (row.execStatus == 0) {
return 'success-row'
}
@@ -332,7 +334,7 @@ const dictTagData = () => {
}
.el-table {
/* 核心:把 hover 背景色设为和默认行背景色一致 */
--el-table-row-hover-bg-color: transparent;
--el-table-row-hover-bg-color: transparent;
/* 或设为和表格背景色相同(比如白色),更通用 */
/* --el-table-row-hover-bg-color: #ffffff; */
}