|
|
@@ -22,13 +22,16 @@
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
<el-table-column label="商品信息" minWidth="490">
|
|
|
<template #default="scope">
|
|
|
- <div class="cart-info">
|
|
|
+ <div class="cart-info" @click="onPath('/item?id=' + scope.row.shoppingCartId + '&productNo=' + scope.row.productNo)">
|
|
|
<img class="cart-img" :src="scope.row.productImage" alt="" />
|
|
|
<div class="cart-text">
|
|
|
<div class="text1">{{ scope.row.itemName }}</div>
|
|
|
<div class="text2">
|
|
|
<span>单位:{{ scope.row.unitName }}</span>
|
|
|
</div>
|
|
|
+ <div class="text2">
|
|
|
+ <span>编号:{{ scope.row.productNo }}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -77,13 +80,16 @@
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
<el-table-column label="商品信息" minWidth="490">
|
|
|
<template #default="scope">
|
|
|
- <div class="cart-info">
|
|
|
+ <div class="cart-info" @click="onPath('/item?id=' + scope.row.shoppingCartId + '&productNo=' + scope.row.productNo)">
|
|
|
<img class="cart-img" :src="scope.row.productImage" alt="" />
|
|
|
<div class="cart-text">
|
|
|
<div class="text1">{{ scope.row.itemName }}</div>
|
|
|
<div class="text2">
|
|
|
<span>单位:{{ scope.row.unitName }}</span>
|
|
|
</div>
|
|
|
+ <div class="text2">
|
|
|
+ <span>编号:{{ scope.row.productNo }}</span>
|
|
|
+ </div>
|
|
|
<!-- <div class="text3">当前商品库存不足,当前库存量:0</div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -366,6 +372,7 @@ const handleChange = (row: any) => {
|
|
|
width: 490px;
|
|
|
height: 94px;
|
|
|
display: flex;
|
|
|
+ cursor: pointer;
|
|
|
.cart-img {
|
|
|
width: 94px;
|
|
|
height: 94px;
|