Browse Source

合同调整

qymljy 1 year ago
parent
commit
5e25220a56

+ 1 - 1
src/HDrpManagement/contractManage/components/productClassList/productClassList.vue

@@ -91,7 +91,7 @@ export default {
   },
   created () {
     if (this.$route.query.id) this.listData()
-    this.tablecols = this.tool.tabelCol(this.$route.name).itemDiscountTable.tablecols
+    this.tablecols = this.$route.query.type == '居间'?this.tool.tabelCol(this.$route.name).itemDiscountIntermediationTable.tablecols:this.tool.tabelCol(this.$route.name).itemDiscountTable.tablecols
   },
   methods: {
     async listData(){

+ 1 - 1
src/HDrpManagement/contractManage/components/productDetailList/productDetailList.vue

@@ -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)