chenrui 2 лет назад
Родитель
Сommit
26f011d90b

+ 8 - 0
src/api/allocLinkageOut.js

@@ -11,6 +11,14 @@ export const allocLinkageOutList = (params) => {
     method: 'post'
   })
 }
+// 连锁调拨调出  统计
+export const allocLinkageOutQueryCount = (params) => {
+  return axios({
+    url: `/allocLinkageOut/queryCount`,
+    data: params,
+    method: 'post'
+  })
+}
 //  连锁调拨调出   保存
 export const allocLinkageOutSave = (params) => {
   return axios({

+ 9 - 0
src/api/allocLinkagePut.js

@@ -18,6 +18,15 @@ export const allocLinkagePutList = (params) => {
     method: 'post'
   })
 }
+
+// 连锁调拨调入  统计
+export const allocLinkagePutQueryCount = (params) => {
+  return axios({
+    url: `/allocLinkagePut/queryCount`,
+    data: params,
+    method: 'post'
+  })
+}
 //  连锁调拨调入  审核
 export const allocLinkagePutAudit = (params) => {
   return axios({

+ 9 - 1
src/api/allocWarehouse.js

@@ -11,6 +11,14 @@ export const allocWarehouseList = (params) => {
     method: 'post'
   })
 }
+// 仓库调拨  统计
+export const allocWarehouseQueryCount = (params) => {
+  return axios({
+    url: `/allocWarehouse/queryCount`,
+    data: params,
+    method: 'post'
+  })
+}
 // 仓库调拨  审核
 export const allocWarehouseAudit = params => {
   return axios({
@@ -112,4 +120,4 @@ export const allocWarehouseSubmit = params => {
     data: params,
     method: 'post'
   })
-}
+}

+ 8 - 0
src/api/storeCallOut.js

@@ -11,6 +11,14 @@ export const storeCallOutList = (params) => {
     method: 'post'
   })
 }
+// 店内调出  统计
+export const storeCallOutQueryCount = (params) => {
+  return axios({
+    url: `/storeCallOut/queryCount`,
+    data: params,
+    method: 'post'
+  })
+}
 //  店内调出 新增
 export const storeCallOutSave = (params) => {
   return axios({

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

@@ -3206,32 +3206,32 @@ export const asyncRouterMap = [
                 }
               }
             ]
-          },
-          {
-            path: '/basicData/systemSettings',
-            redirect: '/basicData/systemSettings/index',
-            name: 'systemSettings',
-            component: BlankLayout,
-            meta: {
-              title: '系统参数',
-              icon: 'sound'
-              // permission: 'M_systemSettingsList'
-            },
-            hideChildrenInMenu: true,
-            children: [
-              {
-                path: 'index',
-                name: 'systemSettingsList',
-                component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/systemSettings/index.vue'),
-                meta: {
-                  title: '系统参数',
-                  icon: 'sound',
-                  hidden: true
-                  // permission: 'M_systemSettingsList'
-                }
-              }
-            ]
           }
+          // {
+          //   path: '/basicData/systemSettings',
+          //   redirect: '/basicData/systemSettings/index',
+          //   name: 'systemSettings',
+          //   component: BlankLayout,
+          //   meta: {
+          //     title: '系统参数',
+          //     icon: 'sound',
+          //     permission: 'M_systemSettingsList'
+          //   },
+          //   hideChildrenInMenu: true,
+          //   children: [
+          //     {
+          //       path: 'index',
+          //       name: 'systemSettingsList',
+          //       component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/systemSettings/index.vue'),
+          //       meta: {
+          //         title: '系统参数',
+          //         icon: 'sound',
+          //         hidden: true,
+          //         permission: 'M_systemSettingsList'
+          //       }
+          //     }
+          //   ]
+          // }
         ]
       },
       // auth

+ 14 - 2
src/views/allocationManagement/chainTransferIn/list.vue

@@ -135,7 +135,7 @@ import { commonMixin } from '@/utils/mixin'
 import { STable, VSelect } from '@/components'
 import { formatDecimal } from '@/libs/tools'
 import rangeDate from '@/views/common/rangeDate.vue'
