wupengfei
4 天以前 3ce433812377c22eef48b96f92f8506251c2cfc4
src/views/ServiceChargeManage/ServiceChargeDetail.vue
@@ -1,6 +1,6 @@
<template>
  <LoadingLayout :loading="isLoading">
    <AppContainer>
    <AppScrollContainer>
      <ChunkCell title="结算单详情">
        <ProForm :model="form" ref="formRef" label-width="120px" :is-read="true">
          <ProFormCol>
@@ -84,36 +84,32 @@
          :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>
@@ -122,6 +118,7 @@
import {
  LoadingLayout,
  AppContainer,
  AppScrollContainer,
  ChunkCell,
  ProForm,
  ProFormItemV2,
@@ -330,7 +327,7 @@
      actualSettlementAmount: row?.actualSettlementAmount ?? null,
      receiveAccount: row?.receiveAccount ?? '',
      bank: row?.bank ?? '',
      totalWorkHours: null as number,
      totalWorkHours: row?.totalWorkHours ?? null,
      settlementAccess: form.settlementAccess,
      // bankBranch: row?.bankBranch ?? '',
    });
@@ -388,6 +385,7 @@
              bank: '所属银行',
              bankBranch: '所属支行',
              receiveAccount: '收款账户',
              totalWorkHours: '累计工时(小时)',
              settlementAmount: '结算金额',
              actualSettlementAmount: '实发金额',
              errorMessage: '错误信息',
@@ -489,6 +487,10 @@
    }
  }
}
.chuck-add-or-edit-actions {
  margin-bottom: 20px;
}
</style>
<style lang="scss">
.text-over-tooltip-content {