Browse Source

新分支

28169 1 year ago
parent
commit
db540c3d87

+ 12 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

2730
                       上机护士:
2730
                       上机护士:
2731
                       <div
2731
                       <div
2732
                         class="under_line"
2732
                         class="under_line"
2733
-                        style="width: 80px; text-align: center"
2733
+                        style="width: 90px; text-align: center"
2734
                       >
2734
                       >
2735
                         <span
2735
                         <span
2736
                           style="height: 30px; display: inline-block"
2736
                           style="height: 30px; display: inline-block"
2751
                           }}</span
2751
                           }}</span
2752
                         >
2752
                         >
2753
                         <img
2753
                         <img
2754
-                          style="height: 40px"
2754
+                          style="height: 35px"
2755
                           :src="
2755
                           :src="
2756
                             setAdminUserES(
2756
                             setAdminUserES(
2757
                               dialysisOrder == null
2757
                               dialysisOrder == null
2773
                       穿刺护士:
2773
                       穿刺护士:
2774
                       <div
2774
                       <div
2775
                         class="under_line"
2775
                         class="under_line"
2776
-                        style="width: 80px; text-align: center"
2776
+                        style="width: 90px; text-align: center"
2777
                       >
2777
                       >
2778
                         <span
2778
                         <span
2779
                           style="height: 30px; display: inline-block"
2779
                           style="height: 30px; display: inline-block"
2794
                           }}</span
2794
                           }}</span
2795
                         >
2795
                         >
2796
                         <img
2796
                         <img
2797
-                          style="height: 40px"
2797
+                          style="height: 35px"
2798
                           :src="
2798
                           :src="
2799
                             setAdminUserES(
2799
                             setAdminUserES(
2800
                               dialysisOrder == null
2800
                               dialysisOrder == null
2822
                       >
2822
                       >
2823
                     
2823
                     
2824
                         <span
2824
                         <span
2825
-                          style="height: 40px; display: inline-block"
2825
+                          style="height: 35px; display: inline-block"
2826
                           v-if="
2826
                           v-if="
2827
                             setAdminUserES(
2827
                             setAdminUserES(
2828
                               dialysisOrder == null
2828
                               dialysisOrder == null
2840
                           }}</span
2840
                           }}</span
2841
                         >
2841
                         >
2842
                         <img
2842
                         <img
2843
-                          style="height: 40px"
2843
+                          style="height: 30px"
2844
                           :src="
2844
                           :src="
2845
                             setAdminUserES(
2845
                             setAdminUserES(
2846
                               dialysisOrder == null
2846
                               dialysisOrder == null
2887
                           }}</span
2887
                           }}</span
2888
                         >
2888
                         >
2889
                         <img
2889
                         <img
2890
-                          style="height: 40px"
2890
+                          style="height: 30px"
2891
                           :src="
2891
                           :src="
2892
                             setAdminUserES(
2892
                             setAdminUserES(
2893
                               dialysisOrder == null
2893
                               dialysisOrder == null
2923
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2923
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2924
                         </span>
2924
                         </span>
2925
                         <img
2925
                         <img
2926
-                          style="height: 40px"
2926
+                          style="height: 30px"
2927
                           :src="
2927
                           :src="
2928
                             setAdminUserES(check == null ? 0 : check.creater)
2928
                             setAdminUserES(check == null ? 0 : check.creater)
2929
                           "
2929
                           "
2950
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2950
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2951
                         </span>
2951
                         </span>
2952
                         <img
2952
                         <img
2953
-                          style="height: 40px"
2953
+                          style="height: 30px"
2954
                           :src="
2954
                           :src="
2955
                             setAdminUserES(check == null ? 0 : check.creater)
2955
                             setAdminUserES(check == null ? 0 : check.creater)
2956
                           "
2956
                           "
2978
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
2978
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
2979
                         </span>
2979
                         </span>
2980
                         <img
2980
                         <img
2981
-                          style="height: 40px"
2981
+                          style="height: 30px"
2982
                           :src="
2982
                           :src="
2983
                             setAdminUserES(check == null ? 0 : check.modifier)
2983
                             setAdminUserES(check == null ? 0 : check.modifier)
2984
                           "
2984
                           "
3006
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
3006
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
3007
                         </span>
3007
                         </span>
3008
                         <img
3008
                         <img
3009
-                          style="height: 40px"
3009
+                          style="height: 30px"
3010
                           :src="
3010
                           :src="
3011
                             setAdminUserES(check == null ? 0 : check.creater)
3011
                             setAdminUserES(check == null ? 0 : check.creater)
3012
                           "
3012
                           "
3041
                           }}
