Mr.Zhang
2023-09-12 0cb39fe304ba3f5791798929f3c95cd064f30421
小程序
已修改3个文件
31 ■■■■ 文件已修改
minipro_standard/pages/InOperation/InOperation.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
minipro_standard/pages/index/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
minipro_standard/pages_adjust/pages/outboundList/outboundList.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
minipro_standard/pages/InOperation/InOperation.vue
@@ -35,7 +35,7 @@
                                <span>{{item.batch ? item.batch : '-'}}</span>
                            </div>
                        </div>
                        <div class="page_content_list" v-for="(childer, idxs) in item.wstockExtListVOList" :key="idxs">
                        <!-- <div class="page_content_list" v-for="(childer, idxs) in item.wstockExtListVOList" :key="idxs">
                            <div class="page_content_list_item">
                                <div class="page_content_list_item_label">入库货位:</div>
                                <div class="page_content_list_item_nr">{{ childer.locationName }}</div>
@@ -44,7 +44,7 @@
                                <div class="page_content_list_item_label">数量:</div>
                                <div class="page_content_list_item_nr">{{ childer.num }}{{ childer.unitName }}</div>
                            </div>
                        </div>
                        </div> -->
                    </div>
                </view>
            </uni-collapse-item>
minipro_standard/pages/index/index.vue
@@ -4,7 +4,7 @@
        <!-- {{$store.state.statusbarHeight}} -->
        
        <u-sticky>
            <view class="plr30 pb30 nav-style">
            <view class="plr30 pb30 nav-style bg_w">
                <view
                    :style="{background: '#fff', zIndex: '999', paddingTop: `${statusbarHeight}px`, height: `${navHeight}px`, lineHeight:`${navHeight}px`, textAlign: 'center'}">
                    待办</view>
@@ -17,7 +17,8 @@
                </div>
            </view>
        </u-sticky>
        <scroll-view v-if="projectList.length" scroll-y refresher-enabled="true" :refresher-triggered="triggered" @scrolltolower="loadMore"
        <scroll-view :style="{height: height}" v-if="projectList.length" scroll-y refresher-enabled="true" :refresher-triggered="triggered" @scrolltolower="loadMore"
            @refresherrefresh="refresh"
        >
            <view v-for="(item, index) in projectList" :key="index">
@@ -80,6 +81,8 @@
        },
        data() {
            return {
                height: '',
                top: '',
                code: '',
                windowHeight: '',
                show: false,
@@ -155,6 +158,20 @@
            this.tagList[0].num = this.$store.state.upcomingNum.d
            this.tagList[1].num = this.$store.state.upcomingNum.y
        },
        onReady() {
            var that = this
            this.$nextTick(() => {
                uni.createSelectorQuery()
                    .in(this)
                    .select('.content_search')
                    .boundingClientRect((rect) => {
                        console.log('-----',rect);
                        that.height = `calc(100vh - ${rect.height + 80}px)`
                        that.top = `${rect.height}px`
                    })
                    .exec()
            })
        },
        onLoad() {
            uni.getSystemInfo({
                success: res => {
minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
@@ -286,7 +286,11 @@
        onReady() {
            var that = this
            this.$nextTick(() => {
                uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => {
                uni.createSelectorQuery()
                    .in(this)
                    .select('.content_search')
                    .boundingClientRect((rect) => {
                    that.height = `calc(100vh - ${rect.height + 80}px)`
                    that.top = `${rect.height}px`
                }).exec()