11
heimawl
2023-08-10 9e350ffb4c277df502392a03e97982a1d22007ef
11
已修改3个文件
21 ■■■■■ 文件已修改
src/api/project/funddetail.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/fund/fundcontext/index.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/project/funddetail.js
@@ -12,7 +12,7 @@
// /project/fund/getFundDetail/{id}   修改是新写的接口
export function getownFundDetail (id) {
  return request({
    url: '/project/fund/getFundDetail/' + id,
    url: '/project/funddetail/getFundDetail/' + id,
    method: 'get',
  })
}
src/views/project/fund/fundcontext/index.vue
@@ -1330,6 +1330,8 @@
        //明细处理
        getownFundDetail(this.curId).then(res => {
          this.rbDetails = res.data;
          console.log(res);
          console.log(this.curId, res.data);
          if (this.rbDetails.length > 0) {
            for (let m = 0; m < this.rbDetails.length; m++) {
@@ -1379,6 +1381,7 @@
        //业务明细
        getownFundDetail(this.curId).then(res => {
          console.log(res);
          this.rbDetails = res.data;
          for (let m = 0; m < this.rbDetails.length; m++) {
            this.rbDetails[m].itemlist = [];
@@ -1412,6 +1415,8 @@
        })
        .then(() => {
          getownFundDetail(this.curId).then(res => {
            console.log(res);
            let listdetails = res.data;
            for (let i = 0; i < listdetails.length; i++) {
              delFunddetail(listdetails[i].id);
@@ -1595,12 +1600,12 @@
          //保存数据
          this.loading = true;
          this.form.servicerbDetails = 0;
          this.form.serviceFunddetails = 0;
          this.rbDetails.map(item => {
            this.form.servicerbDetails += item.amount;
            this.form.serviceFunddetails += item.amount;
          });
          console.log(this.rbDetails);
          this.form.servicerbDetails = this.rbDetails;
          this.form.serviceFunddetails = this.rbDetails;
          if (this.form.id != null) {
            // updateFund(this.form).then((response) => {
@@ -1820,9 +1825,9 @@
            row.taxedamount = 0.0;
          }
          this.form.servicerbDetails = 0;
          this.form.serviceFunddetails = 0;
          this.rbDetails.map(item => {
            this.form.servicerbDetails += item.amount;
            this.form.serviceFunddetails += item.amount;
          });
        }
      });
@@ -2104,6 +2109,8 @@
                }).then(() => {
                  this.$set(rows, rows.splice(index, 1));
                  getownFundDetail(this.form.id).then(res => {
                    console.log(res);
                    this.$set(this.rbDetails, res.data);
                    this.sumTotalFee();
                    // this.rbDetails = res.data
vue.config.js
@@ -35,7 +35,7 @@
      [process.env.VUE_APP_BASE_API]: {        
        // target:`http://localhost:8080`,
        // target:`http://116.62.18.175:8080`,
        target:`http://192.168.1.4:8086`,
        target:`http://192.168.2.8:8086`,
        // target: `https://slb.hospitalstar.com:9093`,
        changeOrigin: true,
        pathRewrite: {