三级修改
This commit is contained in:
@@ -64,15 +64,15 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column label="序号" type="index" width="60" 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">
|
<template slot-scope="scope">
|
||||||
<el-tag type="info" size="small">{{ scope.row.currentCoilNo }}</el-tag>
|
<el-tag type="info" size="small">{{ scope.row.currentCoilNo }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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">
|
<template slot-scope="scope">
|
||||||
<span>{{ getActionTypeText(scope.row.actionType) }}</span>
|
<dict-tag :options='dict.type.action_type' :value="scope.row.actionType "></dict-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
@@ -268,6 +268,7 @@ import {
|
|||||||
cancelAction
|
cancelAction
|
||||||
} from '@/api/wms/pendingAction';
|
} from '@/api/wms/pendingAction';
|
||||||
import CoilSelector from '@/components/CoilSelector';
|
import CoilSelector from '@/components/CoilSelector';
|
||||||
|
import { Option } from 'element-ui';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CoilActflow',
|
name: 'CoilActflow',
|
||||||
@@ -550,22 +551,7 @@ export default {
|
|||||||
this.form.coilId = coil.coilId;
|
this.form.coilId = coil.coilId;
|
||||||
this.form.currentCoilNo = coil.currentCoilNo;
|
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) {
|
getStatusText(status) {
|
||||||
const statusMap = {
|
const statusMap = {
|
||||||
|
|||||||
Reference in New Issue
Block a user