Bläddra i källkod

change: payment record 补充遗漏参数.

peter 11 månader sedan
förälder
incheckning
c422c71289
1 ändrade filer med 8 tillägg och 1 borttagningar
  1. 8 1
      src/pages/payment-record/index.vue

+ 8 - 1
src/pages/payment-record/index.vue

@@ -391,6 +391,10 @@ const createStatement = function () {
         Total_Amount: computedSum.value,
         Currency: tableData.value[0].currency,
         Name: tableData.value[0].statement_name,
+        Owner: {
+          name: userInfo.value.full_name,
+          id: userInfo.value.id,
+        },
       },
     ])
     .then((response) => {
@@ -446,7 +450,10 @@ const save = function () {
       Request_Type: '月结申请',
       Name: '/',
       Unit_Price_Non_Currency: i.unit_price ? i.unit_price.toString() : '',
-      Owner: '',
+      Owner: {
+        name: userInfo.value.full_name,
+        id: userInfo.value.id,
+      },
       Payment_Status: 'Pending Verify',
       Batch_number: new Date().getTime().toString(),
     }