|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { VSelect } from '@/components'
|
|
import { VSelect } from '@/components'
|
|
-import { productSave } from '@/api/product'
|
|
|
|
|
|
+import { productLevelSave } from '@/api/product'
|
|
export default {
|
|
export default {
|
|
name: 'ProductLevelEditModal',
|
|
name: 'ProductLevelEditModal',
|
|
components: { VSelect },
|
|
components: { VSelect },
|
|
@@ -87,7 +87,7 @@ export default {
|
|
const params = _this.nowData
|
|
const params = _this.nowData
|
|
params.level = _this.form.level
|
|
params.level = _this.form.level
|
|
_this.spinning = true
|
|
_this.spinning = true
|
|
- productSave(params).then(res => {
|
|
|
|
|
|
+ productLevelSave(params).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
_this.$message.success(res.message)
|
|
_this.$message.success(res.message)
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|