|
@@ -118,9 +118,11 @@ Page({
|
|
addressVo: res.data.addressVo
|
|
addressVo: res.data.addressVo
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- that.setData({
|
|
|
|
- idNoM: that.formatidcard(that.data.idNo)
|
|
|
|
- });
|
|
|
|
|
|
+ if (that.data.idNo) {
|
|
|
|
+ that.setData({
|
|
|
|
+ idNoM: that.formatidcard(that.data.idNo)
|
|
|
|
+ });
|
|
|
|
+ }
|
|
if(that.data.idNo){
|
|
if(that.data.idNo){
|
|
that.setData({
|
|
that.setData({
|
|
idNoDisabled: true
|
|
idNoDisabled: true
|
|
@@ -321,7 +323,7 @@ Page({
|
|
checkStore: true
|
|
checkStore: true
|
|
});
|
|
});
|
|
} else{
|
|
} else{
|
|
- console.log(res.errmsg);
|
|
|
|
|
|
+ // console.log(res.errmsg);
|
|
// util.showErrorToast(res.errmsg);
|
|
// util.showErrorToast(res.errmsg);
|
|
that.setData({
|
|
that.setData({
|
|
checkStore: false
|
|
checkStore: false
|