seimin hace 3 años
padre
commit
aeb71db83f
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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({