3041
                           }}
3042
                         </span>
3042
                         </span>
3043
                         <img
3043
                         <img
3044
-                          style="height: 40px"
3044
+                          style="height: 30px"
3045
                           :src="
3045
                           :src="
3046
                             setAdminUserES(
3046
                             setAdminUserES(
3047
                               dialysisOrder == null
3047
                               dialysisOrder == null

+ 4 - 1
src/xt_pages/stock/detail/print.vue View File

29
               <td style="line-height: 50px" width="200" v-if="org_id == 10485">经销商</td>
29
               <td style="line-height: 50px" width="200" v-if="org_id == 10485">经销商</td>
30
               <td style="line-height: 50px" width="80">数量</td>
30
               <td style="line-height: 50px" width="80">数量</td>
31
               <td style="line-height: 50px" width="50">单位</td>
31
               <td style="line-height: 50px" width="50">单位</td>
32
-
32
+              <td style="line-height: 50px" width="50" v-if=" type == 2 &&(org_id==0||org_id == 10265)">进货价</td>
33
               <td style="line-height:50px" width="80">
33
               <td style="line-height:50px" width="80">
34
                 <span v-if="type == 1">进货价</span>
34
                 <span v-if="type == 1">进货价</span>
35
                 <span v-if="type == 2">出货价</span>
35
                 <span v-if="type == 2">出货价</span>
74
               <td style="line-height: 50px">
74
               <td style="line-height: 50px">
75
                 {{item.packing_unit}}
75
                 {{item.packing_unit}}
76
               </td>
76
               </td>
77
+              <td style="line-height: 50px" v-if="type == 2 && (org_id == 0 || org_id == 10265)">
78
+                {{item.price}}
79
+              </td>
77
               <td style="line-height:50px">
80
               <td style="line-height:50px">
78
                 <span v-if="type == 1"> {{ item.price }}</span>
81
                 <span v-if="type == 1"> {{ item.price }}</span>
79
                 <span v-if="type == 2">
82
                 <span v-if="type == 2">

+ 3 - 3
src/xt_pages/stock/detail/stockOutDetail.vue View File

925
             this.tableDataList[i].total_price = (this.tableDataList[i].count * this.tableDataList[i].price).toFixed(2)
925
             this.tableDataList[i].total_price = (this.tableDataList[i].count * this.tableDataList[i].price).toFixed(2)
926
             total += this.tableDataList[i].count * this.tableDataList[i].price
926
             total += this.tableDataList[i].count * this.tableDataList[i].price
927
           }
927
           }
928
-
928
+          this.tableDataList[i].in_price = this.tableDataList[i].WarehousingInfoNight.price
929
         }
929
         }
930
         obj.total_price = total.toFixed(2)
930
         obj.total_price = total.toFixed(2)
931
         console.log("WOHHAHHAHAH",this.tableDataList)
931
         console.log("WOHHAHHAHAH",this.tableDataList)
932
       
932
       
933
         this.tableDataList.push(obj)
933
         this.tableDataList.push(obj)
