| | |
| | | height: calcContentHeight + 'px', |
| | | overflowY: 'auto' |
| | | }"> |
| | | <view class="list" v-for="(item,index) in showList" :key="index" v-if="tabs==0"> |
| | | <uni-card :title="item.单据号" style="margin: 10px;"> |
| | | <view class="list" v-for="(item,index) in showList" :key="index" v-if="showList.length>0"> |
| | | <uni-card style="margin: 10px;"> |
| | | <view class="card-detail"> |
| | | <template v-for="(field, index) in CommonUtils.emptyValueFilter(item, HFieldList)"> |
| | | <view v-if="field.ColmType == 'DateTime'" class="detail"> |
| | |
| | | </view> |
| | | </uni-card> |
| | | </view> |
| | | <view class="over" v-if="showList.length == 0">暂无数据</view> |
| | | </view> |
| | | <view class="pagination-zone" id="pagination-zone"> |
| | | <uni-pagination show-icon :page-size="size" :total="dataLength" :current="page" |
| | |
| | | }, |
| | | onShow() { |
| | | //用户模块权限判断 |
| | | this.changeTab(0) |
| | | // this.changeTab(0) |
| | | console.log(this.userInfo, uni.getStorageSync('HUserName')) |
| | | }, |
| | | components: { |
| | |
| | | this.page = 1 |
| | | this.showList = [] |
| | | |
| | | if (this.tabs == 0) { |
| | | this.urls = '/Sc_HEquipStateDistribution/Get_EquipICMOTechParamList_Json' |
| | | } |
| | | // if (this.tabs == 0) { |
| | | // this.urls = '/Sc_HEquipStateDistribution/Get_EquipICMOTechParamList_Json' |
| | | // } |
| | | // if (this.tabs == 1) { |
| | | // this.urls = '/WEBSController/GetKf_ICStockBillQueryList_User_Json' |
| | | // } |
| | |
| | | this.dataLength = data.length |
| | | this.HFieldList = CommonUtils.fieldListFilterRole({ |
| | | FieldList: list, |
| | | ExcludeKeys: ["单据号"] |
| | | ExcludeKeys: [] |
| | | }).data |
| | | |
| | | console.log('this.HFieldList: ', this.HFieldList); |
| | | console.log('showList: ', this.showList); |
| | | } else { |
| | | CommonUtils.showTips({ |
| | | title: "温馨提示", |
| | |
| | | HICMOInterID, |
| | | HICMOEntryID |
| | | } = e |
| | | |
| | | if (operationType == 4) { |
| | | this.HInterID = HEquipID |
| | | this.HICMOInterID = HICMOInterID |
| | | this.HICMOEntryID = HICMOEntryID |
| | | this.hform.HInterID = HEquipID |
| | | this.hform.HICMOInterID = HICMOInterID |
| | | this.hform.HICMOEntryID = HICMOEntryID |
| | | } |
| | | this.changeTab(0) |
| | | } |
| | | } |
| | | </script> |