From d5035a4d89be4c49e135474c0cc88bb228ca7610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Fri, 10 May 2024 17:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90nev-pad=E3=80=91kitting=E7=BB=84?= =?UTF-8?q?=E5=8C=85=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/public/config.js | 2 + fe/PC/src/App.vue | 1 + fe/PC/src/api/wms-pad.js | 11 + fe/PC/src/styles/index.scss | 4 + fe/PC/src/views/login/index.vue | 2 +- fe/PC/src/views/padManage/padKittingPack.vue | 478 ++++++++++++++----- 6 files changed, 374 insertions(+), 124 deletions(-) create mode 100644 fe/PC/src/api/wms-pad.js diff --git a/fe/PC/public/config.js b/fe/PC/public/config.js index c0c0b4ef2..ece3e7f3f 100644 --- a/fe/PC/public/config.js +++ b/fe/PC/public/config.js @@ -22,6 +22,8 @@ window.SITE_CONFIG['client_secret'] = '1q2w3E*' window.SITE_CONFIG['reportsUrl'] = 'http://dev.ccwin-in.com:60074/#/reports/' window.SITE_CONFIG['versionUrl'] = 'http://dev.ccwin-in.com:60070' window.SITE_CONFIG['companyName'] = '长春一汽富维东阳汽车塑料零部件(安徽)有限公司' +//pad-kitting组包页面刷新时间(毫秒) +window.SITE_CONFIG['padKittingPackUpdate'] = 180000 // 接口看板地址 window.SITE_CONFIG['interfaceBoardUrl'] = 'http://dev.ccwin-in.com:60090/' // 主子表 diff --git a/fe/PC/src/App.vue b/fe/PC/src/App.vue index eb3d10113..e6ba7733b 100644 --- a/fe/PC/src/App.vue +++ b/fe/PC/src/App.vue @@ -22,6 +22,7 @@ localStorage.setItem('print',window.SITE_CONFIG['print']) localStorage.setItem('warehouseCode',window.SITE_CONFIG['warehouseCode']) localStorage.setItem('company',window.SITE_CONFIG['company']) localStorage.setItem('largeScreen',window.SITE_CONFIG['largeScreen']) +localStorage.setItem('padKittingPackUpdate',window.SITE_CONFIG['padKittingPackUpdate']) localStorage.setItem('apifoxToken',window.SITE_CONFIG['apifoxToken']) localStorage.setItem('reportsUrl',window.SITE_CONFIG['reportsUrl']) localStorage.setItem('companyName',window.SITE_CONFIG['companyName']) diff --git a/fe/PC/src/api/wms-pad.js b/fe/PC/src/api/wms-pad.js new file mode 100644 index 000000000..fbf6bf35c --- /dev/null +++ b/fe/PC/src/api/wms-pad.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' +let baseURL = localStorage.getItem('base') + '/api/' + +// 【pad】 Kitting组包 - 获取中间底盘数据 +export function ChassisGetListWithNextCount(params) { + return request({ + url: baseURL + 'wms/store/ChassisOperationSequence/get-list-with-next-count', + method: 'post', + params: params, + }) +} diff --git a/fe/PC/src/styles/index.scss b/fe/PC/src/styles/index.scss index 82769eb18..3f8d03dcf 100644 --- a/fe/PC/src/styles/index.scss +++ b/fe/PC/src/styles/index.scss @@ -254,4 +254,8 @@ aside { .el-table__fixed-right-patch{ background: #f6f7fb !important; } +} + +.el-message-box__message p { + word-break: break-all; } \ No newline at end of file diff --git a/fe/PC/src/views/login/index.vue b/fe/PC/src/views/login/index.vue index 9a79767cb..fa9e183db 100644 --- a/fe/PC/src/views/login/index.vue +++ b/fe/PC/src/views/login/index.vue @@ -137,7 +137,7 @@ export default { }); }, mounted () { - window.showInfoFromJava = this.showInfoFromJava(111) + window.showInfoFromJava = this.showInfoFromJava if (this.loginForm.username === '') { this.$refs.username.focus() } else if (this.loginForm.password === '') { diff --git a/fe/PC/src/views/padManage/padKittingPack.vue b/fe/PC/src/views/padManage/padKittingPack.vue index fb6859f12..8a0112481 100644 --- a/fe/PC/src/views/padManage/padKittingPack.vue +++ b/fe/PC/src/views/padManage/padKittingPack.vue @@ -1,156 +1,388 @@ \ No newline at end of file