| | |
| | | </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 |
| | |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 |
| | | label="总件数:" |
| | | prop="verifyWorkHours" |
| | | prop="totalPieceQuantity" |
| | | :check-rules="[{ message: '请输入任务总件数' }]" |
| | | > |
| | | <span v-if="isDetail && !form.verifyWorkHours"></span> |
| | | <ProFormInputNumber |
| | | v-else |
| | | :controls="false" |
| | | v-model="form.verifyWorkHours" |
| | | v-model="form.totalPieceQuantity" |
| | | placeholder="请输入任务总件数" |
| | | :min="0" |
| | | :max="999999999999" |
| | |
| | | needPeopleNumber: null as number, |
| | | billingMethod: EnumBillingMethod.Day, |
| | | serviceFee: null, |
| | | totalPieceQuantity: null as number, |
| | | settlementCycle: EnumSettlementCycle.Day, |
| | | settlementDate: null as number, |
| | | benefits: [] as string[], |
| | |
| | | form.name = data.name; |
| | | form.needPeopleNumber = data.needPeopleNumber; |
| | | form.billingMethod = data.billingMethod; |
| | | form.totalPieceQuantity = data.totalPieceQuantity; |
| | | form.serviceFee = data.serviceFee; |
| | | form.settlementCycle = data.settlementCycle; |
| | | form.settlementDate = data.settlementDate; |
| | |
| | | name: form.name, |
| | | needPeopleNumber: form.needPeopleNumber, |
| | | billingMethod: form.billingMethod, |
| | | totalPieceQuantity: form.totalPieceQuantity, |
| | | serviceFee: form.serviceFee, |
| | | settlementCycle: form.settlementCycle, |
| | | settlementDate: form.settlementDate ? form.settlementDate : 0, |