Sfoglia il codice sorgente

修改erp显示按钮

wangchao 3 anni fa
parent
commit
bfe04aa975
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      pages/erp/index.vue

+ 3 - 1
pages/erp/index.vue

@@ -23,7 +23,7 @@
 				</view>
 			</view>
 
-			<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">
+			<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']" v-if="isShowBtn">
 				<view class="cu-item" v-for="(item,index) in gridList" :key="index" @click="gridClick(item, index)"
 					v-if="index<gridCol*2">
 					<view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
@@ -56,6 +56,7 @@
 				isShowAlert: false,
 				compName: '',
 				compList: [],
+				isShowBtn:false,
 				content: '易粮易运ERP系统包含合同管理、仓库管理、运输管理、结算管理等多个模块,可为粮企提供粮食贸易的全流程服务,平台诚邀您的加入。',
 				warehouseName: '暂无仓库',
 				binNumber: '暂无',
@@ -265,6 +266,7 @@
 						let _showCWData = uni.getStorageSync("erpSelectWarehousCW")
 						this.allWarehouse = res.data.data
 						this.warehouseList = res.data.data;
+						this.isShowBtn = true
 						if (_showData) {
 							this.warehouseName = _showData.warehouseName
 							this.compId = _showData.compId