车辆对接
This commit is contained in:
		@ -1,7 +1,8 @@
 | 
			
		||||
import { Params } from '@angular/router';
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: your name
 | 
			
		||||
 * @Date: 2021-12-14 14:03:07
 | 
			
		||||
 * @LastEditTime: 2021-12-29 20:48:59
 | 
			
		||||
 * @LastEditTime: 2022-01-04 09:37:50
 | 
			
		||||
 * @LastEditors: Please set LastEditors
 | 
			
		||||
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 | 
			
		||||
 * @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
 | 
			
		||||
@ -61,11 +62,13 @@ export class VehicleFreightPeopleComponent implements OnInit {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  save(value: any): void {
 | 
			
		||||
 
 | 
			
		||||
    console.log(this.sf.value)
 | 
			
		||||
    const params = {
 | 
			
		||||
      billIds: this.data?.ids,
 | 
			
		||||
      enterpriseInfoId: this.sf.value?.enterpriseInfoName
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    this.service.request(this.service.$api_get_insertFreightChangeWhole, params).subscribe((res: any) => {
 | 
			
		||||
    console.log(params)
 | 
			
		||||
    this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => {
 | 
			
		||||
      if (res) {
 | 
			
		||||
        this.modal.destroy();
 | 
			
		||||
        this.service.msgSrv.success('变更运费成功');
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user