|
|
@ -336,6 +336,9 @@ export default { |
|
|
|
} else if (type === 2 && name in this.pointState) { |
|
|
|
crudProduceScreen.regionOrder(this.pkObj.value, this.pointState[name]).then(res => { |
|
|
|
this.n1List = [...res.content] |
|
|
|
this.n1List.map(el => { |
|
|
|
this.$set(el, 'device_code', this.pointState[name]) |
|
|
|
}) |
|
|
|
this.vechineList = [] |
|
|
|
this.show = true |
|
|
|
}) |
|
|
@ -388,7 +391,6 @@ export default { |
|
|
|
this.$message.error('请选择设备!') |
|
|
|
return |
|
|
|
} |
|
|
|
this.currentRow2.device_code = this.pointState[name] |
|
|
|
crudProduceScreen.callMater(this.currentRow2).then(res => { |
|
|
|
this.$message(res.msg) |
|
|
|
}) |
|
|
|