lilei 3 months ago
parent
commit
7d7c205b7c
2 changed files with 5 additions and 2 deletions
  1. 2 2
      App.vue
  2. 3 0
      pagesA/digitalShelf/choosePart.vue

+ 2 - 2
App.vue

@@ -2,8 +2,8 @@
 	export default {
 		globalData: {
 			// baseUrl: 'http://192.168.2.100:9110/saas/clz/', // 本地
-			// baseUrl: 'https://md.test.zyucgj.com/saas/clz/', // 预发布
-			baseUrl: 'https://car.zyucgj.com/saas/clz/' // 生产
+			baseUrl: 'https://md.test.zyucgj.com/saas/clz/', // 预发布
+			// baseUrl: 'https://car.zyucgj.com/saas/clz/' // 生产
 		},
 		onLaunch: function() {
 			console.log('App Launch');

+ 3 - 0
pagesA/digitalShelf/choosePart.vue

@@ -192,6 +192,9 @@
 					<view class="nav-right-item flex" v-for="(item, index) in partListData" :key="item.productSn">
 						<view class="uni-col-2">
 							<u-image :src="item.images ? item.images+'?x-oss-process=image/resize,m_fixed,h_80,w_80,color_ffffff' : '/static/def_imgs.png'" border-radius="30" width="150" height="150" bg-color="#EBEBEB" ></u-image>
+							<view class="flex align_center justify_center" v-if="item.shelfPlaceCode">
+								<uni-badge :text="item.shelfPlaceCode" :custom-style="{fontSize:'16px',background:'#ff9800'}" circle type="error" />
+							</view>
 						</view>
 						<view class="item-info uni-col-10">
 							<view class="item-name">