wangzeyu@tom.com 2 лет назад
Родитель
Сommit
f458753d1c
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      src/views/airwallex/caPayment.vue

+ 6 - 1
src/views/airwallex/caPayment.vue

@@ -63,6 +63,9 @@ export default {
         const reference = ref('');
         const regerenceError = ref(false);
 
+        const loginUserStr = localStorage.getItem('loginUser');
+        const loginUser = JSON.parse(loginUserStr);
+        const adminId = loginUser.id;
 
         const columns = [
             'wages_salary',
@@ -142,6 +145,7 @@ export default {
             }
         });
 
+
         const handleSubmit = async () => {
             if (caPaymentReq !== null) {
 
@@ -160,7 +164,8 @@ export default {
                     reference: reference.value,
                     // request_id: request_id,
                     source_currency: source_currency.value,
-                    payment_amount: payment_amount.value
+                    payment_amount: payment_amount.value,
+                    adminId: adminId
                 }
 
                 // 请求后端接口