Ver código fonte

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

csx 3 anos atrás
pai
commit
4ca89a3c6f

+ 15 - 10
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Ver arquivo

@@ -132,14 +132,18 @@
132 132
                                                             >预结算
133 133
                                                             </el-button>
134 134
                                                             <el-button
135
-                                                                    v-if="items.prescriptions[0].order.order_status = 1 && this.hisPatientInfo.balance_accounts_type != 2"
135
+                                                                    v-if="items.prescriptions[0].order.order_status = 1 && hisPatientInfo.balance_accounts_type != 2"
136 136
                                                                     size="small" @click="open(11)" type="primary"
137 137
                                                             >撤销明细
138 138
                                                             </el-button>
139
+                                                            <div>{{ items.curPrescriptions.order.order_status}}</div>
140
+                                                            <div>{{ items.prescriptions[0].order.order_status}}</div>
141
+
142
+
139 143
                                                             <el-button v-loading="loadingtwo"
140
-                                                                       v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1 ||  items.prescriptions[0].order.order_status == 3"
144
+                                                                       v-if="(hisPatientInfo.id > 0 && items.curPrescriptions.order.id == 0) || items.curPrescriptions.order.order_status == 1 ||  items.curPrescriptions.order.order_status == 3"
141 145
                                                                        size="small"
142
-                                                                       @click="open(4,items.med_type,items.prescriptions[0].order,items.prescriptions)"
146
+                                                                       @click="open(4,items.med_type,items.curPrescriptions.order,items.prescriptions)"
143 147
                                                                        type="primary">收费
144 148
                                                             </el-button>
145 149
                                                         </div>
@@ -294,11 +298,11 @@
294 298
                                                                     type="primary"
295 299
                                                             >预结算
296 300
                                                             </el-button>
297
-                                                            <el-button
298
-                                                                    v-if="items.curMonthPrescriptions.order.order_status == 1 && this.hisPatientInfo.balance_accounts_type != 2"
299
-                                                                    size="small" @click="open(11)" type="primary"
300
-                                                            >撤销明细
301
-                                                            </el-button>
301
+                                                            <!--<el-button-->
302
+                                                                    <!--v-if="items.curMonthPrescriptions.order.order_status == 1"-->
303
+                                                                    <!--size="small" @click="open(11)" type="primary"-->
304
+                                                            <!--&gt;撤销明细-->
305
+                                                            <!--</el-button>-->
302 306
 
303 307
                                                             <el-button v-loading="loadingtwo"
304 308
                                                                        v-if="(hisPatientInfo.id > 0 && items.curMonthPrescriptions.order.id == 0) || items.curMonthPrescriptions.order.order_status == 1 ||  items.curMonthPrescriptions.order.order_status == 3"
@@ -416,7 +420,7 @@
416 420
                 width="30%"
417 421
         >
418 422
             <span>是否修改医疗类型</span>
419
-            <el-select style="width:50%;" v-model="temp_med_type" placeholder="医疗类型" v-else @change="changevalue">
423
+            <el-select style="width:50%;" v-model="temp_med_type" placeholder="医疗类型"  @change="changevalue">
420 424
                 <el-option
421 425
                         v-for="(item,index) in register"
422 426
                         :key="index"
@@ -3407,7 +3411,8 @@
3407 3411
             this.editableTabsValue = this.getPName(this.big_prescriptions[0].med_type, 1)
3408 3412
           }
3409 3413
 
3410
-          // console.log(this.big_prescriptions)
3414
+          console.log(this.big_prescriptions)
3415
+          console.log(this.big_prescriptions[0].curPrescriptions.order_status)
3411 3416
 
3412 3417
           //
3413 3418
           // if (this.prescriptions.length > 0) {