28169 il y a 6 mois
Parent
révision
9a845f54b0

+ 9 - 0
src/api/project/project.js Voir le fichier

@@ -541,3 +541,12 @@ export function getInvoice(params){
541 541
     params:params
542 542
   })
543 543
 }
544
+
545
+export function getAllGoodInfoList(params){
546
+
547
+  return request({
548
+    url:"/api/getallgoodinforlist",
549
+    method:"Get",
550
+    params:params
551
+  })
552
+}

+ 15 - 0
src/store/modules/globalConfig.js Voir le fichier

@@ -864,6 +864,21 @@ const global_config = {
864 864
         calcium: 1,
865 865
         bicarbonate: 1
866 866
       },
867
+      44: {
868
+        id: 44,
869
+        name: '导管溶栓',
870
+        dialysis_duration: 1,
871
+        replacement_way: 1,
872
+        hemodialysis_machine: 2,
873
+        blood_filter: 1,
874
+        perfusion_apparatus: 2,
875
+        blood_flow_volume: 1,
876
+        dialysate_flow: 1,
877
+        kalium: 1,
878
+        sodium: 1,
879
+        calcium: 1,
880
+        bicarbonate: 1
881
+      },
867 882
     },
868 883
     anticoagulants_confit: { // 抗凝剂
869 884
       1: {

+ 19 - 4
src/xt_pages/data/components/addDrugs.vue Voir le fichier

@@ -26,6 +26,13 @@
26 26
                                       maxlength="30"></el-input>
27 27
                         </el-form-item>
28 28
                       </div>
29
+                      
30
+                      <!-- <div v-if="org_id == 0">
31
+                        <el-form-item label="药品规格 : ">
32
+                            <el-input v-model="form.specification_name" style="width:160px;" placeholder=""
33
+                                      maxlength="30"></el-input>
34
+                        </el-form-item>
35
+                      </div> -->
29 36
                         <el-form-item label="药品类别 : " prop="drug_category">
30 37
                             <el-select v-model="form.drug_category" style="width:160px;" placeholder="请选择">
31 38
                                 <el-option
@@ -55,7 +62,7 @@
55 62
                             </el-form-item>
56 63
                             <span style="margin-bottom:20px;font-size:20px;padding:0 10px;">*</span>
57 64
                             <el-form-item prop="min_number" class="noMargin">
58
-                              <el-input v-model="form.min_number" style="width:100px;margin-right:5px;"  type="number" placeholder="拆零"> </el-input>
65
+                              <el-input v-model="form.min_number" style="width:100px;margin-right:5px;"  type="number" placeholder="拆零" @keyup.native="changeTextOne(form.min_number)"> </el-input>
59 66
                             </el-form-item>
60 67
                             <el-form-item prop="min_unit" class="noMargin">
61 68
                               <el-select v-model="form.min_unit" style="width:160px;"  placeholder="拆零单位">
@@ -206,7 +213,7 @@
206 213
                         </el-form-item>
207 214
                         <el-form-item label="包装零售价(元) : " prop="retail_price">
208 215
                           <el-input v-model="form.retail_price" style="width:160px;" placeholder=""
209
-                                      maxlength="30"></el-input>
216
+                                      maxlength="30"  @keyup.native="changeText(form.retail_price)"></el-input>
210 217
                         </el-form-item>
211 218
                         <el-form-item label="进货价(元) : " prop="last_price">
212 219
                             <el-input v-model="form.last_price" style="width:160px;" placeholder=""
@@ -226,7 +233,7 @@
226 233
                             <el-input v-model="form.number" style="width:160px;" placeholder=""
227 234
                                       maxlength="30"></el-input>
228 235
                         </el-form-item>
229
-                        <el-form-item label="药物分类 : " prop="drug_classify">
236
+                        <el-form-item label="药物分类 : ">
230 237
                             <el-select v-model="form.drug_classify" style="width:160px;" placeholder="请选择">
231 238
                                 <el-option
232 239
                                         v-for="(item, index) in drugClassifyList"
@@ -666,7 +673,8 @@
666 673
           bby01:"",
667 674
           is_project:"",
668 675
           is_show:"",
669
-          is_self_drug:"2"
676
+          is_self_drug:"2",
677
+        
670 678
         },
671 679
 
672 680
         rules: {
@@ -749,6 +757,13 @@
749 757
 
750 758
     },
751 759
     methods: {
760
+      changeText(retail_price){
761
+       
762
+        this.form.min_price = (retail_price/this.form.min_number).toFixed(2)
763
+      },
764
+      changeTextOne(min_number){
765
+        this.form.min_price = (this.form.retail_price/min_number).toFixed(2)
766
+      },
752 767
       cancle: function(formName) {
753 768
         this.$emit('dialog-cancle', this.getValue())
754 769
       },

+ 22 - 12
src/xt_pages/data/components/drugs.vue Voir le fichier

@@ -74,14 +74,14 @@
74 74
         >点击导出
75 75
         </el-button>
76 76
 
77
-        <!-- <el-button
77
+        <el-button
78 78
           style="margin-left:10px;"
79 79
           @click="jiaoBen()"
80 80
           class="filter-item"
81 81
           type="primary"
82 82
           size="small"
83 83
         >脚本
84
-        </el-button> -->
84
+        </el-button>
85 85
       </div>
86 86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
87 87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
@@ -511,21 +511,31 @@
511 511
          this.getList()
512 512
       },
513 513
       getName(id) {
514
-        for (let i = 0; i < this.manufacturers.length; i++) {
515
-          if (this.manufacturers[i].id == id) {
516
-            return this.manufacturers[i].manufacturer_name
517
-          }
514
+        if(id == 0){
515
+          return ''
516
+        }else{
517
+          for (let i = 0; i < this.manufacturers.length; i++) {
518
+            if (this.manufacturers[i].id == id) {
519
+              return this.manufacturers[i].manufacturer_name
520
+            }
521
+         }
522
+          return ''
518 523
         }
519
-        return ''
524
+        
520 525
       },
521 526
       getDealer(id){
522
-        var name = "";
523
-        for(let i=0;i<this.dealer.length;i++){
524
-          if(this.dealer[i].id == id){
525
-             name = this.dealer[i].dealer_name
527
+        if (id == 0) {
528
+          return ""
529
+        }else{
530
+          var name = "";
531
+          for(let i=0;i<this.dealer.length;i++){
532
+            if(this.dealer[i].id == id){
533
+              name = this.dealer[i].dealer_name
534
+            }
526 535
           }
536
+          return name
527 537
         }
528
-        return name
538
+       
529 539
       },
530 540
       goodInfoDialogComfirm: function(val) {
531 541
 

+ 4 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Voir le fichier

@@ -953,7 +953,7 @@
953 953
                     </el-col>
954 954
 
955 955
                     <el-col :span="8"
956
-                            v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441)"
956
+                            v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53 || this.$store.getters.xt_user.template_info.org_id == 10206) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441)"
957 957
                             v-show="totalShow">
958 958
                         <el-form-item label="置换液总量(ml)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id!=26">
959 959
                             <el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
@@ -964,12 +964,12 @@
964 964
                         </el-form-item>
965 965
                     </el-col>
966 966
                     <el-col :span="8"
967
-                            v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
967
+                            v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53 && this.$store.getters.xt_user.template_info.org_id != 10206) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
968 968
                             v-show="totalShow">
969
-                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26 && this.$store.getters.xt_user.template_info.org_id !=10206">
969
+                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26"
970 970
                             <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
971 971
                         </el-form-item>
972
-                        <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id ==26 || this.$store.getters.xt_user.template_info.org_id == 10206">
972
+                        <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id ==26">
973 973
                             <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
974 974
                         </el-form-item>
975 975
                     </el-col>

+ 15 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Voir le fichier

@@ -92,7 +92,7 @@
92 92
           </div>
93 93
           <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94 94
             床号:
95
-            <div class="under_line" style="width: 50px; text-align: center">
95
+            <div class="under_line" style="width: 100px; text-align: center">
96 96
               <span v-if="org_id!=9538 && org_id!=0">{{
97 97
                 dialysisOrder &&
98 98
                 dialysisOrder.DeviceNumber &&
@@ -1840,7 +1840,7 @@
1840 1840
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
1841 1841
                         <td width="50" v-if="org_id != 10121 &&  org_id!=10600 && org_id!=10644">
1842 1842
                           <span v-if="org_id !=10469 && org_id!=10490 && org_id!=10567 && org_id!=0 "> 电导度<br />(ms/cm)</span>
1843
-                          <span v-if="org_id ==10469 || org_id == 0"> 钠浓度<br />(mmol/L)</span>
1843
+                          <span v-if="org_id ==10469 || org_id == 0 || org_id == 10567"> 钠浓度<br />(mmol/L)</span>
1844 1844
                           <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1845 1845
                         </td>
1846 1846
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
@@ -2237,6 +2237,7 @@
2237 2237
                             "
2238 2238
                             >({{ advice.remark }})</span
2239 2239
                           >
2240
+                          <span v-if="org_id == 0 || org_id == 10644">({{ advice.remark }})</span>
2240 2241
                         </td>
2241 2242
 
2242 2243
                         <td height="32px">
@@ -2353,8 +2354,8 @@
2353 2354
 
2354 2355
                         "
2355 2356
                         >
2356
-                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2357
-                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2357
+                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }} {{ advice.remark }}</span>
2358
+                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}  {{ advice.remark }}</span>
2358 2359
                         </td>
