maotao 4 dienas atpakaļ
vecāks
revīzija
ac103fb7d9
2 mainītis faili ar 11 papildinājumiem un 11 dzēšanām
  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
       Scanning(qrcodePrefix = '') {
518
       Scanning(qrcodePrefix = '') {
519
 				// 标本码
519
 				// 标本码
520
-				this.ScanningCommon('', '250529338897@_1');
520
+				// this.ScanningCommon('', '250529338897@_1');
521
 				
521
 				
522
 				// 快捷建单-轮巡工单码
522
 				// 快捷建单-轮巡工单码
523
 				// this.ScanningCommon('', '3330ec8e-76eb-413e-b000-995f08d2ff96');
523
 				// this.ScanningCommon('', '3330ec8e-76eb-413e-b000-995f08d2ff96');
@@ -528,15 +528,15 @@
528
 				// 终点科室核对码--本部住院检验科
528
 				// 终点科室核对码--本部住院检验科
529
 				// this.ScanningCommon('', '95c5de27-c05f-11ea-8cfe-000c29097622');
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
       ScanningCommon(qrcodePrefix = '', content){
542
       ScanningCommon(qrcodePrefix = '', content){

+ 1 - 1
pages/receiptpage/receiptpage.vue

@@ -1278,7 +1278,7 @@
1278
 			  let drugsBagType = queryObj.drugsBagType.value;
1278
 			  let drugsBagType = queryObj.drugsBagType.value;
1279
 			  let orderId = responseData.gdId;
1279
 			  let orderId = responseData.gdId;
1280
 			  let drugsBagId = responseData.id;
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
 			  if(config.drugsModel === 1){
1282
 			  if(config.drugsModel === 1){
1283
 			    // 一单一码
1283
 			    // 一单一码
1284
 			    if(orderStateValue == 4){
1284
 			    if(orderStateValue == 4){