| | |
| | | icon: 'none', |
| | | title: '扫描仓位条码对应的仓位不存在...' |
| | | }) |
| | | this.HOutStockPlaceNameChange('') |
| | | } else { |
| | | this.HOutStockPlaceNameChange(this.HStockPlaceNameList[index]['仓位名称']) |
| | | } |
| | |
| | | let index = this.HStockPlaceInNameList.findIndex(elem => elem['条码编号'] == e) |
| | | console.log('index: ', index); |
| | | if (index == -1) { |
| | | this.HStockPlaceNameChange('') |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: '扫描仓位条码对应的仓位不存在...' |
| | |
| | | this.getHBaseList() |
| | | } |
| | | }, |
| | | // 调入仓库修改 |
| | | // 调入仓位修改 |
| | | HStockPlaceInNameChange(e) { |
| | | for (var i = 0; i < this.HStockPlaceNameList.length; i++) { |
| | | if (this.HStockPlaceNameList[i].仓位名称 == e) { |
| | |
| | | } |
| | | } |
| | | }, |
| | | // 调入仓位修改 |
| | | // 调入仓库修改 |
| | | HWHInNameChange(e) { |
| | | console.log('e: ', e); |
| | | this.hform.HStockPlaceName = '' |
| | | this.hform.HStockPlaceID = 0 |
| | | for (var i = 0; i < this.HWHInNameList.length; i++) { |
| | | if (this.HWHInNameList[i].仓库名称 == e) { |
| | | this.hform.HWHName = this.HWHInNameList[i].仓库名称 |