浏览代码

营销费用统计调整

qymljy 8 月之前
父节点
当前提交
6b9373db12
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/HDrpManagement/salerpriceData/modules/salerType.vue

+ 3 - 3
src/HDrpManagement/salerpriceData/modules/salerType.vue

@@ -24,7 +24,7 @@
                     v-for="item in feestypeList"
                     :key="item.index"
                     :label="item.value + '-' + item.remarks"
-                    :value="item.value">
+                    :value="item.value + '-' + item.remarks">
                 </el-option>
               </el-select>
             </div>
@@ -178,7 +178,7 @@
         this.chartData = this.list[0].ratio.map(item=>{
           return {
             "totalamount": this.totalamount,//值
-            "type": item.type,
+            "type": item.text,
             "text": item.text,
             "rowindex": item.rowindex,
             "ratio": Math.round(((item.ratio * 100)*100)/100) //比例
@@ -227,7 +227,7 @@
         this.chartData = res.data[0].ratio.map(item=>{
           return {
             "totalamount": this.totalamount,//值
-            "type": item.type,
+            "type": item.text,
             "text": item.text,
             "rowindex": item.rowindex,
             "ratio": Math.round(((item.ratio * 100)*100)/100), //比例