bug修改

This commit is contained in:
caoxinyu
2019-06-02 14:54:33 +08:00
parent 91243e43ef
commit 178c440bdc

View File

@@ -66,7 +66,7 @@
:file-list="fileList" :file-list="fileList"
class="upload-demo" class="upload-demo"
multiple> multiple>
<el-button size="small" type="primary">点击上传</el-button> <el-button :disabled="disabledMachine" size="small" type="primary">点击上传</el-button>
</el-upload> </el-upload>
</div> </div>
</el-card> </el-card>
@@ -168,7 +168,6 @@ export default {
this.dialogVisibleMachine = true this.dialogVisibleMachine = true
this.machineDrawValue === '' ? this.disabledMachine = true : this.disabledMachine = false this.machineDrawValue === '' ? this.disabledMachine = true : this.disabledMachine = false
this.getSelect(machineSelect, ['机床图号', '机床流水号'], 'machineDraw', this.projectValue) this.getSelect(machineSelect, ['机床图号', '机床流水号'], 'machineDraw', this.projectValue)
this.$notify.error(`请选择机床`)
}, },
changeMachine() { changeMachine() {
this.machineDrawValue === '' ? this.disabledMachine = true : this.disabledMachine = false this.machineDrawValue === '' ? this.disabledMachine = true : this.disabledMachine = false