From 461144f7e595f3d0176c4d7ad19849ec6e490a26 Mon Sep 17 00:00:00 2001
From: pengda <10266652509@qq.com>
Date: Tue, 6 May 2025 09:23:28 +0800
Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E4=BB=B7=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=B8=B2=E6=9F=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/super/RankingLeftMenu.vue | 18 ++
src/router/index.js | 12 ++
src/views/super/Ranking/Purchase.vue | 337 +++++++++++++++++++++++++++++++
3 files changed, 367 insertions(+)
create mode 100644 src/views/super/Ranking/Purchase.vue
diff --git a/src/components/super/RankingLeftMenu.vue b/src/components/super/RankingLeftMenu.vue
index 24c86e6..5df9f50 100644
--- a/src/components/super/RankingLeftMenu.vue
+++ b/src/components/super/RankingLeftMenu.vue
@@ -73,6 +73,24 @@ export default {
},
]
},
+ {
+ name: '设置',
+ imgActive: require('@/assets/super/ranking-menu.svg'),
+ list: [
+ {
+ name: '采购价',
+ path: '/super/ranking/purchase',
+ },
+ {
+ name: '阶段采购',
+ path: '/super/ranking/stagePurchase',
+ },
+ // {
+ // name: '订单列表',
+ // path: '/super/ranking/agentNew',
+ // },
+ ]
+ },
]
}
},
diff --git a/src/router/index.js b/src/router/index.js
index 60a06ae..d58299f 100755
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -176,6 +176,18 @@ const routes = [{
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'代理商 - 新加盟', type: 'agentnew', showDateSelect: false}
},
+ {
+ path: 'purchase',
+ name: '采购价',
+ component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/Purchase.vue'),
+ props: {pageTitle:'设置 - 采购价', type: 'purchase'}
+ },
+ {
+ path: 'stagePurchase',
+ name: '阶段采购价',
+ component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/Purchase.vue'),
+ props: {pageTitle:'设置 - 阶段采购', type: 'stagePurchase'}
+ },
]
},
{
diff --git a/src/views/super/Ranking/Purchase.vue b/src/views/super/Ranking/Purchase.vue
new file mode 100644
index 0000000..9eecb47
--- /dev/null
+++ b/src/views/super/Ranking/Purchase.vue
@@ -0,0 +1,337 @@
+
+
+
+
{{ pageTitle }}
+
新增
+
+
+
+
+
+
+
+
+
+ 元 /
+
+ 字(篇/页)
+
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ type2name[scope.row.type] }}
+
+
+
+
+
+ {{ scope.row.unit_price }} / {{ scope.row.unit_num==1 ? '篇' : scope.row.unit_num + '字' }}
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+ {{ type2name[scope.row.type] }}
+
+
+
+
+
+
+ 单价:{{ scope.row.unit_price }} 元 / {{ scope.row.unit_num==1 ? '篇' : scope.row.unit_num + '字' }}
+
+
+ 成本:{{ scope.row.cost }} 元
+
+
+
+
+
+
+ {{ scope.row.start_date.substring(0, 10) }} - {{ scope.row.end_date.substring(0, 10) }}
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
1.8.3.1