From 78796203f6e52c6c636d287c2978f0ec7df61b18 Mon Sep 17 00:00:00 2001 From: zwq Date: Tue, 10 Oct 2023 16:06:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/fpw/finishProductWarehouse.js | 17 ++- .../asrs/goodSpecification/add-or-updata.vue | 100 ++++++++++-------- src/views/asrs/goodSpecification/index.vue | 4 +- src/views/asrs/goodSpecification/indexb.vue | 4 +- src/views/asrs/mixins/basic-page.js | 8 +- src/views/asrs/product-mini.vue | 5 +- src/views/asrs/warehouse/index.vue | 4 +- .../warehouseLocationMonitoring/index.vue | 71 +++++++------ .../warehouseLocationMonitoring/indexb.vue | 38 ++++--- src/views/asrs/warehouseStorehouse/index.vue | 9 +- src/views/asrs/warehouseStorehouse/indexb.vue | 9 +- .../add-or-updata.vue | 40 ++++--- .../index.vue | 8 +- .../indexb.vue | 8 +- .../add-or-updata.vue | 96 +++++++++++------ .../asrs/warehouseStorehouseStorage/index.vue | 8 +- .../warehouseStorehouseStorage/indexb.vue | 8 +- .../out-or-move.vue | 14 +-- .../index.vue | 4 +- src/views/core/base/factory/index1.vue | 4 +- src/views/core/base/product/add-or-updata.vue | 6 +- src/views/core/base/product/index.vue | 2 +- src/views/core/base/productionLine/index.vue | 4 +- src/views/core/base/workshopSection/index.vue | 4 +- src/views/core/njlm/ware.vue | 4 +- .../finishGoodSpecification/add-or-updata.vue | 87 ++++++++++----- .../fpw/finishGoodSpecification/index.vue | 4 +- .../fpw/finishWarehouseStorehouse/index.vue | 4 +- .../add-or-updata.vue | 52 ++++++--- .../index.vue | 58 ++++------ .../out-or-move.vue | 82 -------------- src/views/fpw/mixins/basic-page.js | 6 +- src/views/fpw/mixins/code-filter.js | 6 +- src/views/fpw/mixins/inputArea.vue | 46 ++++++++ src/views/fpw/product-mini.vue | 4 +- .../fpw/warehouseLocationMonitoring/index.vue | 6 +- src/views/index.vue | 87 ++------------- src/views/system/user/profile/index.vue | 4 +- 38 files changed, 487 insertions(+), 438 deletions(-) delete mode 100644 src/views/fpw/finishWarehouseStorehouseStorage/out-or-move.vue create mode 100644 src/views/fpw/mixins/inputArea.vue diff --git a/src/api/fpw/finishProductWarehouse.js b/src/api/fpw/finishProductWarehouse.js index 38dc659..71d165b 100644 --- a/src/api/fpw/finishProductWarehouse.js +++ b/src/api/fpw/finishProductWarehouse.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-09-06 14:31:37 * @LastEditors: zwq - * @LastEditTime: 2023-10-07 16:47:35 + * @LastEditTime: 2023-10-10 15:09:23 * @Description: */ import request from '@/utils/request' @@ -25,6 +25,21 @@ export function updateFinishProductWarehouse(data) { }) } +// 入库 +export function inFinishProductWarehouse(data) { + return request({ + url: '/fpw/finish-product-warehouse/in', + method: 'put', + data: data + }) +} +// 出库 +export function outFinishProductWarehouse(id) { + return request({ + url: '/fpw/finish-product-warehouse/out?id=' + id, + method: 'get', + }) +} // 删除成品库 export function deleteFinishProductWarehouse(id) { return request({ diff --git a/src/views/asrs/goodSpecification/add-or-updata.vue b/src/views/asrs/goodSpecification/add-or-updata.vue index a9a865a..aef75f1 100644 --- a/src/views/asrs/goodSpecification/add-or-updata.vue +++ b/src/views/asrs/goodSpecification/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: zwq - * @LastEditTime: 2023-10-08 10:45:09 + * @LastEditTime: 2023-10-09 16:01:44 * @Description: --> diff --git a/src/views/asrs/goodSpecification/index.vue b/src/views/asrs/goodSpecification/index.vue index ca59f4b..7d464d3 100644 --- a/src/views/asrs/goodSpecification/index.vue +++ b/src/views/asrs/goodSpecification/index.vue @@ -13,7 +13,7 @@ @@ -29,7 +29,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" - width="70%"> + width="50%"> diff --git a/src/views/asrs/goodSpecification/indexb.vue b/src/views/asrs/goodSpecification/indexb.vue index 26454d3..a84da43 100644 --- a/src/views/asrs/goodSpecification/indexb.vue +++ b/src/views/asrs/goodSpecification/indexb.vue @@ -13,7 +13,7 @@ @@ -29,7 +29,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" - width="70%"> + width="50%"> diff --git a/src/views/asrs/mixins/basic-page.js b/src/views/asrs/mixins/basic-page.js index a478a6d..4717850 100644 --- a/src/views/asrs/mixins/basic-page.js +++ b/src/views/asrs/mixins/basic-page.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2022-08-24 11:19:43 * @LastEditors: zwq - * @LastEditTime: 2023-09-26 14:00:22 + * @LastEditTime: 2023-10-10 15:29:31 * @Description: */ export default { @@ -155,16 +155,16 @@ export default { this.getDataList() }, /** 导出按钮操作 */ - handleExport() { + handleExport(id) { // 处理查询参数 - let params = { ...this.queryParams }; + let params = { warehouseId:id }; params.pageNo = undefined; params.pageSize = undefined; this.$modal.confirm('是否确认导出所有数据项?').then(() => { this.exportLoading = true; return this.urlOptions.exportURL(params); }).then(response => { - this.$download.excel(response, '工厂.xls'); + this.$download.excel(response, '导出.xls'); this.exportLoading = false; }).catch(() => { }); } diff --git a/src/views/asrs/product-mini.vue b/src/views/asrs/product-mini.vue index e4db406..3551fc4 100644 --- a/src/views/asrs/product-mini.vue +++ b/src/views/asrs/product-mini.vue @@ -2,11 +2,12 @@ * @Author: zwq * @Date: 2023-08-24 14:47:58 * @LastEditors: zwq - * @LastEditTime: 2023-10-07 14:33:42 + * @LastEditTime: 2023-10-09 16:20:11 * @Description: -->