|
@@ -311,7 +311,7 @@
|
311
|
311
|
(infoType == 'spe-dsd-3' && infoDATA.gdState.value == '5')
|
312
|
312
|
">
|
313
|
313
|
<view class="btn3" @click="Scanning_again(dataId)">继续扫描</view>
|
314
|
|
- <view class="btn3" @click="hand_again(dataId)">手动录入</view>
|
|
314
|
+ <view class="btn3" @click="showHandViewSpecimen()">手动录入</view>
|
315
|
315
|
</view>
|
316
|
316
|
<view class="foot_btn2 footerPadding" v-if="
|
317
|
317
|
infoType == 'ins-dsd-1' ||
|
|
@@ -335,6 +335,7 @@
|
335
|
335
|
infoType == 'jp-dsd-2'
|
336
|
336
|
">
|
337
|
337
|
<view class="btn2" @click="Scanning_again(dataId)">继续扫描</view>
|
|
338
|
+ <view class="btn3" @click="showHandViewDrugsbag()">手动录入</view>
|
338
|
339
|
</view>
|
339
|
340
|
<view class="foot_btn2 footerPadding" v-if="
|
340
|
341
|
infoType == 'drug-ddd-1' ||
|
|
@@ -354,6 +355,10 @@
|
354
|
355
|
<handViewSpecimen v-if="speModels.disjunctor" :title="speModels.title" :disjunctor="speModels.disjunctor"
|
355
|
356
|
@ok="speOk" @cancel="speCancel">
|
356
|
357
|
</handViewSpecimen>
|
|
358
|
+ <!-- 手动查询药品弹窗 -->
|
|
359
|
+ <handViewDrugsBag v-if="drugbagModels.disjunctor" :title="drugbagModels.title"
|
|
360
|
+ :disjunctor="drugbagModels.disjunctor" @ok="drugbagOk" @cancel="drugbagCancel">
|
|
361
|
+ </handViewDrugsBag>
|
357
|
362
|
</view>
|
358
|
363
|
</template>
|
359
|
364
|
<script>
|
|
@@ -375,6 +380,10 @@
|
375
|
380
|
speModels: {
|
376
|
381
|
disjunctor: false,
|
377
|
382
|
},
|
|
383
|
+ // 手动查询药品弹窗model
|
|
384
|
+ drugbagModels: {
|
|
385
|
+ disjunctor: false,
|
|
386
|
+ },
|
378
|
387
|
SMFlag: true,
|
379
|
388
|
// 交接人信息
|
380
|
389
|
accountObj: undefined,
|
|
@@ -397,6 +406,39 @@
|
397
|
406
|
};
|
398
|
407
|
},
|
399
|
408
|
methods: {
|
|
409
|
+ // 手动查询药品-确认
|
|
410
|
+ drugbagOk(data) {
|
|
411
|
+ console.log(data);
|
|
412
|
+ if (!data.id) {
|
|
413
|
+ //没有查询到药品
|
|
414
|
+ uni.showModal({
|
|
415
|
+ title: '提示',
|
|
416
|
+ content: "没有查询到发药单号!",
|
|
417
|
+ showCancel: false,
|
|
418
|
+ success: function(res) {
|
|
419
|
+ if (res.confirm) {
|
|
420
|
+ console.log('用户点击确定');
|
|
421
|
+ } else if (res.cancel) {
|
|
422
|
+ console.log('用户点击取消');
|
|
423
|
+ }
|
|
424
|
+ }
|
|
425
|
+ });
|
|
426
|
+ return;
|
|
427
|
+ }
|
|
428
|
+ this.drugbagModels.disjunctor = false;
|
|
429
|
+ this.hand_scanning_common(data.packid, 'hand');
|
|
430
|
+ },
|
|
431
|
+ // 手动查询药品-取消
|
|
432
|
+ drugbagCancel() {
|
|
433
|
+ this.drugbagModels.disjunctor = false;
|
|
434
|
+ },
|
|
435
|
+ // 手动查询药品弹窗
|
|
436
|
+ showHandViewDrugsbag() {
|
|
437
|
+ this.drugbagModels = {
|
|
438
|
+ title: '填写发药单号',
|
|
439
|
+ disjunctor: true,
|
|
440
|
+ }
|
|
441
|
+ },
|
400
|
442
|
// 手动查询标本-确认
|
401
|
443
|
speOk(data) {
|
402
|
444
|
console.log(data);
|
|
@@ -430,10 +472,6 @@
|
430
|
472
|
disjunctor: true,
|
431
|
473
|
}
|
432
|
474
|
},
|
433
|
|
- // 手动录入标本
|
434
|
|
- hand_again(id) {
|
435
|
|
- this.showHandViewSpecimen();
|
436
|
|
- },
|
437
|
475
|
// 拍照
|
438
|
476
|
photograph(data, obj) {
|
439
|
477
|
photographTool(data, obj);
|
|
@@ -507,8 +545,6 @@
|
507
|
545
|
.associationType.value == 'specimenPlan') {
|
508
|
546
|
if (type === 'scan') {
|
509
|
547
|
this.Scanning_again(this.dataId);
|
510
|
|
- } else if (type === 'hand') {
|
511
|
|
- // this.hand_again(this.dataId);
|
512
|
548
|
}
|
513
|
549
|
}
|
514
|
550
|
if (
|