refactor(路由): 更新成本管理模块的路由路径并移除冗余按钮

移除成本明细页面的冗余操作按钮,并更新仪表盘页面的路由跳转路径,以匹配新的路由结构
This commit is contained in:
砂糖
2025-12-03 09:29:10 +08:00
parent c17b637561
commit 39861ec701
2 changed files with 2 additions and 7 deletions

View File

@@ -263,10 +263,10 @@ export default {
}
},
goToStandardConfig() {
this.$router.push('/wms/cost/standard')
this.$router.push('/cost/stockpile/standard')
},
goToDetail() {
this.$router.push('/wms/cost/detail')
this.$router.push('/cost/stockpile/stockpile')
},
formatMoney(value) {
if (!value) return '0.00'

View File

@@ -39,11 +39,6 @@
</div>
<div class="result-wrapper">
<div class="result-actions">
<el-button type="text" icon="el-icon-setting" @click="goToStandardConfig">成本标准配置</el-button>
<el-divider direction="vertical"></el-divider>
<el-button type="text" icon="el-icon-tickets" @click="goToDetail">查看历史明细</el-button>
</div>
<el-empty
v-if="!searchExecuted && !loading"