wupengfei
4 天以前 bf2a0dc5dade6614ce6d403bc90a833408047797
apps/bMiniApp/src/subpackages/payrollManage/payrollManageDetail/InnerPage.vue
@@ -58,7 +58,7 @@
          :name="item.name"
          :gender="item.gender"
          :isReal="item.isReal"
          :totalWorkHours="item.totalWorkHours"
          :totalWorkHours="item.timeoutHours"
          :settlementAmount="item.settlementAmount"
        >
          <template #actions v-if="form.auditStatus === EnumTaskSettlementAuditStatus.Wait">
@@ -117,6 +117,7 @@
  auditStatus: 0,
  billingMethod: 0,
  settlementStatus: 0,
  rosters: [] as API.AuditTaskSettlementCommandRoster[],
});
const {
@@ -143,6 +144,14 @@
      form.auditStatus = res.detail?.auditStatus;
      form.settlementStatus = res.detail?.settlementStatus;
      form.billingMethod = res.detail?.billingMethod;
      form.rosters = res.data?.map((x) => ({
        id: x.id,
        name: x.name,
        gender: x.gender,
        isReal: x.isReal,
        timeoutHours: x.timeoutHours,
        settlementAmount: x.settlementAmount,
      }));
    }
    return res;
  },
@@ -178,6 +187,7 @@
      id: id,
      operatorToken: operatorToken,
      auditStatus: auditStatus,
      rosters: form.rosters,
    };
    let res = await taskServices.auditTaskSettlement(params);
    if (res) {