Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
cf819e61e7

+ 8 - 6
src/lang/zh.js View File

@@ -255,13 +255,13 @@ export default {
255 255
     pastInquiries: '既往查询',
256 256
 
257 257
     prescriptionTemplate: '处方模版',
258
-    hospitalRecord:"住院登记",
259
-    hisTool:"HIS工具",
260
-    hospitalCharges:'住院收费',
258
+    hospitalRecord: '住院登记',
259
+    hisTool: 'HIS工具',
260
+    hospitalCharges: '住院收费',
261 261
 
262
-    summary_tool:'项目消费明细汇总',
263
-    labelPrint:'标签打印',
264
-    faPiao:"发票设置",
262
+    summary_tool: '项目消费明细汇总',
263
+    labelPrint: '标签打印',
264
+    faPiao: '发票设置'
265 265
   },
266 266
   navbar: {
267 267
     logOut: '退出登录',
@@ -369,5 +369,7 @@ export default {
369 369
     special_record: '特殊记录',
370 370
     template_summary: '治疗小结',
371 371
     template_plan: '个性化方案'
372
+    // admitting_diagnosis: '入院诊断',
373
+    // discharge_diagnosis: '出院诊断'
372 374
   }
373 375
 }

+ 11 - 0
src/router/modules/patient.js View File

@@ -160,6 +160,17 @@ export default {
160 160
       noCache: true
161 161
     }
162 162
   },
163
+  {
164
+    path: '/patient/patient/:id/hospitalSummary',
165
+    component: () => import('@/xt_pages/user/hospitalSummary'),
166
+    hidden: true,
167
+    is_menu: false,
168
+    name: 'hospitalSummary',
169
+    meta: {
170
+      title: 'hospitalSummary',
171
+      noCache: true
172
+    }
173
+  },
163 174
   {
164 175
     path: '/patients/course',
165 176
     component: () => import('@/xt_pages/user/courseOfDisease'),

+ 2 - 1
src/xt_pages/data/template.vue View File

@@ -47,7 +47,8 @@ export default {
47 47
         { label: this.$t("data_config.course_disease"), key: "course_disease" },
48 48
         { label: this.$t("data_config.rescue_record"), key: "rescue_record" },
49 49
         { label: this.$t("data_config.template_summary"), key: "template_summary" },
50
-        { label: this.$t("data_config.template_plan"), key: "template_plan" }
50
+        { label: this.$t("data_config.template_plan"), key: "template_plan" },
51
+        // { label: this.$t("data_config.admitting_diagnosis"), key: "admitting_diagnosis" }
51 52
       ],
52 53
       activeName: "education",
53 54
       createdTimes: 0

+ 4 - 2
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

@@ -371,7 +371,7 @@
371 371
             <span v-if="scope.row.parent_id == 0">
372 372
               {{getXuserName(scope.row.execution_staff)}}
373 373
             </span>
374
-            <span v-else></span>
374
+            <span v-else>{{getXuserName(scope.row.execution_staff)}}</span>
375 375
           </template>
376 376
         </el-table-column>
377 377
         <el-table-column
@@ -385,7 +385,7 @@
385 385
             <span v-if="scope.row.parent_id == 0">
386 386
               {{getXuserName(scope.row.checker)}}
387 387
             </span>
388
-            <span v-else></span>
388
+            <span v-else>{{getXuserName(scope.row.checker)}}</span>
389 389
           </template>
390 390
         </el-table-column>
391 391
       </el-table>
@@ -2329,6 +2329,7 @@
2329 2329
 
2330 2330
       },
2331 2331
       getDialysisScheduleDetail() {
2332
+        console.log("触发伏组件")
2332 2333
         if(this.$route.query.showView && this.$route.query.showView == true){
2333 2334
           return
2334 2335
         }
@@ -2336,6 +2337,7 @@
2336 2337
           if (response.data.state == 1) {
2337 2338
             var doctor_advices = response.data.data.doctor_advices
2338 2339
             this.doctorAdvices = doctor_advices
2340
+            this.doctor_advices = doctor_advices
2339 2341
           }
2340 2342
         })
2341 2343
       }

+ 1 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue View File

@@ -2305,6 +2305,7 @@ export default {
2305 2305
           var advice = response.data.data.advice;
2306 2306
           this.$message.success("保存成功!");
2307 2307
           this.groupEditFormVisible = false;
2308
+          this.$parent.getDialysisScheduleDetail()
2308 2309
         }
2309 2310
       });
2310 2311
     },

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -2091,7 +2091,7 @@
2091 2091
             this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
2092 2092
             this.dialysisPrescription.package = last.package
2093 2093
             this.dialysisPrescription.a_liquid = last.a_liquid
2094
-            this.dialysisPrescription.target_ultrafiltration = last.target_ultrafiltration
2094
+            
2095 2095
 
2096 2096
             weight_before = 0
2097 2097
 

+ 3 - 2
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

@@ -41,6 +41,7 @@
41 41
           style="width: 100%"
42 42
           border
43 43
           max-height="450"
44
+          v-loading="listLoading"
44 45
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
45 46
         >
46 47
           <el-table-column align="center" width="200" fixed="left">
@@ -329,7 +330,7 @@
329 330
         warehousing_time: '',
330 331
         adminUserOptions: null,
331 332
         currentIndex: 0,
332
-
333
+        listLoading: false,
333 334
         recordInfo: {
334 335
           recordData: [],
335 336
           stock_in_code: '',
@@ -717,7 +718,7 @@
717 718
                 return false
718 719
               } else {
719 720
                 this.$message.success('入库成功')
720
-
721
+                this.listLoading = false
721 722
                 this.$router.back(-1)
722 723
               }
723 724
             })

+ 4 - 1
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue View File

@@ -106,6 +106,7 @@
106 106
           style="width: 100%"
107 107
           border
108 108
           max-height="450"
109
+          v-loading="listLoading"
109 110
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
110 111
         >
111 112
           <el-table-column align="center" width="200">
@@ -442,6 +443,7 @@ export default {
442 443
       manufacturerList:[],
443 444
       dealerList:[],
444 445
       org_id:0,
446
+      listLoading:false,
445 447
     };
446 448
   },
447 449
   methods: {
@@ -700,10 +702,11 @@ export default {
700 702
           ).then(response => {
701 703
             if (response.data.state == 0) {
702 704
               this.$message.error(response.data.msg);
705
+              this.listLoading = false
703 706
               return false;
704 707
             } else {
705 708
               this.$message.success("入库成功");
706
-
709
+              this.listLoading = false
707 710
               this.$router.back(-1);
708 711
             }
709 712
           });

+ 6 - 0
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -106,6 +106,10 @@ export default {
106 106
               name: '1-9',
107 107
               label: '阶段小结'
108 108
             },
109
+            // {
110
+            //   name: '1-10',
111
+            //   label: '住院小结'
112
+            // },
109 113
             {
110 114
               name: '1-3',
111 115
               label: '检验检查'
@@ -189,6 +193,8 @@ export default {
189 193
         this.$router.push({path:'/patients/patients/'+this.id+'/inspectionInfectious'})
190 194
       }else if (name == '1-9'){
191 195
         this.$router.push({path:'/patient/patient/'+this.id+'/templateSummary'})
196
+      }else if(name == '1-10'){
197
+        this.$router.push({path:'/patient/patient/'+this.id+'/hospitalSummary'})
192 198
       }
193 199
     },
194 200
     changePatient(value) {