From bb70ccffe317f7b10f0df1401aeb4d32f29bb90f Mon Sep 17 00:00:00 2001 From: zhangsiyu Date: Tue, 15 Aug 2023 18:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8C=85=E4=BB=B6=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/warehouse/warehouseUpdownGoodsLog.js | 4 +- src/router/views/index.js | 37 +- src/views/basicdata/brand/basicClient.vue | 7 + .../basicdata/brand/basicClientDetail.vue | 178 ++++++++ .../updownGoods/warehouseUpdownGoodsLog.vue | 408 +++++++++++++----- vite.config.js | 1 + 6 files changed, 498 insertions(+), 137 deletions(-) create mode 100644 src/views/basicdata/brand/basicClientDetail.vue diff --git a/src/api/warehouse/warehouseUpdownGoodsLog.js b/src/api/warehouse/warehouseUpdownGoodsLog.js index 3376d640..b107151b 100644 --- a/src/api/warehouse/warehouseUpdownGoodsLog.js +++ b/src/api/warehouse/warehouseUpdownGoodsLog.js @@ -1,8 +1,8 @@ import request from '@/axios'; -export const getList = (current, size, params) => { +export const getpage = (current, size, params) => { return request({ - url: '/api/logpm-warehouse/warehouseUpdownGoodsLog/list', + url: '/api/logpm-warehouse/warehouseUpdownGoodsLog/page', method: 'get', params: { ...params, diff --git a/src/router/views/index.js b/src/router/views/index.js index bff3963e..66c6b2cb 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -819,25 +819,24 @@ export default [ }, ], }, - // { - // path: '/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView', - // component: Layout, - // redirect: '/warehouse/goodsShelf/basicdataGoodsShelfView', - // children: [ - // { - // path: '/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView', - // name: '货位可视化', - // meta: { - // i18n: 'dict', - // }, - // props: route => ({ - // name: route.query.name, - // id: route.query.id - // }), - // component: () => import('@/views/basicdata/warehouse/tray/basicdataGoodsShelfView.vue'), - // }, - // ], - // }, + { + path: '/basicdata/brand/basicClientDetail', + component: Layout, + redirect: '/basicdata/brand/basicClientDetail', + children: [ + { + path: '/basicdata/brand/basicClientDetail', + name: '客户信息详情', + meta: { + i18n: 'dict', + }, + props: route => ({ + id: route.query.id + }), + component: () => import('@/views/basicdata/brand/basicClientDetail.vue'), + }, + ], + }, // { // path: 'basicdata/goodsShelf/basicdataGoodsShelfView', // component: Layout, diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue index 1d8e2e90..5a1ca96c 100644 --- a/src/views/basicdata/brand/basicClient.vue +++ b/src/views/basicdata/brand/basicClient.vue @@ -910,6 +910,13 @@ export default { this.view = true; this.box = true; this.fileList = []; + this.$router.push({ + path:'/basicdata/brand/basicClientDetail', + query:{ + id:row.id + } + }) + return getDetail(row.id).then(res => { // res.data.data.typeService = res.data.data.typeService.toString(); console.log('>>>>>', res.data.data); diff --git a/src/views/basicdata/brand/basicClientDetail.vue b/src/views/basicdata/brand/basicClientDetail.vue new file mode 100644 index 00000000..29cb9bb0 --- /dev/null +++ b/src/views/basicdata/brand/basicClientDetail.vue @@ -0,0 +1,178 @@ + + + diff --git a/src/views/warehouse/updownGoods/warehouseUpdownGoodsLog.vue b/src/views/warehouse/updownGoods/warehouseUpdownGoodsLog.vue index 27de5c28..36d1e6a4 100644 --- a/src/views/warehouse/updownGoods/warehouseUpdownGoodsLog.vue +++ b/src/views/warehouse/updownGoods/warehouseUpdownGoodsLog.vue @@ -1,60 +1,24 @@