代码更新
This commit is contained in:
@@ -468,10 +468,10 @@
|
||||
updateProduct,
|
||||
delProduct,
|
||||
productBindCons
|
||||
} from '@/api/product.js'
|
||||
} from '@/http/api/product.js'
|
||||
import {
|
||||
uploadFile
|
||||
} from '@/api/index.js'
|
||||
} from '@/http/api/index.js'
|
||||
|
||||
const imageStyles = reactive({
|
||||
width: 82,
|
||||
@@ -847,8 +847,9 @@
|
||||
FormData.proGroupVo.push({
|
||||
title: '',
|
||||
count: 1,
|
||||
goods: []
|
||||
goods: [],
|
||||
})
|
||||
console.log(FormData.proGroupVo)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1064,9 +1065,6 @@
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
let selectSpecInfo = $goodsData.selectSpecInfo
|
||||
if (FormData.specificationsGroup.specAllList) {
|
||||
selectSpecInfo = {}
|
||||
@@ -1123,7 +1121,7 @@
|
||||
// 可选套餐
|
||||
} else {
|
||||
FormData.proGroupVo[0].count = FormData.proGroupVo[0].goods.length
|
||||
FormData.proGroupVo[0].number = null
|
||||
FormData.proGroupVo[0].number = 1
|
||||
}
|
||||
}
|
||||
if (type == 'weight') {
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
<script setup>
|
||||
import { reactive, onMounted, ref, watch, computed } from 'vue';
|
||||
import { getProductPage} from '@/api/product.js';
|
||||
import { getProductPage} from '@/http/api/product.js';
|
||||
|
||||
const props = defineProps({
|
||||
modelValue: {
|
||||
|
||||
@@ -80,8 +80,8 @@
|
||||
import chooseDanwei from './choose-danwei.vue';
|
||||
import { hasPermission } from '@/commons/utils/hasPermission.js';
|
||||
|
||||
import { getConsList } from '@/api/cons.js';
|
||||
import { productBindCons } from '@/api/product.js';
|
||||
import { getConsList } from '@/http/api/cons.js';
|
||||
import { productBindCons } from '@/http/api/product.js';
|
||||
|
||||
const emits = defineEmits(['cancel', 'updateGoods'])
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
import { computed, ref } from 'vue';
|
||||
import go from '@/commons/utils/go.js';
|
||||
import color from '@/commons/color.js'
|
||||
import { getProductDetail } from '@/api/product.js'
|
||||
import { getProductDetail } from '@/http/api/product.js'
|
||||
|
||||
|
||||
const cycle = [{
|
||||
|
||||
Reference in New Issue
Block a user