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"
:close-on-press-escape="false" :close-on-press-escape="false"
:close-on-click-modal="false" :close-on-click-modal="false"
width="600px"> width="600px">
<el-form <el-form
label-width="100px" label-width="100px"
...@@ -87,16 +87,16 @@ ...@@ -87,16 +87,16 @@
</el-row> </el-row>
</el-form> </el-form>
<span slot="footer" class="dialog-footer text-center"> <span slot="footer" class="dialog-footer text-center">
<el-button <el-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-check" icon="el-icon-check"
:loading="loadingToggle" :loading="loadingToggle"
@click="doConfirmClick('form')"> @click="doConfirmClick('form')">
确认 确认
</el-button> </el-button>
<el-button <el-button
size="small" size="small"
icon="el-icon-close" icon="el-icon-close"
@click="doCancelClick('form')"> @click="doCancelClick('form')">
取消 取消
...@@ -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
...@@ -243,4 +243,4 @@ ...@@ -243,4 +243,4 @@
<style> <style>
</style> </style>
\ No newline at end of file
...@@ -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