#
whycq
2024-04-05 4f21a887865ed0429df6fb70f798857dfc5be035
#
2个文件已修改
20 ■■■■■ 已修改文件
pages/phyz/stationManage/stationDetl.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/stationManage/stationManage.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/stationManage/stationDetl.vue
@@ -11,7 +11,7 @@
            <view>站点状态:{{station.locSts$}}</view>
            <view class="mt-flex">
                <view class="station-barcode" style="flex: 1">货架码:<text>{{station.barcode ? station.barcode : '--'}}</text></view>
                <view v-if="station.barcode"><button size="mini" type="warn" @click="unbind()">解除绑定</button></view>
                <view v-if="station.barcode && station.locSts == 'F'"><button size="mini" type="warn" @click="unbind()">解除绑定</button></view>
            </view>
        </view>
        
@@ -20,7 +20,7 @@
        <view class="wrkMast">
            <view class="wrkMast-wrkNo">
                <view style="flex:3">工作号: {{wrkMast.wrkNo}}</view>
                <view style="flex:2">{{wrkMast.ioTitle}}</view>
                <view style="flex:2;text-align: right;">{{wrkMast.ioTitle}}</view>
            </view>
            <view>工作类型: {{wrkMast.ioType$}}</view>
            <view>源库位: {{wrkMast.sourceLocNo}}</view>
@@ -320,6 +320,8 @@
                                _this.btnType = 'out'
                            } else if (res.data.records[0].ioType == 103) {
                                res.data.records[0]['ioTitle'] = '拣料出库'
                            } else if (res.data.records[0].ioType == 110) {
                                res.data.records[0]['ioTitle'] = '空板出库'
                            }
                            _this.wrkMast = res.data.records[0]
                            _this.getWrkDetl(_this.wrkMast.wrkNo)
pages/phyz/stationManage/stationManage.vue
@@ -162,14 +162,15 @@
                                }
                                _this.stations = res.data.records  
                            } else {
                                console.log(123213);
                                for (let item of res.data.records) {
                                    _this.station = item
                                    if (item.barcode) {
                                        _this.getWrkMast(item.barcode)
                                        _this.getWaitPakin(item.barcode)
                                    if (item.locSts != 'O') {
                                        item['style'] = 'station-wrk'
                                    } else {
                                        item['style'] = 'station-nowrk'
                                    }
                                    _this.station = item
                                    _this.getOrderDetl(_this.station)
                                }
                            }
                            
@@ -377,7 +378,8 @@
                        // 通过eventChannel向被打开页面传送数据   向另外一个页面传递值的
                        res.eventChannel.emit('item', {
                            item: item
                        })
                        }),
                        _this.searchValue = ''
                    },
                    events: {
                        // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据  另外一个页面传过来的