From 51f101ea4ec9d3e497c8a4e389ccec9a9d228725 Mon Sep 17 00:00:00 2001 From: zwq Date: Sun, 8 Oct 2023 15:58:29 +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 --- .env.dev | 6 +- .env.front | 4 +- .env.prod | 6 +- .env.stage | 4 +- .env.static | 4 +- package.json | 2 +- src/api/asrs/warehouseStorehouse.js | 11 +- src/api/fpw/finishProductWarehouse.js | 15 ++ src/router/index.js | 4 +- src/views/asrs/Histogram/index.vue | 5 +- src/views/asrs/Histogram/indexb.vue | 5 +- src/views/asrs/Piechart/index.vue | 24 ++- src/views/asrs/Piechart/indexb.vue | 21 +- src/views/asrs/agvLog/index.vue | 8 +- src/views/asrs/chart/BarChart.vue | 2 +- src/views/asrs/chart/GaugeChart.vue | 10 +- .../asrs/goodSpecification/add-or-updata.vue | 38 +++- src/views/asrs/goodSpecification/index.vue | 5 - src/views/asrs/goodSpecification/indexb.vue | 5 - src/views/asrs/heavenlyEyeLog/index.vue | 15 +- src/views/asrs/inventoryOverview/index.vue | 11 +- src/views/asrs/inventoryOverview/indexb.vue | 11 +- src/views/asrs/jobMainTask/index.vue | 72 +++++-- src/views/asrs/jobMainTaskHistory/index.vue | 51 +++-- src/views/asrs/mesLog/index.vue | 8 +- src/views/asrs/mixins/basic-add.js | 24 ++- src/views/asrs/mixins/basic-page.js | 4 +- src/views/asrs/mixins/code-filter.js | 19 +- src/views/asrs/mixins/inputArea.vue | 46 ++++ src/views/asrs/mixins/selectQuality.vue | 59 +++++ src/views/asrs/product-mini.vue | 35 ++- src/views/asrs/warehouse/index.vue | 3 - .../warehouseLocationMonitoring/index.vue | 203 ++++++++++------- .../warehouseLocationMonitoring/indexb.vue | 202 ++++++++++------- .../warehouseStorehouse/add-or-updata.vue | 54 +++-- src/views/asrs/warehouseStorehouse/index.vue | 12 +- src/views/asrs/warehouseStorehouse/indexb.vue | 12 +- .../add-or-updata.vue | 164 ++++++-------- .../attr-add.vue | 54 ++--- .../index.vue | 4 +- .../indexb.vue | 4 +- .../inputArea.vue | 46 ++++ .../selectQuality.vue | 59 +++++ .../add-or-updata.vue | 109 ++++------ .../warehouseStorehouseStorage/attr-add.vue | 49 ++--- .../asrs/warehouseStorehouseStorage/index.vue | 26 +-- .../warehouseStorehouseStorage/indexb.vue | 25 +-- .../index.vue | 46 +++- .../indexb.vue | 47 +++- src/views/core/base/factory/index1.vue | 5 - src/views/core/base/lineBindProduct/index.vue | 3 - .../core/base/lineBindProductLog/index.vue | 4 - src/views/core/base/product/add-or-updata.vue | 1 + src/views/core/base/product/index.vue | 5 - src/views/core/base/productionLine/index.vue | 8 - src/views/core/base/workshopSection/index.vue | 6 - src/views/core/njlm/ware.vue | 3 - src/views/fpw/chart/GaugeChart.vue | 10 +- .../fpw/finishGoodSpecification/index.vue | 3 - src/views/fpw/finishHistogram/index.vue | 3 +- .../fpw/finishInventoryOverview/index.vue | 11 +- src/views/fpw/finishPiechart/index.vue | 22 +- .../fpw/finishWarehouseStorehouse/index.vue | 10 +- .../add-or-updata.vue | 112 +++++----- .../attr-add.vue | 61 +++--- .../index.vue | 19 +- .../index.vue | 13 +- src/views/fpw/mixins/basic-add.js | 31 +-- src/views/fpw/mixins/basic-page.js | 4 +- src/views/fpw/mixins/code-filter.js | 16 +- src/views/fpw/mixins/selectQuality.vue | 59 +++++ src/views/fpw/product-mini.vue | 16 +- .../fpw/warehouseLocationMonitoring/index.vue | 204 +++++++++++------- src/views/login.vue | 5 +- src/views/po/order/good-mini.vue | 8 +- src/views/po/order/index.vue | 28 ++- vue.config.js | 2 +- 77 files changed, 1378 insertions(+), 947 deletions(-) create mode 100644 src/views/asrs/mixins/inputArea.vue create mode 100644 src/views/asrs/mixins/selectQuality.vue create mode 100644 src/views/asrs/warehouseStorehouseGoodsSpecification/inputArea.vue create mode 100644 src/views/asrs/warehouseStorehouseGoodsSpecification/selectQuality.vue create mode 100644 src/views/fpw/mixins/selectQuality.vue diff --git a/.env.dev b/.env.dev index 7125189..108669d 100644 --- a/.env.dev +++ b/.env.dev @@ -2,16 +2,16 @@ # @Author: zwq # @Date: 2023-08-17 15:10:53 # @LastEditors: zwq - # @LastEditTime: 2023-08-30 15:15:52 + # @LastEditTime: 2023-10-07 13:46:53 # @Description: ### # 开发环境配置 ENV = 'development' # 页面标题 -VUE_APP_TITLE = 芋道管理系统 +VUE_APP_TITLE = 南京锂膜管理系统 -# 芋道管理系统/开发环境 +# 南京锂膜管理系统/开发环境 VUE_APP_BASE_API = 'http://192.168.1.23:48080' # VUE_APP_BASE_API = 'http://192.168.0.31:48081' diff --git a/.env.front b/.env.front index 9e2d4d2..af3dff1 100644 --- a/.env.front +++ b/.env.front @@ -2,9 +2,9 @@ ENV = 'development' # 页面标题 -VUE_APP_TITLE = 芋道管理系统 +VUE_APP_TITLE = 南京锂膜管理系统 -# 芋道管理系统/本地环境 +# 南京锂膜管理系统/本地环境 VUE_APP_BASE_API = 'http://api-dashboard.yudao.iocoder.cn' # 路由懒加载 diff --git a/.env.prod b/.env.prod index a1415ed..d55df0f 100644 --- a/.env.prod +++ b/.env.prod @@ -2,13 +2,13 @@ ENV = 'production' # 页面标题 -VUE_APP_TITLE = 芋道管理系统 +VUE_APP_TITLE = 南京锂膜管理系统 -# 芋道管理系统/生产环境 +# 南京锂膜管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' # 根据服务器或域名修改 -PUBLIC_PATH = 'http://my-pi.com:8888/yudao-admin/' +PUBLIC_PATH = 'http://192.168.0.31:8003/' # 二级部署路径 VUE_APP_APP_NAME ='yudao-admin' diff --git a/.env.stage b/.env.stage index 5942b3c..b3db543 100644 --- a/.env.stage +++ b/.env.stage @@ -1,12 +1,12 @@ NODE_ENV = production # 页面标题 -VUE_APP_TITLE = 芋道管理系统 +VUE_APP_TITLE = 南京锂膜管理系统 # 测试环境配置 ENV = 'staging' -# 芋道管理系统/测试环境 +# 南京锂膜管理系统/测试环境 VUE_APP_BASE_API = 'http://api-dashboard.yudao.iocoder.cn' # 静态资源地址 diff --git a/.env.static b/.env.static index 13901cd..6ed6398 100644 --- a/.env.static +++ b/.env.static @@ -4,9 +4,9 @@ NODE_ENV = development ENV = 'staging' # 页面标题 -VUE_APP_TITLE = 芋道管理系统 +VUE_APP_TITLE = 南京锂膜管理系统 -# 芋道管理系统/测试环境 +# 南京锂膜管理系统/测试环境 VUE_APP_BASE_API = 'http://127.0.0.1:48080' # 根据服务器或域名修改 diff --git a/package.json b/package.json index b7ef11c..55e9b65 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yudao-ui-admin", "version": "1.7.3-snapshot", - "description": "芋道管理系统", + "description": "南京锂膜管理系统", "author": "芋道", "license": "MIT", "scripts": { diff --git a/src/api/asrs/warehouseStorehouse.js b/src/api/asrs/warehouseStorehouse.js index 79f7003..9f73fce 100644 --- a/src/api/asrs/warehouseStorehouse.js +++ b/src/api/asrs/warehouseStorehouse.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-22 15:31:37 * @LastEditors: zwq - * @LastEditTime: 2023-09-04 15:46:20 + * @LastEditTime: 2023-10-07 16:04:12 * @Description: */ import request from '@/utils/request' @@ -69,7 +69,14 @@ export function getWarehouseStorehousePage(query) { params: query }) } - +// 获得立库库位列表 +export function getWarehouseStorehouseList(query) { + return request({ + url: '/asrs/warehouse-storehouse/list', + method: 'get', + params: query + }) +} // 导出立库库位 Excel export function exportWarehouseStorehouseExcel(query) { return request({ diff --git a/src/api/fpw/finishProductWarehouse.js b/src/api/fpw/finishProductWarehouse.js index 10e7f23..38dc659 100644 --- a/src/api/fpw/finishProductWarehouse.js +++ b/src/api/fpw/finishProductWarehouse.js @@ -1,3 +1,10 @@ +/* + * @Author: zwq + * @Date: 2023-09-06 14:31:37 + * @LastEditors: zwq + * @LastEditTime: 2023-10-07 16:47:35 + * @Description: + */ import request from '@/utils/request' // 创建成品库 @@ -60,6 +67,14 @@ export function getCode() { method: 'post' }) } +// 获得立库库位列表 +export function getWarehouseStorehouseList(query) { + return request({ + url: '/asrs/finish-product-warehouse/list', + method: 'get', + params: query + }) +} // 获得仓库占用率 export function getOccupancy(id) { diff --git a/src/router/index.js b/src/router/index.js index 89e0106..99000c6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-17 15:10:53 * @LastEditors: zwq - * @LastEditTime: 2023-08-18 09:43:17 + * @LastEditTime: 2023-10-08 15:33:03 * @Description: */ import Vue from 'vue' @@ -110,7 +110,7 @@ Router.prototype.push = function push(location) { export default new Router({ base: process.env.VUE_APP_APP_NAME ? process.env.VUE_APP_APP_NAME : "/", - mode: 'history', // 去掉url中的# + mode: 'hash', // 去掉url中的# scrollBehavior: () => ({y: 0}), routes: constantRoutes }) diff --git a/src/views/asrs/Histogram/index.vue b/src/views/asrs/Histogram/index.vue index d3f7dc5..600b3e9 100644 --- a/src/views/asrs/Histogram/index.vue +++ b/src/views/asrs/Histogram/index.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-22 15:01:54 * @LastEditors: zwq - * @LastEditTime: 2023-09-05 14:52:47 + * @LastEditTime: 2023-09-27 10:29:09 * @Description: -->