修改商品列表:根据名称搜索列表,字段name改为title

dev
游梦婷 1 year ago
parent 86d1116d1a
commit 37d10e0e7a
  1. 2
      src/app/admin/goods/list/list.component.html
  2. 2
      src/app/admin/goods/list/list.component.ts

@ -10,7 +10,7 @@
<nz-form-item>
<nz-form-label [nzSpan]="6">商品名称</nz-form-label>
<nz-form-control [nzSpan]="16">
<input nz-input formControlName="name"/>
<input nz-input formControlName="title"/>
</nz-form-control>
</nz-form-item>
</div>

@ -110,7 +110,7 @@ export class ListComponent implements OnInit {
// 初始化搜索表单
this.searchForm = this.form.group({
name: [null],
title: [null],
status: [null],
goodsLabel: [null],
});

Loading…
Cancel
Save