소스 검색

fix(付款申请):付款申请字段

李晓萍 1 개월 전
부모
커밋
38a15d4bef
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/financingManage/components/PaymentApproveContent.vue
  2. 2 2
      src/views/financingManage/paymentApprove.vue

+ 1 - 1
src/views/financingManage/components/PaymentApproveContent.vue

@@ -264,7 +264,7 @@ export default {
                   this.$message.warning('请上传动产抵押登记附件')
                   return
                 }
-                if (!ownershipFileIds.length) {
+                if (!ownershipFileIds.length) {  
                   this.$message.warning('请上传所有权保留登记附件')
                   return
                 }

+ 2 - 2
src/views/financingManage/paymentApprove.vue

@@ -53,10 +53,10 @@ export default {
         taskId,
         ...oneData,
         receivablesRegisterInfo: twoData,
-        commitmentFileIds: twoData.commitmentFileIds,
+        commitmentFileIds: twoData?.commitmentFileIds,
         paymentApplyId
       }
-      delete params.receivablesRegisterInfo.commitmentFileIds
+      delete params?.receivablesRegisterInfo?.commitmentFileIds
       if (!twoData) {
         params.receivablesRegisterInfo
       }