zrg
2026-01-21 95bdecb4b73270f48bd46c628e9d6cf3ddccc92b
pages/MJGL/Sc_EquipmentProcessList/Sc_EquipmentProcess.vue
@@ -5,8 +5,8 @@
            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">
@@ -19,6 +19,7 @@
                    </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"
@@ -82,7 +83,7 @@
        },
        onShow() {
            //用户模块权限判断
            this.changeTab(0)
            // this.changeTab(0)
            console.log(this.userInfo, uni.getStorageSync('HUserName'))
        },
        components: {
@@ -133,9 +134,9 @@
                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'
                // }
@@ -165,10 +166,10 @@
                        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: "温馨提示",
@@ -205,12 +206,12 @@
                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>