|
|
|
@ -494,6 +494,7 @@ const open = async (type, id, sp) => { |
|
|
|
|
formLoading.value = true |
|
|
|
|
try { |
|
|
|
|
formData.value = await ClassApi.getClassType(id) |
|
|
|
|
formData.value.remark = formData.value.remark || '' |
|
|
|
|
formData.value.schPlace = [formData.value.schoolId, formData.value.placeId] |
|
|
|
|
if (!formData.value.companyProfitVO) { |
|
|
|
|
profitCompanyForm.value = { |
|
|
|
@ -543,11 +544,23 @@ const resetForm = () => { |
|
|
|
|
typeName: '', |
|
|
|
|
licenseType: '', |
|
|
|
|
status: 0, |
|
|
|
|
remark: '', |
|
|
|
|
remark: undefined, |
|
|
|
|
quotations: [], |
|
|
|
|
percentages: [] |
|
|
|
|
} |
|
|
|
|
formRef.value?.resetFields() |
|
|
|
|
|
|
|
|
|
profitCompanyForm.value = { |
|
|
|
|
profitMode: 1, |
|
|
|
|
dangwei: [], |
|
|
|
|
profitRule: {} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
profitEmployeeForm.value = { |
|
|
|
|
profitMode: 1, |
|
|
|
|
dangwei: [], |
|
|
|
|
profitRule: {} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function handleAddPrice() { |
|
|
|
|