Преглед изворни кода

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx пре 2 година
родитељ
комит
d4aa99fc4e
32 измењених фајлова са 6976 додато и 2572 уклоњено
  1. 10 12
      src/xt_pages/data/components/addInspection.vue
  2. 4 4
      src/xt_pages/data/components/editInspection.vue
  3. 2 2
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  4. 7 8
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  5. 18 3
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  6. 8 8
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  7. 32 1
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  8. 1889 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue
  9. 9 8
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  10. 2322 851
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  11. 838 368
      src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue
  12. 425 247
      src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue
  13. 1032 804
      src/xt_pages/hospitalStation/summary.vue
  14. 1 2
      src/xt_pages/outpatientCharges/listTemplate/printTwo10265.vue
  15. 1 1
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  16. 0 5
      src/xt_pages/outpatientCharges/summary.vue
  17. 4 3
      src/xt_pages/outpatientDoctorStation/recordPrint.vue
  18. 85 72
      src/xt_pages/outpatientTool/components/detailStatistics.vue
  19. 102 95
      src/xt_pages/outpatientTool/components/gatherStatistics.vue
  20. 63 17
      src/xt_pages/outpatientTool/detailPrint.vue
  21. 1 2
      src/xt_pages/outpatientTool/statistics.vue
  22. 23 4
      src/xt_pages/stock/drugs/drugStockInOrderAdd.vue
  23. 19 40
      src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue
  24. 12 6
      src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue
  25. 5 0
      src/xt_pages/stock/stockInOrder.vue
  26. 14 1
      src/xt_pages/stock/stockInOrderAdd.vue
  27. 12 2
      src/xt_pages/stock/stockInOrderEdit.vue
  28. 5 0
      src/xt_pages/stock/stockOutOrder.vue
  29. 14 1
      src/xt_pages/stock/stockOutOrderAdd.vue
  30. 12 0
      src/xt_pages/stock/stockOutOrderEdit.vue
  31. 3 3
      src/xt_pages/stock/stockPrint.vue
  32. 4 2
      src/xt_pages/user/dialysisSolution.vue

+ 10 - 12
src/xt_pages/data/components/addInspection.vue Прегледај датотеку

@@ -155,7 +155,7 @@
155 155
             <template slot-scope="scope">
156 156
               <div v-if="scope.row.type == 2">{{ scope.row.unit }}</div>
157 157
               <div v-if="scope.row.type == 3">
158
-                {{ getUnit(scope.row.unit) }}
158
+               {{ scope.row.unit }}
159 159
               </div>
160 160
             </template>
161 161
           </el-table-column>
@@ -251,7 +251,6 @@ export default {
251 251
       }
252 252
     },
253 253
     changeProject(val) {
254
-      console.log("i23232323323",val.id)
255 254
       this.form.number = 1;
256 255
     },
257 256
     querySearch(queryString, cb) {
@@ -272,7 +271,7 @@ export default {
272 271
       };
273 272
     },
274 273
     handleSelect(val) {
275
-      console.log("val3223322323232323",val)
274
+     
276 275
       this.project_name = val.project_name;
277 276
       this.form.project_detail = val.id;
278 277
     },
@@ -314,7 +313,7 @@ export default {
314 313
         saveTeam(data, params).then((response) => {
315 314
           if (response.data.state == 1) {
316 315
             var projectTeam = response.data.data.projectTeam;
317
-            // console.log('projectTeam', projectTeam)
316
+           
318 317
             this.$message.success("保存成功");
319 318
             this.visible = false;
320 319
             (this.form.project_team = ""),
@@ -341,12 +340,12 @@ export default {
341 340
         if (response.data.state == 1) {
342 341
           var projectList = response.data.data.projectList;
343 342
           var goodInfos = response.data.data.good_info;
344
-
343
+    
345 344
           for (let i = 0; i < projectList.length; i++) {
346 345
             let obj = {
347 346
               id: projectList[i].id,
348 347
               statistical_classification:
349
-                projectList[i].statistical_classification,
348
+              projectList[i].statistical_classification,
350 349
               number: "1",
351 350
               project_name: projectList[i].project_name,
352 351
               unit: projectList[i].unit,
@@ -363,12 +362,10 @@ export default {
363 362
           for (let i = 0; i < goodInfos.length; i++) {
364 363
             let obj = {
365 364
               id: goodInfos[i].id,
366
-              statistical_classification:
367
-                goodInfos[i].statistical_classification,
365
+              statistical_classification:goodInfos[i].statistical_classification,
368 366
               number: "1",
369
-              project_name:
370
-                goodInfos[i].good_name + " " + goodInfos[i].specification_name,
371
-              unit: goodInfos[i].good_unit,
367
+              project_name:goodInfos[i].good_name + " " + goodInfos[i].specification_name,
368
+              unit: goodInfos[i].packing_unit,
372 369
               price: goodInfos[i].retail_price,
373 370
               type: 3,
374 371
               new_id: Math.floor(
@@ -379,7 +376,7 @@ export default {
379 376
             this.projectList.push(obj);
380 377
           }
381 378
 
382
-          console.log("项目2323332", this.projectList);
379
+         
383 380
         }
384 381
       });
385 382
     },
@@ -416,6 +413,7 @@ export default {
416 413
             }
417 414
           }
418 415
         }
416
+        console.log("project_232332323232323232",this.projectList)
419 417
         for (let i = 0; i < this.projectList.length; i++) {
420 418
           if (this.form.project_detail == this.projectList[i].new_id) {
421 419
             this.projectList[i].number = this.form.number

+ 4 - 4
src/xt_pages/data/components/editInspection.vue Прегледај датотеку

@@ -80,7 +80,7 @@
80 80
                     <el-table-column align="center" prop="name" label="单位" width="120">
81 81
                         <template slot-scope="scope">
82 82
                             <div v-if="scope.row.type == 2">{{scope.row.unit}}</div>
83
-                            <div v-if="scope.row.type == 3">{{getUnit(scope.row.unit)}}</div>
83
+                            <div v-if="scope.row.type == 3">{{scope.row.unit}}</div>
84 84
                         </template>
85 85
                     </el-table-column>
86 86
                     <el-table-column align="center" prop="name" label="单价" width="120">
@@ -209,7 +209,7 @@
209 209
          
210 210
             var projectList = response.data.data.projectList
211 211
             var goodInfos = response.data.data.good_info
212
-
212
+            console.log("332323232323232",goodInfos)
213 213
             for (let i = 0; i < projectList.length; i++) {
214 214
               let obj = {
215 215
                 id: projectList[i].id,
@@ -233,7 +233,7 @@
233 233
                 statistical_classification: goodInfos[i].statistical_classification,
234 234
                 number: '1',
235 235
                 project_name:goodInfos[i].good_name + " " + goodInfos[i].specification_name,
236
-                unit: goodInfos[i].good_unit,
236
+                unit: goodInfos[i].packing_unit,
237 237
                 price: goodInfos[i].retail_price,
238 238
                 type: 3,
239 239
                 m_id: 0,
@@ -274,7 +274,7 @@
274 274
 
275 275
               } else {
276 276
                 obj['project_name'] = hisList[i].good_info.good_name
277
-                obj['unit'] = hisList[i].good_info.good_unit
277
+                obj['unit'] = hisList[i].good_info.packing_unit
278 278
                 obj['price'] = hisList[i].good_info.retail_price
279 279
               }
280 280
               this.tableData.push(obj)

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Прегледај датотеку

@@ -111,8 +111,8 @@
111 111
           <label>目标超滤量 : </label>
112 112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113 113
           
114
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
114
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
116 116
         </li>
117 117
 
118 118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 7 - 8
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Прегледај датотеку

@@ -87,7 +87,7 @@
87 87
                     </el-col>
88 88
 
89 89
                     <el-col :span="8"
90
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345)">
90
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346)">
91 91
                         <el-form-item label="目标超滤量(ml):">
92 92
                             <el-input
93 93
                                     type="number"
@@ -98,7 +98,7 @@
98 98
 
99 99
 
100 100
                     <el-col :span="8"
101
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 ">
101
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346">
102 102
                         <el-form-item label="目标超滤量(L):">
103 103
                             <el-input
104 104
                                     type="number"
@@ -369,7 +369,7 @@
369 369
 
370 370
 
371 371
                     <el-col :span="8"
372
-                            v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 46)"
372
+                            v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 53)"
373 373
                             v-show="zhiShow">
374 374
                         <el-form-item label="置换量(ml):">
375 375
                             <el-input
@@ -379,7 +379,7 @@
379 379
                         </el-form-item>
380 380
                     </el-col>
381 381
                     <el-col :span="8"
382
-                            v-if="isShows('置换量') && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 46"
382
+                            v-if="isShows('置换量') && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 46 && this.$store.getters.xt_user.template_info.template_id != 53"
383 383
                             v-show="zhiShow">
384 384
                         <el-form-item label="置换量(L):">
385 385
                             <el-input
@@ -401,12 +401,11 @@
401 401
 
402 402
                     <el-col
403 403
                             :span="8"
404
-                            v-if="anticoagulant.gaimingcheng != -1 && isShows('钙名称')"
404
+                            v-if="isShows('钙名称')"
405 405
                     >
406 406
                         <el-form-item label="钙名称 : ">
407 407
                             <el-input
408 408
                                     v-model="dialysisPrescription.anticoagulant_gaimingcheng"
409
-                                    :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
410 409
                                     placeholder="钙名称"
411 410
                             ></el-input>
412 411
                         </el-form-item>
@@ -613,7 +612,7 @@
613 612
                     </el-col>
614 613
 
615 614
                     <el-col :span="8"
616
-                            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)"
615
+                            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)"
617 616
                             v-show="totalShow">
618 617
                         <el-form-item label="置换液总量(ml)">
619 618
                             <el-input
@@ -622,7 +621,7 @@
622 621
                         </el-form-item>
623 622
                     </el-col>
624 623
                     <el-col :span="8"
625
-                            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"
624
+                            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"
626 625
                             v-show="totalShow">
627 626
                         <el-form-item label="置换液总量(L)">
628 627
                             <el-input

+ 18 - 3
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Прегледај датотеку

@@ -231,6 +231,7 @@
231 231
                 template_id == 47 ||
232 232
                 template_id == 48 ||
233 233
                 template_id == 51 ||
234
+                template_id == 53 ||
234 235
                 org_id == 10210 ||
235 236
                 org_id == 9555)
236 237
             "
@@ -282,7 +283,8 @@
282 283
               template_id != 46 &&
283 284
               template_id != 47 &&
284 285
               template_id != 48 &&
285
-               template_id != 51 &&
286
+              template_id != 51 &&
287
+              template_id != 53 &&
286 288
               org_id!= 10210 &&
287 289
               org_id != 9555
288 290
             "
@@ -328,6 +330,7 @@
328 330
                 template_id == 44 ||
329 331
                 template_id == 46 ||
330 332
                 template_id == 48 ||
333
+                template_id == 53 ||
331 334
                 template_id == 47)
332 335
             "
333 336
           >
@@ -370,6 +373,7 @@
370 373
               template_id != 43 &&
371 374
               template_id != 44 &&
372 375
               template_id != 46 &&
376
+              template_id != 53 &&
373 377
               template_id != 48 &&
374 378
               template_id != 47
375 379
             "
@@ -426,6 +430,7 @@
426 430
                 template_id == 26 ||
427 431
                 template_id == 29 ||
428 432
                 template_id == 48 ||
433
+                template_id == 53 ||
429 434
                 template_id == 47)
