Browse Source

修改项目商机提交报备报备审核限制

qymljy 2 years ago
parent
commit
ce7160e010

+ 3 - 3
src/HDrpManagement/projectChange/components/putPeople.vue

@@ -1,8 +1,8 @@
 <template>
   <div>
     <el-button class="inline-16" v-if="flag === 0 && tool.checkAuth($route.name,'putSubmit')" size="mini" :type="!disabled || rowData.status === '已失败' ?'':'primary'" slot="reference" @click="onSubmit" :disabled="!disabled || rowData.status === '已失败'">提交报备</el-button>
-    <el-button  v-if="flag === 1 && tool.checkAuth($route.name,'putCheck')" size="mini" type="primary" slot="reference" @click="onCheck" >报备审核</el-button>
-    <el-button class="inline-16" v-if="flag !== 0 && tool.checkAuth($route.name,'putBack') " size="mini" type="primary" slot="reference"  @click="onUnCheck" >报备驳回(退回)</el-button>
+    <el-button  v-if="flag === 1 && tool.checkAuth($route.name,'putCheck')" size="mini" type="primary" slot="reference" @click="onCheck" :disabled="rowData.status === '已失败'" :type="rowData.status === '已失败' ?'':'primary'">报备审核</el-button>
+    <el-button class="inline-16" v-if="flag !== 0 && tool.checkAuth($route.name,'putBack') " size="mini" type="primary" slot="reference"  @click="onUnCheck" :disabled="rowData.status === '已失败'" :type="rowData.status === '已失败' ?'':'primary'">报备驳回(退回)</el-button>
   </div>
 </template>
 
@@ -140,4 +140,4 @@ export default {
 /deep/.el-select {
   width: 100%;
 }
-</style>
+</style>

+ 3 - 3
src/HDrpManagement/projectChange/modules/detail.vue

@@ -226,7 +226,7 @@ export default {
       }else {
         this.mainData.discountrate = Math.round((this.mainData.discountrate * 100) * 100)/100
       }*/
-      
+
       /* 获取标签数据 */
       /*this.tagObj = await this.$store.dispatch('queryTagList',{table:'sa_project',id:this.mainData.sa_projectid})*/
       this.flag = 1
@@ -334,7 +334,7 @@ export default {
         }
       })
       this.projectAddress = res.data
-      
+
       /* 获取项目等级 */
       let res2 = await this.$store.dispatch('optiontypeselect','projectgrade')
       this.projectLead = res2.data
@@ -576,4 +576,4 @@ export default {
   transform: skewX(45deg);
 }
 
-</style>
+</style>