934
        import('@/vendor/Export2Excel').then(excel => {
934
        import('@/vendor/Export2Excel').then(excel => {
935
-       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','操作时间','制单人','出货价','数量','总价']
936
-       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','time','user_name','price','out_count','total_price']
935
+       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','操作时间','制单人','进货价','出货价','数量','总价']
936
+       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','time','user_name','in_price','price','out_count','total_price']
937
 
937
 
938
        const data = this.formatJson(filterVal, this.tableDataList)
938
        const data = this.formatJson(filterVal, this.tableDataList)
939
 
939
 

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

435
                order[i].total_price = order[i].count * order[i].last_price
435
                order[i].total_price = order[i].count * order[i].last_price
436
                total_price += order[i].count * order[i].last_price
436
                total_price += order[i].count * order[i].last_price
437
              }else{
437
              }else{
438
-               console.log("555555555555",order[i])
439
                if(order[i].price > 0){
438
                if(order[i].price > 0){
440
-                console.log("近来33232323322323")
441
                   order[i].total_price = 0
439
                   order[i].total_price = 0
442
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
440
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
443
                    order[i].total_price = order[i].count * order[i].price
441
                    order[i].total_price = order[i].count * order[i].price
489
             order[i].total_price = order[i].total_price.toFixed(2)
487
             order[i].total_price = order[i].total_price.toFixed(2)
490
           }
488
           }
491
 
489
 
492
-          console.log("233223322323322332232323",order)
490
+          console.log("orderwowoowwowoo",order)
493
           this.tableData = order
491
           this.tableData = order
494
 
492
 
495
            let objInfo = {}
493
            let objInfo = {}
510
                   dose:item.dose,
508
                   dose:item.dose,
511
                   dose_unit:item.dose_unit,
509
                   dose_unit:item.dose_unit,
512
                   min_number:item.min_number,
510
                   min_number:item.min_number,
513
-                  max_unit:item.max_unit
511
+                  max_unit:item.max_unit,
512
+                  in_price:item.in_price,
514
                 }
513
                 }
515
               }
514
               }
516
              }else{
515
              }else{
528
                   dose:item.dose,
527
                   dose:item.dose,
529
                   dose_unit:item.dose_unit,
528
                   dose_unit:item.dose_unit,
530
                   min_number:item.min_number,
529
                   min_number:item.min_number,
531
-                  max_unit:item.max_unit
530
+                  max_unit:item.max_unit,
531
+                  in_price:item.in_price,
532
                 }
532
                 }
533
               }
533
               }
534
              }
534
              }
629
      },
629
      },
