|
@@ -94,7 +94,7 @@ export class EsApplyScanPage implements OnInit {
|
|
|
|
|
|
// 隐藏键盘
|
|
|
initialData() {
|
|
|
- // this.esStoreDetailList = []
|
|
|
+ this.esStoreDetailList = []
|
|
|
this.clicked = false
|
|
|
this.scanCode = ''
|
|
|
this.scanInput.setFocus();
|
|
@@ -177,7 +177,7 @@ export class EsApplyScanPage implements OnInit {
|
|
|
}
|
|
|
}
|
|
|
if (this.canSubmit) {
|
|
|
- this.userData.saveStoreDetail(this.esStoreDetailList)
|
|
|
+ await this.userData.saveStoreDetail(this.esStoreDetailList)
|
|
|
this.initialData()
|
|
|
}
|
|
|
// }
|