|
@@ -181,7 +181,7 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
if (this.$route.query.id) this.listData()
|
|
|
- this.tablecols = this.tool.tabelCol(this.$route.name).productDetailTable.tablecols
|
|
|
+ this.tablecols = this.$route.query.type == '居间'?this.tool.tabelCol(this.$route.name).productDetaiIntermediationTable.tablecols:this.tool.tabelCol(this.$route.name).productDetailTable.tablecols
|
|
|
this.$route.query.type == '框架' && this.tablecols.forEach((item,index) => {
|
|
|
if (item.columnname == 'qty' || item.columnname == 'amount') {
|
|
|
this.tablecols.splice(index,1)
|