| | |
| | | <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> |
| | |
| | | origin: null, // 仓库 |
| | | current: 0, |
| | | isNum:false, |
| | | Rummage:'' |
| | | memo:'' |
| | | |
| | | } |
| | | }, |
| | |
| | | }, |
| | | // 确认出库口 |
| | | check() { |
| | | console.log(this.matList); |
| | | let that = this |
| | | if (this.current == 0) { |
| | | this.origin = 1288 |
| | |
| | | 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 |
| | |
| | | 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() // 强制刷新 |
| | | }, |