فهرست منبع

新增零部件DVP的【计划/验证审批】替换原使用【项目DVP部门审批】类型

zhangzheng 8 ماه پیش
والد
کامیت
61d25e56b5
2فایلهای تغییر یافته به همراه9 افزوده شده و 3 حذف شده
  1. 7 2
      src/App.vue
  2. 2 1
      src/components/SubmitApprovalModal/SubmitApprovalModal.vue

+ 7 - 2
src/App.vue

@@ -530,8 +530,13 @@ export default {
           _that.$refs.submitApproval.inputArgs.dvpId = _that.$store.getters.dvpId;
           _that.$refs.submitApproval.inputArgs.dvpType = _that.dvpType;
           if (_that.realLifeState === '10') {
-            // 部门审批
-            _that.$refs.submitApproval.inputArgs.approveType = '70';
+            if (_that.headerFlag === 3) {
+              // 零部件DVP 计划/验证审批
+              _that.$refs.submitApproval.inputArgs.approveType = '71';
+            }else {
+              // 部门审批
+              _that.$refs.submitApproval.inputArgs.approveType = '70';
+            }
           }
           _that.$refs.submitApproval.inputArgs.delayFlag = false;
           _that.submitApprovalVisible = true;

+ 2 - 1
src/components/SubmitApprovalModal/SubmitApprovalModal.vue

@@ -337,7 +337,8 @@ export default {
       _that.$api.post(url, {
 				businessId: _that.inputArgs.dvpId ? _that.inputArgs.dvpId: _that.inputArgs.taskId, /** dvp标识 */
 				/** 审批类型---
-				 * 70=dvp部门审批
+				 * 70 = dvp部门审批(整车、系统)
+         * 71 = 零部件DVP 计划/验证审批
          * 52 = 整车dvp申请变更审批
 				 * 57 = 系统dvp申请变更审批
 				 * 61 = 零部件dvp申请变更审批