车辆对接
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user