diff --git a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue index 0e7617f..1e9ac8c 100644 --- a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue +++ b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue @@ -178,6 +178,10 @@ v-has="'incomePaymentAndInvoiving:invoicing'">开票 确认收入 + + + 修改待确收金额 + 开票类型 @@ -239,7 +243,14 @@ @ok="modalFormOk" > - + + + @@ -263,6 +274,7 @@ import {getPayConfirmList} from '../../../api/incomePaymentsApi' import JDictSelectTag from '@comp/dict/JDictSelectTag' import InvoiceInfoChangeModule from '../../packManagement/modules/InvoiceInfoChangeModule' import { formatMoney } from '@/utils/formatMoney' +import EditReceivableAmount from './modules/EditReceivableAmount' // 项目类型 数据字典 的定义 和数据库的保持一致 const ProjectTypeEnums = { @@ -290,7 +302,9 @@ export default { AuditProofModule, AuditModal, ConfirmStageModule, - InvoiceInfoChangeModule + InvoiceInfoChangeModule, + // 修改待确收金额 + EditReceivableAmount }, mixins: [JeroListMixin], data() { @@ -398,7 +412,7 @@ export default { dataIndex: 'action', align: 'center', fixed: 'right', - width: 300, + width: 380, scopedSlots: {customRender: 'action'} } ], @@ -632,6 +646,15 @@ export default { // this.confirmStageVisible = true this.$refs.changeInvoiceInfo.open(record) + }, + /** + * 修改-待确收金额-果有到账、确收、开票时需要同步修改状 + * @param record + */ + editReceivableAmount(record) { + this.selectProjectType = record.projectType + this.selectProjectId = record.id + this.$refs.editReceivableAmount.edit(record) } } } diff --git a/src/views/financialManagement/arriveAndInvoicing/modules/EditReceivableAmount.vue b/src/views/financialManagement/arriveAndInvoicing/modules/EditReceivableAmount.vue new file mode 100644 index 0000000..3851a5d --- /dev/null +++ b/src/views/financialManagement/arriveAndInvoicing/modules/EditReceivableAmount.vue @@ -0,0 +1,192 @@ + + + + + \ No newline at end of file