Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -20,7 +20,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-dev.eascs.com',
|
host: 'tms-api-test.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -165,7 +165,9 @@ export class DriverAccountDetailComponent implements OnInit {
|
|||||||
{ title: '交易时间', index: 'createTime', type: 'date' },
|
{ title: '交易时间', index: 'createTime', type: 'date' },
|
||||||
{ title: '流水号', index: 'channelPaySn' },
|
{ title: '流水号', index: 'channelPaySn' },
|
||||||
{ title: '交易类型', index: 'tradeTypeLabel', className: 'text-center' },
|
{ title: '交易类型', index: 'tradeTypeLabel', className: 'text-center' },
|
||||||
{ title: '关联单号', index: 'businessNumber' },
|
{ title: '交易单号', index: 'businessNumber' },
|
||||||
|
{ title: '订单号', index: 'orderSn' },
|
||||||
|
{ title: '运单号', index: 'transportSn' },
|
||||||
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center' },
|
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '交易金额',
|
title: '交易金额',
|
||||||
@ -182,7 +184,10 @@ export class DriverAccountDetailComponent implements OnInit {
|
|||||||
type: 'widget',
|
type: 'widget',
|
||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) }
|
||||||
}
|
},
|
||||||
|
{ title: '付款方', index: 'payName'},
|
||||||
|
{ title: '收款方', index: 'payeeName' },
|
||||||
|
{ title: '备注', index: 'tradeContent' },
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -164,7 +164,7 @@ export class DriverAccountComponent implements OnInit {
|
|||||||
{ title: '司机姓名', width: 140, index: 'name' },
|
{ title: '司机姓名', width: 140, index: 'name' },
|
||||||
{ title: '证件号码', width: 140, index: 'idNo' },
|
{ title: '证件号码', width: 140, index: 'idNo' },
|
||||||
{ title: '手机号', width: 140, index: 'phone' },
|
{ title: '手机号', width: 140, index: 'phone' },
|
||||||
{ title: '网络货运人', width: 140, index: 'ltdName' },
|
{ title: '网络货运人', width: 180, index: 'ltdName' },
|
||||||
{ title: '银行类型', width: 120, index: 'bankTypeLabel' },
|
{ title: '银行类型', width: 120, index: 'bankTypeLabel' },
|
||||||
{ title: '虚拟账户', width: 140, index: 'virtualAccount' },
|
{ title: '虚拟账户', width: 140, index: 'virtualAccount' },
|
||||||
{
|
{
|
||||||
@ -186,13 +186,14 @@ export class DriverAccountComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
title: '本月累计提现金额',
|
title: '本月累计提现金额',
|
||||||
index: 'withdrawBalance',
|
index: 'withdrawBalance',
|
||||||
width: 150,
|
width: 160,
|
||||||
type: 'widget',
|
type: 'widget',
|
||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.withdrawBalance }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.withdrawBalance }) }
|
||||||
},
|
},
|
||||||
{ title: '账户总余额', render: 'availableBalance', className: 'text-right', width: 180 },
|
{ title: '账户总余额', render: 'availableBalance', className: 'text-right', width: 180 },
|
||||||
{ title: '创建时间', index: 'createTime', type: 'date', width: 150 },
|
{ title: '创建时间', index: 'createTime', type: 'date', width: 150 },
|
||||||
|
{ title: '状态', index: 'stateDeletedLabel', width: 120 },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
width: 120,
|
width: 120,
|
||||||
|
|||||||
@ -190,7 +190,8 @@ export class RechargeRecordComponent implements OnInit {
|
|||||||
rmYll: item.roleId,
|
rmYll: item.roleId,
|
||||||
snglFlgCd: item.paySerialNumber2,
|
snglFlgCd: item.paySerialNumber2,
|
||||||
bussType: '06',
|
bussType: '06',
|
||||||
ltdId: item.ltdId
|
ltdId: item.ltdId,
|
||||||
|
accountType: item.accountType
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -253,7 +253,8 @@ export class TransactionFlowComponent {
|
|||||||
rmYll: item.roleId,
|
rmYll: item.roleId,
|
||||||
snglFlgCd: item.channelPaySn,
|
snglFlgCd: item.channelPaySn,
|
||||||
bussType: item.tradeType === '7' ? '05' : item.tradeType === '8' ? '06' : '07',
|
bussType: item.tradeType === '7' ? '05' : item.tradeType === '8' ? '06' : '07',
|
||||||
ltdId: item.ltdId
|
ltdId: item.ltdId,
|
||||||
|
accountType: item.accountType
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -99,7 +99,8 @@ export class WithdrawalsDetailComponent implements OnInit {
|
|||||||
rmYll: this.formData.userId,
|
rmYll: this.formData.userId,
|
||||||
snglFlgCd: this.formData.coreSerNo,
|
snglFlgCd: this.formData.coreSerNo,
|
||||||
bussType: '06',
|
bussType: '06',
|
||||||
ltdId: this.formData.ltdId
|
ltdId: this.formData.ltdId,
|
||||||
|
accountType: this.formData.accountType
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -297,7 +297,8 @@ export class WithdrawalsRecordComponent {
|
|||||||
rmYll: item.userId,
|
rmYll: item.userId,
|
||||||
snglFlgCd: item.coreSerNo,
|
snglFlgCd: item.coreSerNo,
|
||||||
bussType: '06',
|
bussType: '06',
|
||||||
ltdId: item.ltdId
|
ltdId: item.ltdId,
|
||||||
|
accountType: item.accountType
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { FreightAccountService } from 'src/app/routes/financial-management/services/freight-account.service';
|
import { FreightAccountService } from 'src/app/routes/financial-management/services/freight-account.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-partner-account-management-withdrawals-detail',
|
selector: 'app-partner-account-management-withdrawals-detail',
|
||||||
templateUrl: './withdrawals-detail.component.html',
|
templateUrl: './withdrawals-detail.component.html',
|
||||||
@ -18,7 +17,7 @@ export class PartnerAccountManagementWithdralDetailComponent implements OnInit {
|
|||||||
this.loadRefundDetail(id);
|
this.loadRefundDetail(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void { }
|
ngOnInit(): void {}
|
||||||
|
|
||||||
loadRefundDetail(id: string) {
|
loadRefundDetail(id: string) {
|
||||||
this.service.request(this.service.$api_get_refund_detail, { id }).subscribe(res => {
|
this.service.request(this.service.$api_get_refund_detail, { id }).subscribe(res => {
|
||||||
@ -77,7 +76,8 @@ export class PartnerAccountManagementWithdralDetailComponent implements OnInit {
|
|||||||
rmYll: this.formData.userId,
|
rmYll: this.formData.userId,
|
||||||
snglFlgCd: this.formData.coreSerNo,
|
snglFlgCd: this.formData.coreSerNo,
|
||||||
bussType: '06',
|
bussType: '06',
|
||||||
ltdId: this.formData.ltdId
|
ltdId: this.formData.ltdId,
|
||||||
|
accountType: this.formData.accountType
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -311,7 +311,8 @@ export class PartnerAccountManagementWithdrawalsRecordComponent implements OnIni
|
|||||||
rmYll: item.userId,
|
rmYll: item.userId,
|
||||||
snglFlgCd: item.coreSerNo,
|
snglFlgCd: item.coreSerNo,
|
||||||
bussType: '06',
|
bussType: '06',
|
||||||
ltdId: item.ltdId
|
ltdId: item.ltdId,
|
||||||
|
accountType: item.accountType
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'" [formData]="i">
|
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
|
||||||
</sf>
|
</sf>
|
||||||
|
|
||||||
<div *nzModalFooter>
|
<div *nzModalFooter>
|
||||||
|
|||||||
@ -17,7 +17,8 @@ export class ParterChannelSalesEditComponent implements OnInit {
|
|||||||
ui!: SFUISchema;
|
ui!: SFUISchema;
|
||||||
i: any;
|
i: any;
|
||||||
type: any;
|
type: any;
|
||||||
|
record:any;
|
||||||
|
currentOAItem:any;
|
||||||
constructor(
|
constructor(
|
||||||
public http: _HttpClient,
|
public http: _HttpClient,
|
||||||
private cdr: ChangeDetectorRef,
|
private cdr: ChangeDetectorRef,
|
||||||
@ -28,7 +29,14 @@ export class ParterChannelSalesEditComponent implements OnInit {
|
|||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|
||||||
|
this.service.request(this.service.$api_getChannelSalesInfo, {id:this.i?.id}).subscribe(res => {
|
||||||
|
if(res){
|
||||||
|
this.record = res;
|
||||||
|
}
|
||||||
this.initSF();
|
this.initSF();
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
@ -62,10 +70,14 @@ export class ParterChannelSalesEditComponent implements OnInit {
|
|||||||
placeholder:'请选择',
|
placeholder:'请选择',
|
||||||
asyncData: (input:string) => this.service.request(this.service.$api_fuzzyQuery,{name:input}).pipe(
|
asyncData: (input:string) => this.service.request(this.service.$api_fuzzyQuery,{name:input}).pipe(
|
||||||
map((res: any) => {
|
map((res: any) => {
|
||||||
console.log('111',res)
|
return res.map((item:any)=>{
|
||||||
return [];
|
return {label: item.empName+"/"+item.empNo, value: item.empNo, obj: item}
|
||||||
})
|
})
|
||||||
)
|
})
|
||||||
|
),
|
||||||
|
change:(item:any, org:any)=>{
|
||||||
|
this.currentOAItem = org.obj;
|
||||||
|
}
|
||||||
} as SFAutoCompleteWidgetSchema,
|
} as SFAutoCompleteWidgetSchema,
|
||||||
},
|
},
|
||||||
isAuthorization: {
|
isAuthorization: {
|
||||||
@ -89,7 +101,6 @@ export class ParterChannelSalesEditComponent implements OnInit {
|
|||||||
mode: 'multiple',
|
mode: 'multiple',
|
||||||
maxMultipleCount: 5,
|
maxMultipleCount: 5,
|
||||||
asyncData: () => {
|
asyncData: () => {
|
||||||
|
|
||||||
return this.service.request(this.service.$api_getAppRoleList).pipe(
|
return this.service.request(this.service.$api_getAppRoleList).pipe(
|
||||||
map((res: any) => {
|
map((res: any) => {
|
||||||
return res
|
return res
|
||||||
@ -134,7 +145,7 @@ export class ParterChannelSalesEditComponent implements OnInit {
|
|||||||
save() {
|
save() {
|
||||||
this.sf.validator({ emitError: true });
|
this.sf.validator({ emitError: true });
|
||||||
if(!this.sf.valid) return;
|
if(!this.sf.valid) return;
|
||||||
this.service.request(this.service.$api_save, { ...this.sf.value }).subscribe(res => {
|
this.service.request(this.service.$api_save, { ...this.sf.value, employeeVO: this.currentOAItem}).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.modalRef.destroy(true);
|
this.modalRef.destroy(true);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -98,10 +98,6 @@ export class ParterChannelSalesListComponent implements OnInit {
|
|||||||
text: '编辑',
|
text: '编辑',
|
||||||
click: (_record, _modal, _instance) => this.edit(_record),
|
click: (_record, _modal, _instance) => this.edit(_record),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: '查看',
|
|
||||||
click: (_record, _modal, _instance) => this.view(_record),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: '冻结',
|
text: '冻结',
|
||||||
click: (_record, _modal, _instance) => this.stop(_record.id),
|
click: (_record, _modal, _instance) => this.stop(_record.id),
|
||||||
@ -116,7 +112,6 @@ export class ParterChannelSalesListComponent implements OnInit {
|
|||||||
nzWidth:600,
|
nzWidth:600,
|
||||||
nzTitle: '新增',
|
nzTitle: '新增',
|
||||||
nzContent: ParterChannelSalesEditComponent,
|
nzContent: ParterChannelSalesEditComponent,
|
||||||
nzComponentParams: { type: this.spuStatus }
|
|
||||||
});
|
});
|
||||||
modalRef.afterClose.subscribe(res => {
|
modalRef.afterClose.subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
@ -131,7 +126,7 @@ export class ParterChannelSalesListComponent implements OnInit {
|
|||||||
nzWidth:600,
|
nzWidth:600,
|
||||||
nzTitle: '编辑',
|
nzTitle: '编辑',
|
||||||
nzContent: ParterChannelSalesEditComponent,
|
nzContent: ParterChannelSalesEditComponent,
|
||||||
nzComponentParams: { i: record, type: this.spuStatus }
|
nzComponentParams: { i: record }
|
||||||
});
|
});
|
||||||
modalRef.afterClose.subscribe(res => {
|
modalRef.afterClose.subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
@ -140,14 +135,7 @@ export class ParterChannelSalesListComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑
|
|
||||||
view(record: STData) {
|
|
||||||
const modalRef = this.modalService.create({
|
|
||||||
nzTitle: '查看',
|
|
||||||
nzContent: ParterChannelSalesEditComponent,
|
|
||||||
nzComponentParams: { i: record }
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
stop(id: any) {
|
stop(id: any) {
|
||||||
this.modalService.confirm({
|
this.modalService.confirm({
|
||||||
|
|||||||
@ -15,6 +15,10 @@ export class ChannelSalesService extends BaseService {
|
|||||||
$api_fuzzyQuery = '/api/mdc/channelSalesManagement/fuzzyQuery';
|
$api_fuzzyQuery = '/api/mdc/channelSalesManagement/fuzzyQuery';
|
||||||
// 获取角色列表
|
// 获取角色列表
|
||||||
$api_getAppRoleList = '/api/mdc/cuc/roleInfo/getRoleList';
|
$api_getAppRoleList = '/api/mdc/cuc/roleInfo/getRoleList';
|
||||||
|
// 获取渠道销售管理详情
|
||||||
|
$api_listChannelSalesManagement = '/api/mdc/channelSalesManagement/list/listChannelSalesManagement';
|
||||||
|
// 根据渠道销售id获取渠道信息
|
||||||
|
$api_getChannelSalesInfo = '/api/mdc/channelSalesManagement/getChannelSalesInfo';
|
||||||
|
|
||||||
|
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
|
|||||||
@ -205,6 +205,10 @@ export class CancellationInvoiceComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
downLoadDetail(item: any) {
|
||||||
|
this.service.exportStart({ id: item.id }, this.service.$api_export_invoic_detail);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 推送发票
|
* 推送发票
|
||||||
* @param item
|
* @param item
|
||||||
@ -387,6 +391,11 @@ export class CancellationInvoiceComponent implements OnInit {
|
|||||||
queryParams: { type: 1, expressno: item.expressno, ltdId: item.shipperId }
|
queryParams: { type: 1, expressno: item.expressno, ltdId: item.shipperId }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: '销货清单<br>',
|
||||||
|
iif: item => item.isdetail,
|
||||||
|
click: item => this.downLoadDetail(item)
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: '手工开票<br>',
|
text: '手工开票<br>',
|
||||||
iif: item => item.sts != '3',
|
iif: item => item.sts != '3',
|
||||||
|
|||||||
@ -34,11 +34,11 @@ export class ExpressDetailModalComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '金额',
|
title: '金额',
|
||||||
index: 'vatnotax',
|
index: 'vatmoney',
|
||||||
width: 90,
|
width: 90,
|
||||||
type: 'widget',
|
type: 'widget',
|
||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatnotax }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatmoney }) }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '税率',
|
title: '税率',
|
||||||
@ -53,7 +53,7 @@ export class ExpressDetailModalComponent implements OnInit {
|
|||||||
width: 90,
|
width: 90,
|
||||||
type: 'widget',
|
type: 'widget',
|
||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatnotax }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vattax }) }
|
||||||
},
|
},
|
||||||
{ title: '开票日期', index: 'invoicedate', type: 'date', width: 150, className: 'text-center' }
|
{ title: '开票日期', index: 'invoicedate', type: 'date', width: 150, className: 'text-center' }
|
||||||
];
|
];
|
||||||
|
|||||||
@ -46,6 +46,8 @@ export class TicketService extends ShipperBaseService {
|
|||||||
$api_batch_push_invoic = '/api/fcc/ficoVatinvH/crmPushInvoBath';
|
$api_batch_push_invoic = '/api/fcc/ficoVatinvH/crmPushInvoBath';
|
||||||
// 发票作废
|
// 发票作废
|
||||||
$api_cancel_invoic = '/api/fcc/ficoVatinvH/inpinvHCancel';
|
$api_cancel_invoic = '/api/fcc/ficoVatinvH/inpinvHCancel';
|
||||||
|
// 运营端销票处理导出销售清单
|
||||||
|
$api_export_invoic_detail = '/api/fcc/ficoVatinvH/reportVatinvHByOperator';
|
||||||
|
|
||||||
// 获取汇总下单路径
|
// 获取汇总下单路径
|
||||||
$api_get_order_summary_path = '/api/fcc/ficoExpressH/getSummaryOrderAddress';
|
$api_get_order_summary_path = '/api/fcc/ficoExpressH/getSummaryOrderAddress';
|
||||||
@ -60,7 +62,7 @@ export class TicketService extends ShipperBaseService {
|
|||||||
$api_get_invoice_page = '/api/fcc/ficoVatinvH/list/page';
|
$api_get_invoice_page = '/api/fcc/ficoVatinvH/list/page';
|
||||||
|
|
||||||
// 更新快递信息
|
// 更新快递信息
|
||||||
$api_update_Express= '/api/fcc/ficoVatinvH/updateExpress';
|
$api_update_Express = '/api/fcc/ficoVatinvH/updateExpress';
|
||||||
|
|
||||||
// 发票作废
|
// 发票作废
|
||||||
$api_cancel_invoice = '/api/fcc/ficoVatinvH/inpinvHCancel';
|
$api_cancel_invoice = '/api/fcc/ficoVatinvH/inpinvHCancel';
|
||||||
|
|||||||
Reference in New Issue
Block a user