Commit 4bb8089d authored by 李志鸣's avatar 李志鸣

fea(设备数据采集): 制件车间下 修改某些设备没有程序下发功能,型钢数控下料为料表下发;修改弹窗标题

parent f8473458
<template> <template>
<el-dialog <el-dialog
title="程序下发" :title="equipType === 'STEEL_CNC_CUTTING' ? '料表下发': '程序下发'"
v-drag-dialog v-drag-dialog
:visible.sync="dialogToggle" :visible.sync="dialogToggle"
:show-close="false" :show-close="false"
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
this.loadingToggle = true this.loadingToggle = true
let queryParams = { ...this.formData } let queryParams = { ...this.formData }
this.$fetch('equipment-controller/transfer-post', queryParams).then((response) => { this.$fetch('equipment-controller/transfer-post', queryParams).then((response) => {
this.$message.success('程序下发成功!') this.$message.success('下发成功!')
this.loadingToggle = false this.loadingToggle = false
this.$refs[formName].resetFields() this.$refs[formName].resetFields()
this.dialogToggle = false this.dialogToggle = false
......
...@@ -52,9 +52,16 @@ ...@@ -52,9 +52,16 @@
</el-button> </el-button>
<el-button <el-button
size="small" size="small"
@click="doProgramIssuedClick"> @click="doProgramIssuedClick"
v-if="currentSearchCode !== 'WELDING_ROBOT' && currentSearchCode !== 'PRETREATMENT' && currentSearchCode !== 'DUSTING_LINE' && currentSearchCode !== 'STEEL_CNC_CUTTING'">
程序下发 程序下发
</el-button> </el-button>
<el-button
size="small"
@click="doProgramIssuedClick"
v-if="currentSearchCode === 'STEEL_CNC_CUTTING'">
料表下发
</el-button>
</div> </div>
</div> </div>
<div class="general-list-main-pack pl-15 pr-15 pb-15"> <div class="general-list-main-pack pl-15 pr-15 pb-15">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment