小小儁爺
2026-01-06 22fd33c839969a5c14de0d994701876407385d7f
1.页面优化
已修改9个文件
76 ■■■■ 文件已修改
pages/sbgl/dqby.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/sbgl/rcdj.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/sbgl/sbwx.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/sbgl/wxsq.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/sbgl/wxyz.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/scgl/scbg.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/zlgl/sjjy.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/zlgl/wgjy.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/zlgl/xjjy.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/sbgl/dqby.vue
@@ -54,6 +54,9 @@
            </div>
        </view>
        <scan-code></scan-code>
    </view>
</template>
@@ -62,8 +65,19 @@
    import {
        EqpPermissions
    } from '../../config/api.js';
    import scanCode from '@/components/scan-code/scan-code.vue'
    export default {
        onLoad(option) {},
        components: {
            scanCode
        },
        onLoad(option) {
            const _this = this
            uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器
            uni.$on('scancodedate', function(content) {
                console.log("扫描到的内容为:", content)
                _this.changeInputBoxValue(content)
            })
        },
        onPullDownRefresh() {
            setTimeout(() => {
@@ -101,6 +115,8 @@
                uni.stopPullDownRefresh();
            },
            changeInputBoxValue(val) {
                this.inputBoxValue = val
                this.purchorderArr = this.purchorderArrAll.filter((p) => {
                    return p.code.indexOf(val) !== -1
                })
pages/sbgl/rcdj.vue
@@ -54,6 +54,8 @@
            </div>
        </view>
        <scan-code></scan-code>
    </view>
</template>
@@ -62,8 +64,19 @@
    import {
        EqpPermissions
    } from '../../config/api.js';
    import scanCode from '@/components/scan-code/scan-code.vue'
    export default {
        onLoad(option) {},
        components: {
            scanCode
        },
        onLoad(option) {
            const _this = this
            uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器
            uni.$on('scancodedate', function(content) {
                console.log("扫描到的内容为:", content)
                _this.changeInputBoxValue(content)
            })
        },
        onPullDownRefresh() {
            setTimeout(() => {
@@ -101,7 +114,7 @@
                uni.stopPullDownRefresh();
            },
            changeInputBoxValue(val) {
                this.inputBoxValue = val
                this.purchorderArr = this.purchorderArrAll.filter((p) => {
                    return p.code.indexOf(val) !== -1
                })
pages/sbgl/sbwx.vue
@@ -21,13 +21,14 @@
                            <view class="head_left">
                                <view class="head_bar"></view>
                                <view class="head_title">
                                    扫描维修工位
                                    <!-- 扫描维修工位 -->
                                    维修工位
                                </view>
                            </view>
                            <!--
                            <view class="marginRight20">
                                <u-icon name="scan" @click="topScanClick" color="red" size="28"></u-icon>
                            </view>
                            </view> -->
                        </view>
pages/sbgl/wxsq.vue
@@ -54,6 +54,9 @@
            </div>
        </view>
        <scan-code></scan-code>
    </view>
</template>
@@ -62,8 +65,20 @@
    import {
        EqpPermissions
    } from '../../config/api.js';
    import scanCode from '@/components/scan-code/scan-code.vue'
    export default {
        onLoad(option) {},
        components: {
            scanCode
        },
        onLoad(option) {
            const _this = this
            uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器
            uni.$on('scancodedate', function(content) {
                console.log("扫描到的内容为:", content)
                _this.changeInputBoxValue(content)
            })
        },
        onPullDownRefresh() {
            setTimeout(() => {
@@ -101,6 +116,8 @@
                uni.stopPullDownRefresh();
            },
            changeInputBoxValue(val) {
                this.inputBoxValue = val
                this.purchorderArr = this.purchorderArrAll.filter((p) => {
                    return p.code.indexOf(val) !== -1
                })
pages/sbgl/wxyz.vue
@@ -20,13 +20,14 @@
                            <view class="head_left">
                                <view class="head_bar"></view>
                                <view class="head_title">
                                    扫描维修工位
                                    <!-- 扫描维修工位 -->
                                    维修工位
                                </view>
                            </view>
                            <view class="marginRight20">
                            <!--         <view class="marginRight20">
                                <u-icon name="scan" @click="topScanClick" color="red" size="28"></u-icon>
                            </view>
                            </view> -->
                        </view>
pages/scgl/scbg.vue
@@ -107,7 +107,7 @@
                            <u-steps-item :title="it.code+'/'+it.name"></u-steps-item>
                            <view class="" style="width: 100px;">
                                <u-line-progress
                                    :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))"
                                    :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))"
                                    inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress>
                            </view>
                            <view style="width: 30%;text-align: right;">
pages/zlgl/sjjy.vue
@@ -107,7 +107,7 @@
                            <u-steps-item :title="it.code+'/'+it.name"></u-steps-item>
                            <view class="" style="width: 100px;">
                                <u-line-progress
                                    :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))"
                                    :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))"
                                    inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress>
                            </view>
                            <view style="width: 30%;text-align: right;">
pages/zlgl/wgjy.vue
@@ -107,7 +107,7 @@
                            <u-steps-item :title="it.code+'/'+it.name"></u-steps-item>
                            <view class="" style="width: 100px;">
                                <u-line-progress
                                    :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))"
                                    :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))"
                                    inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress>
                            </view>
                            <view style="width: 30%;text-align: right;">
pages/zlgl/xjjy.vue
@@ -107,7 +107,7 @@
                            <u-steps-item :title="it.code+'/'+it.name"></u-steps-item>
                            <view class="" style="width: 100px;">
                                <u-line-progress
                                    :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))"
                                    :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))"
                                    inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress>
                            </view>
                            <view style="width: 30%;text-align: right;">