panxingxin před 5 roky
rodič
revize
1665987a27

+ 1 - 1
src/app/es-apply-scan/es-apply-scan.page.html

@@ -146,7 +146,7 @@
 
   <!-- </ion-list> -->
   <div class="ion-padding">
-    <ion-button color="primary" type="submit" expand="block" (click)="saveRecord(esApplyForm)"
+    <ion-button color="primary" type="submit" expand="block" (click)="saveRecord()"
       [disabled]="esStoreDetailList.length===0">记 录</ion-button>
   </div>
   <ion-list>

+ 1 - 1
src/app/es-apply-scan/es-apply-scan.page.ts

@@ -124,7 +124,7 @@ export class EsApplyScanPage implements OnInit {
     }
   }
   // 记录数据
-  async saveRecord(form: NgForm) {
+  async saveRecord() {
     this.clicked = true
     // if (form.valid) {
     // 是否已扫描记录过该数据