From a6bca24c1a569b7cb213d15919fadda1956bd660 Mon Sep 17 00:00:00 2001
From: duan <1004387497@qq.com>
Date: Fri, 18 Apr 2025 18:00:00 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/product/indexconfig/addgoods.vue | 24 ++++++++++++----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/views/product/indexconfig/addgoods.vue b/src/views/product/indexconfig/addgoods.vue
index 95f3e28..2b19d2b 100644
--- a/src/views/product/indexconfig/addgoods.vue
+++ b/src/views/product/indexconfig/addgoods.vue
@@ -188,9 +188,15 @@
-
-
+
+
+
+
+ -
+
+
@@ -440,6 +446,10 @@ onMounted(() => {
watch(() => router.currentRoute.value.query.goods_id, (val) => {
tbProductGetDetail(val);
})
+function pickerOptions(d) {
+ console.log(d, '11111111');
+
+}
async function tbProductGetDetail(id: any) {
// 获取商品详情
const res = await UserAPI3.getDetail(id);
@@ -750,14 +760,6 @@ const submitForm = async (formEl: FormInstance | undefined) => {
ElMessage.error('请填写组名和几选几')
return
}
- // 修改时间
- console.log(ruleForm.useTime)
- if (!ruleForm.useTime) {
- ElMessage.error('请选择定时上下架时间')
- return
- }
- ruleForm.startTime = ruleForm.useTime[0]
- ruleForm.endTime = ruleForm.useTime[1]
// 拿到sku数据
ruleForm.skuList = (specificationAttributeRef.value as any)?.getdata()
// 多规格 selectSpecInfo 添加