feat(wms): 添加出库状态列并优化产品/原材料表单

在多个报表页面添加出库状态列,显示"在库"或"已出库"
移除产品/原材料表单中的编号和负责人字段
自动生成产品/原材料编号
This commit is contained in:
砂糖
2026-01-10 09:31:24 +08:00
parent e1f2d3c641
commit 50add1e8b5
5 changed files with 45 additions and 18 deletions

View File

@@ -75,6 +75,13 @@
<el-table-column label="重量 (吨)" align="center" prop="netWeight" />
<el-table-column label="长度 (米)" align="center" prop="length" />
<el-table-column label="发货时间" align="center" prop="exportTime" />
<el-table-column label="出库状态" align="center" prop="status">
<!-- 0在库1已出库 -->
<template slot-scope="scope">
{{ scope.row.status === 0 ? '在库' : '已出库' }}
</template>
</el-table-column>
<el-table-column label="更新人" align="center" prop="updateByName" />
</el-table>
</div>

View File

@@ -74,6 +74,12 @@
</el-table-column>
<el-table-column label="重量 (吨)" align="center" prop="netWeight" />
<el-table-column label="长度 (米)" align="center" prop="length" />
<el-table-column label="出库状态" align="center" prop="status">
<!-- 0在库1已出库 -->
<template slot-scope="scope">
{{ scope.row.status === 0 ? '在库' : '已出库' }}
</template>
</el-table-column>
<el-table-column label="更新人" align="center" prop="updateByName" />
</el-table>
</div>
@@ -119,7 +125,7 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 9999,
status: 1,
// status: 1,
startTime: startTime,
endTime: endTime,
selectType: 'product',

View File

@@ -73,6 +73,12 @@
</template>
</el-table-column>
<el-table-column label="长度 (米)" align="center" prop="length" />
<el-table-column label="出库状态" align="center" prop="status">
<!-- 0在库1已出库 -->
<template slot-scope="scope">
{{ scope.row.status === 0 ? '在库' : '已出库' }}
</template>
</el-table-column>
<el-table-column label="更新人" align="center" prop="updateByName" />
</el-table>
</div>