|
|
@@ -7,7 +7,8 @@
|
|
|
<view class="tit" @click="addEvents">{{ info.itemName || "" }}</view>
|
|
|
<view class="kc" @click="addEvents">库存 {{ info.stock }}</view>
|
|
|
<view class="num-open_bx">
|
|
|
- <view class="price">¥{{ showPrice }}</view>
|
|
|
+ <view class="price" v-if="isShowPrice">¥{{ showPrice }}</view>
|
|
|
+ <view class="price" v-else></view>
|
|
|
<view class="open-bx" v-if="type == COMMODITY_TYPE.COMMON">
|
|
|
<i class="iconfont iconjian" :class="delAnimationData?'animation':''" @click="delEvent" v-if="bigCount > 0 || smallCount > 0"></i>
|
|
|
<text class="num" @click="customNum">
|
|
|
@@ -65,6 +66,10 @@ export default {
|
|
|
type: Number,
|
|
|
default: 0
|
|
|
},
|
|
|
+ isShowPrice: {
|
|
|
+ type: Boolean,
|
|
|
+ default: true
|
|
|
+ },
|
|
|
autoPrice: {},
|
|
|
},
|
|
|
data() {
|