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

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

parent f8473458
<template>
<el-dialog
title="程序下发"
:title="equipType === 'STEEL_CNC_CUTTING' ? '料表下发': '程序下发'"
v-drag-dialog
:visible.sync="dialogToggle"
:show-close="false"
:close-on-press-escape="false"
:close-on-click-modal="false"
:show-close="false"
:close-on-press-escape="false"
:close-on-click-modal="false"
width="600px">
<el-form
label-width="100px"
......@@ -87,16 +87,16 @@
</el-row>
</el-form>
<span slot="footer" class="dialog-footer text-center">
<el-button
size="small"
type="primary"
<el-button
size="small"
type="primary"
icon="el-icon-check"
:loading="loadingToggle"
@click="doConfirmClick('form')">
确认
</el-button>
<el-button
size="small"
<el-button
size="small"
icon="el-icon-close"
@click="doCancelClick('form')">
取消
......@@ -203,7 +203,7 @@
this.loadingToggle = true
let queryParams = { ...this.formData }
this.$fetch('equipment-controller/transfer-post', queryParams).then((response) => {
this.$message.success('程序下发成功!')
this.$message.success('下发成功!')
this.loadingToggle = false
this.$refs[formName].resetFields()
this.dialogToggle = false
......@@ -243,4 +243,4 @@
<style>
</style>
\ No newline at end of file
</style>
......@@ -52,9 +52,16 @@
</el-button>
<el-button
size="small"
@click="doProgramIssuedClick">
@click="doProgramIssuedClick"
v-if="currentSearchCode !== 'WELDING_ROBOT' && currentSearchCode !== 'PRETREATMENT' && currentSearchCode !== 'DUSTING_LINE' && currentSearchCode !== 'STEEL_CNC_CUTTING'">
程序下发
</el-button>
<el-button
size="small"
@click="doProgramIssuedClick"
v-if="currentSearchCode === 'STEEL_CNC_CUTTING'">
料表下发
</el-button>
</div>
</div>
<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