Selaa lähdekoodia

fix: ScopeDialog提交时补充enterprise_id参数

alphah 2 viikkoa sitten
vanhempi
sitoutus
cc1a7801a5

BIN
frontend/dist.zip


+ 1 - 0
frontend/src/api/module_payment/institution.ts

@@ -219,6 +219,7 @@ export interface ScopeInfo {
 export interface ScopeModify {
   adapter_type: string;
   owner_type?: string;
+  enterprise_id?: string;
   add_owner_id_list?: string[];
   delete_owner_id_list?: string[];
 }

+ 1 - 0
frontend/src/views/module_payment/institution/components/ScopeDialog.vue

@@ -192,6 +192,7 @@ async function handleSubmit() {
     const submitData: ScopeModify = {
       adapter_type: formData.value.adapter_type,
       owner_type: "EMPLOYEE",
+      enterprise_id: getEnterpriseId() || "",
     };
 
     if (formData.value.adapter_type === "EMPLOYEE_SELECT" && selectedEmployeeIds.value.length > 0) {