diff --git a/public/favicon.ico b/public/favicon.ico index e3bdd359..47918ab0 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/base/orderManage.js b/src/api/base/orderManage.js index 38085d6a..9933c9b7 100644 --- a/src/api/base/orderManage.js +++ b/src/api/base/orderManage.js @@ -113,6 +113,15 @@ export function orderMonitor(query) { }) } +// 获取订单绑定的工单和数量信息,可传订单id列表,map索引为订单id +export function orderAssignmentList(query) { + return request({ + url: '/base/order/orderAssignmentList', + method: 'get', + params: query + }) +} + // 获得所有客户列表 export function customerList() { return request({ diff --git a/src/assets/icons/svg/order-monitoring.svg b/src/assets/icons/svg/order-monitoring.svg new file mode 100644 index 00000000..5960b5b3 --- /dev/null +++ b/src/assets/icons/svg/order-monitoring.svg @@ -0,0 +1,20 @@ + + + 编组 17 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue b/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue index 9f1b0827..1805f37c 100644 --- a/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue +++ b/src/views/delivery/deliveryLog/components/deliveryLogDetail.vue @@ -69,7 +69,7 @@ const tableProps = [ prop: 'createTime', label: '添加时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'deliveryCarCode', @@ -81,7 +81,7 @@ const tableProps = [ prop: 'loadTime', label: '装车时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'productName', diff --git a/src/views/delivery/deliveryLog/index.vue b/src/views/delivery/deliveryLog/index.vue index c1eea8d0..2beb27d9 100644 --- a/src/views/delivery/deliveryLog/index.vue +++ b/src/views/delivery/deliveryLog/index.vue @@ -78,7 +78,7 @@ const tableProps = [ prop: 'deliveryTime', label: '发货时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'code', diff --git a/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue b/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue index 9d5ff8c4..158fafd7 100644 --- a/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue +++ b/src/views/delivery/deliveryLogDet/components/deliveryLogDetDetail.vue @@ -122,7 +122,7 @@ const tableProps = [ prop: 'deliveryTime', label: '发货时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'code', @@ -151,7 +151,7 @@ const tableProps2 = [ prop: 'createTime', label: '添加时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'deliveryCarCode', @@ -162,7 +162,7 @@ const tableProps2 = [ prop: 'loadTime', label: '装车时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'productName', diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue index 428b165e..1e14ce35 100644 --- a/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue @@ -39,14 +39,12 @@ - + - - - + diff --git a/src/views/energy/base/energyPlcConnect/index.vue b/src/views/energy/base/energyPlcConnect/index.vue index 7316665e..c5b679ef 100644 --- a/src/views/energy/base/energyPlcConnect/index.vue +++ b/src/views/energy/base/energyPlcConnect/index.vue @@ -37,6 +37,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" + width='30%' > diff --git a/src/views/energy/base/energyType/components/InnerTable.vue b/src/views/energy/base/energyType/components/InnerTable.vue index ff3adce7..13c1a91c 100644 --- a/src/views/energy/base/energyType/components/InnerTable.vue +++ b/src/views/energy/base/energyType/components/InnerTable.vue @@ -9,7 +9,7 @@ width="120"> - 单价(元): {{ singlePrice }} + 单价(元): {{ singlePrice.toFixed(2) }} - + diff --git a/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue index 53068272..667e1711 100644 --- a/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue +++ b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue @@ -26,28 +26,6 @@ - - - - - - - - - - - - - - - - - - @@ -61,10 +39,32 @@ + + + + + + + + + + - - + + + + + + + + + + diff --git a/src/views/energy/monitoring/energyLimit/index.vue b/src/views/energy/monitoring/energyLimit/index.vue index ce058a31..1b82ab8b 100644 --- a/src/views/energy/monitoring/energyLimit/index.vue +++ b/src/views/energy/monitoring/energyLimit/index.vue @@ -37,7 +37,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" - width='60%' + width='50%' > diff --git a/src/views/energy/monitoring/energyReport/index.vue b/src/views/energy/monitoring/energyReport/index.vue index 6e2e4c6f..48456b85 100644 --- a/src/views/energy/monitoring/energyReport/index.vue +++ b/src/views/energy/monitoring/energyReport/index.vue @@ -40,13 +40,13 @@ const tableProps = [ prop: 'startTime', label: '开始时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'endTime', label: '结束时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'statisticName', diff --git a/src/views/energy/monitoring/energyReportSearch/index.vue b/src/views/energy/monitoring/energyReportSearch/index.vue index 117b6d12..d10f444a 100644 --- a/src/views/energy/monitoring/energyReportSearch/index.vue +++ b/src/views/energy/monitoring/energyReportSearch/index.vue @@ -70,7 +70,7 @@ export default { }, { type: 'datePicker', - label: '时间(必填)', + label: '时间', dateType: 'datetimerange', format: 'yyyy-MM-dd HH:mm:ss', valueFormat: "timestamp", @@ -80,7 +80,8 @@ export default { param: 'timeVal', defaultSelect: [], width: 350, - clearable: false + clearable: false, + required:true }, { type: 'button', diff --git a/src/views/energy/monitoring/orderEnergy/index.vue b/src/views/energy/monitoring/orderEnergy/index.vue index b66497bf..96e8e5d2 100644 --- a/src/views/energy/monitoring/orderEnergy/index.vue +++ b/src/views/energy/monitoring/orderEnergy/index.vue @@ -172,11 +172,11 @@ export default { this.$modal.msgWarning('工单不能为空') return false } - if (!val.objType) { + if (!val.energyTypeId) { this.$modal.msgWarning('能源类型不能为空') return false } - if (!val.energyTypeId) { + if (!val.objType) { this.$modal.msgWarning('对象维度不能为空') return false } diff --git a/src/views/group/base/groupTeam/index.vue b/src/views/group/base/groupTeam/index.vue index 14d3ce47..50d31d11 100644 --- a/src/views/group/base/groupTeam/index.vue +++ b/src/views/group/base/groupTeam/index.vue @@ -58,7 +58,7 @@ const tableProps = [ prop: 'createTime', label: '创建时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'name', diff --git a/src/views/group/monitoring/groupTeamView/components/groupTeamViewDetail.vue b/src/views/group/monitoring/groupTeamView/components/groupTeamViewDetail.vue index bdf1eba9..58c17c34 100644 --- a/src/views/group/monitoring/groupTeamView/components/groupTeamViewDetail.vue +++ b/src/views/group/monitoring/groupTeamView/components/groupTeamViewDetail.vue @@ -2,14 +2,16 @@ - - - - - - - - + + + 工单名称 + {{ queryParams.workOrderName ? queryParams.workOrderName : '-' }} + + + 班组名称 + {{ queryParams.teamName ? queryParams.teamName : '-' }} + + { - this.tableH = this.tableHeight(200) + this.tableH = this.tableHeight(260) }) }, methods: { @@ -79,5 +79,23 @@ export default { \ No newline at end of file diff --git a/src/views/group/monitoring/groupTeamView/index.vue b/src/views/group/monitoring/groupTeamView/index.vue index 821a60b3..6a172aed 100644 --- a/src/views/group/monitoring/groupTeamView/index.vue +++ b/src/views/group/monitoring/groupTeamView/index.vue @@ -59,7 +59,8 @@ export default { label: '工单', selectOptions: [], param: 'workOrderId', - clearable: false + clearable: false, + filterable: true }, { type: 'button', diff --git a/src/views/group/monitoring/teamProduction/index.vue b/src/views/group/monitoring/teamProduction/index.vue index 611dd390..2fc7f884 100644 --- a/src/views/group/monitoring/teamProduction/index.vue +++ b/src/views/group/monitoring/teamProduction/index.vue @@ -17,7 +17,7 @@ v), diff --git a/src/views/order/base/orderManage/index.vue b/src/views/order/base/orderManage/index.vue index 746dbf2c..91878fca 100644 --- a/src/views/order/base/orderManage/index.vue +++ b/src/views/order/base/orderManage/index.vue @@ -65,7 +65,7 @@ const tableProps = [ prop: 'createTime', label: '添加时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'name', @@ -101,12 +101,12 @@ const tableProps = [ { prop: 'planQuantity', label: '计划加工量', - width: 90 + width: 100 }, { prop: 'actualQuantity', label: '实际加工量', - width: 90 + width: 100 }, { prop: 'productName', @@ -341,6 +341,7 @@ export default { item.customerId = i.name } } + item.price = item.price.toFixed(2) }) this.list = arr } diff --git a/src/views/order/base/orderManage/orderDetailData.vue b/src/views/order/base/orderManage/orderDetailData.vue index 5dd79f87..82f64cf7 100644 --- a/src/views/order/base/orderManage/orderDetailData.vue +++ b/src/views/order/base/orderManage/orderDetailData.vue @@ -5,6 +5,7 @@ 订单编码: {{orderMsg.code}} + 返回 @@ -133,7 +134,7 @@ const tableProps1 = [ prop: 'issueTime', label: '下发时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'name', @@ -147,19 +148,19 @@ const tableProps1 = [ minWidth: 150 }, { - prop: 'planQuantity', + prop: 'planAssignmentQuantity', label: '计划加工量', - width: 90 + width: 100 }, { prop: 'actualQuantity', label: '实际加工量', - width: 90 + width: 100 }, { prop: 'actualArea', label: '加工平方数', - width: 90 + width: 100 }, { prop: 'status', @@ -170,13 +171,13 @@ const tableProps1 = [ prop: 'startProduceTime', label: '开始时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'finishProduceTime', label: '结束时间', filter: parseTime, - minWidth: 150 + minWidth: 160 }, { prop: 'productLineNames', @@ -278,6 +279,10 @@ export default { } }) }) + }, + // 返回 + returnOrderManage() { + this.$router.push({path: '/order/base/order-manage'}) } } } diff --git a/src/views/order/monitoring/components/monitoringRingCharts.vue b/src/views/order/monitoring/components/monitoringRingCharts.vue new file mode 100644 index 00000000..54a55a19 --- /dev/null +++ b/src/views/order/monitoring/components/monitoringRingCharts.vue @@ -0,0 +1,168 @@ + + + + + 各订单环形图 + + + + + + {{item.orderName}} + 订单计划数量{{item.num}} + + + + + {{subItem.value}} + + + + {{subItem.name}} + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/order/monitoring/orderCompletionMonitoring/index.vue b/src/views/order/monitoring/orderCompletionMonitoring/index.vue index d1efb9f8..50d1bf40 100644 --- a/src/views/order/monitoring/orderCompletionMonitoring/index.vue +++ b/src/views/order/monitoring/orderCompletionMonitoring/index.vue @@ -6,59 +6,45 @@ ref="searchBarForm" @headBtnClick="buttonClick" /> - - + + + + + + + + + - - + + +
工单名称
{{ queryParams.workOrderName ? queryParams.workOrderName : '-' }}
班组名称
{{ queryParams.teamName ? queryParams.teamName : '-' }}