Browse Source

昆明批发

shish 1 year ago
parent
commit
99a1a38ae0
1 changed files with 4 additions and 2 deletions
  1. 4 2
      ghsApp/src/pagesPurchase/info.vue

+ 4 - 2
ghsApp/src/pagesPurchase/info.vue

@@ -95,7 +95,7 @@
 					</text>
 					</text>
 				</block>
 				</block>
 			</view>
 			</view>
-			<view style="text-align: right;">
+			<view style="text-align: right;" v-if="detailInfo.pfLevel && detailInfo.pfLevel == 1">
 				<button @tap="assignOrder()" class="admin-button-com middle blue" style="">刷新货位</button>
 				<button @tap="assignOrder()" class="admin-button-com middle blue" style="">刷新货位</button>
 				<button @tap="changeView()" class="admin-button-com middle blue" style="margin-left:50upx;">{{showSeat == 0 ?'显示货位':'隐藏货位'}}</button>
 				<button @tap="changeView()" class="admin-button-com middle blue" style="margin-left:50upx;">{{showSeat == 0 ?'显示货位':'隐藏货位'}}</button>
 			</view>
 			</view>
@@ -601,7 +601,9 @@ export default {
 							that.wcPrintNum = res.data.wcPrintNum ? Number(res.data.wcPrintNum) : 1
 							that.wcPrintNum = res.data.wcPrintNum ? Number(res.data.wcPrintNum) : 1
 						}
 						}
 					})
 					})
-
+					if(that.detailInfo.pfLevel == 0){
+						this.showSeat = 0
+					}
 				}else{
 				}else{
 					const { data } = await getCgDetail({orderSn:that.orderSn,salt:that.salt})
 					const { data } = await getCgDetail({orderSn:that.orderSn,salt:that.salt})
 					that.detailInfo = data
 					that.detailInfo = data