pull/2/head
qsh 3 months ago
parent 4bc0e006f0
commit 42fec8b681
  1. 15
      src/views/SchoolManagement/Class/Comp/DialogClass.vue

@ -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() {

Loading…
Cancel
Save