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