ソースを参照

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
       }