Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 10 months ago
parent
commit
404b3de7e4

+ 9 - 0
src/api/drug/drug.js View File

@@ -800,4 +800,13 @@ export function deleteSelfWarehouseOut(id,params){
800 800
     method:"get",
801 801
     params:params
802 802
   })
803
+}
804
+
805
+export function getSelfDrugWarehouseOutById(id,params){
806
+  
807
+  return request({
808
+    url:"/api/drug/getselfdrugwarehouseoutbyid?id="+id,
809
+    method:"get",
810
+    params:params
811
+  })
803 812
 }

+ 8 - 0
src/router/modules/selfPreparedMedicine.js View File

@@ -50,6 +50,14 @@ export default {
50 50
       hidden: true,
51 51
       is_menu: false,
52 52
     },
53
+    {
54
+      path: '/stock/selfwarehouse/out/edit',
55
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/editWarehouseOut'),
56
+      name: 'SelfeditWarehouseOut',
57
+      meta: { title: '自备药编辑出库', noCache: true },
58
+      hidden: true,
59
+      is_menu: false,
60
+    },
53 61
     {
54 62
       path: '/stock/selfstockquery',
55 63
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),

+ 7 - 0
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -1270,6 +1270,13 @@ export default {
1270 1270
              ParamsQuery.weight_loss = (this.predialysis_evaluation.weight_before - this.form.weight_after).toFixed(1)
1271 1271
           }
1272 1272
 
1273
+          if(ParamsQuery.additional_weight == 0){
1274
+            if(this.additional_weight!=null){
1275
+              ParamsQuery.additional_weight = this.predialysis_evaluation.additional_weight
1276
+            }
1277
+            
1278
+          }
1279
+
1273 1280
           console.log("Paramsquery",data)
1274 1281
 
1275 1282
           postAssessmentAfterDislysis(ParamsQuery, data)

+ 25 - 6
src/xt_pages/outpatientCharges/components/prescriptionTable.vue View File

@@ -39,7 +39,7 @@
39 39
           <div>{{ scope.row.spec }}</div>
40 40
         </template>
41 41
       </el-table-column>
42
-      
42
+
43 43
       <el-table-column align="center" prop="name" width="80" label="单次用量">
44 44
         <template slot-scope="scope">
45 45
           <!--<el-input v-model="scope.row.delivery_way" readonly></el-input>-->
@@ -74,12 +74,21 @@
74 74
         </template>
75 75
       </el-table-column>
76 76
 
77
-      <el-table-column align="center" prop="name" width="80" label="执行状态">
77
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0">
78
+        <template slot-scope="scope">
79
+          <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
80
+        </template>
81
+      </el-table-column>
82
+
83
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0">
78 84
         <template slot-scope="scope">
79 85
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
80 86
         </template>
81 87
       </el-table-column>
82 88
 
89
+
90
+
91
+
83 92
       <el-table-column align="center" prop="name" width="220" label="医保编码">
84 93
         <template slot-scope="scope">
85 94
           <div>{{ scope.row.code }}</div>
@@ -200,7 +209,7 @@
200 209
           >{{ scope.row.single_dose }}{{ scope.row.unit }}</template
201 210
         >
202 211
       </el-table-column>
203
-      
212
+
204 213
       <el-table-column
205 214
         align="center"
206 215
         prop="delivery_way"
@@ -235,24 +244,32 @@
235 244
           <div>{{ scope.row.total }} {{ scope.row.unit }}</div>
236 245
         </template>
237 246
       </el-table-column>
238
-      
247
+
239 248
       <el-table-column align="center" prop="name" width="50" label="单价">
240 249
         <template slot-scope="scope">{{ scope.row.price }}元</template>
241 250
       </el-table-column>
242 251
 
243
-      <el-table-column align="center" prop="name" width="80" label="执行状态">
252
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0">
244 253
         <template slot-scope="scope">
