Browse Source

no message

devlop
xpz2018 3 years ago
parent
commit
1272a4ce61
2 changed files with 3 additions and 3 deletions
  1. 2
      apis/commonApi.js
  2. 4
      pages/device-production-info/index.vue

2
apis/commonApi.js

@ -73,7 +73,7 @@ export function getBaseInfo(data = {}, refresh = false) {
if (res.enterpriseList && res.enterpriseList.length > 0 && res.enterpriseList[0].enterpriseType == enterpriseType.SUPPLIER) {
uni.showToast({
title: '您是供应商角色,请登陆纸掌柜app进行操作',
icon: ' error'
icon: 'error'
})
resolve(null)
} else {

4
pages/device-production-info/index.vue

@ -16,9 +16,9 @@
</view>
</view>
<view class="flex-col group_9">
<text>品牌{{ info.brand }}</text>
<text>品牌{{ info.trademark }}</text>
<text class="text_9">供应商{{ info.supplier }}</text>
<text class="text_10">出厂年月{{ info.outFactoryDate | formatDate }}</text>
<text class="text_10">出厂年月{{ info.producedAt | formatDate }}</text>
<text class="text_11">平均产能{{ info.avgCapacity }}/小时</text>
<text class="text_12">电压/功率{{ info.voltage }}V/10KW</text>
</view>

Loading…
Cancel
Save