From ed25e3417285180dec672d7958d4783a46d4dbfe Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Sat, 18 Sep 2021 11:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E6=89=80=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/incomePaymentsApi.js | 1 - src/components/form/InstallmentForm.vue | 4 + .../modules/ExpenditureContractModule.vue | 4 + .../revenueContract/RevenueContractList.vue | 10 +- .../modules/AssociatedProject.vue | 20 ++-- .../ArriveAndInvoivingList.vue | 14 +-- src/views/packManagement/PackCompanyList.vue | 5 +- .../packManagement/PackProjectMaintenance.vue | 1 + .../modules/BatchInvoicingModule.vue | 40 +++++++- .../WholeInstituteStatisticsList.vue | 92 ++++++++++++++----- .../WorkingGroupPaymentStatisticsDetail.vue | 3 +- .../WorkingGroupPaymentStatisticsList.vue | 1 + 12 files changed, 146 insertions(+), 49 deletions(-) diff --git a/src/api/incomePaymentsApi.js b/src/api/incomePaymentsApi.js index 80de334..d0f5f07 100644 --- a/src/api/incomePaymentsApi.js +++ b/src/api/incomePaymentsApi.js @@ -37,7 +37,6 @@ const amountReceivedList = (param) => postAction(`/paymentRecord/payPaymentRecor // 开票列表 const payBillList = (param) => postAction(`/paymentRecord/payPaymentRecord/payBillList?id=${ param }`) // 新增开票阶段 -// const addPayBill = (projectId, projectType, invoiceAmounts, param) => postAction(`/paymentRecord/payPaymentRecord/addPayBill?projectIds=${projectId}&projectTypes=${projectType}&invoiceAmounts=${invoiceAmounts}`, param) const addPayBill = (param) => postAction(`/paymentRecord/payPaymentRecord/addPayBill`, param) // 编辑开票阶段 const editPayBill = (param) => postAction('/paymentRecord/payPaymentRecord/editPayBill', param) diff --git a/src/components/form/InstallmentForm.vue b/src/components/form/InstallmentForm.vue index 2f11fdf..96f9ff5 100644 --- a/src/components/form/InstallmentForm.vue +++ b/src/components/form/InstallmentForm.vue @@ -17,6 +17,7 @@ v-decorator="['installmentList['+index+'].accountsReceivableAmount',validatorRules.accountsReceivableAmount]" :maxLength='50' v-bind="$attrs" + @blur="addZero" @change="(e) => {e.target.value = (e.target.value.replace(/[^0-9.]/g,'')).trim()}"> @@ -36,6 +37,7 @@ v-decorator="['installmentList['+index+'].paidAmount',validatorRules.paidAmount]" :maxLength='50' v-bind="$attrs" + @blur="addZero" @change="(e) => {e.target.value = (e.target.value.replace(/[^0-9.]/g,'')).trim()}"> @@ -64,6 +66,7 @@ diff --git a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue index a0ca158..7dea9e1 100644 --- a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue @@ -76,6 +76,7 @@ :loading="loading" :scroll="{x: 1000}" @change="handleTableChange" + :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" :class="dataSource.length === 0 ? 'show-scroll' : ''" class="j-table-force-nowrap main-table"> @@ -156,7 +157,7 @@ export default { title: '序号', dataIndex: '', key: 'rowIndex', - width: 100, + width: 60, align: 'center', customRender: function (t, r, index) { return parseInt(index) + 1 diff --git a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue index 58f56c4..f361cc7 100644 --- a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue +++ b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue @@ -55,6 +55,7 @@ :scroll="{x: 1100}" @change="handleTableChange" :class="dataSource.length === 0 ? 'show-scroll' : ''" + :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" class="j-table-force-nowrap main-table">