| | |
| | | <template> |
| | | <LoadingLayout :loading="isLoading"> |
| | | <AppContainer> |
| | | <AppScrollContainer> |
| | | <ChunkCell title="结算单详情"> |
| | | <ProForm :model="form" ref="formRef" label-width="120px" :is-read="true"> |
| | | <ProFormCol> |
| | |
| | | :auto-height="false" |
| | | ref="proTable" |
| | | :tableProps="{ |
| | | maxHeight: '250px', |
| | | maxHeight: '400px', |
| | | }" |
| | | > |
| | | </ProTableV2> |
| | | <div class="chuck-add-or-edit-actions"> |
| | | <el-button class="chuck-add-or-edit-actions" @click="handleBack">取消</el-button> |
| | | <el-button |
| | | v-if="form.auditStatus === EnumTaskSettlementAuditStatus.Wait" |
| | | v-if=" |
| | | isSettlement && |
| | | (!form.auditStatus || form.auditStatus !== EnumTaskSettlementAuditStatus.Pass) |
| | | " |
| | | class="chuck-add-or-edit-actions" |
| | | type="primary" |
| | | @click="handleSubmit()" |
| | | >结算申请</el-button |
| | | > |
| | | <el-button |
| | | v-if="form.auditStatus === EnumTaskSettlementAuditStatus.Pass" |
| | | v-if="isSettlement && form.auditStatus === EnumTaskSettlementAuditStatus.Pass" |
| | | class="chuck-add-or-edit-actions" |
| | | type="primary" |
| | | @click="handleSubmit()" |
| | | >提交结算</el-button |
| | | > |
| | | <el-button |
| | | v-if="isSettlement" |
| | | class="chuck-add-or-edit-actions" |
| | | type="primary" |
| | | @click="handleSubmit()" |
| | | >结算</el-button |
| | | > |
| | | </div> |
| | | </ChunkCell> |
| | | </AppContainer> |
| | | </AppScrollContainer> |
| | | <EditAccountInfoDialog v-bind="dialogProps"></EditAccountInfoDialog> |
| | | <SettleDetailDialog v-bind="dialogSettleProps" /> |
| | | </LoadingLayout> |
| | |
| | | import { |
| | | LoadingLayout, |
| | | AppContainer, |
| | | AppScrollContainer, |
| | | ChunkCell, |
| | | ProForm, |
| | | ProFormItemV2, |
| | |
| | | actualSettlementAmount: row?.actualSettlementAmount ?? null, |
| | | receiveAccount: row?.receiveAccount ?? '', |
| | | bank: row?.bank ?? '', |
| | | totalWorkHours: null as number, |
| | | totalWorkHours: row?.totalWorkHours ?? null, |
| | | settlementAccess: form.settlementAccess, |
| | | // bankBranch: row?.bankBranch ?? '', |
| | | }); |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .chuck-add-or-edit-actions { |
| | | margin-bottom: 20px; |
| | | } |
| | | </style> |
| | | <style lang="scss"> |
| | | .text-over-tooltip-content { |