diff --git a/src/api/productManagement/workplan.js b/src/api/productManagement/workplan.js
index 43c78cb..e3a1494 100644
--- a/src/api/productManagement/workplan.js
+++ b/src/api/productManagement/workplan.js
@@ -33,3 +33,12 @@ export function updateworkplan(data) {
contextType: 'application/json',
})
}
+
+
+
+export function getworkorderList(id) {
+ return request({
+ url: '/mes/pro/workplan/getworkorderList/' + id,
+ method: 'get',
+ })
+}
\ No newline at end of file
diff --git a/src/views/productManagement/workplan.vue b/src/views/productManagement/workplan.vue
index c0e08fa..d0a7eed 100644
--- a/src/views/productManagement/workplan.vue
+++ b/src/views/productManagement/workplan.vue
@@ -31,7 +31,6 @@
style="width: 100%"
height="500"
highlight-current-row
- @current-change="handleCurrentChange"
:header-cell-style="{ 'text-align': 'center' }"
>
@@ -56,7 +55,7 @@
-
+
@@ -66,7 +65,7 @@
修改
删除
- 查看工单
+ 查看工单
@@ -134,8 +133,9 @@
+
-
+
@@ -163,17 +163,21 @@
- 新建生产工单
- 选中计划:
+ 新建生产工单
+ 选中计划: {{ this.selectPlan.id }}
-
+
-
-
-
+
+
+ {{ scope.row.date }}
+
+
+
@@ -193,16 +197,85 @@
+
+
+
+
+
+
+
{{ dialog_2.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -358,5 +457,14 @@ export default {
.workplan_scope {
color: #1890ff;
font-size: 10px;
+ font-weight: 700;
+}
+.workorder_scope {
+ color: #ff1869;
+ font-weight: 700;
+}
+.planbak {
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
+ padding: 20;
}