|
@@ -133,7 +133,7 @@ import rangeDate from '@/views/common/rangeDate.vue'
|
|
|
import baseModal from './baseModal.vue'
|
|
|
import verifyModal from './verifyModal.vue'
|
|
|
import chooseDepartUserModal from './chooseDepartUserModal.vue'
|
|
|
-import { verifyAccountChangeList, verifyAcountBillSubmit, verifyAccountChangeDel } from '@/api/verifyAccountChange.js'
|
|
|
+import { verifyAccountChangeList, verifyAcountBillSubmit, verifyAccountChangeDel, verifyAccountChangeExport } from '@/api/verifyAccountChange.js'
|
|
|
export default {
|
|
|
name: 'ManualEntryFormList',
|
|
|
mixins: [commonMixin],
|
|
@@ -213,25 +213,13 @@ export default {
|
|
|
this.queryParam.beginDate = date[0] ? date[0] : ''
|
|
|
this.queryParam.endDate = date[1] ? date[1] : ''
|
|
|
},
|
|
|
- // 导出 必填判断
|
|
|
- handleExport () {
|
|
|
- const _this = this
|
|
|
- this.$refs.ruleForm.validate(valid => {
|
|
|
- if (valid) {
|
|
|
- _this.exportList()
|
|
|
- } else {
|
|
|
- _this.$message.error('请选择查询月份')
|
|
|
- return false
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
// 导出
|
|
|
- exportList () {
|
|
|
+ handleExport () {
|
|
|
const _this = this
|
|
|
- const params = JSON.parse(JSON.stringify(_this.queryParam))
|
|
|
+ const params = _this.queryParam
|
|
|
_this.exportLoading = true
|
|
|
_this.spinning = true
|
|
|
- hdExportExcel(promoSalesExpenseExport, params, '人工录入单', function () {
|
|
|
+ hdExportExcel(verifyAccountChangeExport, params, '人工录入单', function () {
|
|
|
_this.exportLoading = false
|
|
|
_this.spinning = false
|
|
|
})
|