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