瀏覽代碼

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

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)
       })