feat(wms): 新增调拨记录追溯功能并优化调拨表格

- 在调拨表格中添加生效状态列,显示已生效/未生效标签
- 新增调拨记录追溯页面,支持通过卷号查询调拨历史
- 实现常规筛选和特殊追溯两种查询方式
- 优化表格操作列显示逻辑,增加权限控制
This commit is contained in:
砂糖
2026-04-13 13:00:25 +08:00
parent 4c373e6af5
commit 116d79e7c2
2 changed files with 186 additions and 1 deletions

View File

@@ -59,7 +59,15 @@
</template>
</el-table-column>
<el-table-column type="action" label="操作" width="180">
<el-table-column prop="isTransferred" label="生效状态" width="200">
<template slot-scope="scope">
<el-tag :type="scope.row.isTransferred == '1' ? 'success' : 'info'">
{{ scope.row.isTransferred == '1' ? '已生效' : '未生效' }}
</el-tag>
</template>
</el-table-column>
<el-table-column type="action" label="操作" width="180" v-if="canEdit">
<template slot-scope="scope">
<div v-if="orderStatus == 0">
<!-- <el-button icon="el-icon-check" size="mini" v-if="!scope.row.isConfirmed" @click="handleUpdate(scope.row)"