|
|
@@ -1707,7 +1707,7 @@ export default {
|
|
|
methods: {
|
|
|
// 检查违禁关键词
|
|
|
checkForbiddenKeywords(ingredient) {
|
|
|
- selectForbiddenKeywords(ingredient).then(response => {
|
|
|
+ selectForbiddenKeywords(ingredient, this.form.productName).then(response => {
|
|
|
if (response.data === false) {
|
|
|
this.$message.error(response.msg || '包含违禁词');
|
|
|
this.isIngredientValid = false;
|
|
|
@@ -1720,7 +1720,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 检查店铺药品许可证
|
|
|
- // 检查店铺药品许可证
|
|
|
checkStoreDrugLicense(cateId) {
|
|
|
checkStoreDrugLicense({ cateId: cateId }).then(response => {
|
|
|
if (response.data.flag === false) {
|