代码更新

This commit is contained in:
GaoHao
2025-03-12 14:13:29 +08:00
parent 2f1523d4e9
commit c2135c6119
105 changed files with 2026 additions and 278 deletions

View File

@@ -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') {

View File

@@ -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: {

View File

@@ -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'])

View File

@@ -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 = [{