From ba96b41cd635e19b593b69ab6506c2f33aefc516 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 25 二月 2026 09:40:30 +0800
Subject: [PATCH] 经销商管理
---
mini-program/pagesA/pages/product-management/product-management.vue | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/mini-program/pagesA/pages/product-management/product-management.vue b/mini-program/pagesA/pages/product-management/product-management.vue
index 4e1121b..ce0fd84 100644
--- a/mini-program/pagesA/pages/product-management/product-management.vue
+++ b/mini-program/pagesA/pages/product-management/product-management.vue
@@ -62,8 +62,8 @@
<image :src="item.imgurl?item.imgurl:'/static/icon/default2.png'" mode="widthFix"></image>
</view>
<view class="list-item-info">
- <view class="list-item-info-title">{{item.name}} 閫傜敤闆锋矁/涓仈/涔呬繚鐢�</view>
- <view class="price">楼{{item.price}}</view>
+ <view class="list-item-info-title">{{item.name || 0}} {{item.brandNames?' 閫傜敤'+item.brandNames:''}}</view>
+ <view class="price">楼{{(item.minPrice || 0).toFixed(2) }}</view>
<view class="list-item-info-label">
<text>渚涜揣浠仿{(item.exFactoryPrice || 0).toFixed(2)}}</text>
<text>鏈簵閿�閲忥細{{item.realSaleNum || 0}}</text>
@@ -119,11 +119,8 @@
list: [],
paixu: [
{ name: '榛樿鎺掑簭', id: '', active: true },
- { name: '缁煎悎鎺掑簭', id: 0, active: false },
- { name: '閿�閲忕敱浣庡埌楂�', id: 1, active: false },
- { name: '浠锋牸鐢变綆鍒伴珮', id: 2, active: false },
- { name: '閿�閲忕敱楂樺埌浣�', id: 3, active: false },
- { name: '浠锋牸鐢遍珮鍒颁綆', id: 4, active: false },
+ { name: '閿�閲忕敱楂樺埌浣�', id: 3, active: false },
+ { name: '浠锋牸鐢变綆鍒伴珮', id: 2, active: false }
],
pingpai: [],
xilie: [],
@@ -200,9 +197,9 @@
model: this.form
}).then(res => {
if (res.code === 200) {
- res.data.records.forEach(item => {
+ /* res.data.records.forEach(item => {
item.minPrice = item.minPrice.toFixed(2).split('.')
- })
+ }) */
this.goodsList.push(...res.data.records)
this.page++
if (this.goodsList.length === res.data.total) {
@@ -249,7 +246,8 @@
if (res.code === 200) {
this.show = null
this.search()
- if (res.data.length === 0) return uni.showToast({
+ if (res.data.length === 0)
+ return uni.showToast({
title: '褰撳墠鍝佺墝涓嬫殏鏃犵郴鍒�',
icon: 'none'
})
--
Gitblit v1.9.3