浏览代码

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

陈少旭 1年前
父节点
当前提交
d7031e53cf

+ 8 - 2
src/xt_pages/hospitalStation/invoiceTemplate/printfour.vue 查看文件

@@ -32,7 +32,7 @@
32 32
         </div>
33 33
       </div>
34 34
       <div style="display:flex;margin-top: 10px;">
35
-        <div style="width: 150px;"><span >护理费</span> 0</div>
35
+        <div style="width: 150px;"><span >护理费 </span>{{list.hiliCostTotal ? list.hiliCostTotal.toFixed(2) : '0'}}</div>
36 36
         <div style="width: 150px;margin:0 30px;">中成药 {{ list.chineseTraditionalMedicineCostTotal }}</div>
37 37
         <div style="width: 150px;margin:0 30px;">化验费 {{ list.laboratoryCostTotal }}</div>
38 38
         <div style="width: 150px;margin:0 30px;">手术费 {{ list.operationCostTotal }}</div>
@@ -140,7 +140,8 @@ import {jsGetAge, uParseTime} from "@/utils/tools";
140 140
 
141 141
 export default {
142 142
     props:{
143
-        paramsObj:Object
143
+        paramsObj:Object,
144
+        hisPatient:Object,
144 145
     },
145 146
     data(){
146 147
         return{
@@ -160,6 +161,7 @@ export default {
160 161
     },
161 162
     mounted(){
162 163
         console.log('paramsObj',this.paramsObj)
164
+        
163 165
         let params = {
164 166
             order_id: this.paramsObj.order_id,
165 167
             patient_id: this.paramsObj.patient_id,
@@ -204,6 +206,7 @@ export default {
204 206
               this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
205 207
                                     this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
206 208
                 this.smalltoBIG( this.list.order.medfee_sumamt)
209
+                console.log('hisPatient',this.hisPatient);
207 210
                 // var data = new Date(res.data.data.date * 1000);
208 211
                 var data = new Date(this.paramsObj.setl_time);
209 212
                 var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
@@ -285,6 +288,9 @@ export default {
285 288
             },
286 289
             deep:true
287 290
         }
291
+    },
292
+    created(){
293
+      console.log('hisPatient',this.hisPatient);
288 294
     }
289 295
 }
290 296
 </script>

+ 11 - 8
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue 查看文件

@@ -133,6 +133,7 @@
133 133
       <el-form-item label="体格检查: " prop="name">
134 134
         <el-input
135 135
           type="textarea"
136
+          :rows="3"
136 137
           v-model="physical_examination"
137 138
           placeholder="体格检查"
138 139
         ></el-input>
@@ -141,6 +142,7 @@
141 142
       <el-form-item label="专科检查: " prop="name">
142 143
         <el-input
143 144
           type="textarea"
145
+          :rows="3"
144 146
           v-model="special_inspection"
145 147
           placeholder="专科检查"
146 148
         ></el-input>
@@ -149,6 +151,7 @@
149 151
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
150 152
         <el-input
151 153
           type="textarea"
154
+          :rows="3"
152 155
           v-model="lab_apparatus"
153 156
           placeholder="实验室及器械检查"
154 157
         ></el-input>
@@ -261,7 +264,7 @@
261 264
         </el-select>
262 265
         <el-input
263 266
           type="textarea"
264
-          :rows="2"
267
+          :rows="3"
265 268
           placeholder="请输入内容"
266 269
           v-model="case_history.chief_conplaint"
267 270
         >
@@ -282,7 +285,7 @@
282 285
         </el-select>
283 286
         <el-input
284 287
           type="textarea"
285
-          :rows="2"
288
+          :rows="3"
286 289
           placeholder="请输入内容"
287 290
           v-model="case_history.history_of_present_illness"
288 291
         >
@@ -303,7 +306,7 @@
303 306
         </el-select>
304 307
         <el-input
305 308
           type="textarea"
306
-          :rows="2"
309
+          :rows="3"
307 310
           placeholder="请输入内容"
308 311
           v-model="case_history.past_history"
309 312
         >
@@ -324,7 +327,7 @@
324 327
         </el-select>
325 328
         <el-input
326 329
           type="textarea"
327
-          :rows="2"
330
+          :rows="3"
328 331
           placeholder="请输入内容"
329 332
           v-model="case_history.personal_history"
330 333
         >
@@ -345,7 +348,7 @@
345 348
         </el-select>
346 349
         <el-input
347 350
           type="textarea"
348
-          :rows="2"
351
+          :rows="3"
349 352
           placeholder="请输入内容"
350 353
           v-model="case_history.family_history"
351 354
         >
@@ -366,7 +369,7 @@
366 369
         </el-select>
367 370
         <el-input
368 371
           type="textarea"
369
-          :rows="2"
372
+          :rows="3"
370 373
           placeholder="请输入内容"
371 374
           v-model="case_history.diagnostic"
372 375
         >
@@ -388,7 +391,7 @@
388 391
         </el-select>
389 392
         <el-input
390 393
           type="textarea"
391
-          :rows="2"
394
+          :rows="3"
392 395
           placeholder="请输入内容"
393 396
           v-model="case_history.doctor_advice"
394 397
         >
@@ -398,7 +401,7 @@
398 401
       <el-form-item label="备注" prop="name" style="width: 49%">
399 402
         <el-input
400 403
           type="textarea"
401
-          :rows="2"
404
+          :rows="3"
402 405
           placeholder="请输入内容"
403 406
           v-model="case_history.remark"
404 407
         >

+ 31 - 5
src/xt_pages/outpatientDoctorStation/template/prineight.vue 查看文件

@@ -38,7 +38,14 @@
38 38
                 透析号:{{ item.patient.dialysis_no }}
39 39
               </div>
40 40
               <div style="flex: 1;">
41
-                费别:居民医保/职工医保/自费
41
+                费别:
42
+                <span v-if="hisPatient.balance_accounts_type==1">
43
+                  <span v-if="hisPatient.insutype==390">城乡医保</span>
44
+                  <span v-if="hisPatient.insutype==310">职工医保</span>
45
+                </span>
46
+                <span v-else>
47
+                  {{ getsettlement(hisPatient.balance_accounts_type) }}
48
+                </span>
42 49
               </div>
43 50
             </div>
44 51
             <div  style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
@@ -301,7 +308,7 @@
301 308
                     <div style="flex: 1;">其他:</div>
302 309
                   </div>
303 310
                   <div style="display: flex;">
304
-                    <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
311
+                    <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
305 312
                     <div style="flex: 1;">调配药师:</div>
306 313
                     <div style="flex: 1;">核/发药师:</div>
307 314
                   </div>
@@ -382,7 +389,7 @@
382 389
               <div style="flex: 1;">收费员:</div>
383 390
             </div>
384 391
             <div style="display: flex;">
385
-              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
392
+              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
386 393
               <div style="flex: 1;">调配药师:</div>
387 394
               <div style="flex: 1;">核/发药师:</div>
388 395
             </div>
@@ -396,7 +403,7 @@
396 403
               <div style="flex: 1;">其他:</div>
397 404
             </div>
398 405
             <div style="display: flex;">
399
-              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
406
+              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
400 407
               <div style="flex: 1;">调配药师:</div>
401 408
               <div style="flex: 1;">核/发药师:</div>
402 409
             </div>
@@ -454,6 +461,16 @@ export default{
454 461
       operators: [],
455 462
       doctorList_1: [],
456 463
       adminUser:[],
464
+      settlement:[
465
+        { value: 1, label: '医保' },
466
+        { value: 2, label: '自费' },
467
+        { value: 3, label: '公费' },
468
+        { value: 4, label: '农保' },
469
+        { value: 5, label: '会员' },
470
+        { value: 6, label: '职工' },
471
+        { value: 7, label: '合同' },
472
+        { value: 8, label: '医保自费' }
473
+      ],
457 474
     };
458 475
   },
459 476
   methods: {
@@ -587,7 +604,7 @@ export default{
587 604
 
588 605
           // console.log("处方222222", this.prescriptions);
589 606
           var hisPatient = response.data.data.hisPatient;
590
-          // console.log("hisPatient", hisPatient);
607
+          console.log("hisPatient", hisPatient);
591 608
           this.hisPatient = hisPatient;
592 609
           var projectlist = response.data.data.projectlist;
593 610
           // console.log("所有项目列表", projectlist);
@@ -738,6 +755,15 @@ export default{
738 755
       }
739 756
       console.log('777777777',this.arr);
740 757
       return this.arr
758
+    },
759
+    // 费别
760
+    getsettlement(ids){
761
+      const settl = this.settlement
762
+      for(let i in settl){
763
+        if(ids == settl[i].value){
764
+          return settl[i].label
765
+        }
766
+      }
741 767
     }
742 768
   },
743 769
   created() {

+ 2 - 2
src/xt_pages/role/admin.vue 查看文件

@@ -227,12 +227,12 @@
227 227
           @click="toAutoDrug">自动生成</el-button> -->
228 228
 
229 229
 
230
-         <!-- <el-button
230
+         <el-button
231 231
           type="primary"
232 232
           size="small"
233 233
           icon="el-icon-circle-plus-outline"
234 234
           style="float:left"
235
-          @click="toAutoDiagnose">自动脚本</el-button> -->
235
+          @click="toAutoDiagnose">自动脚本</el-button>
236 236
 
237 237
         <!-- <el-button
238 238
           type="primary"

+ 2 - 1
src/xt_pages/stock/query/purchaseNewStockQuery.vue 查看文件

@@ -265,7 +265,7 @@ export default {
265 265
             this.loading = false
266 266
             for(let i=0;i<list.length;i++){
267 267
                
268
-              if(this.org_id ==10210 || this.org_id ==10215){
268
+              if(this.org_id ==10210 || this.org_id ==10215 || this.org_id == 10265){
269 269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
270 270
               }else{
271 271
                
@@ -278,6 +278,7 @@ export default {
278 278
                   list[i].stockIn = list[i].GoodStartFlowInfo.over_count
279 279
                 }else{
280 280
                   list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
281
+                  console.log("剩余库存---------------",list[i].stockIn)
281 282
                   if(list[i].stockIn <0){
282 283
                     list[i].stockIn =0
283 284
                   }

+ 1 - 1
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue 查看文件

@@ -169,7 +169,7 @@ export default {
169 169
                 for(let i=0;i<list.length;i++){
170 170
                     // list[i].stockIn = list[i].GoodStartFlowInfo.over_count
171 171
 
172
-                    if(this.org_id == 0 || this.org_id ==10210){
172
+                    if(this.org_id == 0 || this.org_id ==10210 || this.org_id == 10265){
173 173
                        list[i].stockIn = list[i].GoodStartFlowInfo.over_count
174 174
                     }else{
175 175
                       if(list[i].id== 5052){