批量审核
This commit is contained in:
@ -672,8 +672,6 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
|
||||
nzFooter: null,
|
||||
nzComponentParams: { type: 'onecar', change: change }
|
||||
});
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -700,8 +698,6 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
|
||||
if(this.sf3data.goodsNameId){
|
||||
this.sf3.setValue('/goodsNameId',this.sf3data.goodsNameId);
|
||||
}
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -748,8 +748,6 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
|
||||
if (this.sf3data?.goodsNameId) {
|
||||
this.sf3.setValue('/goodsNameId', this.sf3data.goodsNameId);
|
||||
}
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -563,8 +563,6 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
this.service.msgSrv.success('已取消货源!')
|
||||
this.st?.reload();
|
||||
this.getGoodsSourceStatistical();
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@ -608,12 +608,8 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
.subscribe(res => {
|
||||
if (res) {
|
||||
this.currentRate = res.rate * 100;
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -706,8 +702,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
if (this.sf3data.goodsNameId) {
|
||||
this.sf3.setValue('/goodsNameId', this.sf3data.goodsNameId);
|
||||
}
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -854,8 +848,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
nzFooter: null,
|
||||
nzComponentParams: { type: 'onecar', change: change }
|
||||
});
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -603,12 +603,8 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
.subscribe((res: any) => {
|
||||
if (res) {
|
||||
this.currentRate = res.rate;
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -767,8 +763,6 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
this.service.request(reqUrl, params).subscribe((res: any) => {
|
||||
if (res) {
|
||||
this.openFinishPage();
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -907,8 +901,6 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
if (this.sf3data.goodsNameId) {
|
||||
this.sf3.setValue('/goodsNameId', this.sf3data.goodsNameId);
|
||||
}
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user