|
|
|
|
@ -68,7 +68,7 @@
|
|
|
|
|
:key="item.id"
|
|
|
|
|
@click="skuPick(item)">
|
|
|
|
|
<view style="font-weight: 600;">{{ item.name }}</view>
|
|
|
|
|
<view style="transform: scale(.8,.8)">{{ productType === 2 ? item.time_lenth + '分钟' : item.worth + '工时' }}</view>
|
|
|
|
|
<view style="transform: scale(.8,.8)">{{ productType === 2 ? (item.time_lenth || 0) + '分钟' : (item.worth || 0) + '工时' }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -162,7 +162,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mySkus () {
|
|
|
|
|
const orderSku = this.getOrder()?.product?.skus || []
|
|
|
|
|
const orderSku = this.getOrder()?.product_type?.sku_category?.map(i => i.sku)?.flat() || []
|
|
|
|
|
console.log(333,orderSku)
|
|
|
|
|
return this.vuex_user.nurse_sku_links.map(i => i.sku).filter(i => orderSku.find(j => j.id === i.id))
|
|
|
|
|
},
|
|
|
|
|
params () {
|
|
|
|
|
|