| | |
| | | }, |
| | | created() { |
| | | // this.getConsumables(); |
| | | // this.getDeptList(); |
| | | this.getDeptList(); |
| | | // this.getDeptTree().then(() => { |
| | | // this.precomputePinyin(); |
| | | // }); |
| | |
| | | this.form.hisXmbm = ""; |
| | | this.form.hisXmmc = ""; |
| | | this.form.hisdj = ""; |
| | | this.loading = true; |
| | | // this.loading = true; |
| | | this.proParent = false; |
| | | this.form.proPrice = 0.0; |
| | | this.form.proName = ""; |
| | | this.form.proId = null; |
| | | this.form.resultType = "1"; |
| | | this.getDeptList(); |
| | | getlist().then((response) => { |
| | | if (response.code == 200) { |
| | | this.loading = false; |
| | | // this.loading = false; |
| | | this.projectOptions = []; |
| | | const project = { proId: 0, proName: "主类目", children: [] }; |
| | | project.children = this.handleTree(response.data.list, "proId"); |