ソースを参照

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

csx 3 年 前
コミット
69202e2c6f
共有1 個のファイルを変更した8 個の追加8 個の削除を含む
  1. 8 8
      src/xt_pages/outpatientCharges/components/registerDialog.vue

+ 8 - 8
src/xt_pages/outpatientCharges/components/registerDialog.vue ファイルの表示

470
               var patient = response.data.data.patient
470
               var patient = response.data.data.patient
471
 
471
 
472
               if (that.form.id_card_type == 1) {
472
               if (that.form.id_card_type == 1) {
473
-                this.form.id = patient.id
473
+                that.form.id = patient.id
474
                 that.form.name = patient.name
474
                 that.form.name = patient.name
475
-                that.form.sex = patient.gender
475
+                that.form.gender = patient.gender
476
                 that.form.age = patient.age
476
                 that.form.age = patient.age
477
                 that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
477
                 that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
478
                 that.form.phone = patient.phone
478
                 that.form.phone = patient.phone
479
-                that.form.idCard = patient.id_card_no
480
-                that.form.medicalInsuranceCard = response.data.data.number
479
+                that.form.id_card = patient.id_card_no
480
+                that.form.medical_insurance_card = response.data.data.number
481
 
481
 
482
               } else if (that.form.id_card_type == 2) {
482
               } else if (that.form.id_card_type == 2) {
483
-                this.form.id = patient.id
483
+                that.form.id = patient.id
484
                 that.form.name = patient.name
484
                 that.form.name = patient.name
485
-                that.form.sex = patient.gender
485
+                that.form.gender = patient.gender
486
                 that.form.age = patient.age
486
                 that.form.age = patient.age
487
                 that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
487
                 that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
488
                 that.form.phone = patient.phone
488
                 that.form.phone = patient.phone
489
-                that.form.idCard = patient.id_card_no
489
+                that.form.id_card = patient.id_card_no
490
               }
490
               }
491
               that.$message({ message: '读卡成功', type: 'success' })
491
               that.$message({ message: '读卡成功', type: 'success' })
492
             }
492
             }
494
           .catch(function(error) {
494
           .catch(function(error) {
495
 
495
 
496
           })
496
           })
497
-
498
       },
497
       },
499
       getDictionaryDataConfig(module, filed_name) {
498
       getDictionaryDataConfig(module, filed_name) {
500
         return getDictionaryDataConfig(module, filed_name)
499
         return getDictionaryDataConfig(module, filed_name)
526
         this.form.id_card_type = 2
525
         this.form.id_card_type = 2
527
         this.form.certificates = 1
526
         this.form.certificates = 1
528
 
527
 
528
+
529
         if (departments.length > 0) {
529
         if (departments.length > 0) {
530
           this.form.department = departments[0].id
530
           this.form.department = departments[0].id
531
         }
531
         }