Browse Source

change: 创建po模块. 请求参数调整.

peter 1 year ago
parent
commit
ed81bfe682
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/purchase-order/edit.vue

+ 2 - 2
src/pages/purchase-order/edit.vue

@@ -1585,7 +1585,7 @@ const getProductList = utils.debounce(
     const data = {
       value: keyword.trim(),
       name: 'Products',
-      api_name: 'Product_name',
+      api_name: 'Product_Name',
       contains: 'contains',
       page: 1,
       limit: 200,
@@ -1628,7 +1628,7 @@ const getSupplierLists = utils.debounce(function (string: string) {
   const data = {
     value: string.trim(),
     name: 'Vendors',
-    api_name: 'Vendor_name',
+    api_name: 'Vendor_Name',
     contains: 'contains',
     page: 1,
     limit: 200,