jf 5 лет назад
Родитель
Сommit
0847a2959e

+ 3 - 1
ghsApp/src/pagesStorehouse/stockWarn/manage.vue

@@ -56,12 +56,14 @@
 						<view class="item_list_title" v-if="!$util.isEmpty(classItem.child)"> {{ classItem.className }}</view>
 						<text v-if="tabs[tabIndex].name=='库存预警'&&$util.isEmpty(classItem.child)">当前库存充足</text>
 						<template v-for="(productItem, productIndex) in classItem.child">
-							<CommodityStock
+							<view style="height: 160rpx" :id="`class_${classIndex}`" :key="classIndex">
+								<CommodityStock v-if="classItem.isActive"
 								:isPrice="false"
 								:type="tabs[tabIndex].key"
 								:key="productIndex"
 								:info="productItem"
 							></CommodityStock>
+							</view>
 						</template>
 					</view>
 				</block>

+ 3 - 1
hdApp/src/pagesStorehouse/stockWarn/manage.vue

@@ -56,12 +56,14 @@
 						<view class="item_list_title" v-if="!$util.isEmpty(classItem.child)"> {{ classItem.className }}</view>
 						<text v-if="tabs[tabIndex].name=='库存预警'&&$util.isEmpty(classItem.child)">当前库存充足</text>
 						<template v-for="(productItem, productIndex) in classItem.child">
-							<CommodityStock
+							<view style="height: 160rpx" :id="`class_${classIndex}`" :key="classIndex">
+							<CommodityStock v-if="classItem.isActive"
 								:isPrice="false"
 								:type="tabs[tabIndex].key"
 								:key="productIndex"
 								:info="productItem"
 							></CommodityStock>
+							</view>
 						</template>
 					</view>
 				</block>