三级页面修改

This commit is contained in:
2025-11-11 10:01:42 +08:00
parent 831677852d
commit 9594bf6a73
2 changed files with 31 additions and 2 deletions

View File

@@ -72,7 +72,9 @@
<el-table-column label="操作类型" align="center" prop="actionType" width="100">
<template slot-scope="scope">
<dict-tag :options="dict.type.action_type" :value="scope.row.actionType"/>
<span v-if="scope.row.actionType === 4 || scope.row.actionType === '4'">发货操作</span>
<span v-else-if="scope.row.actionType === 5 || scope.row.actionType === '5'">移库操作</span>
<dict-tag v-else :options="dict.type.action_type" :value="scope.row.actionType"/>
</template>
</el-table-column>
@@ -396,6 +398,16 @@ export default {
console.log('操作类型:', row.actionType);
console.log('钢卷ID:', row.coilId);
// 特殊处理:发货和移库操作不需要跳转
if (row.actionType === 4 || row.actionType === '4') {
this.$message.info('发货操作已在移动端完成');
return;
}
if (row.actionType === 5 || row.actionType === '5') {
this.$message.info('移库操作已在移动端完成');
return;
}
// 根据操作类型跳转到不同页面
let path = '';
// 注意action_type字典中 1=合卷, 2=分卷, 3=更新
@@ -405,7 +417,7 @@ export default {
} else if (row.actionType === 2 || row.actionType === '2') {
// 分卷
path = '/wms/split';
} else {
} else if (row.actionType === 3 || row.actionType === '3') {
// 更新
path = '/wms/typing';
}