#
whycq
2024-01-19 6c7a81b96edfd4ef1aed1ebaecde24bcda3389c2
#
2个文件已修改
49 ■■■■■ 已修改文件
pages/home/home.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderPakin2.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.vue
@@ -46,6 +46,13 @@
                        url: '/out/stockOut'
                    },
                    {
                        title: '退库单退库',
                        name: 'orderOut',
                        color: 'blue',
                        cuIcon: 'pullup',
                        url: '/order/orderPakin2'
                    },
                    {
                        title: '手动入库',
                        name: 'handIn',
                        color: 'olive',
pages/order/orderPakin2.vue
@@ -12,7 +12,7 @@
            <view class="item">
                <view class="code-decs">码垛位:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="palletizingNo2" :focus="palletizingNo2Focus">
                <view class="item-right">
                <view class="item-right" @click="selectPst()">
                    <uni-icons type="right" color="#c1c1c1"></uni-icons>
                </view>
            </view>
@@ -136,6 +136,17 @@
                    @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog>
            </uni-popup>
        </view>
        <!-- 弹窗选择 -->
        <uni-popup ref="inputDialog" type="dialog">
            <view class="pop">
                <view class="pop-btn" @click="select('1')">
                    1号码垛位
                </view>
                <view class="pop-btn" @click="select('2')">
                    2号码垛位
                </view>
            </view>
        </uni-popup>
    </view>
</template>
@@ -148,6 +159,7 @@
                orderNo: '',
                barcode: '',
                palletizingNo: '',
                palletizingNo2: '',
                boxType: '',
                createTime: '',
                dataList: [{}],
@@ -164,6 +176,7 @@
                content: '',
                barcodeFocus: true,
                palletizingNoFocus: false,
                palletizingNo2Focus: false,
                boxTypeFocus: false,
                createTimeFocus: false,
                matFocus: false,
@@ -194,6 +207,15 @@
                        }
                    }
                })
            },
            // 选择码垛位
            selectPst() {
                this.$refs.inputDialog.open()
            },
            select(e) {
                this.palletizingNo2 = e
                this.$refs.inputDialog.close()
                console.log(this.palletizingNo);
            },
            // 添加物料
            addMat() {
@@ -606,5 +628,23 @@
        display: flex;
        align-items: center;
    }
    .pop {
        min-height: 200rpx;
        width: 80vw;
        background-color: #55aaff;
        border-radius: 20rpx;
        color: #eee;
    }
    .pop-btn {
        height: 100rpx;
        line-height: 100rpx;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ccc;
    }
    .pop-btn:last-child {
        border: none;
    }
</style>