feat(钢卷入库): 使用CoilNo组件替换el-tag显示钢卷号
替换钢卷号显示方式为专用组件CoilNo,以支持更多交互功能并统一显示风格
This commit is contained in:
@@ -170,8 +170,9 @@
|
||||
</div>
|
||||
<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">
|
||||
<template slot-scope="scope">
|
||||
<el-tag type="info" size="small">{{ scope.row.currentCoilNo }}</el-tag>
|
||||
<template slot-scope="scope">
|
||||
<CoilNo :coil-no="scope.row.currentCoilNo" :coil-id="scope.row.coilId" />
|
||||
<!-- <el-tag type="info" size="small">{{ scope.row.currentCoilNo }}</el-tag> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -261,6 +262,7 @@ import { Pagination } from 'element-ui';
|
||||
import { listDeliveryPlan } from '@/api/wms/deliveryPlan'
|
||||
import handleCoil, { COIL_ACTIONS } from '../js/coilActions'
|
||||
import LabelRender from '../panels/LabelRender/index.vue'
|
||||
import CoilNo from "@/components/KLPService/Renderer/CoilNo.vue";
|
||||
|
||||
// 键值为[400, 500), 不包含在字典中,但后续可以加入的特殊操作,这类操作录入后会立刻完成,例如入库(401)和发货(402)
|
||||
|
||||
@@ -272,6 +274,7 @@ export default {
|
||||
ProductSelect,
|
||||
RawMaterialSelect,
|
||||
LabelRender,
|
||||
CoilNo,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user