From fd4ec6faea22d20bf88cb0c4fdfe9f64a8546ef9 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 29 三月 2024 10:27:34 +0800
Subject: [PATCH] 采购管理列表页增加销售明细单、添加产品弹窗增加供应商名称 销售单价改为采购单价

---
 src/views/productManage/product/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/productManage/product/index.vue b/src/views/productManage/product/index.vue
index 5979391..4549c5c 100644
--- a/src/views/productManage/product/index.vue
+++ b/src/views/productManage/product/index.vue
@@ -126,8 +126,8 @@
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       }).then((res) => {
-        if (res.data.code === 200) {
-          const list = res.data.data.list.map((item) => {
+        if (res.code === 200) {
+          const list = res.data.list.map((item) => {
             return {
               ...item,
               supplierName: item.supplier.name,
@@ -135,7 +135,7 @@
             }
           })
           this.tableList.tableInfomation = list || []
-          this.pagerOptions.totalCount = res.data.data.total
+          this.pagerOptions.totalCount = res.data.total
         }
       })
     },

--
Gitblit v1.8.0