yujialong 3 months ago
parent 88a91b011a
commit b04cf6a314
  1. 7
      order/orderDetail/orderDetail.vue

@ -64,7 +64,7 @@
<view class="l-title">{{ c.name }}</view>
<view v-if="!isDetail" class="batch">
<input class="deadline" type="number" v-model="c.deadline" placeholder="批量输入" @change="batchDeadlineChange(c)">
<view class="unit" @click="batchUnitChange(c)">{{ units.find(e => e.id === c.unit).text }}</view>
<view :class="['unit', {placeholder: c.unit === ''}]" @click="batchUnitChange(c)">{{ c.unit ? units.find(e => e.id === c.unit).text : '请选择' }}</view>
</view>
<uni-icons class="arrow" type="top" size="20" color="#007EFF" @click="toggle(c)"></uni-icons>
</view>
@ -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 {

Loading…
Cancel
Save