三级修改

This commit is contained in:
2025-11-11 14:38:00 +08:00
parent e8e7caaefb
commit 1519636555

View File

@@ -64,15 +64,15 @@
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" width="60" align="center" />
<el-table-column label="钢卷号" align="center" prop="currentCoilNo" width="140" :show-overflow-tooltip="true">
<el-table-column label="钢卷号" align="center" prop="currentCoilNo" :show-overflow-tooltip="true">
<template slot-scope="scope">
<el-tag type="info" size="small">{{ scope.row.currentCoilNo }}</el-tag>
</template>
</el-table-column>
<el-table-column label="操作类型" align="center" prop="actionType" width="120">
<el-table-column label="操作类型" align="center" prop="actionType" width="160" >
<template slot-scope="scope">
<span>{{ getActionTypeText(scope.row.actionType) }}</span>
<dict-tag :options='dict.type.action_type' :value="scope.row.actionType "></dict-tag>
</template>
</el-table-column>
@@ -268,6 +268,7 @@ import {
cancelAction
} from '@/api/wms/pendingAction';
import CoilSelector from '@/components/CoilSelector';
import { Option } from 'element-ui';
export default {
name: 'CoilActflow',
@@ -550,22 +551,7 @@ export default {
this.form.coilId = coil.coilId;
this.form.currentCoilNo = coil.currentCoilNo;
},
/** 获取操作类型文本 */
getActionTypeText(actionType) {
const type = parseInt(actionType);
if (type >= 100 && type <= 199) {
return '分条操作';
} else if (type >= 200 && type <= 299) {
return '合卷操作';
} else if (type === 3) {
return '更新信息';
} else if (type === 4) {
return '发货操作';
} else if (type === 5) {
return '移库操作';
}
return '未知操作';
},
/** 获取状态文本 */
getStatusText(status) {
const statusMap = {