فهرست منبع

fix: scope_owner_type PHONE→ENTERPRISE_PAY_UID

alphah 2 هفته پیش
والد
کامیت
2569347e53
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      frontend/src/views/module_payment/institution/components/InstitutionForm.vue

+ 2 - 2
frontend/src/views/module_payment/institution/components/InstitutionForm.vue

@@ -430,7 +430,7 @@ async function submitForm() {
       submitData.scope_owner_type = "ENTERPRISE_PAY_UID";
       submitData.scope_owner_id_list = formData.department_id ? [formData.department_id] : undefined;
     } else if (formData.applicable_scope === "employee") {
-      submitData.scope_owner_type = "PHONE";
+      submitData.scope_owner_type = "ENTERPRISE_PAY_UID";
       submitData.scope_owner_id_list = formData.employee_ids;
     }
 
@@ -466,7 +466,7 @@ async function submitForm() {
         consult_mode: formData.consult_mode || undefined,
         // 适用员工范围
         applicable_scope: formData.applicable_scope,
-        scope_owner_type: "PHONE",
+        scope_owner_type: "ENTERPRISE_PAY_UID",
         scope_owner_id_list: formData.applicable_scope === "employee"
           ? (formData.employee_ids || [])
           : formData.applicable_scope === "department" && formData.department_id