Przeglądaj źródła

来电弹屏身份证号,患者姓名获取his数据,有值时再回显,来电人获取his时,身份证不为空时再获取

miaofuhao 7 miesięcy temu
rodzic
commit
1db41f7c92

BIN
CallCenterWeb.UI/RMYY/0603dist.zip


+ 11 - 7
CallCenterWeb.UI/RMYY/src/components/workOrder/information/addOrEditInfOrder.vue

@@ -1077,13 +1077,15 @@ export default {
1077 1077
         this.ruleForm.F_Customer = this.patientDatas.hzxm
1078 1078
       }
1079 1079
      
1080
-      this.ruleForm.F_FullName = this.patientDatas.hzxm
1081
-      this.ruleForm.F_IDNumber = this.patientDatas.zjhm
1082
-      this.ruleForm.F_IDNumberShow =  this.patientDatas.zjhmShow
1083
-      this.ruleForm.F_CusAddress = this.patientDatas.jtdz
1084
-      this.ruleForm.F_CusAddressShow =  this.patientDatas.jtdzShow
1080
+      this.patientDatas.hzxm && (this.ruleForm.F_FullName = this.patientDatas.hzxm)
1081
+      this.patientDatas.zjhm && (this.ruleForm.F_IDNumber = this.patientDatas.zjhm)
1082
+      this.patientDatas.zjhmShow && (this.ruleForm.F_IDNumberShow =  this.patientDatas.zjhmShow)
1083
+      this.patientDatas.jtdz && (this.ruleForm.F_CusAddress = this.patientDatas.jtdz)
1084
+      this.patientDatas.jtdzShow && (this.ruleForm.F_CusAddressShow =  this.patientDatas.jtdzShow)
1085 1085
       // this.patientMsgAll[0].guanchuangyisheng = this.ruleForm.F_Customer
1086
-      this.clickbefore = 0
1086
+      if (this.patientDatas.zjhmShow || this.patientDatas.jtdzShow ) {
1087
+        this.clickbefore = 0
1088
+      }
1087 1089
 
1088 1090
     },
1089 1091
     'orderTypeData.F_Type2': function() {
@@ -2402,7 +2404,9 @@ export default {
2402 2404
       // }
2403 2405
     },
2404 2406
     storagename() {
2405
-      this.$bus.$emit('hzname', this.ruleForm.F_FullName)
2407
+      if (!this.ruleForm.F_IDNumber) {
2408
+        this.$bus.$emit('hzname', this.ruleForm.F_FullName)
2409
+      }
2406 2410
     },
2407 2411
     // 投诉来源下拉框数据
2408 2412
     gettsSelect() {