提交代码

dev
胡锐 1 day ago
parent 68709fbb75
commit 20a36873e7
  1. 8
      src/app/pages/trade/gas-order-receipt/gas-order-receipt.component.html
  2. 1
      src/app/pages/trade/gas-order-receipt/gas-order-receipt.component.ts

@ -134,14 +134,14 @@
<thead> <thead>
<tr> <tr>
<th nzWidth="50px">序号</th> <th nzWidth="50px">序号</th>
<th nzWidth="150px">申请单号</th> <th nzWidth="150px">交易单号</th>
<th nzWidth="300px">原因</th> <th nzWidth="300px">原因</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr *ngFor="let data of errorStudentTable.data;let i = index"> <tr *ngFor="let data of errorStudentTable.data;let i = index">
<td>{{ i + 1}}</td> <td>{{ i + 1}}</td>
<td>{{data.applyNo}}</td> <td>{{data.orderNo}}</td>
<td>{{data.errorMessage}}</td> <td>{{data.errorMessage}}</td>
</tr> </tr>
</tbody> </tbody>
@ -149,11 +149,11 @@
</ng-container> </ng-container>
</nz-modal> </nz-modal>
<nz-modal [(nzVisible)]="importModal" nzTitle="导入设备" (nzOnCancel)="importModal = false" nzWidth="500px" [nzFooter]="null"> <nz-modal [(nzVisible)]="importModal" nzTitle="导入开票完成" (nzOnCancel)="importModal = false" nzWidth="500px" [nzFooter]="null">
<ng-container *nzModalContent> <ng-container *nzModalContent>
<form nz-form [formGroup]="importFleUrlForm"> <form nz-form [formGroup]="importFleUrlForm">
<nz-form-item> <nz-form-item>
<nz-form-label [nzSpan]="6" nzRequired>文件</nz-form-label> <nz-form-label [nzSpan]="8" nzRequired>文件<a href="http://oil.dctpay.com/filesystem/template/order_receipt_template.xlsx">模板下载</a></nz-form-label>
<nz-form-control [nzSpan]="14"> <nz-form-control [nzSpan]="14">
<nz-upload <nz-upload
[nzAccept]="'.xls,.xlsx'" [nzAccept]="'.xls,.xlsx'"

@ -300,6 +300,7 @@ export class GasOrderReceiptComponent {
this.gasOrderReceiptService.importComplete(this.importFleUrlForm.value, (data: any) => { this.gasOrderReceiptService.importComplete(this.importFleUrlForm.value, (data: any) => {
this.loadingObject.spinning = false; this.loadingObject.spinning = false;
if (data['return_code'] === '000000') { if (data['return_code'] === '000000') {
this.importModal = false;
if (data['return_data'].length === 0) { if (data['return_data'].length === 0) {
this.modal.success({ this.modal.success({
nzTitle: '提示', nzTitle: '提示',

Loading…
Cancel
Save