|
|
@@ -41,7 +41,7 @@
|
|
|
<el-table id="rebateSetTable" :data="entityList" size="mini" border height="calc(100vh - 243px)" style="width: 100%" @sort-change="orderby">
|
|
|
<el-table-column label="操作" min-width="200" align="center" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <router-link :to="'/oilsupplier/supplierstorage/' + scope.row.Id + '/goodsedit?certid=' + scope.row.CertId">
|
|
|
+ <router-link :to="'/oilsupplier/supplierstorage/' + scope.row.Id + '/'+changeFlag(scope.row.SupplierTypeName)+'?certid=' + scope.row.CertId">
|
|
|
<el-button type="primary" plain title="编辑" size="mini">打开</el-button>
|
|
|
</router-link>
|
|
|
|
|
|
@@ -851,6 +851,15 @@
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ changeFlag(val){
|
|
|
+ if(val=="物资类"){
|
|
|
+ return "goodsedit"
|
|
|
+ }else if(val=="基建类"){
|
|
|
+ return "basisedit"
|
|
|
+ }else{
|
|
|
+ return "techedit"
|
|
|
+ }
|
|
|
+ },
|
|
|
initDatas() {
|
|
|
//分页及列表条件
|
|
|
let params = {
|