XMLWAN 2 年 前
コミット
332c8ec98c

+ 26 - 11
src/xt_pages/dialysis/details/consumable/dialysisGood.vue ファイルの表示

@@ -139,7 +139,7 @@
139 139
       <span>
140 140
         <div class="cell clearfix">
141 141
           <label class="title"> <span class="name">排班班次</span> : </label>
142
-           <el-select v-model="schedulType" placeholder="请选择">
142
+           <el-select v-model="schedule_type" placeholder="请选择">
143 143
             <el-option
144 144
               v-for="item in schedulArr"
145 145
               :key="item.value"
@@ -148,7 +148,7 @@
148 148
             </el-option>
149 149
            </el-select>
150 150
            <label class="title"> <span class="name">病区选择</span> : </label>
151
-           <el-select v-model="partitionType" placeholder="请选择">
151
+           <el-select v-model="partion_type" placeholder="请选择">
152 152
             <el-option
153 153
               v-for="item in partitionArr"
154 154
               :key="item.id"
@@ -166,23 +166,23 @@
166 166
           color: '#606266'
167 167
         }"
168 168
       >
169
-         <el-table-column  align="center" width="55" label="序号">
169
+         <el-table-column  align="center"  label="序号">
170 170
            <template slot-scope="scope">
171 171
             
172 172
            </template>
173 173
         </el-table-column>
174
-        <el-table-column  align="center"  width="55" label="耗材名称">
174
+        <el-table-column  align="center"   label="耗材名称">
175 175
          <template slot-scope="scope">
176 176
            
177 177
            </template>
178 178
         </el-table-column>
179
-        <el-table-column  align="center"  width="55" label="规格">
179
+        <el-table-column  align="center"  label="规格">
180 180
            <template slot-scope="scope">
181 181
           
182 182
            </template>
183 183
         </el-table-column>
184 184
        
185
-        <el-table-column  align="center"  width="55" label="数量">
185
+        <el-table-column  align="center"   label="数量">
186 186
            <template slot-scope="scope">
187 187
           
188 188
            </template>
@@ -193,8 +193,8 @@
193 193
       </el-table>
194 194
       </span>
195 195
       <span slot="footer" class="dialog-footer">
196
-        <el-button @click="dialogVisible = false">取 消</el-button>
197
-        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
196
+        <el-button @click="startDialogVisible = false">取 消</el-button>
197
+        <el-button type="primary" @click="startDialogVisible = false">确 定</el-button>
198 198
       </span>
199 199
     </el-dialog>
200 200
 
@@ -203,7 +203,7 @@
203 203
 
204 204
 
205 205
 <script>
206
-  import { GetAllZone,getPatientDialysisSolutionGroupList } from '@/api/dialysis'
206
+  import { GetAllZone,getPatientDialysisSolutionGroupList,getDialysisGoodTotalCount } from '@/api/dialysis'
207 207
 
208 208
   import { uParseTime } from "@/utils/tools";
209 209
   import { getDataConfig } from '@/utils/data'
@@ -269,6 +269,8 @@
269 269
         hemodialysisPipelinesOptions:[],
270 270
         startDialogVisible:false,
271 271
         tableList:[],
272
+        schedule_type:"",
273
+        partion_type:"",
272 274
       }
273 275
     },
274 276
     created() {
@@ -386,7 +388,20 @@
386 388
         })
387 389
       },
388 390
       statistics() {
389
-        this.startDialogVisible = true
391
+        var params = {
392
+          schedule_type:this.schedule_type,
393
+          partion_type:this.partion_type,
394
+          selected_date:this.query.schedule_date,
395
+        }
396
+        console.log("params2332232wo",params)
397
+       getDialysisGoodTotalCount(params).then(response=>{
398
+          if(response.data.state == 1){
399
+            this.startDialogVisible = true
400
+            var list = response.data.data.list
401
+            console.log("list232323223222wid",list)
402
+          }
403
+       })
404
+        
390 405
       },
391 406
       handleScheduleDateChange(val) {
392 407
         this.query.schedule_date = val
@@ -441,7 +456,7 @@
441 456
           
442 457
         }
443 458
         if(filed_name_cn == "目标超滤量"){
444
-          return ""
459
+          return val.target_ultrafiltration
445 460
         }
