| | |
| | | axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', { |
| | | params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | if(response.data.count == 0) { |
| | | this.$modal.msgWarning(response.data.Message); |
| | | return |
| | | } |
| | | var data = response.data.data[0]; |
| | | this.form.HCusBalance = data.HCusBalance |
| | | this.form.HCreditRating_Now = data.HCreditRating_Now |
| | | this.form.HAvailableBalance = data.HAvailableBalance |
| | | }).catch(error => { |
| | | console.error(error) |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }, |
| | |
| | | HCusID: HCusID |
| | | } |
| | | }).then(response => { |
| | | if(response.data.count == 0) { |
| | | this.$modal.msgWarning(response.data.Message); |
| | | return |
| | | } |
| | | this.form.联系人 = response.data.data[0].HLinkMan |
| | | this.form.联系电话 = response.data.data[0].HLinkPhone |
| | | // this.form = response.data.data[0] |