2 Ревизии f25301fbc1 ... 01eac7b042

Автор SHA1 Съобщение Дата
  李晓萍 01eac7b042 Merge branch 'dev1.2.0' of http://222.90.211.174:3000/suf/factoring-trade-front-end-v2 into dev1.2.0 преди 1 месец
  李晓萍 38a15d4bef fix(付款申请):付款申请字段 преди 1 месец
променени са 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
       }