From 6a653198c313790f9612c7f1752f2032d4394375 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Wed, 19 Jul 2023 14:08:32 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=95=86=E5=AE=B6=E7=AB=AF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=B8=8A=E4=BC=A0=E8=A7=86=E9=A2=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/pages/article/index.vue | 2 +- manager/vue.config.js | 3 - seller/package.json | 2 +- .../views/goods/goods-seller/draftGoods.vue | 3 +- .../goods/goods-seller/goodsOperationSec.vue | 719 ++++++------------ 5 files changed, 242 insertions(+), 487 deletions(-) diff --git a/buyer/src/pages/article/index.vue b/buyer/src/pages/article/index.vue index ed59795c..2215dce0 100644 --- a/buyer/src/pages/article/index.vue +++ b/buyer/src/pages/article/index.vue @@ -2,7 +2,7 @@
- +

文章帮助中心

diff --git a/manager/vue.config.js b/manager/vue.config.js index cb688fee..7b4da29a 100644 --- a/manager/vue.config.js +++ b/manager/vue.config.js @@ -24,7 +24,6 @@ let externals = { "js-cookie": "Cookies", "sockjs-client": "SockJS", "@antv/g2": "G2", - dplayer: "DPlayer" }; // 使用CDN的内容 @@ -39,8 +38,6 @@ let cdn = { "https://cdn.pickmall.cn/cdn/iview.min.js", "https://cdn.pickmall.cn/cdn/vue-lazyload.min.js", "https://cdn.pickmall.cn/cdn/js.cookie.min.js", - "https://cdn.pickmall.cn/cdn/DPlayer.min.js", - "https://cdn.pickmall.cn/cdn/sockjs.min.js", "https://gw.alipayobjects.com/os/lib/antv/g2/4.1.24/dist/g2.min.js" ] diff --git a/seller/package.json b/seller/package.json index 1931b8a3..0ccadd37 100644 --- a/seller/package.json +++ b/seller/package.json @@ -15,7 +15,7 @@ "@antv/g2": "^4.1.14", "@tinymce/tinymce-vue": "^3.2.0", "axios": "^0.21.1", - "dplayer": "^1.27.0", + "dplayer": "^1.27.1", "js-cookie": "^2.2.1", "node-sass": "^4.14.1", "price-color": "^1.0.2", diff --git a/seller/src/views/goods/goods-seller/draftGoods.vue b/seller/src/views/goods/goods-seller/draftGoods.vue index 54cceefe..470847e9 100644 --- a/seller/src/views/goods/goods-seller/draftGoods.vue +++ b/seller/src/views/goods/goods-seller/draftGoods.vue @@ -84,8 +84,9 @@ export default { { title: "商品价格", key: "price", + width: 120, render: (h, params) => { - return h("priceColorScheme", {props:{value:params.row.price,color:this.$mainColor}} ); + return h("priceColorScheme", {props:{value:params.row.price || 0,color:this.$mainColor}} ); }, }, { diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue index 3c2a9767..fdb26aaf 100644 --- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue +++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue @@ -4,12 +4,7 @@
-
+

基本信息

@@ -21,325 +16,186 @@ > {{ this.baseInfoForm.categoryName[2] }} - + - + - + - +

商品交易信息

- + - - + + 零售型 批发型 - + 虚拟型 - +
- +
-
-
+

商品规格及图片

- +
- -
+ +
- +
- + +
+
+ 上传视频 +
+
+
+ +
+ +
+
+ 已成功上传视频 +
+ + + +
+
+
自定义规格项
-
+
-
- - + + ">
- - + + -
-
-   -
@@ -347,159 +203,81 @@ 规格详细
- + "> -
- - kg +
+ + kg
diff --git a/seller/src/views/shop/shopSetting.vue b/seller/src/views/shop/shopSetting.vue index 85aa5d25..2f0ccc1a 100644 --- a/seller/src/views/shop/shopSetting.vue +++ b/seller/src/views/shop/shopSetting.vue @@ -272,8 +272,6 @@ import liliMap from "@/views/my-components/map/index"; import regionMap from "@/views/lili-components/region"; import * as RegExp from "@/libs/RegExp.js"; import Cookies from "js-cookie"; -import {editDeliverAddress, getDeliverAddress} from "../../api/shops"; - export default { name: "shopSetting", components: { @@ -298,7 +296,7 @@ export default { }, //库存预警form stockWarningForm: { - stockWarning: "", // 库存预警数量 + stockWarning: 0, // 库存预警数量 }, //im form udeskForm: { @@ -458,7 +456,7 @@ export default { Cookies.set("userInfoSeller", JSON.stringify(res.result)); //库存预警数赋值 this.$nextTick(() => { - this.stockWarningForm.stockWarning = res.result.stockWarning + ""; + this.stockWarningForm.stockWarning = res.result.stockWarning; }); if (res.result.merchantEuid) { //赋予坐席id @@ -479,7 +477,6 @@ export default { API_Shop.getDeliverAddress().then(res=>{ if(res.success){ if(res.result!= '' && res.result != null){ - console.log(89898999998) this.addressGoods = res.result; this.regionGoods = res.result.salesConsignorAddressPath; this.regionIdS = res.result.salesConsignorAddressId; From 43899114367b53b4db062e1dfc86b2464efacb6f Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Mon, 24 Jul 2023 14:26:07 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=B9=B0=E5=AE=B6=E7=AB=AF=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E8=A7=86=E9=A2=91=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/components/goodsDetail/ShowGoods.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index ea7621da..089266aa 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -293,7 +293,7 @@ @click="buyNow" >立即购买 - +