开票申请

This commit is contained in:
Taric Xin
2021-12-23 16:44:20 +08:00
parent e974ca1593
commit 386271289c
10 changed files with 257 additions and 91 deletions

View File

@ -4,6 +4,7 @@ import { STComponent, STColumn, STChange } from '@delon/abc/st';
import { SFComponent, SFSchema, SFDateWidgetSchema, SFTextWidgetSchema } from '@delon/form';
import { NzModalService } from 'ng-zorro-antd/modal';
import { TicketService } from '../../../services/ticket.service';
import { RequestedDetailComponent } from '../requested-detail/requested-detail.component';
import { RequestedInvoiceModalComponent } from '../requested-invoice-modal/requested-invoice-modal.component';
@Component({
@ -44,7 +45,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
openRequestedModal() {
const modal = this.nzModalService.create({
nzTitle: '开票',
nzContent: RequestedInvoiceModalComponent,
nzContent: RequestedDetailComponent,
nzWidth: 800,
nzFooter: [
{
@ -65,8 +66,13 @@ export class InvoiceRequestedDetailComponent implements OnInit {
});
}
/**
* 移除订单
* @returns
*/
removeOrder() {
if (this.selectedRows?.length <= 0) {
this.service.msgSrv.warning('请选择订单');
return;
}
this.nzModalService.warning({
@ -199,7 +205,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
{ title: '装货地', index: 'callNo', width: 90 },
{ title: '卸货地', index: 'callNo', width: 90 },
{ title: '货物信息', index: 'callNo', width: 100 },
{ title: '承运司机', index: 'callNo', width: 100 },
{ title: '承运司机', index: 'callNo', width: 140, format: item => `特朗普</br>13789040523</br>粤GT8419` },
{ title: '申请金额', index: 'callNo', width: 100 },
{ title: '运输费', index: 'callNo', width: 90 },
{ title: '附加费', index: 'callNo', width: 90 },