朱鑫波 4 年之前
父節點
當前提交
2afeab7574
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/views/modules/columnConst/stockWatch.js
  2. 2 2
      src/views/modules/stockWatch/accountPage.vue

+ 2 - 2
src/views/modules/columnConst/stockWatch.js

@@ -1144,11 +1144,11 @@ export const KScustomFields= [
         },
         {
           title: '付费次数成本',
-          dataIndex: 'eventPayFirstDayCost',
+          dataIndex: 'eventPayCost',
           tip: '消耗/付费次数',
           align: 'center',    
           type:'int', 
-          scopedSlots: { customRender: 'eventPayFirstDayCost' },
+          scopedSlots: { customRender: 'eventPayCost' },
           sorter:() => {}
         },
         {

+ 2 - 2
src/views/modules/stockWatch/accountPage.vue

@@ -886,8 +886,8 @@ const columns=[
             changeColumn(val){
                 if(this.AggregateByHourList.today && this.AggregateByHourList.yesterday){
                     val.forEach(item=>{
-                        item.today=this.AggregateByHourList.today[item.dataIndex];
-                        item.yesterday=this.AggregateByHourList.yesterday[item.dataIndex]
+                        item.today=this.AggregateByHourList.today?this.AggregateByHourList.today[item.dataIndex]:0;
+                        item.yesterday=this.AggregateByHourList.yesterday?this.AggregateByHourList.yesterday[item.dataIndex]:0
                     })
                     this.columns=[...val];
                     let arr = JSON.stringify(this.columns)