feat: 添加钢卷镀层种类枚举并优化原材料选择组件

- 在stepSplit.vue表格中添加净重列
- 全局注册MemoInput组件
- 在CoilNo.vue中显示净重和厂家卷号
- 将RawMaterialSelect和ProductSelect中的输入框替换为MemoInput组件
- 为原材料和产品添加默认计量单位"卷"
This commit is contained in:
砂糖
2026-03-03 17:36:18 +08:00
parent 07e982b736
commit 66c41f42e1
5 changed files with 36 additions and 19 deletions

View File

@@ -26,6 +26,14 @@
{{ specification }}
</span>
</div>
<div class="info-item">
<span class="label">净重</span>
<span class="value">{{ netWeight }}</span>
</div>
<div class="info-item">
<span class="label">厂家卷号</span>
<span class="value">{{ supplierCoilNo }}</span>
</div>
</div>
<el-tag type="info" size="small" slot="reference">{{ currentCoilNo }}</el-tag>
@@ -73,6 +81,12 @@ export default {
},
currentCoilNo() {
return this.coilNo || this.coilInfo?.currentCoilNo || '-'
},
netWeight() {
return this.coilInfo.netWeight || '-'
},
supplierCoilNo() {
return this.coilInfo.supplierCoilNo || '-'
}
},
methods: {