ソースを参照

供应商产能报表-筛选条件调整

jbb 2 年 前
コミット
bc2fdb2543
1 ファイル変更6 行追加0 行削除
  1. 6 0
      src/views/reportForms/supply-capacity-table.vue

+ 6 - 0
src/views/reportForms/supply-capacity-table.vue

@@ -24,6 +24,7 @@
                   :placeholder="['开始时间', '结束时间']"
                   @panelChange="handlePanelChange2"
                   @openChange="onDateChange"
+                  @change="changeData"
                 />
               </a-form-item>
             </a-col>
@@ -385,6 +386,11 @@ export default {
     onDateOk(value) {
       console.log('value', value)
     },
+    changeData(value){
+      this.timeRange = value
+      this.queryParam.startDate = this.timeRange[0]
+      this.queryParam.endDate = this.timeRange[1]
+    },
     // 分页变化时触发
     handleTableChange(pagination, filters, sorter) {
       console.log('分页器信息', pagination)