lilei 5 ngày trước cách đây
mục cha
commit
12c9239c2e
1 tập tin đã thay đổi với 10 bổ sung5 xóa
  1. 10 5
      src/views/reportData/newCustomSales/list.vue

+ 10 - 5
src/views/reportData/newCustomSales/list.vue

@@ -62,10 +62,13 @@
               </a-col>
               <a-col :md="4" :sm="24">
                 <a-form-model-item label="实售/开单金额">
-                  <a-select placeholder="请选择">
-                    <a-select-option value="1">实售金额</a-select-option>
-                    <a-select-option value="2">开单金额</a-select-option>
-                  </a-select>
+                  <v-select
+                    v-model="queryParam.amountType"
+                    ref="amountType"
+                    id="customerCountList-amountType"
+                    code="AMOUNT_TYPE"
+                    placeholder="请选择"
+                  ></v-select>
                 </a-form-model-item>
               </a-col>
             </template>
@@ -170,7 +173,8 @@ export default {
           subareaAreaSn: '', // 分区
           bizUserSn: undefined, // 区域负责人
           kfSn: undefined// 客服
-        }
+        },
+        amountType: 'total_real_amount'
       },
       columns: [], // 表格  列数据
       totalData: null, // 合计
@@ -313,6 +317,7 @@ export default {
       this.queryParam.subareaArea.bizUserSn = undefined
       this.queryParam.subareaArea.kfSn = undefined
       this.queryParam.dealerLevel = undefined
+      this.queryParam.amountType = 'total_real_amount'
       if (this.advanced) {
         this.$refs.subarea.clearData()
         this.$refs.dealerSubareaScopeList.resetForm()