Browse Source

fix:修改融资管理底层货物选择异常问题

lazy 6 months ago
parent
commit
67eba2dadf
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/myFinancing/applyFinancing/index.vue

+ 5 - 1
src/views/myFinancing/applyFinancing/index.vue

@@ -514,7 +514,11 @@ export default {
         this.$message.warning('请选择已验收的货物')
         return
       }
-      if (list.length < multipleList.length) {
+      // if (list.length < multipleList.length) {
+      //   this.$message.warning('已签署和未签署验收单不能同时选择')
+      //   return
+      // }
+      if (list.length && !multipleList.every(el => el.signConfirm === list[0].signConfirm)) {
         this.$message.warning('已签署和未签署验收单不能同时选择')
         return
       }