1
zhang
2025-08-07 7a98e0aa96265c35e658732e5152ce13c3df24e4
1
2个文件已修改
23 ■■■■■ 已修改文件
Monitor-APP/manifest.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/home/home.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/manifest.json
@@ -41,7 +41,8 @@
                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
                    "<uses-feature android:name=\"android.hardware.camera\"/>",
                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
                ]
                ],
                "abiFilters" : [ "armeabi-v7a" ]
            },
            /* ios打包配置 */
            "ios" : {
Monitor-APP/pages/home/home.vue
@@ -233,7 +233,7 @@
                                        <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i">
                                            <view style="width: 100%;display: flex;flex-direction: column;
                                            align-items: center;justify-content: space-around;">
                                                <view style="width: 60%;font-size:4vw" v-show="!pakoutShow">库位号: {{infoText.locNo}}</view>
                                                <view style="width: 60%;font-size:4vw" v-show="pakoutShow">库位号: {{infoText.locNo}}</view>
                                                <view style="width: 60%;font-size:4vw" v-show="pakoutShow">产品代号: {{item.matnr}}</view>
                                                <view style="width: 60%;font-size:4vw" v-show="pakoutShow">产品名称: {{item.maknx}}</view>
                                                <view style="width: 60%;font-size:4vw" v-show="pakoutShow">数量: [{{item.count}} / {{item.total}}]</view>
@@ -377,6 +377,8 @@
                infoText: {
                    title: '',
                    staNo: "",
                    locNo: "",
                    sourceLocNo: "",
                    matnr: "",
                    maknx: "",
                    specs: "",
@@ -419,10 +421,10 @@
                this.getOther()
                // this.getDate()
                this.getDate2()
                // this.getInfo()
                // this.getError()
                this.getInfo2()
                this.getError2()
                this.getInfo()
                this.getError()
                // this.getInfo2()
                // this.getError2()
                this.getUrl()
                this.controller()
                // 测试用
@@ -535,25 +537,27 @@
                                that.pakoutShow = true
                            } else if(res.data[0].ioType === 53) {
                                that.infoText.title = '拣料入库'
                                that.pakoutShow = false
                                that.pakoutShow = true
                            } else if(res.data[0].ioType === 57) {
                                that.infoText.title = '盘点入库'
                                that.pakoutShow = false
                                that.pakoutShow = true
                            } else if(res.data[0].ioType === 107) {
                                that.infoText.title = '盘点出库'
                                that.pakoutShow = true
                            } else if(res.data[0].ioType === 1) {
                                that.infoText.title = '入库'
                                that.pakoutShow = false
                                that.pakoutShow = true
                            } else if(res.data[0].ioType === 10) {
                                that.infoText.title = '空托入库'
                                that.pakoutShow = false
                            } else if(res.data[0].ioType === 110) {
                                that.infoText.title = '空托出库'
                                that.pakoutShow = false
                            }
                            that.infoText.barcode = res.data[0].barcode
                            that.infoText.workNo = res.data[0].workNo
                            that.infoText.sourceLocNo = res.data[0].sourceLocNo
                            that.infoText.locNo = res.data[0].locNo
                            that.infoText.staNo = res.data[0].staNo
                            that.swiperList = res.data[0].matDtos
                            // that.infoText.matnr = res.data[0].matDtos[0].matnr