#
whycq
2024-03-30 56fd0b3433ea569ac75bce80145c34b2f638e142
#
7个文件已修改
56 ■■■■ 已修改文件
pages.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/inOutManage.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/AGV/AGVPakin3.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/AGV/emptyPakin.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/order/orderList.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/order/preview.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/css/common/order.css 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -487,7 +487,7 @@
            "path" : "pages/phyz/AGV/emptyPakin",
            "style" : 
            {
                "navigationBarTitleText" : "空板入出库",
                "navigationBarTitleText" : "空板入库",
                "enablePullDownRefresh" : false
            }
        },
pages/home/inOutManage.vue
@@ -26,7 +26,7 @@
                project: 'tzsk',
                elements2: [
                    {
                        title: '空板入出库',
                        title: '空板入库',
                        name: 'emptyIn',
                        color: 'blue',
                        // cuIcon: 'pullup',
pages/phyz/AGV/AGVPakin3.vue
@@ -205,6 +205,9 @@
            eventChannel.on('mats', function(data) {
                console.log(data);
                that.orderNo = data.mats[0].orderNo
                for (let k of data.mats) {
                    k.anfme = k.enableQty
                }
                that.dataList = data.mats
            })
        },
@@ -574,9 +577,11 @@
                                that.resst();
                                that.messageText = "组托成功"
                                that.messageToggle('success')
                                uni.navigateBack({
                                    delta: 2
                                });
                                setTimeout(()=> {
                                    uni.navigateBack({
                                        delta: 2
                                    });
                                },700)
                            }
                        } else if (res.code == 403) {
                            that.messageText = res.msg
@@ -673,9 +678,11 @@
                            that.resst();
                            that.messageText = "启动成功"
                            that.messageToggle('success')
                            uni.navigateBack({
                                delta: 2
                            });
                            setTimeout(()=>{
                                uni.navigateBack({
                                    delta: 2
                                });
                            },700)
                        } else if (res.code == 403) {
                            that.messageText = res.msg
                            that.messageToggle('error')
pages/phyz/AGV/emptyPakin.vue
@@ -51,7 +51,7 @@
        <!-- 底部操作按钮 -->
        <view class="buttom">
            <button size="mini" @click="reset('warn')">重置</button>
            <button size="mini" type="primary" @click="combConfirm('warn','pakout')">出库</button>
            <!-- <button size="mini" type="primary" @click="combConfirm('warn','pakout')">出库</button> -->
            <button size="mini" type="primary" @click="combConfirm('warn','pakin')">入库</button>
        </view>
        <!-- 弹窗 -->
pages/phyz/order/orderList.vue
@@ -116,7 +116,9 @@
                        res = res.data
                        console.log(res);
                        if (res.code === 200) {
                            res.data.records
                            _this.dataList = res.data.records
                            _this.oldDataList = [..._this.dataList]
                        } 
                    }
pages/phyz/order/preview.vue
@@ -23,10 +23,10 @@
                <view>货位:{{item.locNo}}</view>
                <view style="display: flex;">出库站:
                    <view class="dropdown" @click="toggleDropdown(item)">
                        <input type="text" style="width: 270rpx;" v-model="item.agvStaNo">
                        <input type="text" style="width: 270rpx;" v-model="item.agvStaNo" placeholder="请选择出库站">
                        <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#c1c1c1" style="margin-left: 10rpx;"></uni-icons>
                        <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen">
                            <view class="dropdown-item" v-for="option in selects" @click="selected(option,item)">{{option.value}}</view>
                            <view class="dropdown-item" v-for="option in item.agvStaNos" @click="selected(option,item)">{{option}}</view>
                        </scroll-view>
                    </view>
                </view>
@@ -59,7 +59,7 @@
                matFocus: true,
                matnr: '',
                checck: true,
                dataList: [{}],
                dataList: [],
                oldDataList: [],
                newDataList: [],
                allCheck: false,
@@ -103,7 +103,7 @@
                item.isOpen = !item.isOpen;
            },
            selected(option,item) {
                item.agvStaNo = option.value
                item.agvStaNo = option
            },
            // 订单明细
            getPakoutList(ids) {
@@ -219,6 +219,14 @@
                    success(res) {
                        res = res.data
                        console.log(res);
                        if (res.code === 200) {
                            uni.showToast({ title: '出库成功', icon: "success", position: 'top'})
                            setTimeout(()=> {
                                uni.navigateBack({
                                    delta: 2
                                });
                            },700)
                        }
                    }
                })
            },
@@ -244,6 +252,14 @@
                    },
                });
            },
            // 稍后处理
            reset() {
                setTimeout(()=> {
                    uni.navigateBack({
                        delta: 2
                    });
                },700)
            }
        }
    }
</script>
static/css/common/order.css
@@ -113,8 +113,9 @@
        z-index: 10;
    }
    .dropdown-item {
        margin: 12rpx;
        padding: 12rpx;
        line-height: 1.2;
        font-size: 12rpx;
        line-height: 1;
        font-size: 32rpx;
        color: #3a3a3a;
    }