订单列表

This commit is contained in:
徐哼唧L
2023-12-13 11:10:01 +08:00
parent 2489d1a17b
commit 82c46b9980
3 changed files with 639 additions and 533 deletions

View File

@@ -27,13 +27,13 @@
<div class="item_body">
<div class="flexbox" style="justify-content: space-between;">
<div class="td1 flexbox" style="align-items: flex-start;">
<div class="flexbox orderProducts" v-for="products in productsCodeList" :key="products.productId">
<div class="flexbox orderProducts" v-for="products in productsCodeList" :key="products.product.productId">
<div class="flexbox productItem" style="">
<!-- <el-checkbox :label="products.allOrderId"></el-checkbox> -->
<img :src="products.productImage" width="30px" height="30px" :class="products.expressInfo && products.expressInfo.expressOrderSn != null ? 'gray' : ''" >
<img :src="products.product.productImages" width="30px" height="30px" :class="products.expressOrderId>0 && products.expressOrder != null ? 'gray' : ''" >
<div class="" style="align-items: center;">
<div class="bookName" style="margin-left:0">{{ products.productName }}</div>
<div style="width:100%; color:#17B3A3; font-size:12px" v-if="products.expressInfo && products.expressInfo.expressOrderSn != null">快递信息{{products.expressInfo.expressCompany}}-{{products.expressInfo.expressOrderSn}}</div>
<div class="bookName" style="margin-left:0">{{ products.product.productName }}</div>
<div style="width:100%; color:#17B3A3; font-size:12px" v-if="products.expressOrderId>0 && products.expressOrder != null">快递信息{{products.expressOrder.expressOrderSn}}</div>
</div>
</div>
<div class="flexbox">
@@ -232,7 +232,7 @@ export default {
this.productsCodeList.splice(index, 1)
// console.log(index)
}
this.productsIdsList = this.productsCodeList.map( item => item.buyOrderProductId)
this.productsIdsList = this.productsCodeList.map( item => item.id)
})
},
//
@@ -371,7 +371,7 @@ export default {
orderitem: {
handler(val, oldVal) {
// console.log('变化',val)
this.productsCodeList = val.goodsList
this.productsCodeList = val.productList
this.getNewProducts()
// console.log('productsIdsList',this.productsIdsList)
this.getMixDeliverOrderList()