446 461
         if(filed_name_cn == "透析液配方"){
447 462
           return this.getDialysateFormulation(val.dialysate_formulation)

+ 2 - 13
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue ファイルの表示

@@ -84,24 +84,13 @@
84 84
         <div class="mainCell fixedCell" style="margin-bottom:10px;">
85 85
 
86 86
           <div v-if="org_id == 10340 || org_id == 0">
87
-<!--                        <el-button size="small"-->
88
-<!--                                   @click="openZb(1)"-->
89
-<!--                                   type="primary">登记-->
90
-<!--                        </el-button>-->
91
-
92 87
                         <el-button  size="small"
93 88
                                    @click="openZb(4)"
94
-                                   type="primary">记账
89
+                                   v-if=" this.order.id == 0"
90
+                          type="primary">记账
95 91
                         </el-button>
96
-
97
-<!--                        <el-button   size="small"-->
98
-<!--                                   @click="openZb(3)"-->
99
-<!--                                   type="primary">撤销记账-->
100
-<!--                        </el-button>-->
101
-
102 92
           </div>
103 93
 
104
-
105 94
           <div  v-if="org_id != 10340 || org_id != 0">
106 95
 <!--            <el-button size="small"-->
107 96
 <!--                       @click="openZb(1)"-->

+ 10 - 6
src/xt_pages/outpatientCharges/summary.vue ファイルの表示

@@ -1499,6 +1499,7 @@ export default {
1499 1499
             for (let i = 0; i < med_chrgitm_types.length; i++) {
1500 1500
               let price = 0
1501 1501
               let obj = {
1502
+                number:"440722196501072316",
1502 1503
                 name: order.patient.name,
1503 1504
                 idNo: order.patient.id_card_no,
1504 1505
                 med_chrgitm_name:this.getType(med_chrgitm_types[i]),
@@ -1525,9 +1526,10 @@ export default {
1525 1526
           var tarList = []
1526 1527
           for (let i = 0; i < list.length; i++) {
1527 1528
             let obj = {
1528
-              "姓名": list[i].name,
1529
+              "购方名称": list[i].name,
1530
+              "购方纳税人识别号":list[i].number,
1529 1531
               "身份证":  list[i].idNo,
1530
-              "收费项目": list[i].med_chrgitm_name,
1532
+              "商品名称": list[i].med_chrgitm_name,
1531 1533
               "金额": list[i].price,
1532 1534
               "备注": list[i].remark,
1533 1535
 
@@ -1537,16 +1539,18 @@ export default {
1537 1539
 
1538 1540
           import("@/vendor/Export2Excel").then((excel) => {
1539 1541
             const tHeader = [
1540
-              "姓名",
1542
+              "购方名称",
1543
+              "购方纳税人识别号",
1541 1544
               "身份证",
1542
-              "收费项目",
1545
+              "商品名称",
1543 1546
               "金额",
1544 1547
               "备注",
1545 1548
             ];
1546 1549
             const filterVal = [
1547
-              "姓名",
1550
+              "购方名称",
1551
+              "购方纳税人识别号",
1548 1552
               "身份证",
1549
-              "收费项目",
1553
+              "商品名称",
1550 1554
               "金额",
1551 1555
               "备注",
1552 1556
             ];

+ 1 - 1
src/xt_pages/stock/query/purchaseStockQuery.vue ファイルの表示

@@ -667,7 +667,7 @@ export default {
667 667
     this.goodTypeList= []
668 668
     this.getStorehouseList()
669 669
     this.getlist()
670
-    this.getStockDrugCount()
670
+    //this.getStockDrugCount()
671 671
    },
672 672
    getWarehouseInfoStartPrice(arr,arr1,arr2,arr3,arr4){
673 673
      var total_price = 0

+ 9 - 5
src/xt_pages/stock/stockOutOrder.vue ファイルの表示

@@ -1416,10 +1416,10 @@ export default {
1416 1416
                 list[i].child.push(this.flowList[j])
1417 1417
               }
1418 1418
             }
1419
-         
1419
+           
1420 1420
             this.tableList.push(list[i]);
1421 1421
           }
1422
-         
1422
+          console.log("tablielist2332323",this.tableList)
1423 1423
         }
1424 1424
       });
1425 1425
     },
@@ -1900,9 +1900,12 @@ export default {
1900 1900
             if(newArr!=null && newArr.length > 0){
1901 1901
               for(let i=0;i<newArr.length;i++){
1902 1902
                for(let j=0;j<cancelInfo.length;j++){
1903
-                 if(newArr[i].patient_id == cancelInfo[j].patient_id){
1903
+                if(cancelInfo[j].patient_id > 0){
1904
+                  if(newArr[i].patient_id == cancelInfo[j].patient_id){
1904 1905
                     newArr[i].child.push(cancelInfo[j])
1905 1906
                  }
1907
+                }
1908
+               
1906 1909
                }
1907 1910
               }
1908 1911
             }
@@ -1924,7 +1927,7 @@ export default {
1924 1927
           console.log("2o32o3o3232j32oo23o2332oj2wo",arr)
1925 1928
           var arrTwo= []
1926 1929
           for(let i=0;i<arr.length;i++){
1927
-            if((arr[i].count - arr[i].cancel_count)!=0){
1930
+            if((arr[i].count - arr[i].cancel_count)  >0){
1928 1931
                arrTwo.push(arr[i])
1929 1932
             }
1930 1933
           }
@@ -2308,7 +2311,8 @@ export default {
2308 2311
      var count =0
2309 2312
      var arr = []
2310 2313
      for(let i=0;i<this.cancelInfoList.length;i++){
2311
-       if(warehousing_id == this.cancelInfoList[i].warehousing_id && good_id == this.cancelInfoList[i].good_id){
2314
+       
2315
+       if(this.cancelInfoList[i].patient_id >0 && warehousing_id == this.cancelInfoList[i].warehousing_id && good_id == this.cancelInfoList[i].good_id){
2312 2316
           arr.push(this.cancelInfoList[i])
2313 2317
        }
2314 2318
      }

+ 8 - 6
src/xt_pages/user/dialysisRecord.vue ファイルの表示

@@ -353,9 +353,9 @@
353 353
               <tr v-for="item in recordData" :key="item.id">
354 354
                 <td>{{ item.dialysis_date | parseTime("{y}-{m}-{d}") }}</td>
355 355
                 <td>{{ scheduleType(item.schedule_type) }}</td>
356
-                <td>{{ item.partition_name }}-{{ item.device_number }}</td>
356
+                <td>{{ item.partition_name }}-{{ item.device.number }}</td>
357 357
                 <td>{{ modeName(item.prescription.mode_id) }}</td>
358
-                <td>{{ item.prescription.dialysis_duration }}</td>
358
+                <td>{{getTime(item.assessment_after_dislysis)}}</td>
359 359
                 <td>{{ item.predialysis_evaluation.dry_weight }}</td>
360 360
                 <td>{{ item.predialysis_evaluation.weight_before }}</td>
361 361
                 <td>{{ item.assessment_after_dislysis.weight_after }}</td>
@@ -650,8 +650,9 @@ export default {
650 650
             this.recordData[i].AnticoagulantsConfit = this.setAnticoagulantsConfit(this.recordData[i].prescription)
651 651
             this.recordData[i].nurse_name = this.recordData[i].role.user_name
652 652
             this.recordData[i].doc_name = this.recordData[i].prescription.role.user_name
653
-            this.recordData[i].bed_number = this.recordData[i].partition_name + "-" + this.recordData[i].device_number
654
-            this.recordData[i].dialysis_duration = this.recordData[i].prescription.dialysis_duration
653
+       
654
+            this.recordData[i].bed_number = this.recordData[i].partition_name + "-" + this.recordData[i].device.number
655
+            this.recordData[i].dialysis_duration_hour = this.getTime(this.recordData[i].assessment_after_dislysis)
655 656
             this.recordData[i].dry_weight = this.recordData[i].predialysis_evaluation.dry_weight
656 657
             this.recordData[i].weight_before = this.recordData[i].predialysis_evaluation.weight_before
657 658
             this.recordData[i].weight_after = this.recordData[i].assessment_after_dislysis.weight_after
@@ -663,11 +664,12 @@ export default {
663 664
             if(this.recordData[i].dialyzer_perfusion_apparatus == ""){
664 665
               this.recordData[i].dialyzer_perfusion_apparatus = this.recordData[i].prescription.dialysis_dialyszers + "/" + this.recordData[i].prescription.dialysis_irrigation
665 666
             }
667
+            this.recordData[i].patient_name = this.currentPatient.name
666 668
           }
667 669
          }
668 670
          
669
-         const tHeader = ['透析日期','班次', '分区机号', '透析模式','透析时长','干体重','透前体重','透后体重','透前血压','透后血压','目标超滤量','抗凝剂 首剂/维持/总量','透析器型号','治疗护士','治疗医生']
670
-         const filterVal = ['dialysis_date_one','bed_class', 'bed_number', 'mode_name','dialysis_duration','dry_weight','weight_before','weight_after','befor_pressure','after_pressure','target_ultrafiltration','AnticoagulantsConfit','dialyzer_perfusion_apparatus','nurse_name','doc_name']
671
+         const tHeader = ['姓名','透析日期','班次', '分区机号', '透析模式','透析时长','干体重(kg)','透前体重(kg)','透后体重(kg)','透前血压(mmHg)','透后血压(mmHg)','目标超滤量','抗凝剂 首剂/维持/总量','透析器型号','治疗护士','治疗医生']
672
+         const filterVal = ['patient_name','dialysis_date_one','bed_class', 'bed_number', 'mode_name','dialysis_duration_hour','dry_weight','weight_before','weight_after','befor_pressure','after_pressure','target_ultrafiltration','AnticoagulantsConfit','dialyzer_perfusion_apparatus','nurse_name','doc_name']
671 673
         
672 674
          const data = this.formatJson(filterVal, this.recordData)
673 675
          excel.export_json_to_excel({