@ -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-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);