Browse Source

修改bug

chenrui 2 năm trước cách đây
mục cha
commit
0cec0688b3
2 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 9 0
      src/api/oos.js
  2. 1 1
      src/config/router.config.js

+ 9 - 0
src/api/oos.js

@@ -23,6 +23,15 @@ export const outOfStockList = (params) => {
     method: 'post'
     method: 'post'
   })
   })
 }
 }
+// 采购缺货统计
+export const outOfStockQueryCount = params => {
+  const url = `/oos/queryCount`
+  return axios({
+    url: url,
+    data: params,
+    method: 'post'
+  })
+}
 //  缺货详情导出
 //  缺货详情导出
 export const outOfStockExportDetail = (params) => {
 export const outOfStockExportDetail = (params) => {
   const url = '/oos/export'
   const url = '/oos/export'

+ 1 - 1
src/config/router.config.js

@@ -955,7 +955,7 @@ export const asyncRouterMap = [
             name: 'purchaseOutOfStock',
             name: 'purchaseOutOfStock',
             component: BlankLayout,
             component: BlankLayout,
             meta: {
             meta: {
-              title: '采购缺货',
+              title: '采购缺货列表',
               icon: 'money-collect'
               icon: 'money-collect'
               // permission: 'M_purchaseOutOfStockList'
               // permission: 'M_purchaseOutOfStockList'
             },
             },