feat(钢卷入库): 使用CoilNo组件替换el-tag显示钢卷号

替换钢卷号显示方式为专用组件CoilNo,以支持更多交互功能并统一显示风格
This commit is contained in:
砂糖
2026-01-10 10:04:54 +08:00
parent d4e5f7fbc7
commit 915d1eb7ec

View File

@@ -170,8 +170,9 @@
</div> </div>
<el-table v-else v-loading="loading" border :data="pendingActions" highlight-current-row> <el-table v-else v-loading="loading" border :data="pendingActions" highlight-current-row>
<el-table-column label="钢卷号" align="center" prop="currentCoilNo" :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> <CoilNo :coil-no="scope.row.currentCoilNo" :coil-id="scope.row.coilId" />
<!-- <el-tag type="info" size="small">{{ scope.row.currentCoilNo }}</el-tag> -->
</template> </template>
</el-table-column> </el-table-column>
@@ -261,6 +262,7 @@ import { Pagination } from 'element-ui';
import { listDeliveryPlan } from '@/api/wms/deliveryPlan' import { listDeliveryPlan } from '@/api/wms/deliveryPlan'
import handleCoil, { COIL_ACTIONS } from '../js/coilActions' import handleCoil, { COIL_ACTIONS } from '../js/coilActions'
import LabelRender from '../panels/LabelRender/index.vue' import LabelRender from '../panels/LabelRender/index.vue'
import CoilNo from "@/components/KLPService/Renderer/CoilNo.vue";
// 键值为[400, 500), 不包含在字典中但后续可以加入的特殊操作这类操作录入后会立刻完成例如入库401和发货402 // 键值为[400, 500), 不包含在字典中但后续可以加入的特殊操作这类操作录入后会立刻完成例如入库401和发货402
@@ -272,6 +274,7 @@ export default {
ProductSelect, ProductSelect,
RawMaterialSelect, RawMaterialSelect,
LabelRender, LabelRender,
CoilNo,
}, },
data() { data() {
return { return {