新增商品增加与编辑

This commit is contained in:
gyq
2024-01-21 18:29:18 +08:00
parent 26425e7f57
commit 966ef627bb
10 changed files with 713 additions and 72 deletions

View File

@@ -35,7 +35,7 @@
<script>
import addGroup from '../components/addGroup'
import { tbProductGroupGet, tbProductSpecDelete } from '@/api/shop'
import { tbProductGroupGet, tbProductGroupDelete } from '@/api/shop'
export default {
components: {
addGroup
@@ -68,7 +68,7 @@ export default {
// 删除
async delHandle(ids) {
try {
await tbProductSpecDelete(ids)
await tbProductGroupDelete(ids)
this.$notify({
title: '成功',
message: `删除成功`,