1、考勤组管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-07-19 17:25:17 +08:00
parent 9135ee31b9
commit 97f298d8c7
9 changed files with 636 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ import {cloneDeep} from '@vben/utils';
import {useVbenForm} from '#/adapter/form';
import {
houseChargeAdd,
houseChargeInfo,
houseChargeInfo, houseChargeRefund,
houseChargeUpdate
} from '#/api/property/costManagement/houseCharge';
import {defaultFormValueGetter, useBeforeCloseDiff} from '#/utils/popup';
@@ -83,9 +83,9 @@ async function handleConfirm() {
}
// getValues获取为一个readonly的对象 需要修改必须先深拷贝一次
const data = cloneDeep(await formApi.getValues());
record.value.reason=data.reason
record.value.chargeStatus = '5'
await houseChargeUpdate(record.value) ;
data.costItemsId = record.value.costItemsId
data.personId = record.value.personId
await houseChargeRefund(data);
resetInitialized();
emit('reload');
modalApi.close();
@@ -115,7 +115,7 @@ async function handleClosed() {
</DescriptionsItem>
<DescriptionsItem label="费用类型">
<component
v-if="costItem"
v-if="costItem"
:is="renderDict(costItem?.costType,'pro_expense_type')"
/>
</DescriptionsItem>