소스 검색

BUG修复

seimin 3 년 전
부모
커밋
aeb71db83f
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      pages/scanning_djEnd/scanning_djEnd.vue

+ 4 - 4
pages/scanning_djEnd/scanning_djEnd.vue

@@ -357,9 +357,9 @@ export default {
357 357
           title: "加载中",
358 358
           mask: true,
359 359
         });
360
-        let id = JSON.parse(this.queryObj.ids)[0];
360
+        let ids = JSON.parse(this.queryObj.ids);
361 361
         let postData = {
362
-          ids: [id],
362
+          ids,
363 363
           sign: true,
364 364
           deptQrCode: this.queryObj.code,
365 365
         };
@@ -439,9 +439,9 @@ export default {
439 439
     // 确定
440 440
     ok2() {
441 441
       this.models2.disjunctor = false;
442
-      let id = JSON.parse(this.queryObj.ids)[0];
442
+      let ids = JSON.parse(this.queryObj.ids);
443 443
       let postData = {
444
-        ids: [id],
444
+        ids,
445 445
         deptQrCode: this.queryObj.code,
446 446
       };
447 447
       uni.showLoading({