245 254
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
246 255
         </template>
247 256
       </el-table-column>
248 257
 
258
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0">
259
+        <template slot-scope="scope">
260
+          <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
261
+        </template>
262
+      </el-table-column>
263
+
264
+
265
+
249 266
       <el-table-column align="center" prop="name" width="220" label="医保编码">
250 267
         <template slot-scope="scope">
251 268
           <div>{{ scope.row.medical_code }}</div>
252 269
         </template>
253 270
       </el-table-column>
254 271
 
255
-      
272
+
256 273
 
257 274
       <el-table-column align="center" prop="name" width="60" label="金额">
258 275
         <template slot-scope="scope">
@@ -339,6 +356,8 @@ import { getDictionaryDataConfig } from "@/utils/data";
339 356
 export default {
340 357
   props: {
341 358
     prescription: Object,
359
+    his_patient: Object,
360
+    schedule: Object,
342 361
     manufacturers: Array,
343 362
   },
344 363
   data() {

+ 12 - 6
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -263,6 +263,8 @@
263 263
                           </el-tab-pane>
264 264
                             <prescription-table ref="prescription_tables"
265 265
                                               :prescription="items.curPrescriptions"
266
+                                                :schedule="schedule"
267
+                                                :his_patient="hisPatientInfo"
266 268
                                               :manufacturers="manufacturers"></prescription-table>
267 269
 
268 270
                         </el-tabs>
@@ -1202,6 +1204,7 @@ export default {
1202 1204
       }],
1203 1205
       tabIndex: 1,
1204 1206
       hisPatientInfo: {},
1207
+      schedule:{},
1205 1208
       loadingtwo: false,
1206 1209
       patientTableData: [{}],
1207 1210
       patientInfo: { id: 0 },
@@ -1968,6 +1971,8 @@ export default {
1968 1971
           this.hisPatientInfo = response.data.data.his_info
1969 1972
           this.info = response.data.data.info
1970 1973
           this.order = response.data.data.order
1974
+          this.schedule = response.data.data.sch
1975
+
1971 1976
 
1972 1977
           this.addtions_charge = response.data.data.addtions_charge
1973 1978
 
@@ -2810,10 +2815,10 @@ export default {
2810 2815
             this.big_month_prescriptions[b].curMonthPrescriptions = temp
2811 2816
             this.big_month_prescriptions[b].month_total = this.getMonthTotalTwo(temp)
2812 2817
           }
2813
-          
2818
+
2814 2819
         }
2815 2820
       }
2816
-     
2821
+
2817 2822
     },
