feat(PlanDetailForm): 添加订单选择功能并优化表单结构
refactor(CoilNo): 调整线圈号显示逻辑
This commit is contained in:
@@ -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 || '-'
|
||||
|
||||
Reference in New Issue
Block a user