|
|
@ -275,7 +275,7 @@ export default { |
|
|
|
this.show = true |
|
|
|
this.emptyObj.device_code = e.name |
|
|
|
} else if (type === 'SCANER') { |
|
|
|
crudProduceScreen.fabOrders({ device_code: this.popData.device_code }).then(res => { |
|
|
|
crudProduceScreen.fabOrders({ device_code: this.screenData.in_code }).then(res => { |
|
|
|
this.options2 = [...res] |
|
|
|
}) |
|
|
|
crudProduceScreen.getPointVehicle({ device_code: this.popData.device_code }).then(res => { |
|
|
@ -322,7 +322,7 @@ export default { |
|
|
|
this.disabled = false |
|
|
|
}) |
|
|
|
} else if (this.type === 'SCANER') { |
|
|
|
crudProduceScreen.sendMater({ device_code: this.screenData.in_code, mater: this.popList, point_code: this.value1 }).then(res => { |
|
|
|
crudProduceScreen.sendMater({ device_code: this.popData.device_code, mater: this.popList, point_code: this.value1 }).then(res => { |
|
|
|
this.disabled = false |
|
|
|
this.$message(res.msg) |
|
|
|
}).catch(() => { |
|
|
|