|
@@ -1306,7 +1306,7 @@
|
|
|
this.currentRow = row;
|
|
this.currentRow = row;
|
|
|
this.currentIndex = index;
|
|
this.currentIndex = index;
|
|
|
if (type=='substanceName') {
|
|
if (type=='substanceName') {
|
|
|
- if( this.addForm.deviceId){
|
|
|
|
|
|
|
+ if( !this.addForm.deviceId){
|
|
|
this.$message.error('请选择主设备!')
|
|
this.$message.error('请选择主设备!')
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|