630
     exportListDetai(){
630
     exportListDetai(){
631
       import('@/vendor/Export2Excel').then(excel => {
631
       import('@/vendor/Export2Excel').then(excel => {
632
-       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','操作时间','制单人','出货价','数量','总价']
633
-       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','time','user_name','price','count','total_price']
632
+       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','操作时间','制单人','进货价','出货价','数量','总价']
633
+       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','time','user_name','in_price','price','count','total_price']
634
+
635
+       console.log("hwhhwhwhwhwhw",this.tableData)
636
+       
634
        for(let i=0;i<this.tableData.length;i++){
637
        for(let i=0;i<this.tableData.length;i++){
635
          if(this.tableData[i].is_total == 0){
638
          if(this.tableData[i].is_total == 0){
636
             this.tableData[i].index = i+1
639
             this.tableData[i].index = i+1
732
      getDrugOutOrderPrint(params).then(response=>{
735
      getDrugOutOrderPrint(params).then(response=>{
733
         if(response.data.state == 1){
736
         if(response.data.state == 1){
734
             var list = response.data.data.list
737
             var list = response.data.data.list
738
+            console.log("很粗扣扣我噢噢",list)
735
             this.dealerList = response.data.data.dealerList
739
             this.dealerList = response.data.data.dealerList
736
             this.manufacturerList = response.data.data.manufacturerList
740
             this.manufacturerList = response.data.data.manufacturerList
737
             let objInfo = {}
741
             let objInfo = {}

+ 9 - 4
src/xt_pages/stock/drugs/drugOutOrderPrint.vue View File

23
               <td style="line-height: 50px" width="250" v-if="org_id == 0||org_id==10485">经销商</td>
23
               <td style="line-height: 50px" width="250" v-if="org_id == 0||org_id==10485">经销商</td>
24
               <td style="line-height: 50px" width="50">单位</td>
24
               <td style="line-height: 50px" width="50">单位</td>
25
               <td style="line-height: 50px" width="80">数量</td>
25
               <td style="line-height: 50px" width="80">数量</td>
26
-              <td style="line-height:50px" width="80">单价</td>
26
+              <td style="line-height:50px" width="80" v-if="org_id == 0 || org_id == 10265">进货价</td>
27
+              <td style="line-height:50px" width="80">出货价</td>
27
               <td style="line-height:50px" width="80">总价</td>
28
               <td style="line-height:50px" width="80">总价</td>
28
               <td style="line-height: 50px" width="80">备 注</td>
29
               <td style="line-height: 50px" width="80">备 注</td>
29
             </tr>
30
             </tr>
53
                 <span v-if="org_id == 9671 || org_id == 9919">{{parseInt(getCountSix(item.drug_id,item.child)/item.min_number)}}</span>
54
                 <span v-if="org_id == 9671 || org_id == 9919">{{parseInt(getCountSix(item.drug_id,item.child)/item.min_number)}}</span>
54
                 <span v-else>{{getCount(item.child,item.max_unit,item.min_unit,item.min_number)}}</span>
55
                 <span v-else>{{getCount(item.child,item.max_unit,item.min_unit,item.min_number)}}</span>
55
               </td>
56
               </td>
57
+              <td style="line-height:50px" width="80" v-if="org_id == 0 || org_id == 10265">
58
+                 {{ item.in_price }}
59
+              </td>
56
               <td style="line-height:50px">
60
               <td style="line-height:50px">
57
                   <span v-if="org_id ==9671 || org_id == 9919">{{item.price}}</span>
61
                   <span v-if="org_id ==9671 || org_id == 9919">{{item.price}}</span>
58
                   <span v-else>{{item.min_price}}</span>
62
                   <span v-else>{{item.min_price}}</span>
227
           end_time:this.end_time,
231
           end_time:this.end_time,
228
           order_type:parseInt(this.order_type),
232
           order_type:parseInt(this.order_type),
229
         }
233
         }
230
-        console.log("params22222",params)
234
+      
231
         getDrugOutOrderPrint(params).then(response=>{
235
         getDrugOutOrderPrint(params).then(response=>{
232
           if(response.data.state == 1){
236
           if(response.data.state == 1){
233
             var list = response.data.data.list
237
             var list = response.data.data.list
252
                   max_unit:item.XtBaseDrug.max_unit,
256
                   max_unit:item.XtBaseDrug.max_unit,
253
                   min_price:item.XtBaseDrug.min_price,
257
                   min_price:item.XtBaseDrug.min_price,
254
                   manufacturer:item.XtBaseDrug.manufacturer,
258
                   manufacturer:item.XtBaseDrug.manufacturer,
255
-                  dealer:item.XtBaseDrug.dealer
259
+                  dealer:item.XtBaseDrug.dealer,
260
+                  in_price:item.XtDrugWarehouseInfo.price,
256
                 }
261
                 }
257
               }
262
               }
258
             })
263
             })
375
     },
380
     },
376
     created() {
381
     created() {
377
       this.org_id = this.$store.getters.xt_user.org.id
382
       this.org_id = this.$store.getters.xt_user.org.id
378
-      console.log("jj233223323223",this.org_id)
383
+     
379
       var xtuser = this.$store.getters.xt_user
384
       var xtuser = this.$store.getters.xt_user
380
       this.orgname = xtuser.org.org_name
385
       this.orgname = xtuser.org.org_name
381
       this.getDrugOutOrderPrint()
386
       this.getDrugOutOrderPrint()

+ 2 - 0
src/xt_pages/user/Sitemap.vue View File

711
       getPatientSitemap(patient_id).then(response=>{
711
       getPatientSitemap(patient_id).then(response=>{
712
          if(response.data.state == 1){
712
          if(response.data.state == 1){
713
             var sitemap = response.data.data.sitemap
713
             var sitemap = response.data.data.sitemap
714
+           
715
+
714
             if(sitemap.is_append == 1){
716
             if(sitemap.is_append == 1){
715
               this.is_append =true
717
               this.is_append =true
716
             }else{
718
             }else{