| | |
| | | let cusIdcard = this.form.cusIdcard; |
| | | if (cusIdcard) { |
| | | getCusIdcard(cusIdcard).then((response) => { |
| | | console.log(response,1111111111) |
| | | _this.top = false; |
| | | if (response.data) { |
| | | this.form = response.data; |
| | | this.form.firmDeptName = response.data.department; |
| | | if (this.form.discount === null) { |
| | | this.discount = 10; |
| | | } else { |
| | |
| | | }, |
| | | handleClick(tab, event) { |
| | | if (this.activeNames == "second") { |
| | | console.log(this.form); |
| | | |
| | | this.DataList = []; |
| | | this.checkedkey = []; |
| | | this.TreedataList = []; |
| | |
| | | }); |
| | | } |
| | | }, |
| | | // gaibian(val){ |
| | | // let pname = val; |
| | | // getProParentIdDxList(pname).then(response=>{ |
| | | // this.Treedata = response.data.list; |
| | | // }) |
| | | // }, |
| | | getDataList() { |
| | | this.loading = true; |
| | | getProParentIdDxList().then((response) => { |
| | | console.log(this.form); |
| | | |
| | | getProParentIdDxList(this.form.cusSex).then((response) => { |
| | | this.Treedata = response.data.list; |
| | | |
| | | // 回显 TreedataList 到 DataList |