maotao il y a 3 jours
Parent
commit
ac103fb7d9
2 fichiers modifiés avec 11 ajouts et 11 suppressions
  1. 10 10
      components/bigScreen/bigScreen.vue
  2. 1 1
      pages/receiptpage/receiptpage.vue

+ 10 - 10
components/bigScreen/bigScreen.vue

@@ -517,7 +517,7 @@
517 517
       // 底部扫描
518 518
       Scanning(qrcodePrefix = '') {
519 519
 				// 标本码
520
-				this.ScanningCommon('', '250529338897@_1');
520
+				// this.ScanningCommon('', '250529338897@_1');
521 521
 				
522 522
 				// 快捷建单-轮巡工单码
523 523
 				// this.ScanningCommon('', '3330ec8e-76eb-413e-b000-995f08d2ff96');
@@ -528,15 +528,15 @@
528 528
 				// 终点科室核对码--本部住院检验科
529 529
 				// this.ScanningCommon('', '95c5de27-c05f-11ea-8cfe-000c29097622');
530 530
 				
531
-        // if (!this.SMFlag) {
532
-        //   return;
533
-        // }
534
-        // this.SMFlag = false;
535
-        // SM().then((content) => {
536
-        //   this.ScanningCommon(qrcodePrefix, content);
537
-        // }).catch(err => {
538
-        //   this.SMFlag = true;
539
-        // });
531
+        if (!this.SMFlag) {
532
+          return;
533
+        }
534
+        this.SMFlag = false;
535
+        SM().then((content) => {
536
+          this.ScanningCommon(qrcodePrefix, content);
537
+        }).catch(err => {
538
+          this.SMFlag = true;
539
+        });
540 540
       },
541 541
       //底部扫描-无须扫码
542 542
       ScanningCommon(qrcodePrefix = '', content){

+ 1 - 1
pages/receiptpage/receiptpage.vue

@@ -1278,7 +1278,7 @@
1278 1278
 			  let drugsBagType = queryObj.drugsBagType.value;
1279 1279
 			  let orderId = responseData.gdId;
1280 1280
 			  let drugsBagId = responseData.id;
1281
-				let orderStateValue = responeseData.workOrderDTO ? responeseData.workOrderDTO.gdState.value : null;
1281
+				let orderStateValue = responseData.workOrderDTO ? responseData.workOrderDTO.gdState.value : null;
1282 1282
 			  if(config.drugsModel === 1){
1283 1283
 			    // 一单一码
1284 1284
 			    if(orderStateValue == 4){