Browse Source

合同调整

qymljy 2 years ago
parent
commit
372f72804d

+ 3 - 5
src/HDrpManagement/contractManage/components/editContract.vue

@@ -815,7 +815,6 @@ export default {
       })
     },
     showChange (key) {
-      console.log(key,"编辑")
       this.agentVisible = false
       this.salerVisible = false
       this.projectVisible = false
@@ -831,7 +830,7 @@ export default {
       }*/
       if (key === 'projectVisible'){
         if (this.form.sys_enterpriseid !== ''){
-          console.log("执行",key)
+
           this.$refs.project.params.content.sys_enterpriseid = this.form.sys_enterpriseid
           this.$refs.project.queryEnterpriseArchives()
           key ? this[key] = true : ''
@@ -962,14 +961,13 @@ export default {
       this.form.enddate = time[1]
     },
     tabClick(){
-      console.log(this.activeName)
       if (this.activeName === '客户'){
         this.agentListPrams.content.where.type = '19'
-
+        this.$refs.member.flag = true
         this.$refs.member.listData()
       }else {
         this.agentListPrams.content.where.type = '20'
-
+        this.$refs.member.flag = true
         this.$refs.member.listData()
       }
     },

+ 6 - 6
src/HDrpManagement/contractManage/components/selectAgent.vue

@@ -66,9 +66,9 @@ export default {
   },
   methods:{
     async listData () {
-      console.log(this.type,'typeValue')
+
      /* if(!this.type) this.param.content.where.type = ''*/
-      console.log(this.param,'param')
+
       if (!this.flag){
         this.param.content.where.type = this.type
       }
@@ -76,13 +76,13 @@ export default {
       this.param.content.where.typemx = this.typemx
 			this.param.content.where.condition = this.search
       this.param.content.where.sa_projectid = this.sa_projectid || ''
-      console.log(this.param)
+
       const res = await this.$api.requested(this.param)
       this.tableData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
-      console.log(this.tableData);
-      
+
+
     },
     handleSizeChange(val) {
       // console.log(`每页 ${val} 条`);
@@ -211,4 +211,4 @@ export default {
   background: #b5e4ff6e;
   cursor: pointer;
 }
-</style>
+</style>