修正托盘明细数量显示

main
董哲奇 9 hours ago
parent 5ef2f020b7
commit 269054ae60

@ -218,12 +218,12 @@
<view v-for="(item, index) in pallet.instdetailList" :key="index" class="list-item"> <view v-for="(item, index) in pallet.instdetailList" :key="index" class="list-item">
<view class="item-header" @click="gotocxDetail(item.instno,item.project)"> <view class="item-header" @click="gotocxDetail(item.instno,item.project)">
<text class="item-tip">{{ item.groupDesc }} ({{ item.qty?parseFloat(item.qty).toFixed(2):'0.00'}})</text> <text class="item-tip">{{ item.groupDesc }} ({{ item.qty?parseInt(item.qty):'0'}})</text>
</view> </view>
<view v-for="(row, ii) in item.items"> <view v-for="(row, ii) in item.items">
<view class="item-header" @click="toggleDetail(ii)"> <view class="item-header" @click="toggleDetail(ii)">
<text class="item-title">{{ row.assemcode }} ({{ row.qty?parseFloat(row.qty).toFixed(2):'0.00' }})</text> <text class="item-title">{{ row.assemcode }} ({{ row.qty?parseInt(row.qty):'0' }})</text>
<uni-icons :type="expandedIndex === ii ? 'arrowup' : 'arrowdown'" size="16" color="#999"></uni-icons> <uni-icons :type="expandedIndex === ii ? 'arrowup' : 'arrowdown'" size="16" color="#999"></uni-icons>
</view> </view>
<view v-if="expandedIndex === ii" class="item-content"> <view v-if="expandedIndex === ii" class="item-content">

Loading…
Cancel
Save