From 5fb6079850fefa0cb94c459b23981f67f9b97871 Mon Sep 17 00:00:00 2001
From: yinq <1345442242@qq.com>
Date: Tue, 10 Oct 2023 14:57:41 +0800
Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=9F=E4=BA=A7=E8=AE=A1?=
=?UTF-8?q?=E5=88=92=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/base/orderInfo.js | 10 ++++
src/views/base/orderInfo/index.vue | 59 +++++++++++++++----
src/views/production/baseBomInfo/childBom.vue | 2 +-
src/views/production/planInfo/index.vue | 35 +++++++----
4 files changed, 83 insertions(+), 23 deletions(-)
diff --git a/src/api/base/orderInfo.js b/src/api/base/orderInfo.js
index b950736..05c34dc 100644
--- a/src/api/base/orderInfo.js
+++ b/src/api/base/orderInfo.js
@@ -35,6 +35,16 @@ export function updateOrderInfo(data) {
})
}
+// 下达工单计划
+export function releaseOrderPlan(data) {
+ return request({
+ url: '/production/planInfo/releaseOrderPlan',
+ method: 'post',
+ data: data
+ })
+}
+
+
// 删除工单信息
export function delOrderInfo(objId) {
return request({
diff --git a/src/views/base/orderInfo/index.vue b/src/views/base/orderInfo/index.vue
index c7f895a..b8ad4f3 100644
--- a/src/views/base/orderInfo/index.vue
+++ b/src/views/base/orderInfo/index.vue
@@ -87,7 +87,7 @@
-
+
@@ -105,6 +105,11 @@
+
+
+
+
+
{{ parseTime(scope.row.beginDate, '{y}-{m}-{d}') }}
@@ -143,17 +148,23 @@
修改
+ icon="el-icon-bottom"
+ @click="handleReleasePlan(scope.row)"
+ >下达计划
删除
+ icon="el-icon-edit"
+ @click="handleUpdate(scope.row)"
+ v-hasPermi="['base:orderInfo:edit']"
+ >修改工单
+
+
+
+
+
+
+
@@ -259,11 +270,18 @@