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