Browse Source

复制食谱名称

main
kely 1 year ago
parent
commit
6fe64832e9
  1. 4
      projects/admin/src/app/pages/ingredients/ingredient-list/ingredient-list.component.ts

4
projects/admin/src/app/pages/ingredients/ingredient-list/ingredient-list.component.ts

@ -227,6 +227,10 @@ export class IngredientListComponent {
this.msg.error('没有符合当前营养标准的单位')
return
}
const copyName = v['name'] + '【复制】'
this.copyForm.patchValue({
name: copyName,
})
this.modal.create({
nzTitle: '复制食谱',
nzContent: this.copyTpl,

Loading…
Cancel
Save