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