#
whycq
2022-10-26 4b50f602850763d852deaeaa53b3347c9df53d14
#
5个文件已修改
161 ■■■■ 已修改文件
components/y-pop/y-pop.vue 54 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/pakin.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/piking.vue 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/stockCheck.vue 66 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
unpackage/cache/apk/__UNI__DA5854D_cm.apk 补丁 | 查看 | 原始文档 | blame | 历史
components/y-pop/y-pop.vue
@@ -1,14 +1,14 @@
<template>
    <view class="canvas">
    <view class="canvas flex-center" v-show="show">
        <view class="main">
            <view class="titles">
            <view class="titles flex-center">
                {{title}}
            </view>
            <view class="decs">
                <slot></slot>
            <view class="decs flex-center">
                <uni-number-box v-model="num" :max="max" :min="min"></uni-number-box>
            </view>
            <view class="operation">
                {{title}}
            <view class="operation flex-center">
                <button size="mini" @click="confrim">确认</button>
            </view>
        </view>
    </view>
@@ -21,11 +21,50 @@
                type: [String,Number],
                default: 'title'
            },
            // num: {
            //     type: Number,
            //     default: 0
            // },
            max: {
                type: Number,
                default: 100
            },
            min: {
                type: Number,
                default: 0
            },
            show: {
                type: Boolean,
                default: false
            }
        },
        watch: {
            // num(num) {
            //     this.num = num
            // },
            show(show) {
                this.show = show
            }
        },
        data() {
            return {
                num: 0,
            };
        },
        methods: {
            confrim() {
                this.show = false
            },
        }
    }
</script>
<style>
    .flex-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .canvas {
        height: 100vh;
        width: 100%;
@@ -33,9 +72,6 @@
        position: fixed;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main {
        width: 80%;
pages/basics/pakin.vue
@@ -84,7 +84,6 @@
                <button class="cu-btn bg-blue " @click="comb()">组托</button>
            </label>
        </view>
        <!-- 弹窗 -->
        <!-- 修改数量 -->
        <uni-popup ref="revise" background-color="#fff">
pages/basics/piking.vue
@@ -61,22 +61,25 @@
                </view>
            </view>
        </scroll-view>
        <y-pop>
        </y-pop>
        <view>
            <!-- 修改数量 -->
            <uni-popup ref="revise" background-color="#fff" @change="change">
            <uni-popup ref="revise" @change="change">
                <view class="revise-box">
                    <view class="revise-box-top">
                        <view class="color-block-blue"></view>
                        <text class="title">修改</text>
                    </view>
                    <view class="text-box">
                        <text>可组数量:{{enableQty}}</text>
                    </view>
                    <view class="changeBox">
                        <view class="num-box">
                            <uni-number-box v-model="count" :min="minCount" :max="maxCount" color="#747474"  @change="changeValue"/>
                        </view>
                    <view class="change">
                        <view class="text-box">
                            <text>数量:{{enableQty}}</text>
                        </view>
                        <view class="changeBox">
                            <view class="num-box">
                                <uni-number-box v-model="count" :min="minCount" :max="maxCount" color="#747474"  @change="changeValue"/>
                            </view>
                        </view>
                    </view>
                    <view class="revise-box-buttom">
                        <view>
@@ -297,6 +300,25 @@
    } // exprot
</script>
<style>
    .revise-box {
        width: 500rpx;
        height: 300rpx;
        display: flex;
        flex-direction: column;
        border-radius: 20rpx;
        background-color: #fff;
    }
    .change {
        height: 150rpx;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .revise-box-buttom {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pak-seach-box {
        background-color: #FFFFFF;
        margin: 15rpx 15rpx 0rpx 15rpx;
pages/basics/stockCheck.vue
@@ -26,6 +26,22 @@
                    </view>
                </view>
            </view>
            <view class="square-2">
                <view class="square-title">
                    <view class="title-sign"><view class="sign"></view></view>
                    <view class="title-text"><text>添加商品</text></view>
                </view>
                <view class="square-content">
                    <view class="content-input-btn">
                        <input v-model="matnr" type="text" placeholder="扫码 / 输入" @input="findMat()"
                        :focus="focus" placeholder-style="line-height:  85rpx;">
                        <uni-icons type="closeempty" size="20" color="#dadada" @click="removeMatnr()"></uni-icons>
                    </view>
                    <view class="content-btn">
                        <button class="cu-btn bg-blue pda-btn" @click="selectMat()">+提取</button>
                    </view>
                </view>
            </view>
            <view class="pak-data-box">
                <view class="box-top">
                    <view class="color-block-blue"></view>
@@ -61,23 +77,26 @@
                </view>
            </view>
        </scroll-view>
        <y-pop title="调整"></y-pop>
        <!-- <y-pop v-model="count" title="修改" :max="9999999" :show="show"></y-pop> -->
        <view>
            <!-- 修改数量 -->
            <uni-popup ref="revise" background-color="#fff" @change="change">
            <uni-popup ref="revise" @change="change">
                <view class="revise-box">
                    <view class="revise-box-top">
                        <view class="color-block-blue"></view>
                        <text class="title">修改</text>
                    </view>
                    <view class="text-box">
                        <text>可组数量:{{enableQty}}</text>
                    <view class="change">
                        <view class="text-box">
                            <text>数量:{{enableQty}}</text>
                        </view>
                        <view class="changeBox">
                            <view class="num-box">
                                <uni-number-box v-model="count" :min="minCount" :max="maxCount" color="#747474"  @change="changeValue"/>
                            </view>
                        </view>
                    </view>
                    <view class="changeBox">
                        <view class="num-box">
                            <uni-number-box v-model="count" :min="minCount" :max="maxCount" color="#747474"  @change="changeValue"/>
                        </view>
                    </view>
                    <view class="revise-box-buttom">
                        <view>
                            <button class="cu-btn bg-blue" @click="confirm()">确认</button>
@@ -94,16 +113,19 @@
        data() {
            return {
                commonUrl:null,
                matList:[{}],
                matList:[],
                staNoList:[],
                barcode: '',
                staNo:'',
                matnr:'',
                enableQty:'',
                count:'',
                count:15,
                maxCount:'',
                minCount:0,
                rowNum:''
                rowNum:'',
                show: false,
                focus: false,
            }
        },
        mounted(){
@@ -237,6 +259,7 @@
                this.maxCount = item.maxCount
                this.rowNum = index
                this.eject()
                // this.show = true
            }, 
            remove(item,index) {
                this.matList.splice(index,1)
@@ -297,6 +320,25 @@
    } // exprot
</script>
<style>
    .revise-box {
        width: 500rpx;
        height: 300rpx;
        display: flex;
        flex-direction: column;
        border-radius: 20rpx;
        background-color: #F1F1F1;
    }
    .change {
        height: 150rpx;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .revise-box-buttom {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pak-seach-box {
        background-color: #FFFFFF;
        margin: 15rpx 15rpx 0rpx 15rpx;
unpackage/cache/apk/__UNI__DA5854D_cm.apk
Binary files differ