Ver Fonte

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

nzf há 3 anos atrás
pai
commit
f071732f43
1 ficheiros alterados com 1 adições e 8 exclusões
  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)
       })