2818 2823
     tabclickEventThree(val) {
2819 2824
       for (let i = 0; i < this.big_prescriptions_two.length; i++) {
@@ -5333,8 +5338,8 @@ export default {
5333 5338
           for(let j in month_prescriptions[i].advices){
5334 5339
             const obj ={
5335 5340
               drug_id: month_prescriptions[i].advices[j].drug_id,
5336
-              spec:month_prescriptions[i].advices[j].drug.dose + month_prescriptions[i].advices[j].drug.dose_unit + '*' + 
5337
-              month_prescriptions[i].advices[j].drug.min_number + month_prescriptions[i].advices[j].drug.min_unit + '/' + 
5341
+              spec:month_prescriptions[i].advices[j].drug.dose + month_prescriptions[i].advices[j].drug.dose_unit + '*' +
5342
+              month_prescriptions[i].advices[j].drug.min_number + month_prescriptions[i].advices[j].drug.min_unit + '/' +
5338 5343
               month_prescriptions[i].advices[j].drug.max_unit
5339 5344
             }
5340 5345
             advices2.push(obj)
@@ -5552,8 +5557,8 @@ export default {
5552 5557
           }
5553 5558
         }
5554 5559
       }
5555
-      
5556
-        
5560
+
5561
+
5557 5562
       console.log('kkkkk',big_prescriptions[0].curMonthPrescriptions);
5558 5563
       if (this.big_month_prescriptions.length > 0) {
5559 5564
         this.editableTabsValue = this.big_month_prescriptions[0].curMonthPrescriptions.name
@@ -5785,6 +5790,7 @@ export default {
5785 5790
             this.hisPatientInfo = response.data.data.his_info
5786 5791
             this.info = response.data.data.info
5787 5792
             this.order = response.data.data.order
5793
+            this.schedule = response.data.data.sch
5788 5794
             this.p_type = ''
5789 5795
             this.sick_type = ''
5790 5796
             this.diagnosis = []

File diff suppressed because it is too large
+ 1236 - 0
src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue


+ 3 - 3
src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue View File

@@ -467,7 +467,7 @@ export default {
467 467
     },
468 468
     clicks: function () {},
469 469
      handleWarehouse: function () {
470
-      this.$router.push({path:"/stock/selfwarehouse/info/add"})
470
+      this.$router.push({path:"/stock/selfwarehouse/out/add"})
471 471
     },
472 472
     handleSelectionChange: function (val) {
473 473
       this.multipleSelection = val;
@@ -511,7 +511,7 @@ export default {
511 511
 
512 512
     handleEdit: function (index, row) {
513 513
 
514
-      this.$router.push({path:"/stock/selfwarehouse/info/edit?id="+row.id+"&is_sys="+row.is_sys+"&is_check="+row.is_check})
514
+      this.$router.push({path:"/stock/selfwarehouse/out/edit?id="+row.id+"&is_sys="+row.is_sys+"&is_check="+row.is_check})
515 515
       
516 516
     },
517 517
     search(){
@@ -567,7 +567,7 @@ export default {
567 567
                 type: 'success',
568 568
                 duration: 2000
569 569
               })
570
-              this.tableData.splice(index, 1)
570
+              this.tableList.splice(index, 1)
571 571
 
572 572
             }
573 573
           })

+ 8 - 6
src/xt_pages/user/components/PatientDetail.vue View File

@@ -281,8 +281,14 @@
281 281
                 </el-checkbox-group>
282 282
               </el-form-item>
283 283
              </el-col>
284
+
285
+             <el-col :span="8">
286
+              <el-form-item label="家庭住址 : " prop="homeAddress">
287
+                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
288
+              </el-form-item>
289
+            </el-col>
284 290
             
285
-             <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
291
+             <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
286 292
                 <el-form-item
287 293
                   label="打印日期:"
288 294
                   label-width="150px"
@@ -634,11 +640,7 @@
634 640
                 ></el-input>
635 641
               </el-form-item>
636 642
             </el-col>
637
-            <el-col :span="8">
638
-              <el-form-item label="家庭住址 : " prop="homeAddress">
639
-                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
640
-              </el-form-item>
641
-            </el-col>
643
+           
642 644
 
643 645
             <div v-show="!generic_info_fold">
644 646
               <el-col :span="8">

+ 8 - 6
src/xt_pages/user/components/PatientForm.vue View File

@@ -333,7 +333,13 @@
333 333
               </el-form-item>
334 334
             </el-col>
335 335
 
336
-            <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
336
+            <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
337
+                <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
338
+                  <el-input v-model="form.homeAddress" style="width: 280px;"></el-input>
339
+                </el-form-item>
340
+            </el-col>
341
+
342
+            <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
337 343
                 <el-form-item
338 344
                   label="打印日期:"
339 345
                   label-width="150px"
@@ -676,11 +682,7 @@
676 682
                 </el-form-item>
677 683
               </el-col>
678 684
 
679
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
680
-                <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
681
-                  <el-input v-model="form.homeAddress" style="width: 350px;"></el-input>
682
-                </el-form-item>
683
-              </el-col>
685
+            
684 686
 
685 687
               <div v-show="!generic_info_fold">
686 688
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">