批量审核

This commit is contained in:
wangshiming
2022-01-18 16:36:36 +08:00
parent 924441482f
commit bcad306ae5
18 changed files with 67 additions and 275 deletions

View File

@ -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);
}
});
}

View File

@ -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);
}
});
}

View File

@ -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)
}
})
})

View File

@ -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);
}
});
}

View File

@ -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);
}
});
}