lilei il y a 5 mois
Parent
commit
2cae53f890
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      pages/sales/index.vue

+ 2 - 2
pages/sales/index.vue

@@ -52,7 +52,7 @@
 				</scroll-view>
 				</scroll-view>
 			</view>
 			</view>
 			<!-- 销售单 -->
 			<!-- 销售单 -->
-			<view class="sales-list">
+			<view class="sales-list" v-if="$hasPermissions('M_salesList_mobile')">
 				<view class="title">
 				<view class="title">
 					<text class="title-name" @click="$refs.salesList.refash()">
 					<text class="title-name" @click="$refs.salesList.refash()">
 						销售单 
 						销售单 
@@ -63,7 +63,7 @@
 			</view>
 			</view>
 		</view>
 		</view>
 		<!-- 销售单列表 -->
 		<!-- 销售单列表 -->
-		<listComponent ref="salesList" :height="listHeight" />
+		<listComponent ref="salesList" v-if="$hasPermissions('M_salesList_mobile')" :height="listHeight" />
 	</view>
 	</view>
 </template>
 </template>