#
whycq
2022-09-13 b639462cc2e581e9a7e2b7b098505af3766e8283
#
1个文件已修改
17 ■■■■■ 已修改文件
pages/basics/outPakin.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/outPakin.vue
@@ -98,8 +98,8 @@
                    <text class="title">修改批号/数量</text>
                </view>
                <view class="" style="position: relative;left: 50px;margin-bottom: 20px;">
                    <text style="display: inline-block;float: left;width: 50px;">批号:</text>
                    <input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="Rummage">
                    <text style="display: inline-block;float: left;width: 50px;">翻包:</text>
                    <input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="memo">
                </view>
                <view class="revise-box-buttom">
                    <view>
@@ -135,7 +135,7 @@
                origin: null, // 仓库
                current: 0,
                isNum:false,
                Rummage:''
                memo:''
                
            }
        },
@@ -170,6 +170,7 @@
            },
            // 确认出库口
            check() {
                console.log(this.matList);
                let that = this
                if (this.current == 0) {
                    this.origin = 1288
@@ -449,7 +450,7 @@
                console.log('当前模式:' + e.type + ',状态:' + e.show);
            },
            revise(item,index) {
                this.count = this.matList[index].anfme
                this.memo = this.matList[index].memo
                // var maxCount = this.matList[index].maxCount
                // if (maxCount == undefined ) {
                //     this.matList[index]["maxCount"] = item.enableQty
@@ -460,9 +461,13 @@
                this.rowNum = index
                this.eject()
            },
            eject(type) {
                this.type = type
                // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
                this.$refs.revise.open(type)
            },
            confirm() {
                this.matList[this.rowNum].anfme = this.count
                this.matList[this.rowNum].batch = this.batch
                this.matList[this.rowNum].memo = this.memo
                this.$refs.revise.close()
                this.$forceUpdate() // 强制刷新
            },