Ver código fonte

11月14日 库存扣减更新

XMLWAN 3 anos atrás
pai
commit
68d638b461

+ 2 - 2
config/dev.env.js Ver arquivo

7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
   //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
9
   //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  // BASE_API: '"http://api.xt.test.sgjyun.com"',
11
-  BASE_API: '"http://localhost:9531"',
10
+  BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  //BASE_API: '"http://localhost:9531"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Ver arquivo

29
 
29
 
30
     // host: 'xt.test.sgjyun.com',
30
     // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
33
-    host: 'localhost',
32
+   host: 'xt.test.sgjyun.com',
33
+    //host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,
36
     errorOverlay: true,
36
     errorOverlay: true,

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fortyThree.vue Ver arquivo

330
                         <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
330
                         <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
331
                         <td width="60" style="height:20px;line-height:20px" v-if="record.prescription.mode_id == 2">置换率<br /><br />ml/h</td>
331
                         <td width="60" style="height:20px;line-height:20px" v-if="record.prescription.mode_id == 2">置换率<br /><br />ml/h</td>
332
                         <td width="60" style="height:20px;line-height:20px" v-if="record.prescription.mode_id == 2">置换量<br /><br />ml</td>
332
                         <td width="60" style="height:20px;line-height:20px" v-if="record.prescription.mode_id == 2">置换量<br /><br />ml</td>
333
-                        <td width="60" style="height:20px;line-height:20px">血容量<br />ml</td>
333
+                        <!-- <td width="60" style="height:20px;line-height:20px">血容量<br />ml</td> -->
334
                         <td width="">病情变化及处理</td>
334
                         <td width="">病情变化及处理</td>
335
                     </tr>
335
                     </tr>
336
 
336
 
354
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
354
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
355
                         <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>
355
                         <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>
356
                         <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.displacement_quantity ? monitor.displacement_quantity : "/" }}</span></td>
356
                         <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.displacement_quantity ? monitor.displacement_quantity : "/" }}</span></td>
357
-                        <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td>
357
+                        <!-- <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td> -->
358
                         <td style="text-align:left;padding-left:10px;">
358
                         <td style="text-align:left;padding-left:10px;">
359
                             <div style="line-height:20px;text-align: left;display: inline-block;">
359
                             <div style="line-height:20px;text-align: left;display: inline-block;">
360
                                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
360
                                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Ver arquivo

113
           <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.org_id != 9555 && this.$store.getters.xt_user.template_info.org_id != 9671"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
113
           <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.org_id != 9555 && this.$store.getters.xt_user.template_info.org_id != 9671"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</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.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 9671" 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.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 9671" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
115
         </li>
115
         </li>
116
-        <li v-if="isShow('葡萄糖')">
116
+        <!-- <li v-if="isShow('葡萄糖')">
117
           <label>葡萄糖 : </label>
117
           <label>葡萄糖 : </label>
118
           <span class="content">{{ glucose != "0" ? glucose : "" }}</span>
118
           <span class="content">{{ glucose != "0" ? glucose : "" }}</span>
119
           <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
119
           <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
120
-        </li>
120
+        </li> -->
121
 
121
 
122
         <li v-if="isShow('钾')">
122
         <li v-if="isShow('钾')">
123
           <label>钾 : </label>
123
           <label>钾 : </label>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue Ver arquivo

306
                   <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
306
                   <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
307
                   <td width="60" style="height:20px;line-height:20px" v-if="prescription.mode_id == 2">置换率<br /><br />ml/h</td>
307
                   <td width="60" style="height:20px;line-height:20px" v-if="prescription.mode_id == 2">置换率<br /><br />ml/h</td>
308
                   <td width="60" style="height:20px;line-height:20px" v-if="prescription.mode_id == 2">置换量<br /><br />ml</td>
308
                   <td width="60" style="height:20px;line-height:20px" v-if="prescription.mode_id == 2">置换量<br /><br />ml</td>
309
-                  <td width="60" style="height:20px;line-height:20px">血容量<br />ml</td>
309
+                  <!-- <td width="60" style="height:20px;line-height:20px">血容量<br />ml</td> -->
310
                   <td width="">病情变化及处理</td>
310
                   <td width="">病情变化及处理</td>
311
               </tr>
