fix bug
This commit is contained in:
		| @ -169,6 +169,30 @@ export class ShipperBaseService extends BaseService { | ||||
|       }) | ||||
|     ); | ||||
|   } | ||||
|   /** | ||||
|    * 获取网络货运人 | ||||
|    * @returns | ||||
|    */ | ||||
|   getNetworkenterpriceIds(params = {}, containerAll = false) { | ||||
|     return this.request(this.$api_get_network_freight_forwarder_list, params).pipe( | ||||
|       map((res: any) => { | ||||
|         if (!res) { | ||||
|           return []; | ||||
|         } | ||||
|         const list = res.map((item: any) => { | ||||
|           return { | ||||
|             label: item.enterpriseName, | ||||
|             value: item.enterpriseName | ||||
|           }; | ||||
|         }); | ||||
|         const obj = []; | ||||
|         if (containerAll) { | ||||
|           obj.push({ label: '全部', value: '' }); | ||||
|         } | ||||
|         return [...obj, ...list]; | ||||
|       }) | ||||
|     ); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * 获取CRM客户 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user