Selaa lähdekoodia

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

nzf 3 vuotta sitten
vanhempi
commit
f071732f43
1 muutettua tiedostoa jossa 1 lisäystä ja 8 poistoa
  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)
       })