|
@@ -415,6 +415,7 @@ function queryUserInfoByCardNo() {
|
|
|
var index = cardNo.indexOf("-");
|
|
|
if (index > 0 && index == cardNo.length - 2) {
|
|
|
$("#cardNo").attr("title", cardNo);
|
|
|
+ clearInput();
|
|
|
queryApaientInfo(cardNo,true)
|
|
|
}
|
|
|
}
|
|
@@ -1280,8 +1281,8 @@ function fillPatinet(patientId) {
|
|
|
}
|
|
|
if (res.code == 0) {
|
|
|
if (res.data != null) {
|
|
|
- $("#cardNo").val(res.data.icCardNo);
|
|
|
- $("#cardNo").attr("title", res.data.icCardNo);
|
|
|
+ $("#cardNo").val(res.data.patientId);
|
|
|
+ $("#cardNo").attr("title", res.data.patientId);
|
|
|
$("#cardNo").blur();
|
|
|
$("#userName").val(res.data.name);
|
|
|
$("#userName").blur();
|