| | |
| | | arrayHOrgName: [], // 组织 |
| | | arrayHOrgValue: [], // 组织对应ID |
| | | arrayHWHInName: [], // 调入仓库 |
| | | HHWHInNameList: [], |
| | | HWHInNameList: [], |
| | | arrayHStockPlaceInName: [], //调入仓位 |
| | | HStockPlaceInNameList: [], |
| | | |
| | |
| | | this.getNewData() |
| | | } |
| | | |
| | | this.getHWarehouseInList() |
| | | //this.getHWarehouseInList() |
| | | // this.getHBaseList() |
| | | this.getHSupList() |
| | | this.getHEmpList() |
| | |
| | | success: (res) => { |
| | | if (res.data.count == 1) { |
| | | this.HWHNameList = res.data.data |
| | | this.HWHInNameList = res.data.data |
| | | for (var i = 0; i < res.data.data.length; i++) { |
| | | this.arrayHWHName[i] = res.data.data[i].仓库名称 |
| | | this.arrayHWHInName[i] = res.data.data[i].仓库名称 |
| | | } |
| | | } else { |
| | | uni.showToast({ |
| | |
| | | |
| | | this.arrayHMainSourceBillType.push('手工录入') |
| | | this.arrayHMainSourceBillValue.push('-1') |
| | | |
| | | //如果手工录入不用选择源单 |
| | | if(this.arrayHMainSourceBillType[0]=='手工录入'){ |
| | | this.tabs=1 |
| | | } |
| | | |
| | | this.HMainSourceBillType = this.arrayHMainSourceBillType[0] |
| | | this.hform.HMainSourceBillType = this.arrayHMainSourceBillValue[0] |
| | | } else { |