311
               </tr>
312
 
312
 
330
                   <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
330
                   <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
331
                   <td v-if="prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>
331
                   <td v-if="prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>
332
                   <td v-if="prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.displacement_quantity ? monitor.displacement_quantity : "/" }}</span></td>
332
                   <td v-if="prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.displacement_quantity ? monitor.displacement_quantity : "/" }}</span></td>
333
-                  <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td>
333
+                  <!-- <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td> -->
334
                   <td style="text-align:left;padding-left:10px;">
334
                   <td style="text-align:left;padding-left:10px;">
335
                       <div style="line-height:20px;text-align: left;display: inline-block;">
335
                       <div style="line-height:20px;text-align: left;display: inline-block;">
336
                           &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
336
                           &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}

+ 4 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue Ver arquivo

288
                     <el-table-column label="库存" width="60">
288
                     <el-table-column label="库存" width="60">
289
                       <template slot-scope="scope">
289
                       <template slot-scope="scope">
290
                                           <span
290
                                           <span
291
-                                              v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 ">
291
+                                              v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10188 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10191 ">
292
                                               <span
292
                                               <span
293
                                                   v-if="scope.row.count/scope.row.min_number>0">{{ Math.floor(scope.row.count / scope.row.min_number) }}{{ scope.row.max_unit }}</span>
293
                                                   v-if="scope.row.count/scope.row.min_number>0">{{ Math.floor(scope.row.count / scope.row.min_number) }}{{ scope.row.max_unit }}</span>
294
                                               <span
294
                                               <span
387
                     <el-table-column label="库存" width="40">
387
                     <el-table-column label="库存" width="40">
388
                       <template slot-scope="scope">
388
                       <template slot-scope="scope">
389
                                                 <span
389
                                                 <span
390
-                                                    v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10088 || org_id == 10265 || org_id == 10164">
390
+                                                    v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10191">
391
                                                     {{ scope.row.stock_count }}
391
                                                     {{ scope.row.stock_count }}
392
                                                 </span>
392
                                                 </span>
393
                         <span v-else> {{ scope.row.total }}</span>
393
                         <span v-else> {{ scope.row.total }}</span>
2666
       this.$refs.additionalCharges.show()
2666
       this.$refs.additionalCharges.show()
2667
     },
2667
     },
