diff --git a/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue b/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue index 436b586..ffa401d 100644 --- a/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue +++ b/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue @@ -98,9 +98,9 @@ - + @@ -220,7 +220,7 @@ 调账 编辑 删除 - 确认凭证 + 查看凭证 @@ -234,6 +234,8 @@ + + @@ -256,6 +258,7 @@ import {YesOrNoEnums} from '@/enums/commonEnums' import { MonthRangeMixin } from '../../mixins/MonthRangeMixins' import { getAction } from '../../api/manage' import JMonthDate from '../../components/tools/JMonthDate' +import LookVoucherModal from './modules/LookVoucherModal' // eslint-disable-next-line no-undef,no-unused-vars const Base64 = require('js-base64').Base64 @@ -272,7 +275,8 @@ export default { PreviewFile, EmailErrorMsgModal, WorkGroupSetLabel, - JMonthDate + JMonthDate, + LookVoucherModal }, mixins: [JeroListMixin, MonthRangeMixin], computed: { @@ -337,7 +341,7 @@ export default { exportXlsUrl: '/project/payWorkingGroupSubitem/exportXls', importExcelUrl: '/project/payWorkingGroupSubitem/importExcel', downTemplateUrl: '/project/payWorkingGroupSubitem/downloadExcelModel', - // 确认凭证 + // 查看凭证 confirmVoucher: '/project/payWorkingGroupSubitem/confirmVoucher' }, columns: [ @@ -408,7 +412,7 @@ export default { scopedSlots: { customRender: 'status-pack' } }, { - title: '确认凭证', + title: '查看凭证', align: 'center', fixed: 'right', dataIndex: 'confirmVoucher', @@ -677,7 +681,10 @@ export default { this.queryParam.estimatedArrivalStartDate = dateString[0] this.queryParam.estimatedArrivalEndDate = dateString[1] }, - // 确认凭证 + // 查看凭证 + lookVoucher(record) { + this.$refs.lookVoucherModal.open(record) + }, confirmVoucher(id) { var that = this this.$confirm({ diff --git a/src/views/projectManagement/modules/LookVoucherModal.vue b/src/views/projectManagement/modules/LookVoucherModal.vue new file mode 100644 index 0000000..33bec5a --- /dev/null +++ b/src/views/projectManagement/modules/LookVoucherModal.vue @@ -0,0 +1,267 @@ + + + + + \ No newline at end of file