diff --git a/jshERP-web/src/utils/util.js b/jshERP-web/src/utils/util.js index d1daa94e..78484f18 100644 --- a/jshERP-web/src/utils/util.js +++ b/jshERP-web/src/utils/util.js @@ -1,4 +1,3 @@ -import * as api from '@/api/api' import { isURL } from '@/utils/validate' import XLSX from 'xlsx' import Vue from 'vue' @@ -527,8 +526,7 @@ export function getNowFormatStr() { if (strSeconds >= 0 && strSeconds <= 9) { strSeconds = "0" + strSeconds; } - let currentdate = month + strDate + strHours + strMinutes + strSeconds; - return currentdate; + return month +''+ strDate +''+ strHours +''+ strMinutes +''+ strSeconds; } /** @@ -609,7 +607,7 @@ export function sheet2blob (aoa, sheetName) { workbook.Sheets[sheetName] = sheet // 生成excel的配置项 let wopts = { - bookType: 'xlsx', // 要生成的文件类型 + bookType: 'xls', // 要生成的文件类型 bookSST: false, // 是否生成Shared String Table,官方解释是,如果开启生成速度会下降,但在低版本IOS设备上有更好的兼容性 type: 'binary' } diff --git a/jshERP-web/src/views/report/modules/DebtAccountList.vue b/jshERP-web/src/views/report/modules/DebtAccountList.vue index 08bc3197..bc048944 100644 --- a/jshERP-web/src/views/report/modules/DebtAccountList.vue +++ b/jshERP-web/src/views/report/modules/DebtAccountList.vue @@ -28,27 +28,30 @@ 查询 - 重置 + 打印 + 导出 - - - {{record.number}} - - +
+ + + {{record.number}} + + +
@@ -58,6 +61,7 @@