From 046a5eea32cde33c9be2afe76654d807062a0226 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Fri, 3 Nov 2023 16:59:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=93=81=E5=8F=91=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 4 +- src/api/base/delivery.js | 73 ++++ src/api/base/orderManage.js | 44 ++ src/api/base/worker.js | 9 + src/api/monitoring/teamProduction.js | 9 + src/styles/index.scss | 1 + .../deliveryLog/components/addOrUpdate.vue | 162 ++++++++ .../components/deliveryLogDetail.vue | 170 ++++++++ .../deliveryLog/components/loadedPage.vue | 141 +++++++ src/views/delivery/deliveryLog/index.vue | 285 +++++++++++++ .../components/deliveryLogDetDetail.vue | 365 +++++++++++++++++ src/views/delivery/deliveryLogDet/index.vue | 130 ++++++ .../base/groupTeam/components/workerEdit.vue | 17 +- .../groupTeam/components/workerTeamAdd.vue | 16 +- .../group/monitoring/teamProduction/index.vue | 40 +- .../orderManage/components/addWorkOrder.vue | 116 ++++-- .../orderManage/components/bindWorkOrder.vue | 11 - src/views/order/base/orderManage/index.vue | 72 ++-- .../base/orderManage/orderDetailData.vue | 314 ++++++++++++++ .../orderCompletionMonitoring/index.vue | 383 ++++++++++++++++++ 20 files changed, 2253 insertions(+), 109 deletions(-) create mode 100644 src/api/base/delivery.js create mode 100644 src/views/delivery/deliveryLog/components/addOrUpdate.vue create mode 100644 src/views/delivery/deliveryLog/components/deliveryLogDetail.vue create mode 100644 src/views/delivery/deliveryLog/components/loadedPage.vue create mode 100644 src/views/delivery/deliveryLog/index.vue create mode 100644 src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue create mode 100644 src/views/delivery/deliveryLogDet/index.vue delete mode 100644 src/views/order/base/orderManage/components/bindWorkOrder.vue create mode 100644 src/views/order/base/orderManage/orderDetailData.vue create mode 100644 src/views/order/monitoring/orderCompletionMonitoring/index.vue diff --git a/.env.dev b/.env.dev index 4064712d..d865cb4d 100644 --- a/.env.dev +++ b/.env.dev @@ -13,11 +13,11 @@ VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48080' # VUE_APP_BASE_API = 'http://192.168.1.8:48080' -VUE_APP_BASE_API = 'http://192.168.1.56:48080' +# VUE_APP_BASE_API = 'http://192.168.1.56:48080' # VUE_APP_BASE_API = 'http://192.168.1.188:48080' diff --git a/src/api/base/delivery.js b/src/api/base/delivery.js new file mode 100644 index 00000000..4c095c6a --- /dev/null +++ b/src/api/base/delivery.js @@ -0,0 +1,73 @@ +// 成品发货 +import request from '@/utils/request' +// 获得成品发货清单分页 +export function deliveryLogPage(data) { + return request({ + url: '/extend/delivery-log/page', + method: 'post', + data: data + }) +} + +// 获取发货进度分页 +export function deliveryProgressPage(data) { + return request({ + url: '/extend/delivery-progress/page', + method: 'post', + data: data + }) +} + +// 获取发货进度分页 +export function deliveryLogDetPage(data) { + return request({ + url: '/extend/delivery-log-det/page', + method: 'post', + data: data + }) +} + +// 创建成品发货清单 +export function deliveryLogCreate(data) { + return request({ + url: '/extend/delivery-log/create', + method: 'post', + data: data + }) +} + +// 更新成品发货清单 +export function deliveryLogUpdate(data) { + return request({ + url: '/extend/delivery-log/update', + method: 'put', + data: data + }) +} + +// 获得成品发货清单 +export function getDeliveryLog(query) { + return request({ + url: '/extend/delivery-log/get', + method: 'get', + params: query + }) +} + +// 删除成品发货清单 +export function deliveryLogDelete(query) { + return request({ + url: '/extend/delivery-log/delete', + method: 'delete', + params: query + }) +} + +// 装车 +export function deliveryLogDetCreate(data) { + return request({ + url: '/extend/delivery-log-det/create', + method: 'post', + data: data + }) +} diff --git a/src/api/base/orderManage.js b/src/api/base/orderManage.js index 9114d63c..37cace76 100644 --- a/src/api/base/orderManage.js +++ b/src/api/base/orderManage.js @@ -94,3 +94,47 @@ export function orderIssue(data) { data: data }) } + +// 获得工单 +export function getWorkOrderById(query) { + return request({ + url: '/base/core-work-order/get', + method: 'get', + params: query + }) +} + +// 订单监控 +export function orderMonitor(query) { + return request({ + url: '/base/order/orderMonitor', + method: 'get', + params: query + }) +} + +// 获得所有客户列表 +export function customerList() { + return request({ + url: '/base/core-customer/listAll', + method: 'get' + }) +} + +// 获得订单详情 +export function orderDetail(query) { + return request({ + url: '/base/order/getDetail', + method: 'get', + params: query + }) +} + +// 产品bom消耗信息 +export function bomUseNum(query) { + return request({ + url: '/base/material-product-bom/bomUseNum', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/base/worker.js b/src/api/base/worker.js index 2fcee54c..67ad7268 100644 --- a/src/api/base/worker.js +++ b/src/api/base/worker.js @@ -14,4 +14,13 @@ export function getWorker(query) { method: 'get', params: query }) +} + +// 获得该班组其他可选组员列表(除去现有组员) +export function otherWorkerList(query) { + return request({ + url: '/base/group-team-det/otherWorkerList', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/api/monitoring/teamProduction.js b/src/api/monitoring/teamProduction.js index 5c257193..792d694b 100644 --- a/src/api/monitoring/teamProduction.js +++ b/src/api/monitoring/teamProduction.js @@ -16,4 +16,13 @@ export function getSchedulingMonitoringRecord(query) { method: 'get', params: query }) +} + +// 获得所有列表 +export function groupClassesListAll(query) { + return request({ + url: '/base/group-classes/listAll', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index f77398f4..93916ac0 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -180,6 +180,7 @@ input, textarea{ // 抽屉head区域---start .el-drawer__header { padding-bottom: 20px; + padding-left: 30px; margin-bottom: 23px; font-size: 20px; font-weight: 500; diff --git a/src/views/delivery/deliveryLog/components/addOrUpdate.vue b/src/views/delivery/deliveryLog/components/addOrUpdate.vue new file mode 100644 index 00000000..c3bdc34c --- /dev/null +++ b/src/views/delivery/deliveryLog/components/addOrUpdate.vue @@ -0,0 +1,162 @@ + + diff --git a/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue b/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue new file mode 100644 index 00000000..e5fb7be5 --- /dev/null +++ b/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue @@ -0,0 +1,170 @@ + + + \ No newline at end of file diff --git a/src/views/delivery/deliveryLog/components/loadedPage.vue b/src/views/delivery/deliveryLog/components/loadedPage.vue new file mode 100644 index 00000000..40d48f61 --- /dev/null +++ b/src/views/delivery/deliveryLog/components/loadedPage.vue @@ -0,0 +1,141 @@ + + diff --git a/src/views/delivery/deliveryLog/index.vue b/src/views/delivery/deliveryLog/index.vue new file mode 100644 index 00000000..0f324fcf --- /dev/null +++ b/src/views/delivery/deliveryLog/index.vue @@ -0,0 +1,285 @@ + + \ No newline at end of file diff --git a/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue b/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue new file mode 100644 index 00000000..830a5ffe --- /dev/null +++ b/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue @@ -0,0 +1,365 @@ + + + + \ No newline at end of file diff --git a/src/views/delivery/deliveryLogDet/index.vue b/src/views/delivery/deliveryLogDet/index.vue new file mode 100644 index 00000000..7502d885 --- /dev/null +++ b/src/views/delivery/deliveryLogDet/index.vue @@ -0,0 +1,130 @@ + + \ No newline at end of file diff --git a/src/views/group/base/groupTeam/components/workerEdit.vue b/src/views/group/base/groupTeam/components/workerEdit.vue index c1dbd635..0944ded7 100644 --- a/src/views/group/base/groupTeam/components/workerEdit.vue +++ b/src/views/group/base/groupTeam/components/workerEdit.vue @@ -142,7 +142,7 @@ export default { { type: 'input', label: '关键字', - placeholder: '关键字', + placeholder: '姓名', param: 'workerName' }, { @@ -168,7 +168,7 @@ export default { { type: 'input', label: '关键字', - placeholder: '关键字', + placeholder: '姓名', param: 'workerName' }, { @@ -242,12 +242,13 @@ export default { this.getList() }, handleClick(val) { + console.log(val) switch (val.type) { case 'edit': this.addOrEditTitle = '编辑' this.centervisible = true this.$nextTick(() => { - this.$refs.workerTeamAdd.init({'teamId': this.queryParams.teamId, id: val.data.id}) + this.$refs.workerTeamAdd.init({'teamId': this.queryParams.teamId, 'id': val.data.id, 'workName':val.data.workerName, 'majorName':val.data.workerMajorName}) }) break default: @@ -266,6 +267,16 @@ export default { }).catch(() => {}); }, closeD() { + this.teamData.teamName = '' + this.teamData.leaderName = '' + this.teamData.teamNum = '' + this.teamData.leaderTelephone = '' + this.teamData.teamId = '' + this.queryParams.pageNo = 1 + this.queryParams.pageSize = 20 + this.queryParams.teamId = '' + this.queryParams.workerName = '' + this.total = 0 this.$emit('closeDrawer') } } diff --git a/src/views/group/base/groupTeam/components/workerTeamAdd.vue b/src/views/group/base/groupTeam/components/workerTeamAdd.vue index 6f233917..608dbb19 100644 --- a/src/views/group/base/groupTeam/components/workerTeamAdd.vue +++ b/src/views/group/base/groupTeam/components/workerTeamAdd.vue @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/src/views/order/base/orderManage/index.vue b/src/views/order/base/orderManage/index.vue index 825be503..9a4d2afd 100644 --- a/src/views/order/base/orderManage/index.vue +++ b/src/views/order/base/orderManage/index.vue @@ -50,28 +50,16 @@ :before-close="addWorkOrderCancel" width='70%' > - + - - + \ No newline at end of file diff --git a/src/views/order/monitoring/orderCompletionMonitoring/index.vue b/src/views/order/monitoring/orderCompletionMonitoring/index.vue new file mode 100644 index 00000000..4cb31be5 --- /dev/null +++ b/src/views/order/monitoring/orderCompletionMonitoring/index.vue @@ -0,0 +1,383 @@ + + + \ No newline at end of file