|
@@ -16,18 +16,18 @@
|
|
|
</view>
|
|
|
<view style="display: flex;align-items: center;">
|
|
|
<view style="display: flex;margin-right: 10rpx;">
|
|
|
- <image v-if="Number(inventoryDataForm.storeInventory)" src="/static/images/tabBar/11.png"
|
|
|
+ <image v-if="Number(inventoryDataForm.storeInventory)" src="/static/images/tabBar/11.png" v-show="showIcon"
|
|
|
mode="aspectFit" style="width: 102rpx;height: 36rpx;" />
|
|
|
- <image v-if="Number(inventoryDataForm.storeInventory)==0" src="/static/images/tabBar/14.png"
|
|
|
+ <image v-if="Number(inventoryDataForm.storeInventory)==0" src="/static/images/tabBar/14.png" v-show="showIcon"
|
|
|
mode="aspectFit" style="width: 102rpx;height: 36rpx;" />
|
|
|
<view style="font-size: 24rpx;color: #C4C4C4;margin-left: 10rpx;">
|
|
|
库存:{{ inventoryDataForm.storeInventory ? Number(inventoryDataForm.storeInventory) > 10 ? '充足' : inventoryDataForm.storeInventory : '' }}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view style="display: flex;align-items: center;">
|
|
|
- <image v-if="Number(inventoryDataForm.storeInventoryShare)" src="/static/images/tabBar/12.png"
|
|
|
+ <image v-if="Number(inventoryDataForm.storeInventoryShare)" src="/static/images/tabBar/12.png" v-show="showIcon"
|
|
|
mode="aspectFit" style="width: 102rpx;height: 36rpx;" />
|
|
|
- <image v-if="Number(inventoryDataForm.storeInventoryShare)==0"
|
|
|
+ <image v-if="Number(inventoryDataForm.storeInventoryShare)==0" v-show="showIcon"
|
|
|
src="/static/images/tabBar/15.png" mode="aspectFit" style="width: 102rpx;height: 36rpx;" />
|
|
|
<view style="font-size: 24rpx;color: #C4C4C4;margin-left: 10rpx;">
|
|
|
库存:{{ inventoryDataForm.storeInventoryShare ? Number(inventoryDataForm.storeInventoryShare) > 10 ? '充足' : inventoryDataForm.storeInventoryShare : '' }}
|
|
@@ -173,10 +173,12 @@
|
|
|
// 审核状态
|
|
|
checkStatus: '',
|
|
|
adminShow: false,
|
|
|
- cloudWarehouse: 0
|
|
|
+ cloudWarehouse: 0,
|
|
|
+ showIcon: true
|
|
|
}
|
|
|
},
|
|
|
onLoad(onLoad) {
|
|
|
+ this.getIsShowIcon()
|
|
|
this.checkStatus = uni.getStorageSync('checkStatus');
|
|
|
isProcurement({
|
|
|
"param": "cloud_warehouse"
|
|
@@ -191,6 +193,14 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ getIsShowIcon(){
|
|
|
+ isProcurement({
|
|
|
+ "param": "show.icon"
|
|
|
+ }).then(res => {
|
|
|
+ console.info('res-----', res)
|
|
|
+ this.showIcon = Number(res.data) === 0
|
|
|
+ })
|
|
|
+ },
|
|
|
loadList(onLoad){
|
|
|
if (uni.getStorageSync('whether_openShare') == 1) {
|
|
|
appDetailNew(onLoad).then(res => {
|