#
zjj
2025-05-05 93c861f445641d96cd794638c41f81805a02bdb2
#
2个文件已修改
30 ■■■■ 已修改文件
pages/rece/other.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/rece/standard.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/rece/other.vue
@@ -90,8 +90,7 @@
                            <view class="cu-form-group padding-lr-0">
                                <view class="title text-blue"><text
                                        class="text-red text-xl vertical-middle">*</text>收货数量:</view>
                                <uni-number-box style="width: 70%;" v-model="item.receiptQty"
                                    :step='1'></uni-number-box>
                                <uni-number-box style="width: 70%;" :max="max" v-model="item.receiptQty" :step='1'></uni-number-box>
                            </view>
                        </view>
                        <view class="content" v-else>
@@ -160,8 +159,8 @@
        </view>
        <view class="cu-bar btn-group foot" v-show="isconfirm">
            <button class="cu-btn text-blue line-blue shadow" @click="prev">上一步</button>
            <button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm(false)">收货</button>
            <button class="cu-btn text-blue line-blue shadow" @click="prev">上一步</button>
            <button class="cu-btn bg-blue shadow-blur" @click="confirm(false)">收货</button>
        </view>
    </view>
@@ -185,8 +184,8 @@
                whAreaId: '',
                list: [],
                range: [],
                repeatClick: false,
                isconfirm: false
                isconfirm: false,
                max: 99999999
            }
        },
        computed: {
@@ -237,7 +236,7 @@
                this.list = []
                this.barcode = ''
            },
            next(event) {
            next() {
                if (this.list.length) {
                    this.isconfirm = true
                } else {
@@ -287,7 +286,7 @@
                        };
                    }).filter(el => el.receiptQty !== 0);
                    this.repeatClick = true
                    const {
                        code,
                        data,
@@ -303,15 +302,13 @@
                        })
                        this.list = []
                        this.barcode = ''
                        this.isconfirm = false
                        this.repeatClick = false
                        this.isconfirm = false
                        isCom && this.complete(data.id)
                    } else {
                        uni.showToast({
                            title: msg,
                            icon: "none",
                        })
                        this.repeatClick = false
                    }
                }
            },
pages/rece/standard.vue
@@ -80,7 +80,7 @@
                    <view class="content" v-if="!isconfirm">
                        <view class="cu-form-group padding-lr-0">
                            <view class="title text-blue">收货数量:</view>
                            <uni-number-box style="width: 70%;" v-model="item.receiptQty" :step='1'></uni-number-box>
                            <uni-number-box style="width: 70%;" :max="max" v-model="item.receiptQty" :step='1'></uni-number-box>
                        </view>
                    </view>
                    <view class="content" v-else>
@@ -179,8 +179,9 @@
                whAreaId: '',
                list: [],
                range: [],
                isconfirm: false,
                repeatClick: false
                isconfirm: false,
                repeatClick: false,
                max: 99999999
            }
        },
        computed: {
@@ -264,7 +265,7 @@
                        icon: "none",
                        title: '请选择收货区'
                    })
                } else {
                } else {
                    this.repeatClick = true
                    const {
                        code,
@@ -287,7 +288,7 @@
                            icon: "none",
                            position: 'top'
                        })
                    }
                    }
                    this.repeatClick = false
                }
            },