|
|
@ -446,7 +446,12 @@ |
|
|
|
fromLocationCode: this.fromLocationCode, |
|
|
|
} |
|
|
|
// this.packGetFocus(); |
|
|
|
this.$emit("getResult", data); |
|
|
|
// 如果管理精度是批次或者数量,给父组件多返回一个参数 |
|
|
|
if (this.managementPrecision == 'BY_BATCH'||this.managementPrecision == 'BY_QUANTITY') { |
|
|
|
this.$emit("getResult", data, this.managementPrecision); |
|
|
|
} else { |
|
|
|
this.$emit("getResult", data); |
|
|
|
} |
|
|
|
this.$emit("getCountScanResult", data); |
|
|
|
}, |
|
|
|
|
|
|
@ -462,8 +467,8 @@ |
|
|
|
fromLocationCode: this.fromLocationCode, |
|
|
|
} |
|
|
|
this.packGetFocus(); |
|
|
|
// 如果管理精度是批次,给父组件多返回一个参数 |
|
|
|
if (this.managementPrecision == 'BY_BATCH') { |
|
|
|
// 如果管理精度是批次或者数量,给父组件多返回一个参数 |
|
|
|
if (this.managementPrecision == 'BY_BATCH'||this.managementPrecision == 'BY_QUANTITY') { |
|
|
|
this.$emit("getResult", data, this.managementPrecision); |
|
|
|
} else { |
|
|
|
this.$emit("getResult", data); |
|
|
|