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: -->