|
|
@@ -509,6 +509,15 @@ const updateServiceOrderDialogFormData = async () => {
|
|
|
}
|
|
|
}
|
|
|
const serviceOrderSubmitForm = async (type: string) => {
|
|
|
+
|
|
|
+ try {
|
|
|
+ await editSpreadRecordRef.value?.handleSave()
|
|
|
+ } catch (error) {
|
|
|
+ console.error('保存数据失败:', error)
|
|
|
+ ElMessage.error('保存数据失败,请重试')
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
formType.value = type
|
|
|
serviceOrderDialogVisible.value = true
|
|
|
}
|