| | |
| | | "sys_travelexpensebelong", |
| | | "sys_traffictype", |
| | | "sys_area_name", |
| | | "sys_traffictype" |
| | | ], |
| | | data() { |
| | | return { |
| | |
| | | for (let i = 0; i < persontypeArr.length; i++) { |
| | | this.tempArrr = []; |
| | | listReportname(persontypeArr[i]).then((res) => { |
| | | console.log(res); |
| | | this.tempArrr = res.data; |
| | | this.personList = this.personList.concat(this.tempArrr); |
| | | }); |
| | |
| | | getUserList() { |
| | | listUser().then((res) => { |
| | | this.userlist = res.data; |
| | | |
| | | |
| | | }); |
| | | }, |
| | | selectedTraveler() { |
| | |
| | | this.reimbursementList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | |
| | | }); |
| | | }, |
| | | // 取消按钮 |
| | |
| | | if (res.data.length == 0) { |
| | | return; |
| | | } |
| | | |
| | | this.applicationDetailArr = res.data; |
| | | for (let i = 0; i < this.applicationDetailArr.length; i++) { |
| | | debugger; |
| | |
| | | this.open = false; |
| | | this.getList(); |
| | | }); |
| | | }); |
| | | }).catch(err=>{ |
| | | console.log(err); |
| | | }) |
| | | } else { |
| | | this.form.recordstatus = -1; |
| | | const applicationDetailArr = [...this.applicationDetailArr] |
| | |
| | | applicationDetailArr2[i].rbid = id; |
| | | } |
| | | addOrUpdateRBpayee(applicationDetailArr2); |
| | | }); |
| | | }); |
| | | }) |
| | | }) |
| | | } |
| | | } |
| | | }); |