| | |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <template v-if="form.billingMethod === EnumBillingMethod.Hour"> |
| | | <template |
| | | v-if=" |
| | | form.billingMethod === EnumBillingMethod.Hour || |
| | | form.billingMethod === EnumBillingMethod.Day |
| | | " |
| | | > |
| | | <ProFormCol> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="核定工时:" prop="verifyWorkHours"> |
| | | <ProFormItemV2 |
| | | label="核定工时:" |
| | | prop="verifyWorkHours" |
| | | :check-rules="[{ message: '请输入核定工时' }]" |
| | | > |
| | | <ProFormInputNumber |
| | | :controls="false" |
| | | v-model="form.verifyWorkHours" |
| | |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <ProFormItemV2 |
| | | label="结算方式:" |
| | | prop="settlementAccess" |
| | | :check-rules="[{ message: '请选择结算方式' }]" |
| | | > |
| | | <ProFormSelect |
| | | v-model="form.settlementAccess" |
| | | :value-enum="EnumEnterpriseWalletAccessTextForSettle" |
| | | placeholder="请选择结算方式" |
| | | ></ProFormSelect> |
| | | </ProFormItemV2> |
| | | </ProForm> |
| | | <template #footer> |
| | | <el-button @click="handleBack">关闭</el-button> |
| | |
| | | EnumSettlementCycleDateMonthArray, |
| | | EnumSettlementCycleDateWeekArray, |
| | | EnumTaskCheckReceiveMethodText, |
| | | EnumEnterpriseWalletAccessTextForSettle, |
| | | } from '@/constants'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import { format } from '@/utils'; |
| | |
| | | description: '', |
| | | checkReceiveMethod: '' as any as EnumTaskCheckReceiveMethod, |
| | | applyTime: [] as unknown as ModelValueType, |
| | | settlementAccess: '' as any as EnumEnterpriseWalletAccess, |
| | | }); |
| | | |
| | | const { isLoading } = useQuery({ |
| | |
| | | format(data.applyBeginTime, 'YYYY-MM-DD 00:00:00'), |
| | | format(data.applyEndTime, 'YYYY-MM-DD 23:59:59'), |
| | | ]; |
| | | form.settlementAccess = data.settlementAccess; |
| | | }, |
| | | enabled: computed(() => !!id), |
| | | }); |