Browse Source

新分支

28169 1 year ago
parent
commit
7c0d594cc3

+ 36 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue View File

389
                       style="padding-left:5px;border-left:1px solid #000;padding-left:5px"
389
                       style="padding-left:5px;border-left:1px solid #000;padding-left:5px"
390
                     >
390
                     >
391
                       医师签名:
391
                       医师签名:
392
-                      <span
392
+                      <!-- <span
393
                           v-if="
393
                           v-if="
394
                         setAdminUserES(
394
                         setAdminUserES(
395
                         record.prescription,
395
                         record.prescription,
409
                           srcset=""
409
                           srcset=""
410
                           v-else
410
                           v-else
411
                           style="height: 30px;"
411
                           style="height: 30px;"
412
-                        />
412
+                        /> -->
413
+                        <span
414
+                            v-if="
415
+                              !record.advices ||
416
+                                typeof record.advices[0] == 'undefined' ||
417
+                                typeof record.advices[0][0] == 'undefined'
418
+                            "
419
+                          ></span>
420
+                          <span
421
+                            v-else-if="
422
+                              setAdminUserES(
423
+                                record.advices[0][0],
424
+                                'advice_doctor'
425
+                              ) == ''
426
+                            "
427
+                            >{{
428
+                              getAdminUser(
429
+                                record.advices[0][0],
430
+                                "advice_doctor"
431
+                              )
432
+                            }}</span
433
+                          >
434
+                          <img
435
+                            :src="
436
+                              setAdminUserES(
437
+                                record.advices[0][0],
438
+                                'advice_doctor'
439
+                              )
440
+                            "
441
+                            alt=""
442
+                            srcset=""
443
+                            v-else
444
+                             style="height: 30px;"
445
+                          />
446
+                    </span>
413
                     </td>
447
                     </td>
414
                   </tr>
448
                   </tr>
415
                   <tr style="text-align:left">
449
                   <tr style="text-align:left">

+ 2 - 2
src/xt_pages/dialysis/newDoctorAdvice.vue View File

42
 
42
 
43
        
43
        
44
       </div>
44
       </div>
45
-      <!-- <div class="filter-container">
45
+      <div class="filter-container">
46
       <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
46
       <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
47
        <el-button type="primary" @click="toSeachOne">搜索</el-button>
47
        <el-button type="primary" @click="toSeachOne">搜索</el-button>
48
 
48
 
49
        
49
        
50
-      </div> -->
50
+      </div>
51
       <div class="cell clearfix">
51
       <div class="cell clearfix">
52
         <label class="title">
52
         <label class="title">
53
           <span class="name">日期查询:</span>
53
           <span class="name">日期查询:</span>

+ 13 - 2
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue View File

341
                 "
341
                 "
342
               >
342
               >
343
                 医师签名:
343
                 医师签名:
344
-                <span v-if="setAdminUserES(prescription.creater) == ''">
344
+                <!-- <span v-if="setAdminUserES(prescription.creater) == ''">
345
                   {{ getAdminUser(prescription.creater) }}
345
                   {{ getAdminUser(prescription.creater) }}
346
                 </span>
346
                 </span>
347
                 <img
347
                 <img
350
                   alt
350
                   alt
351
                   srcset
351
                   srcset
352
                   v-else
352
                   v-else
353
-                />
353
+                /> -->
354
+                <span
355
+                style="display: inline-block; width: 100px; text-align: left"
356
+              >
357
+                &nbsp;
358
+                <span v-if="doctorForm.url === ''">{{
359
+                  doctorForm.doctor
360
+                }}</span>
361
+                <span v-if="doctorForm.url !== ''">
362
+                  <img class="es-img" :src="doctorForm.url" />
363
+                </span>
364
+              </span>
354
               </td>
365
               </td>
355
             </tr>
366
             </tr>
356
             <tr style="text-align: left">
367
             <tr style="text-align: left">

+ 3 - 3
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

600
         for(let i=0;i<this.tablePrint.length;i++){
600
         for(let i=0;i<this.tablePrint.length;i++){
601
            if(this.org_id == 9919 || this.org_id == 9671){
601
            if(this.org_id == 9919 || this.org_id == 9671){
602
              this.tablePrint[i].min_price = this.tablePrint[i].price
602
              this.tablePrint[i].min_price = this.tablePrint[i].price
603
-             this.tablePrint[i].count_one = parseInt((this.getCountSix(this.tablePrint[i].drug_id,this.tablePrint[i].child))/this.tablePrint[i].min_number)
603
+             this.tablePrint[i].count = parseInt((this.getCountSix(this.tablePrint[i].drug_id,this.tablePrint[i].child))/this.tablePrint[i].min_number)
604
              this.tablePrint[i].total_price =  ((parseInt((this.getCountSix(this.tablePrint[i].drug_id,this.tablePrint[i].child))/this.tablePrint[i].min_number))*this.tablePrint[i].price).toFixed(2)
604
              this.tablePrint[i].total_price =  ((parseInt((this.getCountSix(this.tablePrint[i].drug_id,this.tablePrint[i].child))/this.tablePrint[i].min_number))*this.tablePrint[i].price).toFixed(2)
605
              this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
605
              this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
606
              this.tablePrint[i].total = this.getCountSenvenOne(this.tablePrint.drug_id,this.tablePrint[i].child,this.tablePrint[i].price)/this.tablePrint[i].min_number
606
              this.tablePrint[i].total = this.getCountSenvenOne(this.tablePrint.drug_id,this.tablePrint[i].child,this.tablePrint[i].price)/this.tablePrint[i].min_number
607
             
607
             
608
            }else{
608
            }else{
609
-              this.tablePrint[i].count_one = this.getCount(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_unit,this.tablePrint[i].min_number)
609
+              this.tablePrint[i].count = this.getCount(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_unit,this.tablePrint[i].min_number)
610
               this.tablePrint[i].total_price = this.getTotalPrice(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
610
               this.tablePrint[i].total_price = this.getTotalPrice(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
611
               this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
611
               this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
612
               this.tablePrint[i].total = this.getTotalPriceOne(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
612
               this.tablePrint[i].total = this.getTotalPriceOne(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
619
        import('@/vendor/Export2Excel').then(excel => {
619
        import('@/vendor/Export2Excel').then(excel => {
620
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
620
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
621
        if(this.org_id == 9919){
621
        if(this.org_id == 9919){
622
-        const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','max_unit','count_one','min_price','total_price','ctime','remark']
622
+        const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','max_unit','count','min_price','total_price','ctime','remark']
623
            
623
            
624
        let obj = {'index':'合计','total_price':0.00}
624
        let obj = {'index':'合计','total_price':0.00}
625
        for(let i=0;i<this.tablePrint.length;i++){
625
        for(let i=0;i<this.tablePrint.length;i++){