Преглед на файлове

改动财务管理->账单明细->导出分项按钮

nzf преди 3 години
родител
ревизия
f071732f43
променени са 1 файла, в които са добавени 1 реда и са изтрити 8 реда
  1. 1 8
      src/views/finance/query/index.vue

+ 1 - 8
src/views/finance/query/index.vue

@@ -711,14 +711,7 @@ export default {
         cancelButtonText: "取消",
         type: "warning",
       }).then(()=> {
-        let queryParams = { ...this.queryParams }
-        if (this.queryParams.fBsdateList) {
-          queryParams = {
-            ...this.queryParams,
-            dateRange: this.queryParams.fBsdateList[0] + ' 至 ' + this.queryParams.fBsdateList[1]
-          }
-        }
-        return exportSubItemList(queryParams)
+        return exportSubItemList(this.queryParams)
       }).then(res => {
         this.download(res.msg)
       })