lilei hai 3 semanas
pai
achega
95f8645222

+ 3 - 1
src/views/financialManagement/accountStatementBill/detail.vue

@@ -120,6 +120,7 @@
 
 <script>
 import { commonMixin } from '@/utils/mixin'
+import moment from 'moment'
 import { hdExportExcel } from '@/libs/exportExcel'
 import { STable, VSelect } from '@/components'
 import rangeDate from '@/views/common/rangeDate.vue'
@@ -228,7 +229,8 @@ export default {
     handleExport () {
       const _this = this
       _this.exportLoading = true
-      hdExportExcel(verifyAccountBalanceDetailExport, { dealerSn: this.dealerSn, ..._this.queryParam }, '(' + _this.$route.params.name + ')余额', function () {
+      const timeStr = moment().format('YYYYMMDDHHmmss')
+      hdExportExcel(verifyAccountBalanceDetailExport, { dealerSn: this.dealerSn, ..._this.queryParam }, '(' + _this.$route.params.name + ')余额-' + timeStr, function () {
         _this.exportLoading = false
       })
     },

+ 3 - 1
src/views/financialManagement/accountStatementBill/list.vue

@@ -96,6 +96,7 @@
 
 <script>
 import { commonMixin } from '@/utils/mixin'
+import moment from 'moment'
 import { STable, VSelect } from '@/components'
 import { hdExportExcel } from '@/libs/exportExcel'
 import subarea from '@/views/common/subarea.js'
@@ -199,7 +200,8 @@ export default {
     handleExport () {
       const _this = this
       _this.exportLoading = true
-      hdExportExcel(verifyAccountBalanceExport, _this.queryParam, '经销商对账单据余额', function () {
+      const timeStr = moment().format('YYYYMMDDHHmmss')
+      hdExportExcel(verifyAccountBalanceExport, _this.queryParam, '经销商对账单据余额-' + timeStr, function () {
         _this.exportLoading = false
       })
     },