diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index 429b4a2..74f3fd0 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -64,7 +64,7 @@ {{ c.name }} - {{ units.find(e => e.id === c.unit).text }} + {{ c.unit ? units.find(e => e.id === c.unit).text : '请选择' }} @@ -384,7 +384,7 @@ shrink: false, name: e.typeName, deadline: '', - unit: 2, + unit: '', list: [] } }) @@ -1154,6 +1154,9 @@ text{ font-size: 28rpx; } + &.placeholder { + color: #797979 !important; + } } .line { .inline {