陈婷婷
2025-12-09 5d9c10700069de1e146f175623beb691d4c1bb17
src/views/sell/sellOut/sellOutBillEdit.vue
@@ -852,11 +852,16 @@
      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("接口请求失败!");
      });
    },
@@ -1022,6 +1027,10 @@
          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]