2668
     selectDrugs(selection, row) {
2668
     selectDrugs(selection, row) {
2669
-      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164) {
2669
+      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10191) {
2670
         if (row.count <= 0) {
2670
         if (row.count <= 0) {
2671
           if (selection) {
2671
           if (selection) {
2672
             selection.forEach(row => {
2672
             selection.forEach(row => {
2940
     },
2940
     },
2941
     selectChange(selection, row) {
2941
     selectChange(selection, row) {
2942
       console.log('row', row)
2942
       console.log('row', row)
2943
-      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164) {
2943
+      if (this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 10188  || this.org_id == 9956 || this.org_id == 10191) {
2944
         if (row.stock_count <= 0) {
2944
         if (row.stock_count <= 0) {
2945
           if (row.type == 3) {
2945
           if (row.type == 3) {
2946
             if (selection) {
2946
             if (selection) {

+ 4 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Ver arquivo

286
                                         </el-table-column>
286
                                         </el-table-column>
287
                                         <el-table-column label="库存" width="60">
287
                                         <el-table-column label="库存" width="60">
288
                                             <template slot-scope="scope">
288
                                             <template slot-scope="scope">
289
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10088 || org_id == 10265 || org_id == 10164">
289
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id ==9956 || org_id == 10188 || org_id == 10191 ">
290
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
290
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
291
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
291
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
292
                                               </span>
292
                                               </span>
383
                                         </el-table-column>
383
                                         </el-table-column>
384
                                         <el-table-column label="库存" width="40">
384
                                         <el-table-column label="库存" width="40">
385
                                             <template slot-scope="scope">
385
                                             <template slot-scope="scope">
386
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10088 || org_id == 10265 || org_id == 10164">
386
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id == 9956 || org_id == 10188 || org_id == 10191">
387
                                                    {{scope.row.stock_count}}
387
                                                    {{scope.row.stock_count}}
388
                                               </span>
388
                                               </span>
389
                                               <span v-else> {{ scope.row.total }}</span>
389
                                               <span v-else> {{ scope.row.total }}</span>
2661
       selectDrugs(selection, row) {
2661
       selectDrugs(selection, row) {
2662
         console.log('selection', selection)
2662
         console.log('selection', selection)
2663
         console.log('row', row)
2663
         console.log('row', row)
2664
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164){
2664
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191){
2665
             if (row.count <= 0) {
2665
             if (row.count <= 0) {
2666
               if (selection) {
2666
               if (selection) {
2667
                 selection.forEach(row => {
2667
                 selection.forEach(row => {
2936
       },
2936
       },
2937
       selectChange(selection, row) {
2937
       selectChange(selection, row) {
2938
         console.log('row', row)
2938
         console.log('row', row)
2939
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10088 || this.org_id == 10265 || this.org_id == 10164){
2939
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191){
2940
            if (row.stock_count <= 0) {
2940
            if (row.stock_count <= 0) {
2941
             if (row.type == 3) {
2941
             if (row.type == 3) {
2942
               if (selection) {
2942
               if (selection) {

+ 1 - 1
src/xt_pages/stock/inventory.vue Ver arquivo

107
         >
107
         >
108
           <i class="el-icon-search el-input__icon" slot="suffix"></i>
108
           <i class="el-icon-search el-input__icon" slot="suffix"></i>
109
         <template slot-scope="{ item }">
109
         <template slot-scope="{ item }">
110
-          <div class="name">{{ item.specification_name }}</div>
110
+          <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
111
         </template>
111
         </template>
112
        </el-autocomplete>  
112
        </el-autocomplete>  
113
     </el-collapse>
113
     </el-collapse>

+ 1 - 1
src/xt_pages/user/components/PatientSidebar.vue Ver arquivo

108
             },
108
             },
109
             {
109
             {
110
               name: '1-10',
110
               name: '1-10',
111
-              label: '院小结'
111
+              label: '院小结'
112
             },
112
             },
113
             {
113
             {
114
               name: '1-3',
114
               name: '1-3',

+ 16 - 5
src/xt_pages/user/coursePrint.vue Ver arquivo

20
 
20
 
21
             <div style="flex:1;text-align: center;">
21
             <div style="flex:1;text-align: center;">
22
               科别:
22
               科别:
23
-              <div  style="width: 120px;text-align: left;display:inline-block;">{{"内科"}}</div>
23
+              <div  style="width: 120px;text-align: left;display:inline-block;">{{"血透中心"}}</div>
24
+            </div>
25
+            
26
+           <div style="flex:1;text-align: center;" v-if="org_id == 9671 || org_id == 10215" >
27
+              病案号:
28
+                <div  style="width: 120px;text-align: left;display:inline-block;">
29
+                  {{patient.dialysis_no?patient.dialysis_no:"/"}}
30
+                </div>
24
             </div>
31
             </div>
25
 
32
 
26
-            <div style="flex:1;text-align: center;">
33
+
34
+            <div style="flex:1;text-align: center;" v-if="org_id!=10215 && org_id!=9671" >
27
               透析号:
35
               透析号:
28
                 <div  style="width: 120px;text-align: left;display:inline-block;">
36
                 <div  style="width: 120px;text-align: left;display:inline-block;">
29
                   {{patient.dialysis_no?patient.dialysis_no:"/"}}
37
                   {{patient.dialysis_no?patient.dialysis_no:"/"}}
30
                 </div>
38
                 </div>
31
             </div>
39
             </div>
32
 
40
 
33
-            <div  style="flex:1;text-align: center;">
41
+            <div  style="flex:1;text-align: center;" v-if="org_id!=10215 && org_id!=9671">
34
               住院号:
42
               住院号:
35
               <div style="width: 100px;text-align: left;display:inline-block;">
43
               <div style="width: 100px;text-align: left;display:inline-block;">
36
                  {{patient.admission_number?patient.admission_number:"/"}}
44
                  {{patient.admission_number?patient.admission_number:"/"}}
37
-              </div>
45
+            </div>
38
            
46
            
39
             </div>
47
             </div>
40
 
48
 
86
         loading: false,
94
         loading: false,
87
         orgname: '',
95
         orgname: '',
88
         record:[],
96
         record:[],
89
-        patient: {}
97
+        patient: {},
98
+        org_id:0,
90
       }
99
       }
91
     },
100
     },
92
     created() {
101
     created() {
93
       var xtuser = this.$store.getters.xt_user
102
       var xtuser = this.$store.getters.xt_user
103
+      this.org_id = this.$store.getters.xt_user.org_id
104
+     
94
       this.orgname = xtuser.org.org_name
105
       this.orgname = xtuser.org.org_name
95
 
106
 
96
     },
107
     },

+ 3 - 1
src/xt_pages/user/dialysisSolution.vue Ver arquivo

438
             </el-form-item>
438
             </el-form-item>
439
           </el-col>
439
           </el-col>
440
 
440
 
441
-          <el-col :span="8" v-if="isShows('灌流器') && (addPlan.mode_id == 2 || addPlan.mode_id == 3 || addPlan.mode_id == 12 || addPlan.mode_id == 5)">
441
+          <el-col :span="8" v-if="isShows('灌流器') && (addPlan.mode == 2 || addPlan.mode == 3 || addPlan.mode == 12 || addPlan.mode == 5)">
442
              <el-form-item label="灌流器:">
442
              <el-form-item label="灌流器:">
443
                <el-input v-model="dialysis_irrigation" @focus="showInnerDialog('7')"></el-input>
443
                <el-input v-model="dialysis_irrigation" @focus="showInnerDialog('7')"></el-input>
444
              </el-form-item>
444
              </el-form-item>
1751
     },
1751
     },
1752
     isShows(name) {
1752
     isShows(name) {
1753
       var filedList = store.getters.xt_user.fileds
1753
       var filedList = store.getters.xt_user.fileds
1754
+      console.log("filedList2323232",filedList)
1754
       for (let i = 0; i < filedList.length; i++) {
1755
       for (let i = 0; i < filedList.length; i++) {
1755
         if (
1756
         if (
1756
           filedList[i].module == 1 &&
1757
           filedList[i].module == 1 &&
1947
 
1948
 
1948
     addPlanModeChange() {
1949
     addPlanModeChange() {
1949
       var thismode = parseInt(this.addPlan.mode)
1950
       var thismode = parseInt(this.addPlan.mode)
1951
+      console.log("addplan22323",this.addPlan.mode)
1950
       if(thismode == 2 || thismode == 5 || thismode ==12){
1952
       if(thismode == 2 || thismode == 5 || thismode ==12){
1951
           this.zhiShow = true
1953
           this.zhiShow = true
1952
           this.huShow= true
1954
           this.huShow= true

+ 3 - 3
src/xt_pages/user/hospitalSummary.vue Ver arquivo

59
             </el-col>
59
             </el-col>
60
             <el-col :span="14">
60
             <el-col :span="14">
61
               <div class="record_content_panel">
61
               <div class="record_content_panel">
62
-                <div style="background-color:rgb(245, 247, 250)" class="title">院小结内容</div>
62
+                <div style="background-color:rgb(245, 247, 250)" class="title">院小结内容</div>
63
                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;">标题:
63
                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;">标题:
64
                    {{hosDetail.title}}
64
                    {{hosDetail.title}}
65
                 </div>
65
                 </div>
124
 
124
 
125
   
125
   
126
      
126
      
127
-      <el-dialog title="新增院小结" width="60%" top="5vh" :visible.sync="show_dialog">
127
+      <el-dialog title="新增院小结" width="60%" top="5vh" :visible.sync="show_dialog">
128
         <div>
128
         <div>
129
           <div class="new_record_form">
129
           <div class="new_record_form">
130
             <div class="cell clearfix">
130
             <div class="cell clearfix">
320
         </div>
320
         </div>
321
       </el-dialog>
321
       </el-dialog>
322
       
322
       
323
-      <el-dialog title="编辑院小结" width="60%" top="5vh" :visible.sync="edit_show_dialog">
323
+      <el-dialog title="编辑院小结" width="60%" top="5vh" :visible.sync="edit_show_dialog">
324
         <div>
324
         <div>
325
           <div class="new_record_form">
325
           <div class="new_record_form">
326
             <div class="cell clearfix">
326
             <div class="cell clearfix">