|
@@ -21,21 +21,21 @@
|
|
|
<tr>
|
|
|
<td class="title" style="width: 100px">核准<br/>合同总额</td>
|
|
|
<td class="content" style="width: 360px">
|
|
|
- <input v-model="stepEdit.hetongZonge" style="text-align: center" />
|
|
|
+ <input v-model="stepEdit.hetongZonge" style="text-align: center" :disabled="stepParameter.disabled"/>
|
|
|
</td>
|
|
|
<td class="title white" style="width: 100px">核准<br/>外协外购</td>
|
|
|
<td class="content" style="width: 350px">
|
|
|
- <input v-model="stepEdit.waixieWaigou" style="text-align: center" />
|
|
|
+ <input v-model="stepEdit.waixieWaigou" style="text-align: center" :disabled="stepParameter.disabled"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="title" style="width: 100px">销售提成<br/>基数</td>
|
|
|
<td class="content" style="width: 360px">
|
|
|
- <input v-model="stepEdit.tichengJishu" style="text-align: center" />
|
|
|
+ <input v-model="stepEdit.tichengJishu" style="text-align: center" :disabled="stepParameter.disabled"/>
|
|
|
</td>
|
|
|
<td class="title white" style="width: 100px">项目满意度</td>
|
|
|
<td class="content" style="width: 350px">
|
|
|
- <el-input-number v-model="stepEdit.manyidu" :precision="0" :min="1" :max="100" label="项目满意度"></el-input-number>
|
|
|
+ <el-input-number v-model="stepEdit.manyidu" :precision="0" :min="1" :max="100" label="项目满意度" :disabled="stepParameter.disabled"></el-input-number>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -65,7 +65,7 @@
|
|
|
<tr>
|
|
|
<td class="title" style="width: 100px">项目得分<br/>(百分制)</td>
|
|
|
<td class="content" style="width: 360px">
|
|
|
- <input v-model="stepEdit.fenshu" style="text-align: center" />
|
|
|
+ <input v-model="stepEdit.fenshu" style="text-align: center" :disabled="stepParameter.disabled"/>
|
|
|
</td>
|
|
|
<!-- <td class="content" style="width: 100px" colspan="2"></td> -->
|
|
|
<td class="title white" style="width: 100px">虚拟结算<br/>绩效总额</td>
|
|
@@ -79,14 +79,14 @@
|
|
|
<tr>
|
|
|
<td class="title" style="width: 100px">核准结论</td>
|
|
|
<td class="content" style="width: 360px">
|
|
|
- <input v-model="stepEdit.reviewResult" style="text-align: center" />
|
|
|
+ <input v-model="stepEdit.reviewResult" style="text-align: center" :disabled="stepParameter.disabled"/>
|
|
|
</td>
|
|
|
<!-- <td class="content" style="width: 100px" colspan="2"></td> -->
|
|
|
<td class="title white" style="width: 100px">核准人 </td>
|
|
|
<td class="content" style="width: 350px">
|
|
|
- {{ stepEdit.fqUser }}
|
|
|
- {{stepEdit.shenheTime}}
|
|
|
- <div class="btn" @click="submitSCReview()" :style="{'pointer-events':stepEdit.stepParameter?'none':'auto'}">保存</div>
|
|
|
+ {{ stepParameter.fqUser }}
|
|
|
+ {{stepParameter.shenheTime}}
|
|
|
+ <div class="btn" @click="submitSCReview()" :style="{'pointer-events':stepParameter.disabled?'none':'auto'}">保存</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<!-- 其余核准循环 -->
|
|
@@ -214,6 +214,10 @@ export default {
|
|
|
// 计算虚拟结算绩效总额
|
|
|
this.computeJXXishuZonge()
|
|
|
|
|
|
+ var obj = arrData.find(res => res.sort === '8')
|
|
|
+ this.stepParameter = obj
|
|
|
+ this.stepParameter.disabled = !(obj.dangqian && obj.isUpdate)
|
|
|
+
|
|
|
// 核准循环赋值
|
|
|
this.reviewLists.forEach(item => {
|
|
|
var objItem = arrData.find(res => res.sort === item.sort)
|