| | |
| | | </view> |
| | | </view> |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">工单号:</view> |
| | | <view class="popup-item-right"> |
| | | <input type="text" v-model="standby1" class="popup-input" placeholder="请输入工单号"> |
| | | </view> |
| | | |
| | | </view> |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">批号:</view> |
| | | <view class="popup-item-right"> |
| | | <input type="text" v-model="batch" class="popup-input" placeholder="请输入批号"> |
| | |
| | | matInfo: '', |
| | | baseUrl: '', |
| | | token: '', |
| | | standby1: '', |
| | | storeId: 0, |
| | | store: '', |
| | | barcode: '', |
| | |
| | | }); |
| | | }, 1000); |
| | | } else { |
| | | uni.showToast({ title: result.msg, icon: "none", position: 'top' }) |
| | | that.resetConfirm() |
| | | uni.showToast({ title: `${that.matnr}商品档案未同步`, icon: "none", position: 'top' }) |
| | | } |
| | | |
| | | } |
| | |
| | | this.matnr = this.dataList[i].matnr |
| | | this.count = this.dataList[i].anfme |
| | | this.batch = this.dataList[i].batch |
| | | this.standby1 = this.dataList[i].standby1 || '' |
| | | this.weight = this.dataList[i].weight |
| | | this.rowNum = i |
| | | this.eject() |
| | |
| | | this.dataList[this.rowNum].anfme = this.count |
| | | this.dataList[this.rowNum].batch = this.batch |
| | | this.dataList[this.rowNum].weight = this.weight |
| | | this.dataList[this.rowNum].standby1 = this.standby1 |
| | | this.matnr = '' |
| | | uni.showToast({ title: '移除成功', icon: "success", position: 'top' }); |
| | | uni.showToast({ title: '修改成功', icon: "success", position: 'top' }); |
| | | this.$refs.revise.close() |
| | | }, |
| | | reviseClose() { |
| | |
| | | }, |
| | | // 确认重置 |
| | | resetConfirm() { |
| | | this.matInfo = '' |
| | | this.dataList = [] |
| | | this.messageText = "重置完成" |
| | | this.messageToggle('success') |
| | |
| | | }, |
| | | // 清空 |
| | | resst() { |
| | | this.matInfo = '' |
| | | this.dataList = [] |
| | | this.barcode = '' |
| | | this.barcodeFocuss() |