430 435
             "
431 436
           >
@@ -448,6 +453,7 @@
448 453
               template_id != 26 &&
449 454
               template_id != 29 &&
450 455
               template_id != 48 &&
456
+              template_id != 53 &&
451 457
               template_id != 47
452 458
             "
453 459
           >
@@ -487,6 +493,7 @@
487 493
                 template_id == 20 ||
488 494
                 template_id == 26 ||
489 495
                 template_id == 29 ||
496
+                template_id == 53 ||
490 497
                 template_id == 48)
491 498
             "
492 499
           >
@@ -513,6 +520,7 @@
513 520
               template_id != 26 &&
514 521
               template_id != 29 &&
515 522
               template_id != 43 &&
523
+              template_id != 53 &&
516 524
               template_id != 48
517 525
             "
518 526
           >
@@ -986,6 +994,7 @@
986 994
                 template_id == 44 ||
987 995
                 template_id == 46 ||
988 996
                 template_id == 48 ||
997
+                template_id == 53 ||
989 998
                 template_id == 47)
990 999
             "
991 1000
           >
@@ -1022,6 +1031,7 @@
1022 1031
               template_id != 44 &&
1023 1032
               template_id != 46 &&
1024 1033
               template_id != 48 &&
1034
+              template_id != 53 &&
1025 1035
               template_id != 47
1026 1036
             "
1027 1037
           >
@@ -1065,6 +1075,7 @@
1065 1075
                 template_id == 47 ||
1066 1076
                 template_id == 48 ||
1067 1077
                 template_id == 51 ||
1078
+                template_id == 53 ||
1068 1079
                 org_id == 10210 ||
1069 1080
                 org_id == 9555)
1070 1081
             "
@@ -1109,7 +1120,7 @@
1109 1120
               template_id != 47 &&
1110 1121
               template_id != 51 &&
1111 1122
               template_id == 48 &&
1112
-             
1123
+              template_id == 53 &&
1113 1124
               org_id !=  10210 &&
1114 1125
               org_id != 9555
1115 1126
             "
@@ -1144,7 +1155,8 @@
1144 1155
               template_id != 29 &&
1145 1156
               template_id != 46 &&
1146 1157
               template_id != 47 &&
1147
-              template_id != 48 
1158
+              template_id != 48 &&
1159
+              template_id != 53
1148 1160
             "
1149 1161
           >
1150 1162
             <el-form-item label="置换率(L/h):">
@@ -1163,6 +1175,7 @@
1163 1175
                 template_id == 29 ||
1164 1176
                 template_id == 46 ||
1165 1177
                 template_id == 47 ||
1178
+                template_id == 53 ||
1166 1179
                 template_id == 48)
1167 1180
             "
1168 1181
           >
@@ -1187,6 +1200,7 @@
1187 1200
               template_id != 29 &&
1188 1201
               template_id != 43 &&
1189 1202
               template_id != 46 &&
1203
+              template_id != 53 &&
1190 1204
               template_id != 48
1191 1205
             "
1192 1206
           >
@@ -1208,6 +1222,7 @@
1208 1222
                 template_id == 26 ||
1209 1223
                 template_id == 29 ||
1210 1224
                 template_id == 46 ||
1225
+                template_id == 53 ||
1211 1226
                 template_id == 48)
1212 1227
             "
1213 1228
           >

+ 8 - 8
src/xt_pages/dialysis/details/dialysisMonitoring.vue Прегледај датотеку

@@ -14,17 +14,17 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 47 || template_id == 48) " width="92px" > 置换率(ml/min) </th>
24
-          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 47 && template_id != 48" width="92px" > 置换率(L/h)  </th>
23
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53) " width="92px" > 置换率(ml/min) </th>
24
+          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 47 && template_id != 48 && template_id != 53" width="92px" > 置换率(L/h)  </th>
25 25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48)" width="92px"  > 置换量(ml)  </th>
27
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48)" width="92px" > 置换量(L) </th>
26
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53)" width="92px"  > 置换量(ml)  </th>
27
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53)" width="92px" > 置换量(L) </th>
28 28
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
29 29
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
30 30
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>

+ 32 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Прегледај датотеку

@@ -677,6 +677,17 @@
677 677
           >打印</el-button
678 678
         >
679 679
       </template>
680
+      <template
681
+        v-if="org_template_info.template_id == 54">
682
+        <el-button
683
+          :loading="loading"
684
+          size="small"
685
+          icon="el-icon-printer"
686
+          @click="printThisPage"
687
+          type="primary"
688
+          >打印</el-button
689
+        >
690
+      </template>
680 691
     </div>
681 692
     <div class="app-container" style="min-height: 0">
682 693
       <!--<div class="order-print-btn"-->
@@ -1073,6 +1084,12 @@
1073 1084
             v-if="org_template_info.template_id == 53"
1074 1085
           >
1075 1086
           </DialysisPrintOrderFiftyThree>
1087
+           <DialysisPrintOrderFiftyFour
1088
+            v-bind:childResponse="childResponse"
1089
+            v-if="org_template_info.template_id == 54"
1090
+          >
1091
+          </DialysisPrintOrderFiftyFour>
1092
+          
1076 1093
         </div>
1077 1094
       </el-container>
1078 1095
     </div>
@@ -1144,9 +1161,11 @@ import DialysisPrintOrderFifty from "./template/DialysisPrintOrderFifty";
1144 1161
 import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
