批量审核

This commit is contained in:
wangshiming
2022-01-17 17:05:49 +08:00
parent c34f6ffd63
commit d93fd449af
14 changed files with 194 additions and 96 deletions

View File

@ -61,7 +61,7 @@ tabs = {
constructor(
public service: WaybillManagementServe,
private modal: NzModalService,
public service2: ShipperBaseService) { }
public shipperservice: ShipperBaseService) { }
/**
* 查询参数
@ -224,13 +224,13 @@ tabs = {
},
} as SFDateWidgetSchema,
},
isRiskSheet: {
riskStatus: {
type: 'string',
title: '是否风险单',
enum: [
{ label: '全部', value: '' },
{ label: '是', value: '1' },
{ label: '否', value: '2' }
{ label: '是', value: '3' },
{ label: '否', value: '1' }
],
ui: {
widget: 'select',
@ -250,7 +250,7 @@ tabs = {
_$expand: (value: boolean) => value,
},
allowClear: true,
asyncData: () => this.service2.getNetworkFreightForwarder(),
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
},
},
settlementBasis: {
@ -276,7 +276,7 @@ tabs = {
_$expand: (value: boolean) => value
},
asyncData: () =>
this.service2.loadConfigByKey('goods.name.config.type').pipe(
this.shipperservice.loadConfigByKey('goods.name.config.type').pipe(
map((data: any) => {
return data[0].children?.map((m: any) => {
return { label: m.name, value: m.id };

View File

@ -58,7 +58,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
constructor(
public service: WaybillManagementServe,
private modal: NzModalService,
public service2: ShipperBaseService) {}
public shipperservice: ShipperBaseService) {}
/**
* 查询参数
@ -233,13 +233,13 @@ export class WaybillManagementVehicleComponent implements OnInit {
}
} as SFDateWidgetSchema
},
isRiskSheet: {
riskStatus: {
type: 'string',
title: '是否风险单',
enum: [
{ label: '全部', value: '' },
{ label: '是', value: '1' },
{ label: '否', value: '2' }
{ label: '是', value: '3' },
{ label: '否', value: '1' }
],
ui: {
widget: 'select',
@ -259,7 +259,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
_$expand: (value: boolean) => value
},
allowClear: true,
asyncData: () => this.service2.getNetworkFreightForwarder()
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
}
},
// goodsName: {
@ -283,7 +283,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
_$expand: (value: boolean) => value
},
asyncData: () =>
this.service2.loadConfigByKey('goods.name.config.type').pipe(
this.shipperservice.loadConfigByKey('goods.name.config.type').pipe(
map((data: any) => {
return data[0].children?.map((m: any) => {
return { label: m.name, value: m.id };

View File

@ -2,7 +2,7 @@ import { WaybillManagementBulkComponent } from './../components/bulk/bulk.compon
/*
* @Author: your name
* @Date: 2021-12-07 14:52:29
* @LastEditTime: 2022-01-12 14:34:04
* @LastEditTime: 2022-01-17 15:06:56
* @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\waybill-management\services\waybill-management.service.ts
@ -52,8 +52,10 @@ export class WaybillManagementServe extends BaseService {
// 查询CRM客户信息表
$api_get_crmCustomer_page = '/api/mdc/cuc/crmCustomer/list/page';
// 查询运营端异常上报
// 查询运营端未回复异常上报
$api_get_listOperatePage = '/api/sdc/exceptionReport/listOperateUnReplyPage';
// 查询运营端已回复异常上报
$api_get_listOperateReplyPage = '/api/sdc/exceptionReport/listOperateReplyPage';
// 获取货主企业列表
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';