From 7948e742072980cc1a735beded1e5d55b46ac4a0 Mon Sep 17 00:00:00 2001
From: qb <1191961160@qq.com>
Date: Mon, 15 Apr 2024 17:34:57 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=B7=E6=A0=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/Pricesystem/index.js | 6 +-
src/views/Pricesystem/ListOfPriceSystems.vue | 5 +-
src/views/Pricesystem/PricesyHome.vue | 160 ++++++++++---------
3 files changed, 91 insertions(+), 80 deletions(-)
diff --git a/src/api/Pricesystem/index.js b/src/api/Pricesystem/index.js
index 5fa7398c..5992fc4d 100644
--- a/src/api/Pricesystem/index.js
+++ b/src/api/Pricesystem/index.js
@@ -56,10 +56,12 @@ export const $_putpriceTemplate = data => {
});
};
-// 查看详情
+/**
+ * 查看详情
+ */
export const $_InfopriceTemplate = params => {
return request({
- url: '/api/logpm-basicdata/priceTemplate/' + params.id,
+ url: '/api/logpm-basicdata/basicdataPrice/' + params.id,
method: 'get',
});
};
diff --git a/src/views/Pricesystem/ListOfPriceSystems.vue b/src/views/Pricesystem/ListOfPriceSystems.vue
index 34306065..71cc4dbf 100644
--- a/src/views/Pricesystem/ListOfPriceSystems.vue
+++ b/src/views/Pricesystem/ListOfPriceSystems.vue
@@ -413,14 +413,15 @@ const Deletetemplate = () => {
});
};
-// 修改模板
+// 设置价格
const Modifytemplate = row => {
console.log(row);
$router.push({
query: {
id: row.id,
+ templateId: row.templateId,
},
- path: '/financialsector/FinanceHome',
+ path: '/Pricesystem/PricesyHome',
});
};
diff --git a/src/views/Pricesystem/PricesyHome.vue b/src/views/Pricesystem/PricesyHome.vue
index 13aff3dd..9ae5734c 100644
--- a/src/views/Pricesystem/PricesyHome.vue
+++ b/src/views/Pricesystem/PricesyHome.vue
@@ -1,59 +1,5 @@
-
-
-
+
@@ -74,13 +20,19 @@
-
+