提交代码

pull/1/head
胡锐 3 years ago
parent 20599242c2
commit 8b315254c2
  1. 9
      src/app/admin/agent/agent-list/agent-list.component.html
  2. 1
      src/app/admin/agent/agent-list/agent-list.component.ts

@ -202,6 +202,15 @@
</nz-select>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzSpan]="6" nzRequired>类型</nz-form-label>
<nz-form-control [nzSpan]="16" nzErrorTip="请选择卡券!">
<nz-select nzShowSearch nzAllowClear formControlName="type" nzPlaceHolder="请选择卡券">
<nz-option nzLabel="销售码" nzValue="1"></nz-option>
<nz-option nzLabel="兑换码" nzValue="2"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzSpan]="6" nzRequired>分发卡券数量</nz-form-label>
<nz-form-control [nzSpan]="16" nzErrorTip="分发卡券数量!">

@ -79,6 +79,7 @@ export class AgentListComponent implements OnInit {
});
this.validateFormDistribute = this.form.group({
couponId: [null, [Validators.required]],
type: [null, [Validators.required]],
stockCount: [null, [Validators.required]],
});
this.getRequest(true, this.searchForm.value);

Loading…
Cancel
Save