Pārlūkot izejas kodu

change: 创建PO接口增加owner参数.

peter 1 gadu atpakaļ
vecāks
revīzija
2df03ab043
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      src/pages/purchase-order/edit.vue

+ 5 - 0
src/pages/purchase-order/edit.vue

@@ -1284,6 +1284,11 @@ const createPurchaseOrders = function () {
     id: userInfo.value.users_id || route.query.user,
     name: userInfo.value.full_name || '',
   }
+  data.Owner = {
+    id: userInfo.value.users_id || route.query.user,
+    name: userInfo.value.full_name || '',
+    email: userInfo.value.email || '',
+  }
   data.Vendor_Name = {
     id: computedVendor.value.value,
     name: computedVendor.value.label,