Browse Source

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

csx 2 years ago
parent
commit
d4aa99fc4e
32 changed files with 6976 additions and 2572 deletions
  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 View File

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

+ 4 - 4
src/xt_pages/data/components/editInspection.vue View File

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

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

111
           <label>目标超滤量 : </label>
111
           <label>目标超滤量 : </label>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
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
         </li>
116
         </li>
117
 
117
 
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
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 View File

87
                     </el-col>
87
                     </el-col>
88
 
88
 
89
                     <el-col :span="8"
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
                         <el-form-item label="目标超滤量(ml):">
91
                         <el-form-item label="目标超滤量(ml):">
92
                             <el-input
92
                             <el-input
93
                                     type="number"
93
                                     type="number"
98
 
98
 
99
 
99
 
100
                     <el-col :span="8"
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
                         <el-form-item label="目标超滤量(L):">
102
                         <el-form-item label="目标超滤量(L):">
103
                             <el-input
103
                             <el-input
104
                                     type="number"
104
                                     type="number"
369
 
369
 
370
 
370
 
371
                     <el-col :span="8"
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
                             v-show="zhiShow">
373
                             v-show="zhiShow">
374
                         <el-form-item label="置换量(ml):">
374
                         <el-form-item label="置换量(ml):">
375
                             <el-input
375
                             <el-input
379
                         </el-form-item>
379
                         </el-form-item>
380
                     </el-col>
380
                     </el-col>
381
                     <el-col :span="8"
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
                             v-show="zhiShow">
383
                             v-show="zhiShow">
384
                         <el-form-item label="置换量(L):">
384
                         <el-form-item label="置换量(L):">
385
                             <el-input
385
                             <el-input
401
 
401
 
402
                     <el-col
402
                     <el-col
403
                             :span="8"
403
                             :span="8"
404
-                            v-if="anticoagulant.gaimingcheng != -1 && isShows('钙名称')"
404
+                            v-if="isShows('钙名称')"
405
                     >
405
                     >
406
                         <el-form-item label="钙名称 : ">
406
                         <el-form-item label="钙名称 : ">
407
                             <el-input
407
                             <el-input
408
                                     v-model="dialysisPrescription.anticoagulant_gaimingcheng"
408
                                     v-model="dialysisPrescription.anticoagulant_gaimingcheng"
409
-                                    :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
410
                                     placeholder="钙名称"
409
                                     placeholder="钙名称"
411
                             ></el-input>
410
                             ></el-input>
412
                         </el-form-item>
411
                         </el-form-item>
613
                     </el-col>
612
                     </el-col>
614
 
613
 
615
                     <el-col :span="8"
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
                             v-show="totalShow">
616
                             v-show="totalShow">
618
                         <el-form-item label="置换液总量(ml)">
617
                         <el-form-item label="置换液总量(ml)">
619
                             <el-input
618
                             <el-input
622
                         </el-form-item>
621
                         </el-form-item>
623
                     </el-col>
622
                     </el-col>
624
                     <el-col :span="8"
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
                             v-show="totalShow">
625
                             v-show="totalShow">
627
                         <el-form-item label="置换液总量(L)">
626
                         <el-form-item label="置换液总量(L)">
628
                             <el-input
627
                             <el-input

+ 18 - 3
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

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

+ 8 - 8
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
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
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
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
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
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
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
28
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
29
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
29
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
30
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>
30
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>

+ 32 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

677
           >打印</el-button
677
           >打印</el-button
678
         >
678
         >
679
       </template>
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
     </div>
691
     </div>
681
     <div class="app-container" style="min-height: 0">
692
     <div class="app-container" style="min-height: 0">
682
       <!--<div class="order-print-btn"-->
693
       <!--<div class="order-print-btn"-->
1073
             v-if="org_template_info.template_id == 53"
1084
             v-if="org_template_info.template_id == 53"
1074
           >
1085
           >
1075
           </DialysisPrintOrderFiftyThree>
1086
           </DialysisPrintOrderFiftyThree>
