diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index 653957b..64cbc6a 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -226,6 +226,17 @@ style="width: 100px; height: 80px"/> + + + 换料 + + @@ -453,6 +464,13 @@ + + + + + { this.showReplaceToolFlag = true; @@ -3167,6 +3186,17 @@ export default { }); }, + /*替换工具的组件*/ + replaceMaterialModal(materialRow) { + //1.首先调用菜单判断方式 打开生产过程的停机的页面 + //checkProduceButton('produceDownFlag'); + //打开生产过程的工具的页面 + this.$nextTick(() => { + this.showReplaceMaterialFlag = true; + this.$refs.comReplaceTool.init(this.scheduleData, this.operatorData, materialRow) + }); + }, + //创建新卷的方法 createNewRollDo() { createNewRoll(this.scheduleData).then(({data}) => { diff --git a/src/views/modules/yieldReport/com_replace_material.vue b/src/views/modules/yieldReport/com_replace_material.vue new file mode 100644 index 0000000..6f4e308 --- /dev/null +++ b/src/views/modules/yieldReport/com_replace_material.vue @@ -0,0 +1,325 @@ + + + + + + + + + 换材料 + + + + + + + + + + + + + + + + + + + + + + + + + + + 停机 + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + 关闭 + + + + + + + +