From d4d9bdca6e4bd7e01b9e392da9567828ca4a1dc7 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 13 十二月 2023 11:26:25 +0800
Subject: [PATCH] 	modified:   src/api/plan/operationtask.js 	modified:   src/views/common/document.vue 	modified:   src/views/common/documentDetail.vue 	modified:   src/views/plan/operationtask/operationtask-form.vue 	modified:   src/views/technology/document/teststandard.vue

---
 src/views/common/document.vue                       |    2 +-
 src/views/common/documentDetail.vue                 |    2 +-
 src/views/technology/document/teststandard.vue      |    2 +-
 src/api/plan/operationtask.js                       |    6 ++++++
 src/views/plan/operationtask/operationtask-form.vue |    1 +
 5 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/api/plan/operationtask.js b/src/api/plan/operationtask.js
index 0dff00b..fc48e23 100644
--- a/src/api/plan/operationtask.js
+++ b/src/api/plan/operationtask.js
@@ -294,3 +294,9 @@
     params: query
   })
 }
+export function getTechnologyRouting(id) {
+  return request({
+    url: '/mes/operationTask/getTechnologyRouting/'+id,
+    method: 'get',
+  })
+}
diff --git a/src/views/common/document.vue b/src/views/common/document.vue
index 636bd89..6edd889 100644
--- a/src/views/common/document.vue
+++ b/src/views/common/document.vue
@@ -61,7 +61,7 @@
       <el-button @click="innerVisible = false">鍙� 娑�</el-button>
       <el-button type="primary" @click="saveSelectRow">纭� 瀹�</el-button>
     </div>
-    <DocumentDetail :currshowlist.sync="showDocument" :docId="documentId">
+    <DocumentDetail :currshowlist.sync="showDocument" :docId="Number(documentId)">
     </DocumentDetail>
   </el-dialog>
 </template>
diff --git a/src/views/common/documentDetail.vue b/src/views/common/documentDetail.vue
index b93f8e9..f2d5861 100644
--- a/src/views/common/documentDetail.vue
+++ b/src/views/common/documentDetail.vue
@@ -166,7 +166,7 @@
             >
               <TeststandardDialog
                 :editable="editable"
-                :documentId="Number(dataForm.id)"
+                :documentId="Number(docId)"
               >
               </TeststandardDialog>
             </el-tab-pane>
diff --git a/src/views/plan/operationtask/operationtask-form.vue b/src/views/plan/operationtask/operationtask-form.vue
index 02fb8dc..2c1d48e 100644
--- a/src/views/plan/operationtask/operationtask-form.vue
+++ b/src/views/plan/operationtask/operationtask-form.vue
@@ -778,6 +778,7 @@
             //              this.dataForm.partName = this.routingList.partName
             //              this.dataForm.partId = this.routingList.partId
             // 鍒堕�犺鍗昮orm鍒涘缓鐨勶紝鑷姩甯﹀嚭宸ュ簭
+            console.log(this.routingOptions);
             if (param.selectedRoutingOperationId && this.routingOptions) {
               const option = this.routingOptions.find(
                 (e) => e.id === param.selectedRoutingOperationId
diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue
index f8aa95a..69faf64 100644
--- a/src/views/technology/document/teststandard.vue
+++ b/src/views/technology/document/teststandard.vue
@@ -59,7 +59,7 @@
   deleteTestStandard,
   getTestStand,
   saveTestStandard
-} from '../../../api/technology/document'
+} from '@/api/technology/document'
 import qualityStandardDialog from '@/views/common/teststandardradio.vue'
 
 export default {

--
Gitblit v1.9.3