From 939406afba2536b8aca077aa615bf5238c001841 Mon Sep 17 00:00:00 2001
From: 1154079537 <1154079537@qq.com>
Date: Thu, 16 May 2024 18:12:21 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=8D=95=E4=BD=8D=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/admin/goods_details/index.vue | 1 -
pages/product/addGood/addGood.vue | 2 +-
pages/product/addGoodDetail/addGoodDetail.vue | 1 -
pages/product/updateStock/updateStock.vue | 2 +-
4 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/pages/admin/goods_details/index.vue b/pages/admin/goods_details/index.vue
index 17279e7..158d5b5 100644
--- a/pages/admin/goods_details/index.vue
+++ b/pages/admin/goods_details/index.vue
@@ -757,7 +757,6 @@
let storeInfo = res.data;
// this.product_attribute = res.data.product_attribute
- console.log(res.data.product_attribute);
this.image = res.data.image;
if (storeInfo.video_link && storeInfo.slider_image.length > 1) {
diff --git a/pages/product/addGood/addGood.vue b/pages/product/addGood/addGood.vue
index 1ac401d..ca873e2 100644
--- a/pages/product/addGood/addGood.vue
+++ b/pages/product/addGood/addGood.vue
@@ -13,7 +13,7 @@
- 上传时应注重真实性、清晰度
+ 上传时应注重真实性、清晰度、至少上传两张
diff --git a/pages/product/addGoodDetail/addGoodDetail.vue b/pages/product/addGoodDetail/addGoodDetail.vue
index e9084b9..ce30ca9 100644
--- a/pages/product/addGoodDetail/addGoodDetail.vue
+++ b/pages/product/addGoodDetail/addGoodDetail.vue
@@ -62,7 +62,6 @@
-
上传时应注重真实性、清晰度
diff --git a/pages/product/updateStock/updateStock.vue b/pages/product/updateStock/updateStock.vue
index f326d55..d6a5c14 100644
--- a/pages/product/updateStock/updateStock.vue
+++ b/pages/product/updateStock/updateStock.vue
@@ -36,7 +36,7 @@
个
+ v-model="item.stock">{{item.unit_name}}
From 47a2387fb6bdf99e43ae2f3bf51356bd678d96a1 Mon Sep 17 00:00:00 2001
From: 1154079537 <1154079537@qq.com>
Date: Fri, 17 May 2024 11:54:30 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E8=A7=84=E6=A0=BC=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/admin/goods_details/index.vue | 11 +++++++----
pages/product/addGoodDetail/goodsPrice.vue | 16 ++++++++++------
pages/product/addGoodDetail/goodsType.vue | 2 +-
3 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/pages/admin/goods_details/index.vue b/pages/admin/goods_details/index.vue
index 158d5b5..41b1c7a 100644
--- a/pages/admin/goods_details/index.vue
+++ b/pages/admin/goods_details/index.vue
@@ -229,7 +229,8 @@
-
+
{{item.label}}
@@ -238,8 +239,8 @@
{{item.value}}
-
+
@@ -755,7 +756,9 @@
getPreviewProDetail(params).then(res => {
uni.hideLoading();
let storeInfo = res.data;
- // this.product_attribute = res.data.product_attribute
+
+ if (res.data.product_attribute)
+ this.product_attribute = res.data.product_attribute
this.image = res.data.image;
diff --git a/pages/product/addGoodDetail/goodsPrice.vue b/pages/product/addGoodDetail/goodsPrice.vue
index dc33bd1..581ce3c 100644
--- a/pages/product/addGoodDetail/goodsPrice.vue
+++ b/pages/product/addGoodDetail/goodsPrice.vue
@@ -1,8 +1,6 @@
-
-
-
+
规格{{index+1}}
@@ -17,13 +15,14 @@
+ placeholderStyle="font-size:26rpx;color:rgb(192, 196, 204);" type='number'>
/
+ placeholderStyle="font-size:26rpx;color:rgb(192, 196, 204);" placeholder="请输入计量单位"
+ v-model="item.unit_name">
@@ -67,6 +66,11 @@
+
+
+
+
+
@@ -326,7 +330,7 @@
.card {
- margin-top: 30rpx;
+ margin-bottom: 30rpx;
padding: 30rpx 46rpx;
background-color: white;
border-radius: 16rpx 16rpx 16rpx 16rpx;
diff --git a/pages/product/addGoodDetail/goodsType.vue b/pages/product/addGoodDetail/goodsType.vue
index 2165307..13801a5 100644
--- a/pages/product/addGoodDetail/goodsType.vue
+++ b/pages/product/addGoodDetail/goodsType.vue
@@ -133,7 +133,7 @@
.left {
margin-right: 30rpx;
- width: 140rpx;
+ width: 160rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;