From 381ce61e6c398f97355b3623b3ee5c5a3a2373c3 Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Fri, 25 Feb 2022 16:21:17 +0800
Subject: [PATCH] tijiao
---
hb_client/src/api/wpm.js | 9 +-
hb_client/src/views/pm/work.vue | 20 +-
hb_client/src/views/sam/order.vue | 25 +-
hb_client/src/views/wpm/operationdo.vue | 1265 ++++++++++++-----------
4 files changed, 681 insertions(+), 638 deletions(-)
diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js
index 853e4ce..3a9d4f2 100644
--- a/hb_client/src/api/wpm.js
+++ b/hb_client/src/api/wpm.js
@@ -143,7 +143,14 @@ export function deleteOperationwproduct(id) {
})
}
-
+//半成品摆放位置
+export function wproductPlace(id, data) {
+ return request({
+ url: `/wpm/operation_wproduct/${id}/`,
+ method: 'put',
+ data
+ })
+}
//删除操作记录
export function deleteOperation(id) {
return request({
diff --git a/hb_client/src/views/pm/work.vue b/hb_client/src/views/pm/work.vue
index c80ed45..2b16536 100644
--- a/hb_client/src/views/pm/work.vue
+++ b/hb_client/src/views/pm/work.vue
@@ -20,22 +20,22 @@
{{scope.row.number}}
-
- {{ scope.row.product_.name }}
+
+ {{ scope.row.product_.name }}
-
- {{ scope.row.product_.specification }}
+
+ {{ scope.row.product_.specification }}
- {{ scope.row.subproduction_.name }}
+ {{ scope.row.subproduction_.name }}
-
- {{ scope.row.process_.name }}
+
+ {{ scope.row.process_.name }}
- {{ scope.row.process_.number }}
+ {{ scope.row.process_.number }}
@@ -47,8 +47,8 @@
-
- {{ scope.row.workshop_.name }}
+
+ {{ scope.row.workshop_.name }}
{{ scope.row.count }}
diff --git a/hb_client/src/views/sam/order.vue b/hb_client/src/views/sam/order.vue
index 05c4bd0..f6c9325 100644
--- a/hb_client/src/views/sam/order.vue
+++ b/hb_client/src/views/sam/order.vue
@@ -162,12 +162,13 @@
-
+
+
+ :key="item.id"
+ :label="item.name+'____'+item.number"
+ :value="item.id">
@@ -184,7 +185,7 @@