车辆接口更新

This commit is contained in:
wangshiming
2022-01-24 15:59:51 +08:00
parent 17b457cd0d
commit 9ae9f9894d
19 changed files with 1853 additions and 73 deletions

View File

@ -9,6 +9,7 @@ import { of } from 'rxjs';
import { map } from 'rxjs/operators';
import { SupplyManagementService } from '../../services/supply-management.service';
import { SupplyManagementBulkAssignedCarComponent } from '../assigned-car-bulk/assigned-car-bulk.component';
import { PublishGoodsChooseFamifiarComponent } from '../choose-famifiar/choose-famifiar.component';
import { SupplyManagementQrcodePageComponent } from '../qrcode-page/qrcode-page.component';
import { SupplyManagementUpdatePriceComponent } from '../update-price/update-price.component';
@ -335,19 +336,33 @@ export class SupplyManagementBulkComponent implements OnInit {
* 重新指派
*/
assignedCar(item: any) {
// const modalRef = this.modal.create({
// nzTitle: '指派熟车',
// nzWidth: '1500px',
// nzContent: SupplyManagementBulkAssignedCarComponent,
// nzComponentParams: {
// i: item
// },
// nzFooter: null,
// });
// modalRef.afterClose.subscribe((result) => {
// if (result) {
// this.st.reload();
// }
// });
const modalRef = this.modal.create({
nzTitle: '指派熟车',
nzWidth: '1500px',
nzContent: SupplyManagementBulkAssignedCarComponent,
nzContent: PublishGoodsChooseFamifiarComponent,
nzComponentParams: {
i: item
submitParams: item,
submitUrl: this.service.$api_save_bulk_assign
},
nzFooter: null,
nzWidth: 1300
});
modalRef.afterClose.subscribe((result) => {
modalRef.afterClose.subscribe(result => {
if (result) {
this.st.reload();
this.st.reload(1);
}
});
}