| | |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <template |
| | | v-if=" |
| | | form.billingMethod === EnumBillingMethod.Hour || |
| | | form.billingMethod === EnumBillingMethod.Day |
| | | " |
| | | > |
| | | <template v-if="form.billingMethod === EnumBillingMethod.Hour"> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="核定工时:" prop="verifyWorkHours"> |
| | |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | </template> |
| | | <ProFormCol v-if="form.billingMethod === EnumBillingMethod.Piece"> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 |
| | | label="总件数:" |
| | | prop="totalPieceQuantity" |
| | | :check-rules="[{ message: '请输入总件数' }]" |
| | | > |
| | | <ProFormInputNumber |
| | | :controls="false" |
| | | v-model="form.totalPieceQuantity" |
| | | placeholder="请输入总件数" |
| | | :min="0" |
| | | :max="999999999999" |
| | | unit="件" |
| | | ></ProFormInputNumber> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="结算方式:" prop="settlementCycle"> |
| | |
| | | serviceFee: 0, |
| | | settlementCycle: '' as any as EnumSettlementCycle, |
| | | settlementDate: null as number, |
| | | totalPieceQuantity: null as number, |
| | | benefits: [] as string[], |
| | | ageMinLimit: 0, |
| | | ageMaxLimit: 0, |
| | |
| | | form.serviceFee = data.serviceFee; |
| | | form.settlementCycle = data.settlementCycle; |
| | | form.settlementDate = data.settlementDate; |
| | | form.totalPieceQuantity = data.totalPieceQuantity; |
| | | form.benefits = data.benefits?.map((x) => x.benefitCode) ?? []; |
| | | form.ageMinLimit = data.ageMinLimit; |
| | | form.ageMaxLimit = data.ageMaxLimit; |