lilei 1 ano atrás
pai
commit
7cc336c2f6
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      pages/morePage/morePage.vue

+ 2 - 2
pages/morePage/morePage.vue

@@ -157,8 +157,8 @@
 				queryQplsConfig({shelfSn: this.shelfSn}).then(res => {
 				queryQplsConfig({shelfSn: this.shelfSn}).then(res => {
 					this.$store.state.vuex_configPrice = res.data || null
 					this.$store.state.vuex_configPrice = res.data || null
 					const ret = [false,false]
 					const ret = [false,false]
-					ret[0]= res.data.shelf_cost_show == '1'
-					ret[1]= res.data.shelf_price_show == '1'
+					ret[0]= res.data.shelf_cost_show == '1' || res.data.non_shelf_cost_show == '1'
+					ret[1]= res.data.shelf_price_show == '1' || res.data.non_shelf_price_show == '1'
 					this.showPriceSet = ret.filter(item => !!item).length > 0
 					this.showPriceSet = ret.filter(item => !!item).length > 0
 				})
 				})
 			},
 			},