diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue
index 9be5515..fc823a5 100644
--- a/src/views/modules/quote/index.vue
+++ b/src/views/modules/quote/index.vue
@@ -106,6 +106,7 @@ export default {
approvalUsername: '',
nodeId: '',
annualSales: undefined,
+ vpApproval: 'N',
},
quoteForm:{
},
@@ -904,6 +905,7 @@ export default {
let params = {
...this.currentQuote,
annualSales: this.saveQuote.annualSales, // 传递annualSales
+ vpApproval: this.saveQuote.vpApproval === 'Y' ? 'Y' : 'N',
userName: this.$store.state.user.name,
nodeConclusion: 'Y',
menuId: this.$route.meta.menuId
@@ -935,6 +937,7 @@ export default {
let params = {
...this.currentQuote,
annualSales: this.saveQuote.annualSales, // 传递annualSales
+ vpApproval: this.saveQuote.vpApproval === 'Y' ? 'Y' : 'N',
userName: this.$store.state.user.name,
nodeConclusion: 'N',
rejectOpinion: this.rejectOpinion,
@@ -981,7 +984,8 @@ export default {
// 先更新 currentQuote,确保 getNodeAuthority 能获取到正确的 stepId
this.currentQuote = {...row}
this.saveQuote = {
- ...row
+ ...row,
+ vpApproval: row.vpApproval === 'Y' ? 'Y' : 'N'
}
// 草稿(10节点)/审批中均按节点配置控制字段
if (row.status !== '已完成') {
@@ -1145,7 +1149,8 @@ export default {
},
handleQueryById(row){
this.saveQuote = {
- ...row
+ ...row,
+ vpApproval: row.vpApproval === 'Y' ? 'Y' : 'N'
}
this.detailFlag = true;
this.saveVisible = true;
@@ -1951,11 +1956,16 @@ export default {
-
+
+
+
+ VP审批
+
+