2359 2360
                       <td height="32px">
2360 2361
                         <span
@@ -2550,7 +2551,7 @@
2550 2551
 
2551 2552
 
2552 2553
                       <tr
2553
-                      v-if="org_id == 0 || org_id ==10206 || org_id ==10633 || org_id == 10489"
2554
+                      v-if="org_id ==10206 || org_id ==10633 || org_id == 10489"
2554 2555
                       v-for="(advice, advice_index) in projectsOne"
2555 2556
                       :key="advice_index"
2556 2557
                     >
@@ -2573,8 +2574,8 @@
2573 2574
 
2574 2575
                         "
2575 2576
                         >
2576
-                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2577
-                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2577
+                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}{{ advice.remark }}</span>
2578
+                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}{{ advice.remark }}</span>
2578 2579
                         </td>
2579 2580
                       <td height="32px">
2580 2581
                         <span
@@ -3918,8 +3919,10 @@
3918 3919
                             v-if="
3919 3920
                               advice.parent_id == 0 && advice.remark.length > 0
3920 3921
                             "
3921
-                            >({{ advice.remark }})</span
3922
-                          >
3922
+                            >({{ advice.remark }})
3923
+
3924
+                            
3925
+                          </span>
3923 3926
                         </td>
3924 3927
 
3925 3928
                         <td height="32px">
