From 3e998dc80cf2c13e6c83d6fa3097d141f4a0604d Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Tue, 6 Aug 2024 20:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix:bug88082=E3=80=91-=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E7=BB=84=E7=A1=AE=E8=AE=A4=E5=87=AD=E8=AF=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=88=90=E6=9F=A5=E7=9C=8B=E5=87=AD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WorkingGroupMemberUnitMaintenance.vue | 21 +- .../modules/LookVoucherModal.vue | 267 ++++++++++++++++++ 2 files changed, 281 insertions(+), 7 deletions(-) create mode 100644 src/views/projectManagement/modules/LookVoucherModal.vue 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