陈少旭 9 mēnešus atpakaļ
vecāks
revīzija
eb7274c304

+ 15 - 3
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Parādīt failu

@@ -223,7 +223,7 @@
223 223
                                 </el-button>
224 224
 
225 225
                                 <el-button
226
-                                  v-if="(hisPatientInfo.id_card_type != 3 && hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0 && org_id != 10340)"
226
+                                  v-if="(hisPatientInfo.id_card_type != 3  && hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0 && org_id != 10340)"
227 227
                                   size="small"
228 228
                                   @click="open(8,items.med_type,items.prescriptions[0].order,items.prescriptions)"
229 229
                                   type="primary"
@@ -1770,7 +1770,8 @@ export default {
1770 1770
           this.loadingone = false
1771 1771
           return false
1772 1772
         } else {
1773
-          if(response.data.data.status = 1){
1773
+          if(response.data.data.status == 1){
1774
+
1774 1775
             this.$refs.call_prescription.show(this.patientInfo.name, this.patientInfo.id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1775 1776
           }
1776 1777
         }
@@ -3402,7 +3403,18 @@ export default {
3402 3403
         form['his_patient_id'] = this.hisPatientInfo.id
3403 3404
         form['record_time'] = this.record_date
3404 3405
         form['ids'] = this.temp_ids
3405
-        form['begin_time'] = this.form.diagnosis_time
3406
+        var time_arr = this.form.diagnosis_time.split(" ")
3407
+        let hh = new Date().getHours();
3408
+        let mf =
3409
+          new Date().getMinutes() < 10
3410
+            ? "0" + new Date().getMinutes()
3411
+            : new Date().getMinutes();
3412
+        let ss =
3413
+          new Date().getSeconds() < 10
3414
+            ? "0" + new Date().getSeconds()
3415
+            : new Date().getSeconds();
3416
+        var new_time  = time_arr[0] + " " + hh+":"+mf+":"+ss
3417
+        form['begin_time'] = new_time
3406 3418
         form['p_type'] = med_type
3407 3419
         form['diagnosis'] = this.form.diagnosis.join(',')
3408 3420
         form['sick_type'] = this.form.sick_type