-import { allocLinkagePutList, allocLinkagePutAudit } from '@/api/allocLinkagePut'
+import { allocLinkagePutList, allocLinkagePutAudit, allocLinkagePutQueryCount } from '@/api/allocLinkagePut'
 import getTenantList from '@/views/common/getTenantList.js'
 import stateIcon from '@/views/common/stateIcon'
 export default {
@@ -161,10 +161,12 @@ export default {
       loadData: parameter => {
         this.disabled = true
         this.spinning = true
-        return allocLinkagePutList(Object.assign(parameter, this.queryParam)).then(res => {
+        const params = Object.assign(parameter, this.queryParam)
+        return allocLinkagePutList(params).then(res => {
           let data
           if (res.status == 200) {
             data = res.data
+            this.getCount(params)
             const no = (data.pageNo - 1) * data.pageSize
 
             for (var i = 0; i < data.list.length; i++) {
@@ -207,6 +209,16 @@ export default {
     }
   },
   methods: {
+    // 统计
+    getCount (params) {
+      allocLinkagePutQueryCount(params).then(res => {
+        if (res.status == 200) {
+          this.countData = res.data
+        } else {
+          this.countData = null
+        }
+      })
+    },
     //  时间  change
     dateChange (date) {
       this.queryParam.beginDate = date[0]

+ 14 - 2
src/views/allocationManagement/chainTransferOut/list.vue

@@ -161,7 +161,7 @@ import basicInfoModal from './basicInfoModal.vue'
 import stateIcon from '@/views/common/stateIcon'
 import getDate from '@/libs/getDate.js'
 import getTenantList from '@/views/common/getTenantList.js'
-import { allocLinkageOutList, allocLinkageAudit, allocLinkageOutDel, allocLinkageOutStock } from '@/api/allocLinkageOut'
+import { allocLinkageOutList, allocLinkageAudit, allocLinkageOutDel, allocLinkageOutStock, allocLinkageOutQueryCount } from '@/api/allocLinkageOut'
 export default {
   name: 'AllocLinkageOutList',
   components: { STable, VSelect, basicInfoModal, rangeDate, stateIcon, getTenantList },
@@ -194,10 +194,12 @@ export default {
       loadData: parameter => {
         this.disabled = true
         this.spinning = true
-        return allocLinkageOutList(Object.assign(parameter, this.queryParam)).then(res => {
+        const params = Object.assign(parameter, this.queryParam)
+        return allocLinkageOutList(params).then(res => {
           let data
           if (res.status == 200) {
             data = res.data
+            this.getCount(params)
             const no = (data.pageNo - 1) * data.pageSize
             for (var i = 0; i < data.list.length; i++) {
               data.list[i].no = no + i + 1
@@ -240,6 +242,16 @@ export default {
     }
   },
   methods: {
+    // 统计
+    getCount (params) {
+      allocLinkageOutQueryCount(params).then(res => {
+        if (res.status == 200) {
+          this.countData = res.data
+        } else {
+          this.countData = null
+        }
+      })
+    },
     //  时间  change
     dateChange (date) {
       this.queryParam.beginDate = date[0]

+ 14 - 2
src/views/allocationManagement/storeTransferOut/list.vue

@@ -158,7 +158,7 @@ import rangeDate from '@/views/common/rangeDate.vue'
 import getDate from '@/libs/getDate.js'
 import basicInfoModal from './basicInfoModal.vue'
 import stateIcon from '@/views/common/stateIcon'
-import { storeCallOutList, storeCallOutAudit, storeCallOutDel, storeCallOutOut } from '@/api/storeCallOut'
+import { storeCallOutList, storeCallOutAudit, storeCallOutDel, storeCallOutOut, storeCallOutQueryCount } from '@/api/storeCallOut'
 import { storeCallOutTypeAllList } from '@/api/storeCallOutType'
 export default {
   name: 'StoreCallOutList',
@@ -192,10 +192,12 @@ export default {
       loadData: parameter => {
         this.disabled = true
         this.spinning = true
-        return storeCallOutList(Object.assign(parameter, this.queryParam)).then(res => {
+        const params = Object.assign(parameter, this.queryParam)
+        return storeCallOutList(params).then(res => {
           let data
           if (res.status == 200) {
             data = res.data
+            this.getCount(params)
             const no = (data.pageNo - 1) * data.pageSize
             for (var i = 0; i < data.list.length; i++) {
               data.list[i].no = no + i + 1
@@ -239,6 +241,16 @@ export default {
     }
   },
   methods: {
+    // 统计
+    getCount (params) {
+      storeCallOutQueryCount(params).then(res => {
+        if (res.status == 200) {
+          this.countData = res.data
+        } else {
+          this.countData = null
+        }
+      })
+    },
     //  时间  change
     dateChange (date) {
       this.queryParam.beginDate = date[0]

+ 14 - 2
src/views/allocationManagement/warehouseAllocation/list.vue

@@ -122,7 +122,7 @@
 
 <script>
 import { commonMixin } from '@/utils/mixin'
-import { allocWarehouseList, allocWarehouseAudit, allocWarehouseDel } from '@/api/allocWarehouse'
+import { allocWarehouseList, allocWarehouseAudit, allocWarehouseDel, allocWarehouseQueryCount } from '@/api/allocWarehouse'
 import { warehouseAllList } from '@/api/warehouse.js'
 import { STable, VSelect } from '@/components'
 import basicInfoModal from './basicInfoModal.vue'
@@ -155,10 +155,12 @@ export default {
       loadData: parameter => {
         this.disabled = true
         this.spinning = true
-        return allocWarehouseList(Object.assign(parameter, this.queryParam)).then(res => {
+        const params = Object.assign(parameter, this.queryParam)
+        return allocWarehouseList(params).then(res => {
           let data
           if (res.status == 200) {
             data = res.data
+            this.getCount(params)
             const no = (data.pageNo - 1) * data.pageSize
             for (var i = 0; i < data.list.length; i++) {
               data.list[i].no = no + i + 1
@@ -197,6 +199,16 @@ export default {
     }
   },
   methods: {
+    // 统计
+    getCount (params) {
+      allocWarehouseQueryCount(params).then(res => {
+        if (res.status == 200) {
+          this.countData = res.data
+        } else {
+          this.countData = null
+        }
+      })
+    },
     //  时间  change
     dateChange (date) {
       this.queryParam.beginDate = date[0]