feat(钢卷管理): 新增调制度和镀层种类字段

在钢卷管理的多个页面和组件中添加调制度(temperGrade)和镀层种类(coatingType)字段,包括表单输入、显示和查询功能。同时优化了部分页面布局和代码结构,移除了不再使用的质量状态枚举定义
This commit is contained in:
砂糖
2026-01-22 10:20:58 +08:00
parent a82c8ea825
commit 03d8ba1d2f
11 changed files with 237 additions and 95 deletions

View File

@@ -53,6 +53,14 @@
<span class="label">长度</span>
<span class="value">{{ motherCoil.length ? motherCoil.length + ' m' : '—' }}</span>
</div>
<div class="coil-info-row">
<span class="label">调制度</span>
<span class="value">{{ motherCoil.temperGrade || '—' }}</span>
</div>
<div class="coil-info-row">
<span class="label">镀层种类</span>
<span class="value">{{ motherCoil.coatingType || '—' }}</span>
</div>
<div class="coil-info-row" v-if="motherCoil.materialName || motherCoil.productName">
<span class="label">物料名称</span>
<span class="value">{{ motherCoil.materialName || motherCoil.productName || '—' }}</span>
@@ -184,6 +192,12 @@
<template slot="append"></template>
</el-input-number>
</el-form-item>
<el-form-item label="调制度" prop="temperGrade">
<el-input v-model="item.temperGrade" placeholder="请输入调制度" />
</el-form-item>
<el-form-item label="镀层种类" prop="coatingType">
<el-input v-model="item.coatingType" placeholder="请输入镀层种类" />
</el-form-item>
<el-form-item label="逻辑库区" required>
<WarehouseSelect v-model="item.warehouseId" placeholder="请选择逻辑库区" :disabled="readonly" />
</el-form-item>
@@ -255,6 +269,8 @@ export default {
warehouseId: null,
actualWarehouseId: null,
length: undefined,
temperGrade: '',
coatingType: '',
}
],
loading: false,
@@ -436,7 +452,9 @@ export default {
qualityStatus: '',
packagingRequirement: '',
packingStatus: '',
trimmingRequirement: ''
trimmingRequirement: '',
temperGrade: '',
coatingType: '',
});
},