diff --git a/dev_wms_client/src/api/task.js b/dev_wms_client/src/api/task.js index f823f2c..a25c400 100644 --- a/dev_wms_client/src/api/task.js +++ b/dev_wms_client/src/api/task.js @@ -90,6 +90,15 @@ export const requestInventory = (params) => { data: params }) } + +export const batchRequestInventory = (params) => { + return request({ + url: '/task/batchRequestInventory', + method: 'post', + data: params + }) +} + // 获取盘点信息 export const getInventoryConfirm = (params) => { return request({ diff --git a/dev_wms_client/src/http/request.js b/dev_wms_client/src/http/request.js index b6dfd35..485004c 100644 --- a/dev_wms_client/src/http/request.js +++ b/dev_wms_client/src/http/request.js @@ -1,8 +1,8 @@ import axios from 'axios' const request = axios.create({ - //baseURL: 'http://172.18.222.253:12315/wms', - baseURL: 'http://localhost:12315/wms', + baseURL: 'http://172.18.222.253:12315/wms', + //baseURL: 'http://localhost:12315/wms', timeout: 5000 }) // 172.18.222.253 diff --git a/dev_wms_client/src/layout/stock.vue b/dev_wms_client/src/layout/stock.vue index 8123243..09a36e2 100644 --- a/dev_wms_client/src/layout/stock.vue +++ b/dev_wms_client/src/layout/stock.vue @@ -69,11 +69,24 @@ :max-height="maxHeight" highlight-current-row @row-click="getCurrentRow" :row-style="rowStyle" :header-cell-style="{ 'text-align': 'center' }" :cell-style="{ 'text-align': 'center' }" @sort-change="handleSortChange"> - - - + + + + + + + +
+ + + +
+

选中数据概览:

+
+ 料号种类: + {{ [...new Set(selectedRows.map(item => item.goodsId))].length }} 种 +
+
+ 箱号数量: + {{ selectedRows.length }} 个 +
+
+ +
+

选中数据详情:

+ + + + + + +
+
+ + +