diff --git a/src/api/yieldReport/com_replace_material.js b/src/api/yieldReport/com_replace_material.js
new file mode 100644
index 0000000..d08673b
--- /dev/null
+++ b/src/api/yieldReport/com_replace_material.js
@@ -0,0 +1,7 @@
+import { createAPI } from '@/utils/httpRequest.js'
+
+//检查工具实例编码
+export const checkConnectMaterialRoll = data => createAPI('schedule/checkConnectMaterialRoll', 'POST', data)
+
+//工具上机
+export const connectMaterialRoll = data => createAPI('schedule/connectMaterialRoll', 'POST', data)
diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue
index 64cbc6a..05d7012 100644
--- a/src/views/modules/yieldReport/com_produce_report_normal.vue
+++ b/src/views/modules/yieldReport/com_produce_report_normal.vue
@@ -233,7 +233,7 @@
width="75"
:label="'操作'">
- 换料
@@ -3193,7 +3193,7 @@ export default {
//打开生产过程的工具的页面
this.$nextTick(() => {
this.showReplaceMaterialFlag = true;
- this.$refs.comReplaceTool.init(this.scheduleData, this.operatorData, materialRow)
+ this.$refs.comReplaceMaterial.init(this.scheduleData, this.operatorData, materialRow)
});
},
diff --git a/src/views/modules/yieldReport/com_replace_material.vue b/src/views/modules/yieldReport/com_replace_material.vue
index 6f4e308..87f6c53 100644
--- a/src/views/modules/yieldReport/com_replace_material.vue
+++ b/src/views/modules/yieldReport/com_replace_material.vue
@@ -14,7 +14,7 @@
@@ -24,14 +24,7 @@
-
-
-
-
+
@@ -70,7 +63,7 @@
@@ -79,17 +72,16 @@