| | |
| | | // 设置子位置 |
| | | async setLocationList(jointName) { |
| | | await getLocationList({ |
| | | // keyword: "", |
| | | jointName: jointName, |
| | | page: 1, |
| | | pageSize: 100 |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | const list = res.data ? res.data : [] |
| | | this.selSonLocationOptions = list |
| | | // if (this.isReorder) { |
| | | // this.locacionName = list[0]?.name |
| | | // this.locacionId = list[0]?.id |
| | | // this.$emit("selLocationClick", list[0], "locacionName") |
| | | // } |
| | | // const list = res.data ? res.data : [] |
| | | this.selSonLocationOptions = res.data |
| | | console.log(this.selSonLocationOptions,"看看变了没") |
| | | } |
| | | }) |
| | | }, |