@@ -5477,7 +5480,7 @@ export default {
5477 5480
 
5478 5481
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5479 5482
 
5480
-        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489 || this.org_id == 0){
5483
+        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489){
5481 5484
           let projectsOne = [];
5482 5485
           response.data.data.projects.map((item) => {
5483 5486
               projectsOne.push(item);
@@ -5561,7 +5564,7 @@ export default {
5561 5564
                   this.projects[i].execution_staff= this.projects[i].execution_staff
5562 5565
                   this.projects[i].advice_name =  this.projects[i].team.project_team
5563 5566
                   this.projects[i].advice_doctor = this.projects[i].doctor
5564
-
5567
+                  this.projects[i].remark = this.projects[i].remark
5565 5568
 
5566 5569
                   newHisArr.push(this.projects[i])
5567 5570
                   // this.doctor_advices_2.push(this.project[i])
@@ -5574,6 +5577,7 @@ export default {
5574 5577
                   this.projects[i].execution_time = this.projects[i].execution_time
5575 5578
                   this.projects[i].execution_staff= this.projects[i].execution_staff
5576 5579
                   this.projects[i].advice_doctor = this.projects[i].doctor
5580
+                  this.projects[i].remark = this.projects[i].remark
5577 5581
                   newHisArr.push(this.projects[i])
5578 5582
 
5579 5583
 

+ 243 - 0
src/xt_pages/stock/config/goodList.vue Voir le fichier

@@ -0,0 +1,243 @@
1
+<template>
2
+    <div>
3
+     <div class="page_inspection">
4
+        <div style="display:flex;justify-content: space-between;width:100%;margin-bottom:20px;">
5
+            <div class="cell clearfix" style="margin-bottom:0;">
6
+                <el-input style="width: 180px;margin-right:10px;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
7
+                <el-button style="margin-right:10px;" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
8
+            </div>
9
+            <el-button type="primary" @click="openForm(0)">新增</el-button>
10
+        </div>
11
+        <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
12
+            <el-table-column prop="date" label="序号" width="80" align="center">
13
+                <template slot-scope="scope">
14
+                    {{scope.$index + 1}}
15
+                </template>
16
+            </el-table-column>
17
+            <el-table-column prop="date" label="名称" align="center">
18
+                <template slot-scope="scope">
19
+                    {{scope.row.project_team}}
20
+                </template>
21
+            </el-table-column>
22
+            <el-table-column prop="date" label="拼音助记符" width="140" align="center">
23
+                <template slot-scope="scope">
24
+                    {{scope.row.pinyin}}
25
+                </template>
26
+            </el-table-column>
27
+            <el-table-column prop="date" label="五笔助记符" width="140" align="center">
28
+                <template slot-scope="scope">
29
+                   {{scope.row.wubi}}
30
+                </template>
31
+            </el-table-column>
32
+            <el-table-column label="价格" width="100" align="center">
33
+                <template slot-scope="scope">
34
+                   {{scope.row.price}}
35
+                </template>
36
+            </el-table-column>
37
+            <el-table-column label="排序" width="100" align="center">
38
+                <template slot-scope="scope">
39
+                   {{scope.row.sort}}
40
+                </template>
41
+            </el-table-column>
42
+            <el-table-column prop="date" label="备注" align="center">
43
+                <template slot-scope="scope">
44
+                   {{scope.row.remark}}
45
+                </template>
46
+            </el-table-column>
47
+            <el-table-column prop="date" label="操作" width="300" align="center">
48
+                <template slot-scope="scope">
49
+                    <el-button @click="editProjectTeam(scope.row.id)" type="primary" size="small">编辑</el-button>
50
+                    <el-button type="danger" size="small" @click="DeleteProjectTeam(scope.row.id,scope.$index)">删除</el-button>
51
+                </template>
52
+            </el-table-column>
53
+        </el-table>
54
+          <el-pagination
55
+            @size-change="handleSizeChange"
56
+            @current-change="handleCurrentChange"
57
+            :page-sizes="[10, 50, 100]"
58
+            :page-size="10"
59
+            background
60
+            align="right"
61
+            style="margin-top:20px;"
62
+            layout="total, sizes, prev, pager, next, jumper"
63
+            :total="total"
64
+         >
65
+        </el-pagination> 
66
+
67
+        <el-dialog
68
+        title="组套详情"
69
+        :visible.sync="dialogVisible"
70
+        width="50%"
71
+       >
72
+        <span>
73
+        <el-form :model="form">
74
+          <el-row>
75
+            <el-col :span="24">
76
+                <el-form-item
77
+                    label="组套名称 : "
78
+                    prop="project_team"
79
+                    style="width: 100%"
80
+                    >
81
+                    <el-input
82
+                        style="width:200px"
83
+                        v-model="form.project_name"
84
+                        placeholder=""
85
+                        maxlength="30"
86
+                    ></el-input>
87
+              </el-form-item>
88
+            </el-col>
89
+
90
+          </el-row> 
91
+          <el-row>
92
+             <el-col :span="24">
93
+                <el-form-item
94
+                    label="排序 : "
95
+                    prop="project_team"
96
+                    style="width: 100%"
97
+                    >
98
+                    <el-input
99
+                        style="width:200px"
100
+                        v-model="form.sort"
101
+                        placeholder=""
102
+                        maxlength="30"
103
+                    ></el-input>
104
+                </el-form-item>
105
+             </el-col>
106
+          </el-row>
107
+        
108
+     
109
+            <el-form-item label="组套明细:" style="width: 50%">
110
+                <el-select
111
+                    v-model="form.project_detail"
112
+                    filterable
113
+                    placeholder="请选择"
114
+                    @change="changeProject"
115
+                    
116
+                >
117
+                    <el-option
118
+                    v-for="item in goodList"
119
+                    :key="item.id"
120
+                    :label="item.good_str"
121
+                    :value="item.id"
122
+                    >
123
+                    </el-option>
124
+                </el-select>
125
+            </el-form-item>
126
+
127
+            <el-form-item label="数量" style="width: 50%">
128
+                    <div style="display: flex">
129
+                        <el-input
130
+                        v-model="form.number"
131
+                        style="margin-right: 10px"
132
+                        ></el-input>
133
+                        <el-button type="primary" @click="addProjectList">添加</el-button>
134
+                    </div>
135
+            </el-form-item>
136
+            
137
+            <el-form-item>
138
+              <el-table
139
+                :data="tableData"
140
+                border
141
+                style="width: 100%">
142
+                <el-table-column
143
+                prop="date"
144
+                label="耗材名称&规格"
145
+                width="180">
146
+                </el-table-column>
147
+                <el-table-column
148
+                  prop="name"
149
+                  label="数量"
150
+                  width="180">
151
+                </el-table-column>
152
+                <el-table-column
153
+                 prop="address"
154
+                  label="操作">
155
+                </el-table-column>
156
+              </el-table>
157
+            </el-form-item>
158
+
159
+        </el-form>
160
+        </span>
161
+        <span slot="footer" class="dialog-footer">
162
+            <el-button @click="dialogVisible = false">取 消</el-button>
163
+            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
164
+        </span>
165
+    </el-dialog>
166
+    </div>
167
+    
168
+  </div>
169
+</template>
170
+
171
+<script>
172
+import { getDictionaryDataConfig,getDataConfig } from "@/utils/data";
173
+import { getAllGoodInfoList,DeleteProjectTeam } from "@/api/project/project"
174
+export default {
175
+   
176
+    data(){
177
+        return{
178
+            search_input:'',
179
+            options: [{
180
+            value: '1',
181
+            label: '是'
182
+            }, {
183
+            value: '2',
184
+            label: '否'
185
+            },],
186
+            value: '',
187
+            tableData: [],
188
+            limit:10,
189
+            page:1,
190
+            total:0,
191
+            dialogVisible:false,
192
+            form:{
193
+                project_name:"",
194
+                sort:"", 
195
+                number:"",
196
+                project_detail:""
197
+            },
198
+            projectList:[],
199
+            goodList:[]
200
+        }
201
+    },
202
+    methods:{
203
+        changeProject(){
204
+            
205
+        },
206
+        getlist(){
207
+
208
+        },
209
+        handleCurrentChange(){
210
+
211
+        },
212
+        handleSizeChange(){
213
+
214
+        },
215
+        searchAction(){
216
+
217
+        },
218
+        addProjectList(){
219
+            
220
+        },
221
+        openForm(){
222
+         getAllGoodInfoList().then(response=>{
223
+            if(response.data.state ==1){
224
+               var goodList = response.data.data.goodList
225
+               if(goodList!=null && goodList.length>0){
226
+                 for(let i=0;i<goodList.length;i++){
227
+                   goodList[i].good_str = goodList[i].good_name+ " " + goodList[i].specification_name
228
+                 }
229
+               }
230
+               this.goodList = goodList
231
+               this.dialogVisible = true
232
+            }
233
+         })
234
+         
235
+        }
236
+    },
237
+    created(){
238
+     
239
+       this.getlist() 
240
+      
241
+    }
242
+}
243
+</script>

+ 2 - 0
src/xt_pages/stock/detail/stockInDetail.vue Voir le fichier

@@ -911,6 +911,7 @@ export default {
911 911
           start_time:this.start_time,
912 912
           end_time:this.end_time,
913 913
           type:1,
914
+          storehouse_id:this.storehouse_id,
914 915
         }
915 916
       getGoodDetailPrintList(params).then(response=>{
916 917
         if(response.data.state == 1){
@@ -936,6 +937,7 @@ export default {
936 937
      changeHouseList(){
937 938
        this.houseList = []
938 939
        this.GetCancelStock()
940
+       this.getGoodDetailPrintList()
939 941
      }
940 942
   }
941 943
 };

+ 3 - 2
src/xt_pages/stock/detail/stockOutDetail.vue Voir le fichier

@@ -987,6 +987,7 @@ export default {
987 987
           this.tableDataList[i].specification_name = this.specificationName(this.tableDataList[i].good_id)
988 988
           this.tableDataList[i].time = this.getTime(this.tableDataList[i].WarehouseOut.warehouse_out_time)
989 989
           this.tableDataList[i].user_name = this.getXuserName(this.tableDataList[i].WarehouseOut.creater)
990
+          this.tableDataList[i].patient_name = this.getPatientName(this.tableDataList[i].patient_id)
990 991
           this.tableDataList[i].out_count = this.tableDataList[i].count
991 992
           this.tableDataList[i].manufacturer_name = this.getManufacturerNameOne(this.tableDataList[i].GoodInfo.manufacturer)
992 993
           this.tableDataList[i].dealer_name = this.getDealerNameOne(this.tableDataList[i].GoodInfo.dealer)
@@ -1009,8 +1010,8 @@ export default {
1009 1010
       
1010 1011
         this.tableDataList.push(obj)
1011 1012
        import('@/vendor/Export2Excel').then(excel => {
1012
-       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','数量','总价']
1013
-       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','time','number','product_date_name','expiry_date_name','user_name','in_price','price','out_count','total_price']
1013
+       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用患者','数量','总价']
1014
+       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','number','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','out_count','total_price']
1014 1015
 
1015 1016
        const data = this.formatJson(filterVal, this.tableDataList)
1016 1017
 

+ 2 - 0
src/xt_pages/stock/drugs/components/drugInOrder.vue Voir le fichier

@@ -468,6 +468,7 @@ export default {
468 468
         start_time:this.start_time,
469 469
         end_time:this.end_time,
470 470
         order_type:this.order_type,
471
+        storehouse_id:this.storehouse_id,
471 472
       }
472 473
     
473 474
      getDrugWarehouseInfoPrint(params).then(response=>{
@@ -616,6 +617,7 @@ export default {
616 617
      changeHouseList(){
617 618
        this.houseList = []
618 619
        this.getlist()
620
+       this.getDrugWarehouseInfoPrint()
619 621
      }
620 622
   }
621 623
 };

+ 3 - 2
src/xt_pages/stock/drugs/components/drugOutDetail.vue Voir le fichier

@@ -735,8 +735,8 @@ export default {
735 735
       console.log("hwhhwhwhwhwhw",this.tableData)
736 736
      
737 737
       import('@/vendor/Export2Excel').then(excel => {
738
-       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','数量','总价']
739
-       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','number_bath','product_date_name','expiry_date_name','time','user_name','in_price','price','count','total_price']
738
+       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用人','数量','总价']
739
+       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','number_bath','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','count','total_price']
740 740
 
741 741
        for(let i=0;i<this.tableData.length;i++){
742 742
          if(this.tableData[i].is_total == 0){
@@ -755,6 +755,7 @@ export default {
755 755
             this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
756 756
             this.tableData[i].manufacturer_name = this.getManufacturerName(this.tableData[i].manufacturer)
757 757
             this.tableData[i].dealer_name = this.getDealerName(this.tableData[i].dealer)
758
+            this.tableData[i].patient_name = this.getPatientName(this.tableData[i].patient_id) 
758 759
             if(this.org_id == 9919){
759 760
               this.tableData[i].total = (this.tableData[i].count * this.tableData[i].last_price)
760 761
               if(this.tableData[i].count >=this.tableData[i].min_number){

+ 6 - 2
src/xt_pages/stock/index.vue Voir le fichier

@@ -23,6 +23,10 @@
23 23
             <automatic-reduce></automatic-reduce>
24 24
           </el-tab-pane>
25 25
 
26
+          <!-- <el-tab-pane label="耗材套装">
27
+            <good-list></good-list>
28
+          </el-tab-pane> -->
29
+
26 30
         </el-tabs>
27 31
 
28 32
       </div>
@@ -37,7 +41,7 @@
37 41
   import GoodType from './config/goodType'
38 42
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
39 43
   import AutomaticReduce from './config/automaticReduce'
40
-  
44
+  import GoodList from './config/goodList'
41 45
   export default {
42 46
     name: 'service',
43 47
     components: {
@@ -47,7 +51,7 @@
47 51
       Manufacturer,
48 52
       Dealer,
49 53
       BreadCrumb,
50
-      
54
+      GoodList,
51 55
     },
52 56
     data() {
53 57
       return {