瀏覽代碼

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

peter 1 年之前
父節點
當前提交
2df03ab043
共有 1 個文件被更改,包括 5 次插入0 次删除
  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,