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 class="l-title">{{ c.name }}</view>
<view v-if="!isDetail" class="batch"> <view v-if="!isDetail" class="batch">
<input class="deadline" type="number" v-model="c.deadline" placeholder="批量输入" @change="batchDeadlineChange(c)"> <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> </view>
<uni-icons class="arrow" type="top" size="20" color="#007EFF" @click="toggle(c)"></uni-icons> <uni-icons class="arrow" type="top" size="20" color="#007EFF" @click="toggle(c)"></uni-icons>
</view> </view>
@ -384,7 +384,7 @@
shrink: false, shrink: false,
name: e.typeName, name: e.typeName,
deadline: '', deadline: '',
unit: 2, unit: '',
list: [] list: []
} }
}) })
@ -1154,6 +1154,9 @@
text{ text{
font-size: 28rpx; font-size: 28rpx;
} }
&.placeholder {
color: #797979 !important;
}
} }
.line { .line {
.inline { .inline {

Loading…
Cancel
Save