1087
+           <DialysisPrintOrderFiftyFour
1088
+            v-bind:childResponse="childResponse"
1089
+            v-if="org_template_info.template_id == 54"
1090
+          >
1091
+          </DialysisPrintOrderFiftyFour>
1092
+          
1076
         </div>
1093
         </div>
1077
       </el-container>
1094
       </el-container>
1078
     </div>
1095
     </div>
1144
 import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
1161
 import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
1145
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1162
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1146
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1163
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1164
+import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour"
1147
 export default {
1165
 export default {
1148
   name: "dialysisPrintOrder",
1166
   name: "dialysisPrintOrder",
1149
   components: {
1167
   components: {
1168
+    DialysisPrintOrderFiftyFour,
1150
     DialysisPrintOrderFiftyThree,
1169
     DialysisPrintOrderFiftyThree,
1151
     DialysisPrintOrderFiftyTwo,
1170
     DialysisPrintOrderFiftyTwo,
1152
     DialysisPrintOrderFiftyOne,
1171
     DialysisPrintOrderFiftyOne,
1385
         '@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;}';
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
       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;}';
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
       if (this.org_template_info.template_id == 1) {
1410
       if (this.org_template_info.template_id == 1) {
1390
         printJS({
1411
         printJS({
1430
         this.org_template_info.template_id == 11 ||
1451
         this.org_template_info.template_id == 11 ||
1431
         this.org_template_info.template_id == 49 ||
1452
         this.org_template_info.template_id == 49 ||
1432
         this.org_template_info.template_id == 50 ||
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
         printJS({
1457
         printJS({
1436
           printable: "dialysis-print-box-1",
1458
           printable: "dialysis-print-box-1",
1732
           style: style12,
1754
           style: style12,
1733
           scanStyles: false,
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
     printThisOnePage() {
1768
     printThisOnePage() {

File diff suppressed because it is too large
+ 1889 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue


+ 9 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

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

File diff suppressed because it is too large
+ 2322 - 851
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


File diff suppressed because it is too large
+ 838 - 368
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue


File diff suppressed because it is too large
+ 425 - 247
src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue


File diff suppressed because it is too large
+ 1032 - 804
src/xt_pages/hospitalStation/summary.vue


+ 1 - 2
src/xt_pages/outpatientCharges/listTemplate/printTwo10265.vue View File

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

+ 1 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

2890
         }
2890
         }
2891
 
2891
 
2892
         if (this.hisPatientInfo.id_card_type == 1) {
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
             this.pwdFormVisible = true
2894
             this.pwdFormVisible = true
2895
             this.pwd = ''
2895
             this.pwd = ''
2896
           } else {
2896
           } else {

+ 0 - 5
src/xt_pages/outpatientCharges/summary.vue View File

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

+ 4 - 3
src/xt_pages/outpatientDoctorStation/recordPrint.vue View File

19
           org_id != 9671 &&
19
           org_id != 9671 &&
20
           org_id != 0 &&
20
           org_id != 0 &&
21
           org_id != 10164 &&
21
           org_id != 10164 &&
22
-          org_id == 10188 &&
22
+          org_id != 10188 &&
23
           org_id != 10318
23
           org_id != 10318
24
         "
24
         "
25
         ref="printOne"
25
         ref="printOne"
144
       const style2 =
144
       const style2 =
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;}}";
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
         printJS({
148
         printJS({
149
           printable: "prescription-print",
149
           printable: "prescription-print",
150
           type: "html",
150
           type: "html",
153
         });
153
         });
154
       } else if (
154
       } else if (
155
         this.org_id == 10217 ||
155
         this.org_id == 10217 ||
156
-        this.org_id == 9675
156
+        this.org_id == 9675 ||
157
+        this.org_id == 10188
157
       ) {
158
       ) {
158
         printJS({
159
         printJS({
159
           printable: "prescription-print",
160
           printable: "prescription-print",

+ 85 - 72
src/xt_pages/outpatientTool/components/detailStatistics.vue View File

238
       }
238
       }
239
     },
239
     },
240
     searchAction() {
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
       this.getHisSummaryDetailList();
261
       this.getHisSummaryDetailList();
262
     },
262
     },
263
     changeDate() {
263
     changeDate() {
267
     },
267
     },
268
     changeItem(id) {
268
     changeItem(id) {
269
       this.id = id;
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
       this.getHisSummaryDetailList();
290
       this.getHisSummaryDetailList();
291
     },
291
     },
292
     getHisSummaryDetailList() {
292
     getHisSummaryDetailList() {
330
 
330
 
331
           var new_arr = [];
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
           if (this.keywords != "") {
348
           if (this.keywords != "") {
336
             for (let i = 0; i < this.tableData.length; i++) {
349
             for (let i = 0; i < this.tableData.length; i++) {
337
               if (this.tableData[i].index != "合计") {
350
               if (this.tableData[i].index != "合计") {
491
       // start_time: this.chargeDate[0],
504
       // start_time: this.chargeDate[0],
492
       // end_time: this.chargeDate[1],
505
       // end_time: this.chargeDate[1],
493
       // patient_id:this.patient_id
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
     getPrice(val) {
528
     getPrice(val) {
516
       var total_price = 0;
529
       var total_price = 0;
521
     },
534
     },
522
   },
535
   },
523
   created() {
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
     this.start_time = this.chargeDate[0];
548
     this.start_time = this.chargeDate[0];
536
     this.end_time = this.chargeDate[1];
549
     this.end_time = this.chargeDate[1];
537
     this.getHisSummaryDetailList();
550
     this.getHisSummaryDetailList();

+ 102 - 95
src/xt_pages/outpatientTool/components/gatherStatistics.vue View File

234
   },
234
   },
235
   methods: {
235
   methods: {
236
     searchAction() {
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
       this.tableList = [];
257
       this.tableList = [];
258
       this.getGatherDetailList();
258
       this.getGatherDetailList();
259
-      console.log(this.tableList, "查看条约");
259
+      // console.log(this.tableList, "查看条约");
260
     },
260
     },
261
     getPrice(val) {
261
     getPrice(val) {
262
       var total_price = 0;
262
       var total_price = 0;
272
     },
272
     },
273
     changeItem(id) {
273
     changeItem(id) {
274
       this.id = id;
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
       this.tableList = [];
295
       this.tableList = [];
296
       this.getGatherDetailList();
296
       this.getGatherDetailList();
297
     },
297
     },
440
           this.medicalInsuranceLevelList =
440
           this.medicalInsuranceLevelList =
441
             response.data.data.medicalInsuranceLevelList;
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
           if (this.id == 1) {
470
           if (this.id == 1) {
464
             var new_arr = [];
471
             var new_arr = [];
465
             for (let i = 0; i < this.tableList.length; i++) {
472
             for (let i = 0; i < this.tableList.length; i++) {
820
           "&id=" +
827
           "&id=" +
821
           this.id,
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
     toPrintInvoice() {
851
     toPrintInvoice() {
845
       this.$router.push({
852
       this.$router.push({
1245
       return name;
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
     this.start_time = this.chargeDate[0];
1272
     this.start_time = this.chargeDate[0];
1264
     this.end_time = this.chargeDate[1];
1273
     this.end_time = this.chargeDate[1];
1265
     this.tableList = [];
1274
     this.tableList = [];
1266
     this.getGatherDetailList();
1275
     this.getGatherDetailList();
1267
-    // console.log(this.start_time,this.end_time,'ooooooo')
1268
-    
1269
   },
1276
   },
1270
   watch: {
1277
   watch: {
1271
     patient_id: function () {
1278
     patient_id: function () {

+ 63 - 17
src/xt_pages/outpatientTool/detailPrint.vue View File

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

+ 1 - 2
src/xt_pages/outpatientTool/statistics.vue View File

167
 
167
 
168
     onRowClick(row, event, column) {
168
     onRowClick(row, event, column) {
169
       this.currentRowIndex = row.row_index;
169
       this.currentRowIndex = row.row_index;
170
-      console.log(this.currentRowIndex, "this.currentRowIndex");
171
       this.$store.commit("SET_PAGEDATA", {
170
       this.$store.commit("SET_PAGEDATA", {
172
         table_id: this.currentRowIndex,
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
     searchAction() {
175
     searchAction() {
177
       this.getPatientList();
176
       this.getPatientList();

+ 23 - 4
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

195
                     filterable
195
                     filterable
196
                     placeholder="请选择单位"
196
                     placeholder="请选择单位"
197
                     style="width: 80px"
197
                     style="width: 80px"
198
+                    @change="changeUnit(scope.row,scope.$index)"
198
                   >
199
                   >
199
                     <el-option
200
                     <el-option
200
                       v-for="(option, index) in unitList"
201
                       v-for="(option, index) in unitList"
251
 
252
 
252
           <el-table-column label="总价(元)" align="center" width="80">
253
           <el-table-column label="总价(元)" align="center" width="80">
253
             <template slot-scope="scope">
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
             </template>
256
             </template>
258
           </el-table-column>
257
           </el-table-column>
259
 
258
 
682
       tempObj["dose_unit"] = "";
681
       tempObj["dose_unit"] = "";
683
       tempObj["dealer"] = "";
682
       tempObj["dealer"] = "";
684
       tempObj["last_price"] = "";
683
       tempObj["last_price"] = "";
684
+      tempObj["count_unit"] = "";
685
+      tempObj["min_number"] = "";
685
       this.recordInfo.recordData.push(tempObj);
686
       this.recordInfo.recordData.push(tempObj);
686
     },
687
     },
687
     handleDelete: function (index, row) {
688
     handleDelete: function (index, row) {
961
           this.recordInfo.recordData[i].number = val.number;
962
           this.recordInfo.recordData[i].number = val.number;
962
           this.recordInfo.recordData[i].max_unit = val.max_unit;
963
           this.recordInfo.recordData[i].max_unit = val.max_unit;
963
           this.recordInfo.recordData[i].min_unit = val.min_unit;
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
           if (val.dealer == 0) {
967
           if (val.dealer == 0) {
965
             this.recordInfo.recordData[i].dealer = "";
968
             this.recordInfo.recordData[i].dealer = "";
966
           } else {
969
           } else {
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
   created() {
989
   created() {
974
     if (this.$route.path == "/Pharmacy/in/add") {
990
     if (this.$route.path == "/Pharmacy/in/add") {
996
     tempObj["drug_name"] = "";
1012
     tempObj["drug_name"] = "";
997
     tempObj["dosage"] = "";
1013
     tempObj["dosage"] = "";
998
     tempObj["max_unit"] = "";
1014
     tempObj["max_unit"] = "";
999
-    (tempObj["min_unit"] = ""), (tempObj["lot_number"] = "");
1015
+    tempObj["min_unit"] = "", 
1016
+    tempObj["lot_number"] = "";
1000
     tempObj["product_date"] = "";
1017
     tempObj["product_date"] = "";
1001
     tempObj["expiry_date"] = "";
1018
     tempObj["expiry_date"] = "";
1002
     tempObj["warehousing_count"] = "";
1019
     tempObj["warehousing_count"] = "";
1009
     tempObj["drug_type"] = "";
1026
     tempObj["drug_type"] = "";
1010
     tempObj["dealer"] = "";
1027
     tempObj["dealer"] = "";
1011
     tempObj["number"] = "";
1028
     tempObj["number"] = "";
1029
+    tempObj["count_unit"] = "";
1030
+    tempObj["min_number"] = "";
1012
     this.recordInfo.recordData.push(tempObj);
1031
     this.recordInfo.recordData.push(tempObj);
1013
 
1032
 
1014
     this.GetConfigInfo();
1033
     this.GetConfigInfo();

+ 19 - 40
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue View File

570
       tempObj["total_count"] = 0;
570
       tempObj["total_count"] = 0;
571
       tempObj["max_unit_fisrt"] = 0;
571
       tempObj["max_unit_fisrt"] = 0;
572
       tempObj["min_unit_fisrt"] = 0;
572
       tempObj["min_unit_fisrt"] = 0;
573
+      tempObj["total_price"] = 0;
573
       this.recordInfo.recordData.push(tempObj);
574
       this.recordInfo.recordData.push(tempObj);
574
     },
575
     },
575
     handleDelete: function (index, row) {
576
     handleDelete: function (index, row) {
664
             return;
665
             return;
665
           }
666
           }
666
           for (let i = 0; i < this.recordInfo.recordData.length; i++) {
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
             for (let j = 0; j < this.manufacturerList.length; j++) {
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
             if (this.recordInfo.recordData[i].dealer == "") {
676
             if (this.recordInfo.recordData[i].dealer == "") {
680
-              this.recordInfo.recordData[i].dealer = 0;
677
+                this.recordInfo.recordData[i].dealer = 0;
681
             }
678
             }
682
             for (let z = 0; z < this.dealerList.length; z++) {
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
                 this.recordInfo.recordData[i].dealer = this.dealerList[z].id;
681
                 this.recordInfo.recordData[i].dealer = this.dealerList[z].id;
688
               }
682
               }
689
             }
683
             }
690
 
684
 
691
             for (let y = 0; y < this.numberList.length; y++) {
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
             for (let s = 0; s < this.doctorList.length; s++) {
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
           const params = {
700
           const params = {
718
             stockOut: this.recordInfo.recordData,
701
             stockOut: this.recordInfo.recordData,
719
           };
702
           };
720
-
703
+          console.log("param22222222",params)
721
           const loading = this.$loading({
704
           const loading = this.$loading({
722
             lock: true,
705
             lock: true,
723
             text: "Loading",
706
             text: "Loading",
917
     },
900
     },
918
     changeUnit(val, index) {
901
     changeUnit(val, index) {
919
       console.log("vla33232233232323232", val);
902
       console.log("vla33232233232323232", val);
920
-
921
       this.getDrugBatchNumber(val.drug_id);
903
       this.getDrugBatchNumber(val.drug_id);
922
       for (let i = 0; i < this.recordInfo.recordData.length; i++) {
904
       for (let i = 0; i < this.recordInfo.recordData.length; i++) {
923
         if (this.recordInfo.recordData[i].drug_id == val.drug_id) {
905
         if (this.recordInfo.recordData[i].drug_id == val.drug_id) {
926
             this.recordInfo.recordData[i].price = val.retail_price;
908
             this.recordInfo.recordData[i].price = val.retail_price;
927
           }
909
           }
928
           if (this.recordInfo.recordData[i].max_unit == val.min_unit) {
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
         for (let j = 0; j < this.numberList.length; j++) {
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
     tempObj["total_count"] = 0;
1072
     tempObj["total_count"] = 0;
1095
     tempObj["max_unit_fisrt"] = 0;
1073
     tempObj["max_unit_fisrt"] = 0;
1096
     tempObj["min_unit_fisrt"] = 0;
1074
     tempObj["min_unit_fisrt"] = 0;
1075
+    tempObj["total_price"] = 0;
1097
     this.recordInfo.recordData.push(tempObj);
1076
     this.recordInfo.recordData.push(tempObj);
1098
     this.GetConfigInfo();
1077
     this.GetConfigInfo();
1099
     this.propForm.goodUnit = this.$store.getters.good_unit;
1078
     this.propForm.goodUnit = this.$store.getters.good_unit;

+ 12 - 6
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue View File

7
     </div>
7
     </div>
8
     <div class="app-container ">
8
     <div class="app-container ">
9
       <div id="dialysis-print-box">
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
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
11
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
78
       </div> 
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
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
82
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
117
                   {{item.price}}
117
                   {{item.price}}
118
               </td>
118
               </td>
119
              <td  style="line-height:50px">
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
              </td>
125
              </td>
122
              <td>{{item.batch_number}}</td>
126
              <td>{{item.batch_number}}</td>
123
              <td>{{(getTime(item.product_date))}}</td>
127
              <td>{{(getTime(item.product_date))}}</td>
124
-             <td>{{(getTime(item.expire_date))}}</td>
128
+             <td>{{(getTime(item.expiry_date))}}</td>
125
             </tr>
129
             </tr>
130
+
126
              <tr>
131
              <tr>
127
                <td style="line-height:50px">合计</td>
132
                <td style="line-height:50px">合计</td>
128
                <td colspan="7"></td>
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
              </tr>
135
              </tr>
131
             </tbody>
136
             </tbody>
132
           </table>
137
           </table>
401
             var manufacturerList = response.data.data.manufacturerList
406
             var manufacturerList = response.data.data.manufacturerList
402
            
407
            
403
             this.manufactureList = manufacturerList
408
             this.manufactureList = manufacturerList
404
-
409
+            
405
             this.tableList = info
410
             this.tableList = info
406
             this.tableData = response.data.data.drug_warhouse_out
411
             this.tableData = response.data.data.drug_warhouse_out
412
+            console.log("nfo32323223323223232323",this.tableData)
407
             this.loading = false
413
             this.loading = false
408
           }
414
           }
409
         })
415
         })

+ 5 - 0
src/xt_pages/stock/stockInOrder.vue View File

277
             {{ scope.row.license_number}}
277
             {{ scope.row.license_number}}
278
           </template>
278
           </template>
279
         </el-table-column>
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
         <el-table-column label="备注" align="center">
285
         <el-table-column label="备注" align="center">
281
           <template slot-scope="scope">
286
           <template slot-scope="scope">
282
             {{ scope.row.remark }}
287
             {{ scope.row.remark }}

+ 14 - 1
src/xt_pages/stock/stockInOrderAdd.vue View File

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

+ 12 - 2
src/xt_pages/stock/stockInOrderEdit.vue View File

245
             </template>
245
             </template>
246
           </el-table-column>
246
           </el-table-column>
247
 
247
 
248
-         
249
-        
250
            <el-table-column align="center" width="150">
248
            <el-table-column align="center" width="150">
251
             <template slot="header" slot-scope="scope">
249
             <template slot="header" slot-scope="scope">
252
               <span>批准文号</span>
250
               <span>批准文号</span>
261
               </el-form-item>
259
               </el-form-item>
262
             </template>
260
             </template>
263
           </el-table-column>
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
           <el-table-column label="经销商" align="center" width="150">
272
           <el-table-column label="经销商" align="center" width="150">
265
              <template slot-scope="scope">
273
              <template slot-scope="scope">
266
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商">
274
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商">
785
             tempObj["dealer"] = "";
793
             tempObj["dealer"] = "";
786
             tempObj["manufacturer"] = "";
794
             tempObj["manufacturer"] = "";
787
             tempObj["license_number"] = ""
795
             tempObj["license_number"] = ""
796
+            tempObj["register_number"] = ""
788
             this.recordInfo.recordData.push(tempObj);
797
             this.recordInfo.recordData.push(tempObj);
789
           }
798
           }
790
         }
799
         }
837
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
846
             this.recordInfo.recordData[i].manufacturer = val.manufacturer
838
             this.recordInfo.recordData[i].remark = val.remark
847
             this.recordInfo.recordData[i].remark = val.remark
839
             this.recordInfo.recordData[i].license_number = val.number
848
             this.recordInfo.recordData[i].license_number = val.number
849
+            this.recordInfo.recordData[i].register_number = val.register_number
840
             if(val.buy_price == 0){
850
             if(val.buy_price == 0){
841
                this.recordInfo.recordData[i].price= ""
851
                this.recordInfo.recordData[i].price= ""
842
             }else{
852
             }else{

+ 5 - 0
src/xt_pages/stock/stockOutOrder.vue View File

294
               {{ scope.row.license_number}}
294
               {{ scope.row.license_number}}
295
             </template>
295
             </template>
296
           </el-table-column> -->
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
           <el-table-column label="备注" align="center">
302
           <el-table-column label="备注" align="center">
298
             <template slot-scope="scope">
303
             <template slot-scope="scope">
299
               {{ scope.row.remark }}
304
               {{ scope.row.remark }}

+ 14 - 1
src/xt_pages/stock/stockOutOrderAdd.vue View File

277
               <el-input placeholder="请输入批准文号" v-model="scope.row.license_number" ></el-input>
277
               <el-input placeholder="请输入批准文号" v-model="scope.row.license_number" ></el-input>
278
           </template>
278
           </template>
279
         </el-table-column>
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
           <el-table-column label="经销商"  width="150" align="center">
292
           <el-table-column label="经销商"  width="150" align="center">
283
             <template slot-scope="scope">
293
             <template slot-scope="scope">
515
       tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
525
       tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
516
       tempObj["buy_price"]= ""
526
       tempObj["buy_price"]= ""
517
       tempObj["stock_count"] = ""
527
       tempObj["stock_count"] = ""
528
+      tempObj['register_number'] = ''
518
       this.recordInfo.recordData.push(tempObj);
529
       this.recordInfo.recordData.push(tempObj);
519
     },
530
     },
520
     handleDelete: function(index, row) {
531
     handleDelete: function(index, row) {
799
             this.recordInfo.recordData[i].buy_price = val.buy_price
810
             this.recordInfo.recordData[i].buy_price = val.buy_price
800
             this.recordInfo.recordData[i].stock_count = total_count
811
             this.recordInfo.recordData[i].stock_count = total_count
801
             this.recordInfo.recordData[i].license_number = val.number
812
             this.recordInfo.recordData[i].license_number = val.number
813
+            this.recordInfo.recordData[i].register_number = val.register_number
802
             if(val.packing_price == 0){
814
             if(val.packing_price == 0){
803
               this.recordInfo.recordData[i].price =""
815
               this.recordInfo.recordData[i].price =""
804
             }else{
816
             }else{
890
     tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
902
     tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
891
     tempObj["buy_price"]= ""
903
     tempObj["buy_price"]= ""
892
     tempObj["stock_count"] = ""
904
     tempObj["stock_count"] = ""
905
+    tempObj['register_number'] = ''
893
     this.recordInfo.recordData.push(tempObj);
906
     this.recordInfo.recordData.push(tempObj);
894
     this.GetConfigInfo();
907
     this.GetConfigInfo();
895
   
908
   

+ 12 - 0
src/xt_pages/stock/stockOutOrderEdit.vue View File

261
           </template>
261
           </template>
262
         </el-table-column>
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
           <el-table-column label="经销商"  width="150" align="center">
275
           <el-table-column label="经销商"  width="150" align="center">
265
             <template slot-scope="scope">
276
             <template slot-scope="scope">
266
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商"  :disabled="stockShow">
277
                <el-select size="small" v-model="scope.row.dealer" filterable placeholder="请选择厂商"  :disabled="stockShow">
492
         tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
503
         tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name
493
         tempObj["buy_price"]= ""
504
         tempObj["buy_price"]= ""
494
         tempObj["stock_count"] = ""
505
         tempObj["stock_count"] = ""
506
+        tempObj['register_number'] = ''
495
         this.recordInfo.recordData.push(tempObj)
507
         this.recordInfo.recordData.push(tempObj)
496
       },
508
       },
497
       handleDelete: function(index, row) {
509
       handleDelete: function(index, row) {

+ 3 - 3
src/xt_pages/stock/stockPrint.vue View File

49
                                    <td v-if="end_time == ''">
49
                                    <td v-if="end_time == ''">
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">
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
                                         <span>
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
                                         </span>
53
                                         </span>
54
                                       </span>
54
                                       </span>
55
                                       <span v-else>{{getAutoCount(item.id) + getOutCount(item.id)}} </span>
55
                                       <span v-else>{{getAutoCount(item.id) + getOutCount(item.id)}} </span>
64
                                         {{getOverFlushInfo(item.xt_warehouse_info)}}
64
                                         {{getOverFlushInfo(item.xt_warehouse_info)}}
65
                                      </span>
65
                                      </span>
66
                                      <span v-else>
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
                                      </span>
68
                                      </span>
69
                                    </td>
69
                                    </td>
70
                                    <td v-if="end_time!=''">
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
                                    </td>
72
                                    </td>
73
                                 </tr>
73
                                 </tr>
74
                             </tbody>
74
                             </tbody>

+ 4 - 2
src/xt_pages/user/dialysisSolution.vue View File

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