parent
0458abc38f
commit
0e02f13c90
@ -0,0 +1,59 @@ |
|||||||
|
<!-- start 面包屑 --> |
||||||
|
<app-breadcrumb></app-breadcrumb> |
||||||
|
<!-- end 面包屑 --> |
||||||
|
<div class="inner-content"> |
||||||
|
<form nz-form [formGroup]="searchForm" (ngSubmit)="getRequest(searchForm.value)"> |
||||||
|
<div nz-row> |
||||||
|
|
||||||
|
|
||||||
|
<div nz-col nzSpan="8"> |
||||||
|
<nz-form-item> |
||||||
|
<nz-form-label [nzSpan]="8">类型</nz-form-label> |
||||||
|
<nz-form-control [nzSpan]="14"> |
||||||
|
<nz-select nzShowSearch nzAllowClear formControlName="type"> |
||||||
|
<nz-option nzLabel="四川中石油" [nzValue]=1></nz-option> |
||||||
|
<nz-option nzLabel="贵州中石油" [nzValue]=2></nz-option> |
||||||
|
</nz-select> |
||||||
|
</nz-form-control> |
||||||
|
</nz-form-item> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
<div nz-row> |
||||||
|
<div nz-col nzSpan="24" class="search-button"> |
||||||
|
<button nz-button nzType="primary"><i nz-icon nzType="search" nzTheme="outline"></i>搜索</button> |
||||||
|
<button nz-button nzType="default" (click)="resetForm()"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</form> |
||||||
|
</div> |
||||||
|
<div class="inner-content"> |
||||||
|
<span>共计 {{total}} 条数据</span> |
||||||
|
<nz-table #basicTable [nzData]="requestData"> |
||||||
|
<thead> |
||||||
|
<tr> |
||||||
|
<th>编码</th> |
||||||
|
<th>名称</th> |
||||||
|
<th>面额</th> |
||||||
|
<th>类型</th> |
||||||
|
<th>有效天数</th> |
||||||
|
<th>库存</th> |
||||||
|
<th>状态</th> |
||||||
|
</tr> |
||||||
|
</thead> |
||||||
|
<tbody> |
||||||
|
<tr *ngFor="let data of basicTable.data"> |
||||||
|
<td>{{ data.request_code }}</td> |
||||||
|
<td>{{ data.ticket_name }}</td> |
||||||
|
<td>{{ data.face_amount }}</td> |
||||||
|
<td>{{ data.goods_type | scPrinter}}</td> |
||||||
|
<td>{{ data.effective_days}}</td> |
||||||
|
<td>{{ data.total_num}}</td> |
||||||
|
<td>{{ data.status == 1 ? '正常':'停用'}}</td> |
||||||
|
|
||||||
|
|
||||||
|
</tr> |
||||||
|
</tbody> |
||||||
|
</nz-table> |
||||||
|
</div> |
@ -1,33 +0,0 @@ |
|||||||
<!-- start 面包屑 --> |
|
||||||
<app-breadcrumb></app-breadcrumb> |
|
||||||
<!-- end 面包屑 --> |
|
||||||
|
|
||||||
<div class="inner-content"> |
|
||||||
<span>共计 {{total}} 条数据</span> |
|
||||||
<nz-table #basicTable [nzData]="requestData"> |
|
||||||
<thead> |
|
||||||
<tr> |
|
||||||
<th>编码</th> |
|
||||||
<th>名称</th> |
|
||||||
<th>面额</th> |
|
||||||
<th>类型</th> |
|
||||||
<th>有效天数</th> |
|
||||||
<th>库存</th> |
|
||||||
<th>状态</th> |
|
||||||
</tr> |
|
||||||
</thead> |
|
||||||
<tbody> |
|
||||||
<tr *ngFor="let data of basicTable.data"> |
|
||||||
<td>{{ data.request_code }}</td> |
|
||||||
<td>{{ data.ticket_name }}</td> |
|
||||||
<td>{{ data.face_amount }}</td> |
|
||||||
<td>{{ data.goods_type | scPrinter}}</td> |
|
||||||
<td>{{ data.effective_days}}</td> |
|
||||||
<td>{{ data.total_num}}</td> |
|
||||||
<td>{{ data.status == 1 ? '正常':'停用'}}</td> |
|
||||||
|
|
||||||
|
|
||||||
</tr> |
|
||||||
</tbody> |
|
||||||
</nz-table> |
|
||||||
</div> |
|
@ -1,25 +0,0 @@ |
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; |
|
||||||
|
|
||||||
import { PetrolStationManageComponent } from './petrol-station-manage'; |
|
||||||
|
|
||||||
describe('PetrolStationManageComponent', () => { |
|
||||||
let component: PetrolStationManageComponent; |
|
||||||
let fixture: ComponentFixture<PetrolStationManageComponent>; |
|
||||||
|
|
||||||
beforeEach(async(() => { |
|
||||||
TestBed.configureTestingModule({ |
|
||||||
declarations: [ PetrolStationManageComponent ] |
|
||||||
}) |
|
||||||
.compileComponents(); |
|
||||||
})); |
|
||||||
|
|
||||||
beforeEach(() => { |
|
||||||
fixture = TestBed.createComponent(PetrolStationManageComponent); |
|
||||||
component = fixture.componentInstance; |
|
||||||
fixture.detectChanges(); |
|
||||||
}); |
|
||||||
|
|
||||||
it('should create', () => { |
|
||||||
expect(component).toBeTruthy(); |
|
||||||
}); |
|
||||||
}); |
|
Loading…
Reference in new issue