diff --git a/src/api/yieldReport/com_separate_roll.js b/src/api/yieldReport/com_separate_roll.js
new file mode 100644
index 0000000..4fe927b
--- /dev/null
+++ b/src/api/yieldReport/com_separate_roll.js
@@ -0,0 +1,7 @@
+import { createAPI } from '@/utils/httpRequest.js'
+
+// 校验创建分卷的操作
+export const checkCreateSplitSfdcRoll = data => createAPI('schedule/checkCreateSplitSfdcRoll', 'POST', data)
+
+// 执行创建分卷的操作
+export const createSplitSfdcRoll = data => createAPI('schedule/createSplitSfdcRoll', 'POST', data)
diff --git a/src/api/yieldReport/com_switch_roll.js b/src/api/yieldReport/com_switch_roll.js
new file mode 100644
index 0000000..23227f6
--- /dev/null
+++ b/src/api/yieldReport/com_switch_roll.js
@@ -0,0 +1,7 @@
+import { createAPI } from '@/utils/httpRequest.js'
+
+// 校验切换卷的操作
+export const checkSwitchSfdcRoll = data => createAPI('schedule/checkSwitchSfdcRoll', 'POST', data)
+
+// 执行切换卷的操作
+export const switchSfdcRoll = data => createAPI('schedule/switchSfdcRoll', '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 d2a37a1..617142c 100644
--- a/src/views/modules/yieldReport/com_produce_report_normal.vue
+++ b/src/views/modules/yieldReport/com_produce_report_normal.vue
@@ -165,7 +165,7 @@
width="75"
:label="'操作'">
- 刀模替换
@@ -240,11 +240,11 @@
width="115"
:label="'操作'">
- 换料
- 下料
- 生产结束
@@ -428,7 +428,7 @@
+ :visible.sync="showSwitchFlag" @refreshPageData="refreshPageData">
@@ -2990,7 +2990,7 @@ export default {
await this.refreshCurrentTabTable();
//刷新当前的菜单
- await this.refreshPageButtons();
+ //await this.refreshPageButtons();
},
@@ -3123,7 +3123,7 @@ export default {
//打开切换用户的页面
this.$nextTick(() => {
this.showSwitchFlag = true;
- this.$refs.comSwitchRoll.init(this.scheduleData.seqNo, this.operatorData)
+ this.$refs.comSwitchRoll.init(this.scheduleData, this.operatorData)
});
},
@@ -3134,7 +3134,7 @@ export default {
//打开创建分卷的页面 76一会还把
this.$nextTick(() => {
this.showSeparateFlag = true;
- this.$refs.comSeparateRoll.init(this.scheduleData.seqNo, this.operatorData)
+ this.$refs.comSeparateRoll.init(this.scheduleData, this.operatorData)
});
},
diff --git a/src/views/modules/yieldReport/com_separate_roll.vue b/src/views/modules/yieldReport/com_separate_roll.vue
index 5fd557c..4f36b74 100644
--- a/src/views/modules/yieldReport/com_separate_roll.vue
+++ b/src/views/modules/yieldReport/com_separate_roll.vue
@@ -9,7 +9,7 @@
@@ -20,7 +20,7 @@
@@ -33,12 +33,12 @@
-
+
-
+
@@ -52,36 +52,51 @@