浏览代码

销售数据、线索数据、项目数据和客户数据,数据概况新增上月筛选

qymljy 3 月之前
父节点
当前提交
8bc806ada7

+ 1 - 1
src/HDrpManagement/customerData/index.vue

@@ -46,7 +46,7 @@
                 </div>
               </div>
               <div>
-                <btnSelect :btn-title="['全部','本年','本季','本月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
+                <btnSelect :btn-title="['全部','本年','本季','本月','上月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
               </div>
             </div>
             <div class="data-all">

+ 1 - 1
src/HDrpManagement/projectData/index.vue

@@ -47,7 +47,7 @@
                 </div>
               </div>
               <div>
-                <btnSelect :btn-title="['全部','本年','本季','本月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
+                <btnSelect :btn-title="['全部','本年','本季','本月','上月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
               </div>
             </div>
 

+ 1 - 1
src/views/clueData/index.vue

@@ -34,7 +34,7 @@
               </div>
             </div>
             <div>
-              <btnSelect :btn-title="['全部','本年','本季','本月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
+              <btnSelect :btn-title="['全部','本年','本季','本月','上月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
             </div>
           </div>
 

+ 11 - 0
src/views/salesData/modules/digitalSigns.vue

@@ -5,6 +5,7 @@
       <div class="title">{{$t('销售面板')}}</div>
       <el-button-group class="container">
         <el-button :type="dataType === '去年'?'primary':''" @click="onChange('去年')" size="small">{{$t('去年')}}</el-button>
+        <el-button :type="dataType === '上月'?'primary':''" @click="onChange('上月')" size="small">{{$t('上月')}}</el-button>
         <el-button :type="dataType === '本年'?'primary':''" @click="onChange('本年')" size="small">{{$t('本年')}}</el-button>
         <el-button :type="dataType === '本季'?'primary':''" @click="onChange('本季')" size="small">{{$t('本季')}}</el-button>
         <el-button :type="dataType === '本月'?'primary':''" @click="onChange('本月')" size="small">{{$t('本月')}}</el-button>
@@ -63,6 +64,16 @@ export default {
         this.$refs.invoicing.listData()
         this.$refs.returned.param.content.dateType = '去年'
         this.$refs.returned.listData()
+      }else if (val === '上月'){
+        this.dataType = '上月'
+        this.$refs.order.param.content.dateType = '上月'
+        this.$refs.order.listData()
+        this.$refs.shipment.param.content.dateType = '上月'
+        this.$refs.shipment.listData()
+        this.$refs.invoicing.param.content.dateType = '上月'
+        this.$refs.invoicing.listData()
+        this.$refs.returned.param.content.dateType = '上月'
+        this.$refs.returned.listData()
       }else {
         this.dataType = '本月'
         this.$refs.order.param.content.dateType = '本月'