1145 1162
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1146 1163
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1164
+import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour"
1147 1165
 export default {
1148 1166
   name: "dialysisPrintOrder",
1149 1167
   components: {
1168
+    DialysisPrintOrderFiftyFour,
1150 1169
     DialysisPrintOrderFiftyThree,
1151 1170
     DialysisPrintOrderFiftyTwo,
1152 1171
     DialysisPrintOrderFiftyOne,
@@ -1385,6 +1404,8 @@ export default {
1385 1404
         '@media print {.dialysis-print-order{width:960px;margin:100px auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:30px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:15px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1386 1405
       // 漳浦天福样式
1387 1406
       const style12 ='@page {margin-top:5px;}@media print {.dialysis-print-order{width:960px;margin:0 auto} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;} .dialysis-print-order .print-table-2{ width: 100%;text-align: left;border-collapse: collapse;line-height: 38px;font-size: 14px;} .dialysis-print-order .print-table-2 tbody tr{height:43px; padding-bottom:-12px;} .print-table-2 tbody tr td{padding-bottom:-12px;} .td_div1{display:flex;white-space: normal;} .print-table-3{text-align: center;width: 300px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-3 .tr_3{border-bottom: 1px solid;} .print-table-3 .td_3 {border-right: 1px solid;} .print-table-3 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-3 .td_3_2 {width:72px;border-right: 1px solid;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
1407
+      // 金乡宏大样式
1408
+      const style13 ='@page {margin-top:5px;}@media print {.dialysis-print-order{width:960px;margin:0 auto} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;} .dialysis-print-order .print-table-2{ width: 100%;text-align: left;border-collapse: collapse;line-height: 38px;font-size: 14px;} .dialysis-print-order .print-table-2 tbody tr{height:43px; padding-bottom:-12px;} .print-table-2 tbody tr td{padding-bottom:-12px;} .td_div1{display:flex;white-space: normal;} .print-table-3{text-align: center;width: 390px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-3 .tr_3{border-bottom: 1px solid;} .print-table-3 .td_3 {border-right: 1px solid;} .print-table-3 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-3 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-4{text-align: center;width: 300px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-4 .tr_3{border-bottom: 1px solid;}  .print-table-4 .td_3 {border-right: 1px solid;} .print-table-4 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-4 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-5{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .dialysis-print-order .print-table-5 tr td_5{width:75px;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
1388 1409
 
1389 1410
       if (this.org_template_info.template_id == 1) {
1390 1411
         printJS({
@@ -1430,7 +1451,8 @@ export default {
1430 1451
         this.org_template_info.template_id == 11 ||
1431 1452
         this.org_template_info.template_id == 49 ||
1432 1453
         this.org_template_info.template_id == 50 ||
1433
-        this.org_template_info.template_id == 51
1454
+        this.org_template_info.template_id == 51 ||
1455
+        this.org_template_info.template_id == 54
1434 1456
       ) {
1435 1457
         printJS({
1436 1458
           printable: "dialysis-print-box-1",
@@ -1732,6 +1754,15 @@ export default {
1732 1754
           style: style12,
1733 1755
           scanStyles: false,
1734 1756
         });
1757
+      }else if (
1758
+        this.org_template_info.template_id == 54
1759
+      ) {
1760
+        printJS({
1761
+          printable: "dialysis-print-box",
1762
+          type: "html",
1763
+          style: style13,
1764
+          scanStyles: false,
1765
+        });
1735 1766
       }
1736 1767
     },
1737 1768
     printThisOnePage() {

Разлика између датотеке није приказан због своје велике величине
+ 1889 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue


+ 9 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Прегледај датотеку

@@ -1042,8 +1042,9 @@ export default {
1042 1042
             this.afterdialysis.txqnx = 3;
1043 1043
           }
1044 1044
 
1045
+
1045 1046
           this.afterdialysis.complications =
1046
-            this.afterdialysis.complication.split(",");
1047
+          this.afterdialysis.complication.split(",");
1047 1048
           this.afterdialysis.complications_other = [];
1048 1049
           this.afterdialysis.complications_index = [];
1049 1050
           var acllen = this.afterdialysis.complications.length;
@@ -1070,21 +1071,19 @@ export default {
1070 1071
             }
1071 1072
           }
1072 1073
           this.afterdialysis.complications_other =
1073
-            this.afterdialysis.complications_other.join(",");
1074
+          this.afterdialysis.complications_other.join(",");
1075
+
1074 1076
 
1075 1077
           this.prescription = response.data.data.dialysisPrescription;
1076 1078
           this.receiverTreatmentAccess =
1077
-            response.data.data.receiverTreatmentAccess;
1079
+          response.data.data.receiverTreatmentAccess;
1078 1080
           this.assessmentafter = response.data.data.assessmentAfterDislysis;
1081
+
1079 1082
           this.sick_condition_arr.forEach((o) => {
1080
-            // console.log(o,'hh')
1081 1083
             if (this.receiverTreatmentAccess.sick_condition == o.id) {
1082 1084
               this.sick_condition = o.name;
1083 1085
             }
1084 1086
           });
1085
-          console.log(this.sick_condition, "hh");
1086
-
1087
-          console.log("上次透后体重", this.assessmentafter);
1088 1087
 
1089 1088
           this.prescription.mode = this.modeName(this.prescription.mode_id);
1090 1089
           var rwLen = this.replacementWays.length;
@@ -1099,6 +1098,7 @@ export default {
1099 1098
             }
1100 1099
           }
1101 1100
 
1101
+
1102 1102
           this.prescription.dialysate_formulation_name =
1103 1103
             this.dialysateFormulationName(
1104 1104
               this.prescription.dialysate_formulation
@@ -1110,13 +1110,14 @@ export default {
1110 1110
             if (
1111 1111
               this.perfusionApparatus[index].id ==
1112 1112
               this.prescription.perfusion_apparatus
1113
-            ) {
1113
+               ) {
1114 1114
               this.prescription.perfusion_apparatus_name =
1115 1115
                 this.perfusionApparatus[index].name;
1116 1116
               break;
1117 1117
             }
1118 1118
           }
1119 1119
 
1120
+
1120 1121
           var acLen = this.anticoagulantsConfit.length;
1121 1122
           var thisALID = this.prescription.anticoagulant;
1122 1123
           this.prescription.anticoagulant_name = "";

Разлика између датотеке није приказан због своје велике величине
+ 2322 - 851
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


Разлика између датотеке није приказан због своје велике величине
+ 838 - 368
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue


Разлика између датотеке није приказан због своје велике величине
+ 425 - 247
src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue


Разлика између датотеке није приказан због своје велике величине
+ 1032 - 804
src/xt_pages/hospitalStation/summary.vue


+ 1 - 2
src/xt_pages/outpatientCharges/listTemplate/printTwo10265.vue Прегледај датотеку

@@ -119,9 +119,8 @@
119 119
                 <TR>
120 120
                   <TD>报销类别费用合计</TD>
121 121
                   <TD>甲类:{{ getJaiTotal() ? getJaiTotal() : "0.00" }}</TD>
122
-                  <TD>乙类药品:{{ getYiTotal() ? getYiTotal() : "0.00" }}</TD>
122
+                  <TD>乙类:{{ getYiTotal() ? getYiTotal() : "0.00" }}</TD>
123 123
                   <TD>丙类:{{ getBingTotal() ? getBingTotal() : "0.00" }}</TD>
124
-                  <TD>非药品:0.00</TD>
125 124
                   <TD></TD>
126 125
                   <TD>其他:0.00</TD>
127 126
                 </TR>

+ 1 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Прегледај датотеку

@@ -2890,7 +2890,7 @@ export default {
2890 2890
         }
2891 2891
 
2892 2892
         if (this.hisPatientInfo.id_card_type == 1) {
2893
-          if (this.hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10088 && this.$store.getters.xt_user.org_id != 10106 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217) {
2893
+          if (this.hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10088 && this.$store.getters.xt_user.org_id != 10106 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10191) {
2894 2894
             this.pwdFormVisible = true
2895 2895
             this.pwd = ''
2896 2896
           } else {

+ 0 - 5
src/xt_pages/outpatientCharges/summary.vue Прегледај датотеку

@@ -424,11 +424,6 @@ export default {
424 424
 
425 425
  
426 426
   methods: {
427
-    // watchtoute() {
428
-    //   console.log(this.$router, "iiii");
429
-    //   console.log(this.$route, "iiii");
430
-    // },
431
-
432 427
     setStorage() {
433 428
       this.$store.commit("SET_PAGEDATA", {
434 429
         page: this.page,

+ 4 - 3
src/xt_pages/outpatientDoctorStation/recordPrint.vue Прегледај датотеку

@@ -19,7 +19,7 @@
19 19
           org_id != 9671 &&
20 20
           org_id != 0 &&
21 21
           org_id != 10164 &&
22
-          org_id == 10188 &&
22
+          org_id != 10188 &&
23 23
           org_id != 10318
24 24
         "
25 25
         ref="printOne"
@@ -144,7 +144,7 @@ export default {
144 144
       const style2 =
145 145
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;padding-bottom: 10px;border-bottom: 1px solid;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot {width: 300px;display: flex;}.name_slot span {display: inline-block;min-width: 70px;border-bottom: 1px solid;} .infoTitle .name_slot_2 {width: 250px;display: flex;} .name_slot_2 .name_slot_1{  display: inline-block;min-width: 70px;border-bottom: 1px solid;} .infoTitle .full_slot {width: 100%;}.infoTitle .full_slot .id_card{border: 1px solid;display: inline-block;width: 18px;height: 18px;text-align: center;margin-right: 6px;} .address_slot_1 span {display: inline-block;min-width: 60px;border-bottom: 1px solid;} .otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: fit-content;min-height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
146 146
 
147
-      if (this.org_id != 10217 && this.org_id != 0 && this.org_id != 9675 && this.org_id != 10318) {
147
+      if (this.org_id != 10217 && this.org_id != 0 && this.org_id != 9675 && this.org_id != 10318 &&this.org_id != 10188) {
148 148
         printJS({
149 149
           printable: "prescription-print",
150 150
           type: "html",
@@ -153,7 +153,8 @@ export default {
153 153
         });
154 154
       } else if (
155 155
         this.org_id == 10217 ||
156
-        this.org_id == 9675
156
+        this.org_id == 9675 ||
157
+        this.org_id == 10188
157 158
       ) {
158 159
         printJS({
159 160
           printable: "prescription-print",

+ 85 - 72
src/xt_pages/outpatientTool/components/detailStatistics.vue Прегледај датотеку

@@ -238,26 +238,26 @@ export default {
238 238
       }
239 239
     },
240 240
     searchAction() {
241
-      // let table_id = this.$store.getters.pagedata.list.table_id;
242
-      // if (table_id == undefined) {
243
-      //   this.$store.commit("SET_PAGEDATA", {
244
-      //     table_id: 0,
245
-      //     type_id: this.id,
246
-      //     keywords: this.keywords,
247
-      //     start_time: this.chargeDate[0],
248
-      //     end_time: this.chargeDate[1],
249
-      //     patient_id: this.patient_id,
250
-      //   });
251
-      // } else {
252
-      //   this.$store.commit("SET_PAGEDATA", {
253
-      //     table_id: table_id,
254
-      //     type_id: this.id,
255
-      //     keywords: this.keywords,
256
-      //     start_time: this.chargeDate[0],
257
-      //     end_time: this.chargeDate[1],
258
-      //     patient_id: this.patient_id,
259
-      //   });
260
-      // }
241
+      let table_id = this.$store.getters.pagedata.list.table_id;
242
+      if (table_id == undefined) {
243
+        this.$store.commit("SET_PAGEDATA", {
244
+          table_id: 0,
245
+          type_id: this.id,
246
+          keywords: this.keywords,
247
+          start_time: this.chargeDate[0],
248
+          end_time: this.chargeDate[1],
249
+          patient_id: this.patient_id,
250
+        });
251
+      } else {
252
+        this.$store.commit("SET_PAGEDATA", {
253
+          table_id: table_id,
254
+          type_id: this.id,
255
+          keywords: this.keywords,
256
+          start_time: this.chargeDate[0],
257
+          end_time: this.chargeDate[1],
258
+          patient_id: this.patient_id,
259
+        });
260
+      }
261 261
       this.getHisSummaryDetailList();
262 262
     },
263 263
     changeDate() {
@@ -267,26 +267,26 @@ export default {
267 267
     },
268 268
     changeItem(id) {
269 269
       this.id = id;
270
-      // let table_id = this.$store.getters.pagedata.list.table_id;
271
-      // if (table_id == undefined) {
272
-      //   this.$store.commit("SET_PAGEDATA", {
273
-      //     table_id: 0,
274
-      //     type_id: this.id,
275
-      //     keywords: this.keywords,
276
-      //     start_time: this.chargeDate[0],
277
-      //     end_time: this.chargeDate[1],
278
-      //     patient_id: this.patient_id,
279
-      //   });
280
-      // } else {
281
-      //   this.$store.commit("SET_PAGEDATA", {
282
-      //     table_id: table_id,
283
-      //     type_id: this.id,
284
-      //     keywords: this.keywords,
285
-      //     start_time: this.chargeDate[0],
286
-      //     end_time: this.chargeDate[1],
287
-      //     patient_id: this.patient_id,
288
-      //   });
289
-      // }
270
+      let table_id = this.$store.getters.pagedata.list.table_id;
271
+      if (table_id == undefined) {
272
+        this.$store.commit("SET_PAGEDATA", {
273
+          table_id: 0,
274
+          type_id: this.id,
275
+          keywords: this.keywords,
276
+          start_time: this.chargeDate[0],
277
+          end_time: this.chargeDate[1],
278
+          patient_id: this.patient_id,
279
+        });
280
+      } else {
281
+        this.$store.commit("SET_PAGEDATA", {
282
+          table_id: table_id,
283
+          type_id: this.id,
284
+          keywords: this.keywords,
285
+          start_time: this.chargeDate[0],
286
+          end_time: this.chargeDate[1],
287
+          patient_id: this.patient_id,
288
+        });
289
+      }
290 290
       this.getHisSummaryDetailList();
291 291
     },
292 292
     getHisSummaryDetailList() {
@@ -330,8 +330,21 @@ export default {
330 330
 
331 331
           var new_arr = [];
332 332
 
333
-          
333
+          let list_1 = this.$store.getters.pagedata.list;
334
+          if (list_1.keywords == undefined) {
335
+            this.keywords = "";
336
+          } else {
337
+            this.keywords = list_1.keywords;
338
+          }
339
+          this.id = list_1.type_id;
340
+          this.item_type = this.id;
341
+          if(this.item_type == undefined){
342
+            this.item_type = "0"
343
+          }else{
344
+            this.item_type = this.id;
345
+          }
334 346
 
347
+          
335 348
           if (this.keywords != "") {
336 349
             for (let i = 0; i < this.tableData.length; i++) {
337 350
               if (this.tableData[i].index != "合计") {
@@ -491,26 +504,26 @@ export default {
491 504
       // start_time: this.chargeDate[0],
492 505
       // end_time: this.chargeDate[1],
493 506
       // patient_id:this.patient_id
494
-      // let table_id = this.$store.getters.pagedata.list.table_id;
495
-      // if (table_id == undefined) {
496
-      //   this.$store.commit("SET_PAGEDATA", {
497
-      //     table_id: 0,
498
-      //     type_id: this.id,
499
-      //     keywords: this.keywords,
500
-      //     start_time: this.chargeDate[0],
501
-      //     end_time: this.chargeDate[1],
502
-      //     patient_id: this.patient_id,
503
-      //   });
504
-      // } else {
505
-      //   this.$store.commit("SET_PAGEDATA", {
506
-      //     table_id: table_id,
507
-      //     type_id: this.id,
508
-      //     keywords: this.keywords,
509
-      //     start_time: this.chargeDate[0],
510
-      //     end_time: this.chargeDate[1],
511
-      //     patient_id: this.patient_id,
512
-      //   });
513
-      // }
507
+      let table_id = this.$store.getters.pagedata.list.table_id;
508
+      if (table_id == undefined) {
509
+        this.$store.commit("SET_PAGEDATA", {
510
+          table_id: 0,
511
+          type_id: this.id,
512
+          keywords: this.keywords,
513
+          start_time: this.chargeDate[0],
514
+          end_time: this.chargeDate[1],
515
+          patient_id: this.patient_id,
516
+        });
517
+      } else {
518
+        this.$store.commit("SET_PAGEDATA", {
519
+          table_id: table_id,
520
+          type_id: this.id,
521
+          keywords: this.keywords,
522
+          start_time: this.chargeDate[0],
523
+          end_time: this.chargeDate[1],
524
+          patient_id: this.patient_id,
525
+        });
526
+      }
514 527
     },
515 528
     getPrice(val) {
516 529
       var total_price = 0;
@@ -521,17 +534,17 @@ export default {
521 534
     },
522 535
   },
523 536
   created() {
524
-    // let list_1 = this.$store.getters.pagedata.list;
525
-    //       if (list_1.start_time == "") {
526
-    //         this.chargeDate[0] = this.chargeDate[0] = moment(new Date()).add("year", 0).format("YYYY-MM-DD");;
527
-    //       } else {
528
-    //         this.chargeDate[0] = list_1.start_time;
529
-    //       }
530
-    //        if (list_1.end_time == "") {
531
-    //         this.chargeDate[1] = this.chargeDate[0] = moment(new Date()).add("year", 0).format("YYYY-MM-DD");;
532
-    //       } else {
533
-    //         this.chargeDate[1] = list_1.end_time;
534
-    //       }
537
+    let list_1 = this.$store.getters.pagedata.list;
538
+          if (!list_1.start_time ||list_1.start_time == "") {
539
+            this.chargeDate[0] = this.chargeDate[0] = moment(new Date()).add("year", 0).format("YYYY-MM-DD");;
540
+          } else {
541
+            this.chargeDate[0] = list_1.start_time;
542
+          }
543
+           if (!list_1.end_time ||list_1.end_time == "") {
544
+            this.chargeDate[1] = this.chargeDate[0] = moment(new Date()).add("year", 0).format("YYYY-MM-DD");;
545
+          } else {
546
+            this.chargeDate[1] = list_1.end_time;
547
+          }
535 548
     this.start_time = this.chargeDate[0];
536 549
     this.end_time = this.chargeDate[1];
537 550
     this.getHisSummaryDetailList();

+ 102 - 95
src/xt_pages/outpatientTool/components/gatherStatistics.vue Прегледај датотеку

@@ -234,29 +234,29 @@ export default {
234 234
   },
235 235
   methods: {
236 236
     searchAction() {
237
-    //  let table_id = this.$store.getters.pagedata.list.table_id;
238
-    //   if (table_id == undefined) {
239
-    //     this.$store.commit("SET_PAGEDATA", {
240
-    //       table_id: 0,
241
-    //       type_id: this.id,
242
-    //       keywords: this.keywords,
243
-    //       start_time: this.chargeDate[0],
244
-    //       end_time: this.chargeDate[1],
245
-    //       patient_id: this.patient_id,
246
-    //     });
247
-    //   } else {
248
-    //     this.$store.commit("SET_PAGEDATA", {
249
-    //       table_id: table_id,
250
-    //       type_id: this.id,
251
-    //       keywords: this.keywords,
252
-    //       start_time: this.chargeDate[0],
253
-    //       end_time: this.chargeDate[1],
254
-    //       patient_id: this.patient_id,
255
-    //     });
256
-    //   }
237
+      let table_id = this.$store.getters.pagedata.list.table_id;
238
+      if (table_id == undefined) {
239
+        this.$store.commit("SET_PAGEDATA", {
240
+          table_id: 0,
241
+          type_id: this.id,
242
+          keywords: this.keywords,
243
+          start_time: this.chargeDate[0],
244
+          end_time: this.chargeDate[1],
245
+          patient_id: this.patient_id,
246
+        });
247
+      } else {
248
+        this.$store.commit("SET_PAGEDATA", {
249
+          table_id: table_id,
250
+          type_id: this.id,
251
+          keywords: this.keywords,
252
+          start_time: this.chargeDate[0],
253
+          end_time: this.chargeDate[1],
254
+          patient_id: this.patient_id,
255
+        });
256
+      }
257 257
       this.tableList = [];
258 258
       this.getGatherDetailList();
259
-      console.log(this.tableList, "查看条约");
259
+      // console.log(this.tableList, "查看条约");
260 260
     },
261 261
     getPrice(val) {
262 262
       var total_price = 0;
@@ -272,26 +272,26 @@ export default {
272 272
     },
273 273
     changeItem(id) {
274 274
       this.id = id;
275
-      // let table_id = this.$store.getters.pagedata.list.table_id;
276
-      // if (table_id == undefined) {
277
-      //   this.$store.commit("SET_PAGEDATA", {
278
-      //     table_id: 0,
279
-      //     type_id: this.id,
280
-      //     keywords: this.keywords,
281
-      //     start_time: this.chargeDate[0],
282
-      //     end_time: this.chargeDate[1],
283
-      //     patient_id: this.patient_id,
284
-      //   });
285
-      // } else {
286
-      //   this.$store.commit("SET_PAGEDATA", {
287
-      //     table_id: table_id,
288
-      //     type_id: this.id,
289
-      //     keywords: this.keywords,
290
-      //     start_time: this.chargeDate[0],
291
-      //     end_time: this.chargeDate[1],
292
-      //     patient_id: this.patient_id,
293
-      //   });
294
-      // }
275
+      let table_id = this.$store.getters.pagedata.list.table_id;
276
+      if (table_id == undefined) {
277
+        this.$store.commit("SET_PAGEDATA", {
278
+          table_id: 0,
279
+          type_id: this.id,
280
+          keywords: this.keywords,
281
+          start_time: this.chargeDate[0],
282
+          end_time: this.chargeDate[1],
283
+          patient_id: this.patient_id,
284
+        });
285
+      } else {
286
+        this.$store.commit("SET_PAGEDATA", {
287
+          table_id: table_id,
288
+          type_id: this.id,
289
+          keywords: this.keywords,
290
+          start_time: this.chargeDate[0],
291
+          end_time: this.chargeDate[1],
292
+          patient_id: this.patient_id,
293
+        });
294
+      }
295 295
       this.tableList = [];
296 296
       this.getGatherDetailList();
297 297
     },
@@ -440,26 +440,33 @@ export default {
440 440
           this.medicalInsuranceLevelList =
441 441
             response.data.data.medicalInsuranceLevelList;
442 442
 
443
-          // let list_1 = this.$store.getters.pagedata.list;
444
-          // if (list_1.keywords == undefined) {
445
-          //   this.keywords = "";
446
-          // } else {
447
-          //   this.keywords = list_1.keywords;
448
-          // }
449
-          // this.id = list_1.type_id;
450
-          // this.item_type = this.id
443
+          let list_1 = this.$store.getters.pagedata.list;
444
+          if (list_1.keywords == undefined) {
445
+            this.keywords = "";
446
+          } else {
447
+            this.keywords = list_1.keywords;
448
+          }
449
+          this.id = list_1.type_id;
450
+          this.item_type = this.id;
451
+          if(this.item_type == undefined){
452
+            this.item_type = "0"
453
+          }else{
454
+            this.item_type = this.id;
455
+          }
456
+          console.log(this.item_type,'this.item_type')
457
+          
451 458
 
452
-          if(this.keywords!=""){
453
-          for(let i=0;i<this.tableList.length;i++){
454
-          if(this.tableList[i].name.indexOf(this.keywords) >-1){
455
-              new_arr.push(this.tableList[i])
459
+          if (this.keywords != "") {
460
+            for (let i = 0; i < this.tableList.length; i++) {
461
+              if (this.tableList[i].name.indexOf(this.keywords) > -1) {
462
+                new_arr.push(this.tableList[i]);
463
+              }
464
+            }
465
+            var obj = { index: "合计", is_total: 1, total: 0 };
466
+            obj.total = this.getPrice(new_arr);
467
+            this.tableList = [];
468
+            this.tableList = new_arr;
456 469
           }
457
-        }
458
-        var obj ={index:"合计",is_total:1,total:0}
459
-        obj.total = this.getPrice(new_arr)
460
-        this.tableList = []
461
-        this.tableList = new_arr
462
-      }
463 470
           if (this.id == 1) {
464 471
             var new_arr = [];
465 472
             for (let i = 0; i < this.tableList.length; i++) {
@@ -820,26 +827,26 @@ export default {
820 827
           "&id=" +
821 828
           this.id,
822 829
       });
823
-      //   let table_id = this.$store.getters.pagedata.list.table_id;
824
-      // if (table_id == undefined) {
825
-      //   this.$store.commit("SET_PAGEDATA", {
826
-      //     table_id: 0,
827
-      //     type_id: this.id,
828
-      //     keywords: this.keywords,
829
-      //     start_time: this.chargeDate[0],
830
-      //     end_time: this.chargeDate[1],
831
-      //     patient_id: this.patient_id,
832
-      //   });
833
-      // } else {
834
-      //   this.$store.commit("SET_PAGEDATA", {
835
-      //     table_id: table_id,
836
-      //     type_id: this.id,
837
-      //     keywords: this.keywords,
838
-      //     start_time: this.chargeDate[0],
839
-      //     end_time: this.chargeDate[1],
840
-      //     patient_id: this.patient_id,
841
-      //   });
842
-      // }
830
+      let table_id = this.$store.getters.pagedata.list.table_id;
831
+      if (table_id == undefined) {
832
+        this.$store.commit("SET_PAGEDATA", {
833
+          table_id: 0,
834
+          type_id: this.id,
835
+          keywords: this.keywords,
836
+          start_time: this.chargeDate[0],
837
+          end_time: this.chargeDate[1],
838
+          patient_id: this.patient_id,
839
+        });
840
+      } else {
841
+        this.$store.commit("SET_PAGEDATA", {
842
+          table_id: table_id,
843
+          type_id: this.id,
844
+          keywords: this.keywords,
845
+          start_time: this.chargeDate[0],
846
+          end_time: this.chargeDate[1],
847
+          patient_id: this.patient_id,
848
+        });
849
+      }
843 850
     },
844 851
     toPrintInvoice() {
845 852
       this.$router.push({
@@ -1245,27 +1252,27 @@ export default {
1245 1252
       return name;
1246 1253
     },
1247 1254
   },
1248
-  created() {  
1249
-    // let list_1 = this.$store.getters.pagedata.list;
1250
-    //       if (list_1.start_time == "") {
1251
-    //         this.chargeDate[0] = moment(new Date()).add("year", 0).format("YYYY-MM-DD");
1252
-    //       } else {
1253
-    //         this.chargeDate[0] = list_1.start_time;
1254
-    //       }
1255
-    //        if (list_1.end_time == "") {
1256
-    //         this.chargeDate[1] = moment(new Date()).add("year", 0).format("YYYY-MM-DD");
1257
-    //       } else {
1258
-    //         this.chargeDate[1] = list_1.end_time;
1259
-    // }
1255
+  created() {
1256
+    let list_1 = this.$store.getters.pagedata.list;
1257
+    if (!list_1.start_time || list_1.start_time == "") {
1258
+      this.chargeDate[0] = moment(new Date())
1259
+        .add("year", 0)
1260
+        .format("YYYY-MM-DD");
1261
+    } else {
1262
+      this.chargeDate[0] = list_1.start_time;
1263
+    }
1264
+    if (!list_1.end_time || list_1.end_time == "") {
1265
+      this.chargeDate[1] = moment(new Date())
1266
+        .add("year", 0)
1267
+        .format("YYYY-MM-DD");
1268
+    } else {
1269
+      this.chargeDate[1] = list_1.end_time;
1270
+    }
1260 1271
 
1261
-    console.log(this.chargeDate[0],'测试测试')  
1262
-    
1263 1272
     this.start_time = this.chargeDate[0];
1264 1273
     this.end_time = this.chargeDate[1];
1265 1274
     this.tableList = [];
1266 1275
     this.getGatherDetailList();
1267
-    // console.log(this.start_time,this.end_time,'ooooooo')
1268
-    
1269 1276
   },
1270 1277
   watch: {
1271 1278
     patient_id: function () {

+ 63 - 17
src/xt_pages/outpatientTool/detailPrint.vue Прегледај датотеку

@@ -4,48 +4,94 @@
4 4
       <el-button type="primary" @click="printtpage">打印</el-button>
5 5
     </div>
6 6
     <div id="list-print" class="list-print">
7
-      <div class="listTitle">
7
+      <table class="listTable"
8
+        border="0"
9
+        cellspacing="0"
10
+        style="font-size: 14px"
11
+        align="center">
12
+        <thead style="display: table-header-group; font-weight: bold;border-bottom: 1px solid;">
13
+          <tr
14
+            ><td colspan="4" align="center" style="font-size: 20px"
15
+              >{{ $store.getters.xt_user.org.org_name }}费用清单</td
16
+            ></tr
17
+          >
18
+          <tr>
19
+            <td>患者姓名:{{ patient.name }}</td>
20
+            <td>性别:{{ patient.gender == 1 ? "男" : "女" }}</td>
21
+            <td>结算类别:
22
+          <!-- {{ getType(his_patient.balance_accounts_type) }} -->
23
+          {{getType(his_record_patient.balance_accounts_type)}}</td>
24
+            <td>发票号码:{{order.fa_piao_number}}</td>
25
+          </tr>
26
+          <tr>
27
+            <td>住院/门诊号:
28
+          <!-- {{his_patient.number}} -->
29
+          {{his_record_patient.ipt_otp_no}}</td>
30
+            <td>科室:
31
+          <!-- {{ getDepartment(his_patient.departments) }} -->
32
+          {{ getDepartment(his_record_patient.departments) }}</td>
33
+            <td>就诊流水号:
34
+          <!-- {{ his_patient.number }} -->
35
+          {{his_record_patient.number}}</td>
36
+          </tr>
37
+          <tr>
38
+            <td>总费用:{{ getAllPice() }}</td>
39
+            <td>个人支付:
40
+          <!-- <span v-if="this.$route.query.balance_accounts_type == 2 && his_patient.id >0">{{ getAllPice() }}</span>
41
+          <span v-if="this.$route.query.balance_accounts_type != 2 && his_patient.id >0">{{ getActPay() }}</span> -->
42
+          
43
+          <span v-if="his_record_patient.balance_accounts_type == 2">{{ getAllPice() }}</span>
44
+          <span v-if="his_record_patient.balance_accounts_type != 2">{{ getActPay() }}</span>
45
+            </td>
46
+            <td>基金支付记账:{{ getFundPaySumamt() }}</td>
47
+            <td>补充医疗支付记账:{{ getHifesPay() }}</td>
48
+          </tr>
49
+          <tr>
50
+            <td>
51
+              救助支付金额:{{ getMafPay() }}
52
+            </td>
53
+          </tr>
54
+        </thead>
55
+      </table>
56
+
57
+      <!-- <div class="listTitle">
8 58
         {{ $store.getters.xt_user.org.org_name }}费用清单
9
-      </div>
10
-      <div class="listInfo">
59
+      </div> -->
60
+
61
+      <!-- <div class="listInfo">
11 62
         <div>患者姓名:{{ patient.name }}</div>
12 63
         <div>性别:{{ patient.gender == 1 ? "男" : "女" }}</div>
13 64
         <div>结算类别:
14
-          <!-- {{ getType(his_patient.balance_accounts_type) }} -->
65
+          
15 66
           {{getType(his_record_patient.balance_accounts_type)}}
16 67
         </div>
17 68
         <div style="min-width:300px;">发票号码:{{order.fa_piao_number}}</div>
18
-      </div>
19
-      <div class="listInfo">
69
+      </div> -->
70
+      <!-- <div class="listInfo">
20 71
         <div>住院/门诊号:
21
-          <!-- {{his_patient.number}} -->
22 72
           {{his_record_patient.ipt_otp_no}}
23 73
         </div>
24 74
         <div>科室:
25
-          <!-- {{ getDepartment(his_patient.departments) }} -->
26 75
           {{ getDepartment(his_record_patient.departments) }}
27 76
         </div>
28 77
         <div style="min-width:350px;">就诊流水号:
29
-          <!-- {{ his_patient.number }} -->
78
+       
30 79
           {{his_record_patient.number}}
31 80
         </div>
32
-      </div>
33
-      <div class="listInfo">
81
+      </div> -->
82
+      <!-- <div class="listInfo">
34 83
         <div>总费用:{{ getAllPice() }}</div>
35 84
         <div>个人支付:
36
-          <!-- <span v-if="this.$route.query.balance_accounts_type == 2 && his_patient.id >0">{{ getAllPice() }}</span>
37
-          <span v-if="this.$route.query.balance_accounts_type != 2 && his_patient.id >0">{{ getActPay() }}</span> -->
38
-          
39 85
           <span v-if="his_record_patient.balance_accounts_type == 2">{{ getAllPice() }}</span>
40 86
           <span v-if="his_record_patient.balance_accounts_type != 2">{{ getActPay() }}</span>
41 87
 
42 88
         </div>
43 89
         <div>基金支付记账:{{ getFundPaySumamt() }}</div>
44 90
         <div style="min-width:300px;">补充医疗支付记账:{{ getHifesPay() }}</div>
45
-      </div>
46
-      <div class="listInfo">
91
+      </div> -->
92
+      <!-- <div class="listInfo">
47 93
         <div>救助支付金额:{{ getMafPay() }}</div>
48
-      </div>
94
+      </div> -->
49 95
       <table class="listTable" border="1">
50 96
         <tr style="height:45px">
51 97
           <td width="100" style="text-align: center">序号</td>

+ 1 - 2
src/xt_pages/outpatientTool/statistics.vue Прегледај датотеку

@@ -167,11 +167,10 @@ export default {
167 167
 
168 168
     onRowClick(row, event, column) {
169 169
       this.currentRowIndex = row.row_index;
170
-      console.log(this.currentRowIndex, "this.currentRowIndex");
171 170
       this.$store.commit("SET_PAGEDATA", {
172 171
         table_id: this.currentRowIndex,
173 172
       });
174
-      console.log(this.$store.getters.pagedata.list.table_id, "kk");
173
+      // console.log(this.$store.getters.pagedata.list.table_id, "列表行id");
175 174
     },
176 175
     searchAction() {
177 176
       this.getPatientList();

+ 23 - 4
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Прегледај датотеку

@@ -195,6 +195,7 @@
195 195
                     filterable
196 196
                     placeholder="请选择单位"
197 197
                     style="width: 80px"
198
+                    @change="changeUnit(scope.row,scope.$index)"
198 199
                   >
199 200
                     <el-option
200 201
                       v-for="(option, index) in unitList"
@@ -251,9 +252,7 @@
251 252
 
252 253
           <el-table-column label="总价(元)" align="center" width="80">
253 254
             <template slot-scope="scope">
254
-              {{
255
-                calculate(scope.row.last_price * scope.row.warehousing_count)
256
-              }}
255
+              {{ calculate(scope.row.last_price * scope.row.warehousing_count) }}
257 256
             </template>
258 257
           </el-table-column>
259 258
 
@@ -682,6 +681,8 @@ export default {
682 681
       tempObj["dose_unit"] = "";
683 682
       tempObj["dealer"] = "";
684 683
       tempObj["last_price"] = "";
684
+      tempObj["count_unit"] = "";
685
+      tempObj["min_number"] = "";
685 686
       this.recordInfo.recordData.push(tempObj);
686 687
     },
687 688
     handleDelete: function (index, row) {
@@ -961,6 +962,8 @@ export default {
961 962
           this.recordInfo.recordData[i].number = val.number;
962 963
           this.recordInfo.recordData[i].max_unit = val.max_unit;
963 964
           this.recordInfo.recordData[i].min_unit = val.min_unit;
965
+          this.recordInfo.recordData[i].count_unit = val.max_unit;
966
+          this.recordInfo.recordData[i].min_number = val.min_number
964 967
           if (val.dealer == 0) {
965 968
             this.recordInfo.recordData[i].dealer = "";
966 969
           } else {
@@ -969,6 +972,19 @@ export default {
969 972
         }
970 973
       }
971 974
     },
975
+    changeUnit(val,index){
976
+    // console.log("val3232323232",val)
977
+    //  for(let i=0;i<this.recordInfo.recordData.length;i++){
978
+    //    if(i == index){
979
+    //      if(this.recordInfo.recordData[i].max_unit == this.recordInfo.recordData[i].count_unit){
980
+           
981
+    //      }
982
+    //      if(this.recordInfo.recordData[i].min_unit == this.recordInfo.recordData[i].count_unit){
983
+
984
+    //      }
985
+    //    }
986
+    //  }
987
+    }
972 988
   },
973 989
   created() {
974 990
     if (this.$route.path == "/Pharmacy/in/add") {
@@ -996,7 +1012,8 @@ export default {
996 1012
     tempObj["drug_name"] = "";
997 1013
     tempObj["dosage"] = "";
998 1014
     tempObj["max_unit"] = "";
999
-    (tempObj["min_unit"] = ""), (tempObj["lot_number"] = "");
1015
+    tempObj["min_unit"] = "", 
1016
+    tempObj["lot_number"] = "";
1000 1017
     tempObj["product_date"] = "";
1001 1018
     tempObj["expiry_date"] = "";
1002 1019
     tempObj["warehousing_count"] = "";
@@ -1009,6 +1026,8 @@ export default {
1009 1026
     tempObj["drug_type"] = "";
1010 1027
     tempObj["dealer"] = "";
1011 1028
     tempObj["number"] = "";
1029
+    tempObj["count_unit"] = "";
1030
+    tempObj["min_number"] = "";
1012 1031
     this.recordInfo.recordData.push(tempObj);
1013 1032
 
1014 1033
     this.GetConfigInfo();

+ 19 - 40
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue Прегледај датотеку

@@ -570,6 +570,7 @@ export default {
570 570
       tempObj["total_count"] = 0;
571 571
       tempObj["max_unit_fisrt"] = 0;
572 572
       tempObj["min_unit_fisrt"] = 0;
573
+      tempObj["total_price"] = 0;
573 574
       this.recordInfo.recordData.push(tempObj);
574 575
     },
575 576
     handleDelete: function (index, row) {
@@ -664,60 +665,42 @@ export default {
664 665
             return;
665 666
           }
666 667
           for (let i = 0; i < this.recordInfo.recordData.length; i++) {
667
-            this.recordInfo.recordData[i].price =
668
-              this.recordInfo.recordData[i].price.toString();
668
+            this.recordInfo.recordData[i].total_price = (this.recordInfo.recordData[i].count * this.recordInfo.recordData[i].price).toString()
669
+            this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].price.toString();
669 670
 
670 671
             for (let j = 0; j < this.manufacturerList.length; j++) {
671
-              if (
672
-                this.recordInfo.recordData[i].manufacturer ==
673
-                this.manufacturerList[j].manufacturer_name
674
-              ) {
675
-                this.recordInfo.recordData[i].manufacturer =
676
-                  this.manufacturerList[j].id;
672
+              if (this.recordInfo.recordData[i].manufacturer ==  this.manufacturerList[j].manufacturer_name) {
673
+                this.recordInfo.recordData[i].manufacturer = this.manufacturerList[j].id;
677 674
               }
678 675
             }
679 676
             if (this.recordInfo.recordData[i].dealer == "") {
680
-              this.recordInfo.recordData[i].dealer = 0;
677
+                this.recordInfo.recordData[i].dealer = 0;
681 678
             }
682 679
             for (let z = 0; z < this.dealerList.length; z++) {
683
-              if (
684
-                this.recordInfo.recordData[i].dealer ==
685
-                this.dealerList[z].dealer_name
686
-              ) {
680
+              if (this.recordInfo.recordData[i].dealer ==this.dealerList[z].dealer_name) {
687 681
                 this.recordInfo.recordData[i].dealer = this.dealerList[z].id;
688 682
               }
689 683
             }
690 684
 
691 685
             for (let y = 0; y < this.numberList.length; y++) {
692
-              if (
693
-                this.recordInfo.recordData[i].batch_number ==
694
-                this.numberList[y].id
695
-              ) {
696
-                this.recordInfo.recordData[i].batch_number =
697
-                  this.numberList[y].batch_number;
698
-                this.recordInfo.recordData[i].warehouse_info_id =
699
-                  this.numberList[y].id;
686
+              if (this.recordInfo.recordData[i].batch_number ==this.numberList[y].id) {
687
+                this.recordInfo.recordData[i].batch_number = this.numberList[y].batch_number;
688
+                this.recordInfo.recordData[i].warehouse_info_id = this.numberList[y].id;
700 689
               }
701 690
             }
702 691
             for (let s = 0; s < this.doctorList.length; s++) {
703
-              if (
704
-                this.recordInfo.recordData[i].admin_user_id ==
705
-                this.doctorList[s].user_name
706
-              ) {
707
-                this.recordInfo.recordData[i].admin_user_id =
708
-                  this.doctorList[s].admin_user_id;
692
+              if (this.recordInfo.recordData[i].admin_user_id == this.doctorList[s].user_name) {
693
+                 this.recordInfo.recordData[i].admin_user_id = this.doctorList[s].admin_user_id;
709 694
               }
710 695
             }
711 696
 
712
-            this.recordInfo.recordData[i].last_price =
713
-              this.recordInfo.recordData[i].last_price.toString();
714
-            this.recordInfo.recordData[i].stock_count =
715
-              this.recordInfo.recordData[i].stock_count.toString();
697
+            this.recordInfo.recordData[i].last_price = this.recordInfo.recordData[i].last_price.toString();
698
+            this.recordInfo.recordData[i].stock_count = this.recordInfo.recordData[i].stock_count.toString();
716 699
           }
717 700
           const params = {
718 701
             stockOut: this.recordInfo.recordData,
719 702
           };
720
-
703
+          console.log("param22222222",params)
721 704
           const loading = this.$loading({
722 705
             lock: true,
723 706
             text: "Loading",
@@ -917,7 +900,6 @@ export default {
917 900
     },
918 901
     changeUnit(val, index) {
919 902
       console.log("vla33232233232323232", val);
920
-
921 903
       this.getDrugBatchNumber(val.drug_id);
922 904
       for (let i = 0; i < this.recordInfo.recordData.length; i++) {
923 905
         if (this.recordInfo.recordData[i].drug_id == val.drug_id) {
@@ -926,16 +908,12 @@ export default {
926 908
             this.recordInfo.recordData[i].price = val.retail_price;
927 909
           }
928 910
           if (this.recordInfo.recordData[i].max_unit == val.min_unit) {
929
-            this.recordInfo.recordData[i].price =
930
-              this.recordInfo.recordData[i].min_price;
911
+            this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].min_price;
931 912
           }
932 913
         }
933 914
         for (let j = 0; j < this.numberList.length; j++) {
934
-          if (
935
-            this.recordInfo.recordData[i].batch_number == this.numberList[j].id
936
-          ) {
937
-            this.recordInfo.recordData[i].batch_number =
938
-              this.numberList[j].batch_number;
915
+          if (this.recordInfo.recordData[i].batch_number == this.numberList[j].id) {
916
+            this.recordInfo.recordData[i].batch_number = this.numberList[j].batch_number;
939 917
           }
940 918
         }
941 919
       }
@@ -1094,6 +1072,7 @@ export default {
1094 1072
     tempObj["total_count"] = 0;
1095 1073
     tempObj["max_unit_fisrt"] = 0;
1096 1074
     tempObj["min_unit_fisrt"] = 0;
1075
+    tempObj["total_price"] = 0;
1097 1076
     this.recordInfo.recordData.push(tempObj);
1098 1077
     this.GetConfigInfo();
1099 1078
     this.propForm.goodUnit = this.$store.getters.good_unit;

+ 12 - 6
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue Прегледај датотеку

@@ -7,7 +7,7 @@
7 7
     </div>
8 8
     <div class="app-container ">
9 9
       <div id="dialysis-print-box">
10
-        <div v-if="org_id!=9671 && org_id!=10210">
10
+        <div v-if="orgId!=9675 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877">
11 11
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
12 12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
13 13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -78,7 +78,7 @@
78 78
       </div> 
79 79
 
80 80
 
81
-      <div v-if="org_id == 9671 || org_id == 10210">
81
+      <div v-if="orgId == 9675 || orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877">
82 82
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
83 83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
84 84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -117,16 +117,21 @@
117 117
                   {{item.price}}
118 118
               </td>
119 119
              <td  style="line-height:50px">
120
-                {{(item.count * item.price).toFixed(2)}}
120
+                <span v-if="item.count_unit == item.min_unit">
121
+                   {{(item.count/item.min_number * item.price).toFixed(2)}}
122
+                </span>
123
+                <span v-else> {{(item.count * item.price).toFixed(2)}}</span>
124
+               
121 125
              </td>
122 126
              <td>{{item.batch_number}}</td>
123 127
              <td>{{(getTime(item.product_date))}}</td>
124
-             <td>{{(getTime(item.expire_date))}}</td>
128
+             <td>{{(getTime(item.expiry_date))}}</td>
125 129
             </tr>
130
+
126 131
              <tr>
127 132
                <td style="line-height:50px">合计</td>
128 133
                <td colspan="7"></td>
129
-               <td>{{getTotalPrince(it.xt_drug_warehouse_out_info).toFixed(2)}}</td>
134
+               <td>{{getTotalPrice(it.xt_drug_warehouse_out_info)}}</td>
130 135
              </tr>
131 136
             </tbody>
132 137
           </table>
@@ -401,9 +406,10 @@
401 406
             var manufacturerList = response.data.data.manufacturerList
402 407
            
403 408
             this.manufactureList = manufacturerList
404
-
409
+            
405 410
             this.tableList = info
406 411
             this.tableData = response.data.data.drug_warhouse_out
412
+            console.log("nfo32323223323223232323",this.tableData)
407 413
             this.loading = false
408 414
           }
409 415
         })

+ 5 - 0
src/xt_pages/stock/stockInOrder.vue Прегледај датотеку

@@ -277,6 +277,11 @@
277 277
             {{ scope.row.license_number}}
278 278
           </template>
279 279
         </el-table-column>
280
+        <el-table-column label="注册编码" align="center">
281
+          <template slot-scope="scope">
282
+            {{ scope.row.register_number}}
283
+          </template>
284
+        </el-table-column>
280 285
         <el-table-column label="备注" align="center">
281 286
           <template slot-scope="scope">
282 287
             {{ scope.row.remark }}

+ 14 - 1
src/xt_pages/stock/stockInOrderAdd.vue Прегледај датотеку

@@ -201,6 +201,16 @@
201 201
               </el-form-item>
202 202
             </template>
203 203
           </el-table-column>
204
+         <el-table-column align="center" width="150">
205
+            <template slot="header" slot-scope="scope">
206
+              <span>注册编码</span>
207
+            </template>
208
+            <template slot-scope="scope">
209
+              <el-form-item style="padding-top: 20px">
210
+                <el-input placeholder="请输入注册编码" v-model="scope.row.register_number" ></el-input>
211
+              </el-form-item>
212
+            </template>
213
+          </el-table-column>
204 214
            <el-table-column label="经销商" align="center" width="150">
205 215
              <template slot-scope="scope">
206 216
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商">
@@ -544,6 +554,7 @@
544 554
         tempObj['name'] = ''
545 555
         tempObj['license_number'] = ""
546 556
         tempObj["packing_price"] = ""
557
+        tempObj['register_number'] = ''
547 558
         this.recordInfo.recordData.push(tempObj)
548 559
       }, handleDelete: function(index, row) {
549 560
         if (this.recordInfo.recordData.length <= 1) {
@@ -795,6 +806,7 @@
795 806
         this.currentIndex = val
796 807
       },
797 808
       handleSelect(val){
809
+        console.log("al32323232323223",val)
798 810
          for(let i=0;i<this.recordInfo.recordData.length;i++){
799 811
            if(this.currentIndex == i){
800 812
               this.recordInfo.recordData[i].good_type_id = val.id
@@ -805,7 +817,7 @@
805 817
               this.recordInfo.recordData[i].manufacturer = val.manufacturer
806 818
               this.recordInfo.recordData[i].remark = val.remark
807 819
               this.recordInfo.recordData[i].license_number = val.number
808
-           
820
+              this.recordInfo.recordData[i].register_number = val.register_number
809 821
               if(val.buy_price == 0){
810 822
                this.recordInfo.recordData[i].price = ""
811 823
               }else{
@@ -861,6 +873,7 @@
861 873
       tempObj['name'] = ''
862 874
       tempObj['license_number'] = ''
863 875
       tempObj['packing_price']= ''
876
+      tempObj['register_number'] = ''
864 877
       this.recordInfo.recordData.push(tempObj)
865 878
       this.GetConfigInfo()
866 879
       this.propForm.goodUnit = this.$store.getters.good_unit

+ 12 - 2
src/xt_pages/stock/stockInOrderEdit.vue Прегледај датотеку

@@ -245,8 +245,6 @@
245 245
             </template>
246 246
           </el-table-column>
247 247
 
248
-         
249
-        
250 248
            <el-table-column align="center" width="150">
251 249
             <template slot="header" slot-scope="scope">
252 250
               <span>批准文号</span>
@@ -261,6 +259,16 @@
261 259
               </el-form-item>
262 260
             </template>
263 261
           </el-table-column>
262
+          <el-table-column align="center" width="150">
263
+            <template slot="header" slot-scope="scope">
264
+              <span>注册编码</span>
265
+            </template>
266
+            <template slot-scope="scope">
267
+              <el-form-item style="padding-top: 20px">
268
+                <el-input placeholder="请输入注册编码" v-model="scope.row.register_number" ></el-input>
269
+              </el-form-item>
270
+            </template>
271
+          </el-table-column>
264 272
           <el-table-column label="经销商" align="center" width="150">
265 273
              <template slot-scope="scope">
266 274
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商">
@@ -785,6 +793,7 @@ export default {
785 793
             tempObj["dealer"] = "";
786 794
             tempObj["manufacturer"] = "";
787 795
             tempObj["license_number"] = ""
796
+            tempObj["register_number"] = ""
788 797
             this.recordInfo.recordData.push(tempObj);
789 798
           }
790 799
         }
@@ -837,6 +846,7 @@ export default {
837 846
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
838 847
             this.recordInfo.recordData[i].remark = val.remark
839 848
             this.recordInfo.recordData[i].license_number = val.number
849
+            this.recordInfo.recordData[i].register_number = val.register_number
840 850
             if(val.buy_price == 0){
841 851
                this.recordInfo.recordData[i].price= ""
842 852
             }else{

+ 5 - 0
src/xt_pages/stock/stockOutOrder.vue Прегледај датотеку

@@ -294,6 +294,11 @@
294 294
               {{ scope.row.license_number}}
295 295
             </template>
296 296
           </el-table-column> -->
297
+            <el-table-column label="注册编码" align="center">
298
+            <template slot-scope="scope">
299
+              {{ scope.row.register_number}}
300
+            </template>
301
+          </el-table-column>
297 302
           <el-table-column label="备注" align="center">
298 303
             <template slot-scope="scope">
299 304
               {{ scope.row.remark }}

+ 14 - 1
src/xt_pages/stock/stockOutOrderAdd.vue Прегледај датотеку

@@ -277,7 +277,17 @@
277 277
               <el-input placeholder="请输入批准文号" v-model="scope.row.license_number" ></el-input>
278 278
           </template>
279 279
         </el-table-column>
280
-
280
+       
281
+        <el-table-column align="center" width="150">
282
+            <template slot="header" slot-scope="scope">
283
+              <span>注册编码</span>
284
+            </template>
285
+            <template slot-scope="scope">
286
+              <el-form-item style="padding-top: 20px">
287
+                <el-input placeholder="请输入注册编码" v-model="scope.row.register_number" ></el-input>
288
+              </el-form-item>
289
+            </template>
290
+        </el-table-column>
281 291
 
282 292
           <el-table-column label="经销商"  width="150" align="center">
283 293
             <template slot-scope="scope">
@@ -515,6 +525,7 @@ export default {
515 525
       tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
516 526
       tempObj["buy_price"]= ""
517 527
       tempObj["stock_count"] = ""
528
+      tempObj['register_number'] = ''
518 529
       this.recordInfo.recordData.push(tempObj);
519 530
     },
520 531
     handleDelete: function(index, row) {
@@ -799,6 +810,7 @@ export default {
799 810
             this.recordInfo.recordData[i].buy_price = val.buy_price
800 811
             this.recordInfo.recordData[i].stock_count = total_count
801 812
             this.recordInfo.recordData[i].license_number = val.number
813
+            this.recordInfo.recordData[i].register_number = val.register_number
802 814
             if(val.packing_price == 0){
803 815
               this.recordInfo.recordData[i].price =""
804 816
             }else{
@@ -890,6 +902,7 @@ export default {
890 902
     tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
891 903
     tempObj["buy_price"]= ""
892 904
     tempObj["stock_count"] = ""
905
+    tempObj['register_number'] = ''
893 906
     this.recordInfo.recordData.push(tempObj);
894 907
     this.GetConfigInfo();
895 908
   

+ 12 - 0
src/xt_pages/stock/stockOutOrderEdit.vue Прегледај датотеку

@@ -261,6 +261,17 @@
261 261
           </template>
262 262
         </el-table-column>
263 263
 
264
+        <el-table-column align="center" width="150">
265
+            <template slot="header" slot-scope="scope">
266
+              <span>注册编码</span>
267
+            </template>
268
+            <template slot-scope="scope">
269
+              <el-form-item style="padding-top: 20px">
270
+                <el-input placeholder="请输入注册编码" v-model="scope.row.register_number" ></el-input>
271
+              </el-form-item>
272
+            </template>
273
+        </el-table-column>
274
+
264 275
           <el-table-column label="经销商"  width="150" align="center">
265 276
             <template slot-scope="scope">
266 277
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商"  :disabled="stockShow">
@@ -492,6 +503,7 @@
492 503
         tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
493 504
         tempObj["buy_price"]= ""
494 505
         tempObj["stock_count"] = ""
506
+        tempObj['register_number'] = ''
495 507
         this.recordInfo.recordData.push(tempObj)
496 508
       },
497 509
       handleDelete: function(index, row) {

+ 3 - 3
src/xt_pages/stock/stockPrint.vue Прегледај датотеку

@@ -49,7 +49,7 @@
49 49
                                    <td v-if="end_time == ''">
50 50
                                       <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10290 || org_id == 10265 || org_id == 10210">
51 51
                                         <span>
52
-                                          {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info) + getCancelSotckInfo(item.cancel_stock_info)}}
52
+                                          {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info)}}
53 53
                                         </span>
54 54
                                       </span>
55 55
                                       <span v-else>{{getAutoCount(item.id) + getOutCount(item.id)}} </span>
@@ -64,11 +64,11 @@
64 64
                                         {{getOverFlushInfo(item.xt_warehouse_info)}}
65 65
                                      </span>
66 66
                                      <span v-else>
67
-                                       {{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id) + getCancelCount(item.id) }}
67
+                                       {{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id)}}
68 68
                                      </span>
69 69
                                    </td>
70 70
                                    <td v-if="end_time!=''">
71
-                                    {{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id) + getCancelCount(item.id) }}
71
+                                    {{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id)  }}
72 72
                                    </td>
73 73
                                 </tr>
74 74
                             </tbody>

+ 4 - 2
src/xt_pages/user/dialysisSolution.vue Прегледај датотеку

@@ -1586,7 +1586,9 @@ export default {
1586 1586
       this.addPlan.hemodialysis_machine = row.hemodialysis_machine + ''
1587 1587
       this.addPlan.perfusion_apparatus = row.perfusion_apparatus + ''
1588 1588
       this.addPlan.max_ultrafiltration_rate = row.max_ultrafiltration_rate
1589
-
1589
+      this.addPlan.anticoagulant_zongliang = row.anticoagulant_zongliang
1590
+      this.addPlan.anticoagulant_shouji = row.anticoagulant_shouji
1591
+      this.addPlan.anticoagulant_weichi = row.anticoagulant_weichi
1590 1592
       // this.addPlan.oxygen_uptake = row.oxygen_uptake
1591 1593
       // this.addPlan.hemodialysis_pipelines = row.hemodialysis_pipelines
1592 1594
       // this.addPlan.hemodialysis_pipelines_count = row.hemodialysis_pipelines_count
@@ -1751,7 +1753,7 @@ export default {
1751 1753
     },
1752 1754
     isShows(name) {
1753 1755
       var filedList = store.getters.xt_user.fileds
1754
-      console.log("filedList2323232",filedList)
1756
+      
1755 1757
       for (let i = 0; i < filedList.length; i++) {
1756 1758
         if (
1757 1759
           filedList[i].module == 1 &&