车辆接口更新

This commit is contained in:
wangshiming
2022-01-20 15:24:19 +08:00
parent a68612626b
commit 61dccdd3d3
9 changed files with 73 additions and 53 deletions

View File

@ -327,23 +327,23 @@ export class CancellationInvoiceComponent implements OnInit {
iif: item => item.sts != '3',
click: item => this.requestedAction(item)
},
{
text: '推送开票',
iif: item => item.sts != '3',
click: item => this.pushInvoiceAction(item)
},
{
text: '移除',
click: item => this.batchRemove(item)
},
{
text: '确认'
// click: item => this.rejectAction(item)
},
{
text: '撤回',
click: item => this.batchWithdraw(item)
}
// {
// text: '推送开票',
// iif: item => item.sts != '3',
// click: item => this.pushInvoiceAction(item)
// },
// {
// text: '移除',
// click: item => this.batchRemove(item)
// },
// {
// text: '确认'
// // click: item => this.rejectAction(item)
// },
// {
// text: '撤回',
// click: item => this.batchWithdraw(item)
// }
]
}
];

View File

@ -63,7 +63,7 @@
<button nz-button nzType="primary" (click)="saveInvoices()">保 存</button>
</ng-container>
<ng-template #elseTemplate>
<button nz-button nzType="primary" (click)="isEdit = true">修改</button>
<!-- <button nz-button nzType="primary" (click)="isEdit = true">修改</button> -->
</ng-template>
</div>
</div>
@ -83,7 +83,7 @@
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
(click)="orderST?.load(1)">查询</button>
<button nz-button (click)="resetSF(1)">重置</button>
<button nz-button> 导出</button>
<!-- <button nz-button> 导出</button> -->
</div>
</div>

View File

@ -46,9 +46,9 @@
<a *ngIf="totalCallNo > 0" (click)="st.clearCheck()" class="ml-lg">清空</a>
</div>
<button nz-button (click)="this.batchRequested()">开票</button>
<button nz-button (click)="this.rejectAction(selectedRows)">驳回</button>
<!-- <button nz-button (click)="this.rejectAction(selectedRows)">驳回</button>
<button nz-button (click)="changePice(selectedRows)">修改地址</button>
<button nz-button (click)="printOrder(selectedRows)">打印面单</button>
<button nz-button (click)="printOrder(selectedRows)">打印面单</button> -->
</div>
</ng-template>

View File

@ -415,13 +415,13 @@ export class InvoiceRequestedComponent implements OnInit {
buttons: [
{ type: 'divider' },
{
text: '开票',
text: '开票<br/>',
click: item => this.requestedInvoiceAction(item)
},
{
text: '驳回<br/>',
click: item => this.rejectAction([item])
},
// {
// text: '驳回<br/>',
// click: item => this.rejectAction([item])
// },
{
text: '订单明细<br/>',
click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.id])
@ -430,10 +430,10 @@ export class InvoiceRequestedComponent implements OnInit {
text: '查看原因<br/>',
click: item => this.showReason(item)
},
{
text: '下载对账单'
// click: item => this.rejectAction(item)
}
// {
// text: '下载对账单'
// // click: item => this.rejectAction(item)
// }
]
}
];

View File

@ -14,7 +14,7 @@
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand" class="text-right">
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<button nz-button> 导出</button>
<!-- <button nz-button> 导出</button> -->
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
@ -25,14 +25,14 @@
<nz-card nzBordered>
<div class="d-flex align-items-center mb-md">
<button nz-button (click)="this.deletedInvoice()">作废发票</button>
<button nz-button (click)="this.invoiceHongChong()">发票红冲</button>
<div class="ml-md">
<!-- <button nz-button (click)="this.deletedInvoice()">作废发票</button>
<button nz-button (click)="this.invoiceHongChong()">发票红冲</button> -->
<!-- <div class="ml-md">
已选择
<strong class="text-red">{{ selectedRows.length }}</strong> 条数据&nbsp;&nbsp; 开票金额总计
<strong class="text-red">{{ totalCallNo }}</strong>
<a *ngIf="totalCallNo > 0" (click)="st.clearCheck()" class="ml-lg">清空</a>
</div>
</div> -->
</div>
<st