车辆对接

This commit is contained in:
wangshiming
2022-01-12 11:25:15 +08:00
parent 71a4cd86d1
commit 126dd432cc
8 changed files with 34 additions and 21 deletions

View File

@ -657,12 +657,12 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
}
}
if(this.PageStatus === '大宗修改') {
this.requests(this.service.$api_set_bulkModify, params);
this.requests(this.service.$api_set_bulkModify, params, 1);
} else if(this.PageStatus === '大宗下一单') {
this.requests(this.service.$api_set_saveAnotherBulkOrder, params);
this.requests(this.service.$api_set_saveAnotherBulkOrder, params, 2);
}
}
requests(url: any, params: any) {
requests(url: any, params: any, change?: any) {
this.service.request(url, params).subscribe((res: any) => {
if (res) {
this.modalService.create({
@ -670,7 +670,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
nzContent: PublishSuccessComponent,
nzWidth: 900,
nzFooter: null,
nzComponentParams: { type: 'onecar' }
nzComponentParams: { type: 'onecar', change: change }
});
} else {
this.service.msgSrv.error(res.msg);