From 4bf610eeb1bbdd82e52765b380d805ba51fd2f8b Mon Sep 17 00:00:00 2001 From: zwq Date: Wed, 6 Nov 2024 08:53:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 6 +- src/views/home/index.vue | 2 +- .../monitoring/equipmentFullParams/index.vue | 63 +- .../base/orderManage/components/inputArea.vue | 2 +- .../base/orderManage/components/orderAdd.vue | 38 +- .../orderManage/components/orderSplit.vue | 553 ++++++++++-------- .../orderManage/components/selectMember.vue | 51 ++ .../orderManage/components/selectTime.vue | 47 ++ .../produce/order/base/orderManage/index.vue | 20 +- .../base/orderManage/orderDetailData.vue | 43 +- src/views/produce/workOrder/addWorkOrder.vue | 22 +- 11 files changed, 523 insertions(+), 324 deletions(-) create mode 100644 src/views/produce/order/base/orderManage/components/selectMember.vue create mode 100644 src/views/produce/order/base/orderManage/components/selectTime.vue diff --git a/.env.dev b/.env.dev index 96898f1a..e1f6a260 100644 --- a/.env.dev +++ b/.env.dev @@ -1,8 +1,8 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-09-02 09:07:05 - # @LastEditors: zhp + # @LastEditTime: 2024-10-21 16:41:54 + # @LastEditors: zwq # @Description: ### # 开发环境配置 @@ -22,7 +22,7 @@ VUE_APP_TITLE = MES系统 # VUE_APP_BASE_API = 'http://192.168.1.56:48082' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # VUE_APP_BASE_API = 'http://192.168.1.64:48082' -VUE_APP_BASE_API = 'http://192.168.1.20:48082' +VUE_APP_BASE_API = 'http://mes2.kszny.picaiba.com' diff --git a/src/views/home/index.vue b/src/views/home/index.vue index ec1d4937..3a178c7a 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -407,7 +407,7 @@ export default { } } .current-date { - font-size: 10px; + font-size: 15px; font-weight: 500; position: absolute; right: 0px; diff --git a/src/views/monitoring/equipmentFullParams/index.vue b/src/views/monitoring/equipmentFullParams/index.vue index 463c788c..9234357f 100644 --- a/src/views/monitoring/equipmentFullParams/index.vue +++ b/src/views/monitoring/equipmentFullParams/index.vue @@ -1,4 +1,4 @@ - diff --git a/src/views/produce/order/base/orderManage/components/selectMember.vue b/src/views/produce/order/base/orderManage/components/selectMember.vue new file mode 100644 index 00000000..9fe003c2 --- /dev/null +++ b/src/views/produce/order/base/orderManage/components/selectMember.vue @@ -0,0 +1,51 @@ + + + diff --git a/src/views/produce/order/base/orderManage/components/selectTime.vue b/src/views/produce/order/base/orderManage/components/selectTime.vue new file mode 100644 index 00000000..d82f411d --- /dev/null +++ b/src/views/produce/order/base/orderManage/components/selectTime.vue @@ -0,0 +1,47 @@ + + + diff --git a/src/views/produce/order/base/orderManage/index.vue b/src/views/produce/order/base/orderManage/index.vue index 7a0c96cc..5fe0ef7d 100644 --- a/src/views/produce/order/base/orderManage/index.vue +++ b/src/views/produce/order/base/orderManage/index.vue @@ -39,11 +39,11 @@ import orderNum from './components/orderNum.vue' import AddWorkOrder from './components/addWorkOrder' import { publicFormatter } from '@/utils/dict' const tableProps = [ - { - prop: 'type', - label: '订单类型', - showOverflowtooltip: true - }, + // { + // prop: 'type', + // label: '订单类型', + // showOverflowtooltip: true + // }, { prop: 'createTime', label: '添加时间', @@ -59,10 +59,10 @@ const tableProps = [ { prop: 'code', label: '订单编码', - minWidth: 180 + minWidth: 160 }, { - prop: 'customerId', + prop: 'customerName', label: '客户', showOverflowtooltip: true }, @@ -93,7 +93,7 @@ const tableProps = [ }, { prop: 'deliveTime', - label: '添加时间', + label: '交货时间', filter: parseTime, minWidth: 160 }, @@ -170,8 +170,8 @@ export default { this.$auth.hasPermi('base:order-manage:split') ? { type: 'split', - btnName: '拆分工单', - showTip: '拆分工单', + btnName: '拆分订单', + showTip: '拆分订单', showParam: { type: '&', data: [ diff --git a/src/views/produce/order/base/orderManage/orderDetailData.vue b/src/views/produce/order/base/orderManage/orderDetailData.vue index be022438..c93fc161 100644 --- a/src/views/produce/order/base/orderManage/orderDetailData.vue +++ b/src/views/produce/order/base/orderManage/orderDetailData.vue @@ -21,7 +21,7 @@
{{ orderMsg.name }}
-
产品信息
+
产品名称
{{ orderMsg.productName }}
@@ -38,37 +38,41 @@ {{ getDictDataLabel(DICT_TYPE.PACK_SPEC, orderMsg.packSpec) }} - + + + +
创建时间
{{ parseTime(orderMsg.createTime) }}
-
计划开始时间
-
{{ parseTime(orderMsg.planStartTime) }}
+
交货时间
+
{{ parseTime(orderMsg.deliveTime) }}
-
- - +
计划加工数量
{{ orderMsg.planQuantity }}
- +
状态
@@ -87,12 +91,12 @@ {{ parseTime(orderMsg.finishProduceTime) }}
+
+
实际生产数量
{{ orderMsg.actualQuantity }}
-
-
完成比%
{{ orderMsg.completeProp }}
@@ -102,9 +106,13 @@
{{ orderMsg.nokQuantity }}
+
备注
+
{{ orderMsg.remark }}
+
+