工作组变更;统计样式;单个开票

This commit is contained in:
zhaoxiao
2021-09-17 11:16:22 +08:00
parent ef627d34dd
commit d391eeb9ee
12 changed files with 214 additions and 154 deletions
@@ -136,7 +136,7 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import JYearDate from '@comp/jero/JYearDate'
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
import { getWorkingGroupById, getChargeNotice } from '@api/incomePaymentsApi'
import { getWorkingGroupById, getChargeNotice, dunningReminder } from '@api/incomePaymentsApi'
import StatusSlot from '../../components/tools/StatusSlot'
import ProjectDetailModal from '../../components/ProjectDetailModal'
import WorkingGroupMemberUnitModule from './modules/WorkingGroupMemberUnitModule'
@@ -402,6 +402,28 @@ export default {
this.$message.warn('请先选择成员')
return
}
let param = {
projectIds: this.selectedRowKeys.join(',').toString()
}
const that = this
this.$confirm({
title: '确认催款',
content: '是否向选中的成员发送催款提醒?',
onOk: function () {
that.loading = true
dunningReminder(param).then((res) => {
if (res.success) {
that.$message.success(res.message)
that.loadData()
that.onClearSelected()
} else {
that.$message.warning(res.message)
}
}).finally(() => {
that.loading = false
})
}
})
},
/**
* 文件预览