|
@@ -336,6 +336,18 @@ export default {
|
336
|
336
|
}
|
337
|
337
|
result = result.replace(/\n/g, "");
|
338
|
338
|
result = result.replace(/\s+/g, "");
|
|
339
|
+ if (result.indexOf("userid") != -1) {
|
|
340
|
+ that.closeQR();
|
|
341
|
+ var index = result.lastIndexOf("d");
|
|
342
|
+ let str = result.substring(index + 1, result.length);
|
|
343
|
+ that.$router.push({
|
|
344
|
+ path: "/customerMan/details",
|
|
345
|
+ query: {
|
|
346
|
+ id: str,
|
|
347
|
+ },
|
|
348
|
+ });
|
|
349
|
+ return;
|
|
350
|
+ }
|
339
|
351
|
that.goodsCode = result;
|
340
|
352
|
that.closeQR();
|
341
|
353
|
that.goodsPickUp();
|