Commit e6dac794 by zhuxiaomei

app扫码功能改为输完查询

parent 21f48430
......@@ -1390,7 +1390,7 @@
},
_getSample: async function () {
if (this.sample.qrcode) {
if (this.sample.qrcode&&this.id==='') {
let res = await samplingSample.scanSample({qrcode: this.sample.qrcode})
if (res) {
this._scanResult(res)
......
......@@ -1301,7 +1301,7 @@
this.showCityPicker = false
},
_getSample: async function () {
if (this.sample.qrcode) {
if (this.sample.qrcode&&this.id==='') {
let res = await samplingSample.scanSample({qrcode: this.sample.qrcode})
if (res) {
this._scanResult(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment