feat(PlanDetailForm): 添加订单选择功能并优化表单结构

refactor(CoilNo): 调整线圈号显示逻辑
This commit is contained in:
砂糖
2026-04-03 14:53:45 +08:00
parent b9da0d6d76
commit b9385858f3
2 changed files with 350 additions and 186 deletions

View File

@@ -2,7 +2,7 @@
<div :class="{'g-coil-no': isGCoilNo}">
<!-- 有coilId时显示popover无则只显示标签 -->
<el-popover
v-if="coilId && coil.enterCoilNo"
v-if="coilId || (coil && coil.currentCoilNo)"
placement="left"
width="200"
trigger="hover"
@@ -100,7 +100,7 @@ export default {
return this.coilInfo.manufacturer || this.coil?.manufacturer || '-'
},
currentCoilNo() {
return this.coilNo || this.coil?.currentCoilNo || '-'
return this.coilNo || this.coil?.currentCoilNo || this.coilInfo?.currentCoilNo || '-'
},
netWeight() {
return this.coilInfo.netWeight || this.coil?.netWeight || '-'