|
@@ -102,11 +102,11 @@ struct emptyBoxStorage {
|
|
|
} as RequestParamModel);
|
|
|
this.isManualGenerating=false;
|
|
|
//添加后加载新列表
|
|
|
- this.loadMaterialBoxes().then(() => {
|
|
|
+ await this.loadMaterialBoxes().then(() => {
|
|
|
this.filterMaterialBoxes();
|
|
|
});
|
|
|
//添加后更新料箱rfid显示
|
|
|
- this.checkRfidStatus(this.materialBoxRfid ?? '');
|
|
|
+ await this.checkRfidStatus(this.materialBoxRfid ?? '');
|
|
|
}
|
|
|
|
|
|
onMaterialBoxRfidChange() {
|
|
@@ -202,7 +202,7 @@ struct emptyBoxStorage {
|
|
|
.margin({top:'3%'})
|
|
|
Row(){
|
|
|
Stack() {
|
|
|
- Image(this.currentStatus === 'new_rfid_box'? $r('app.media.identified_material_box'):$r('app.media.not_identified_material_box'))
|
|
|
+ Image(this.materialBoxRfid != ''? $r('app.media.identified_material_box'):$r('app.media.not_identified_material_box'))
|
|
|
.width('100%')
|
|
|
.height('100%')
|
|
|
.borderRadius($r('app.float.virtualSize_16'))
|