Explorar el Código

预托书勾选参照数据判断条件修改

jbb hace 2 años
padre
commit
62a457da6c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/pre-book/advancePackingListModal.vue

+ 1 - 1
src/views/pre-book/advancePackingListModal.vue

@@ -315,7 +315,7 @@ export default {
       }
       if (this.selectedRowKeys.length == 0) {
         this.$message.error('请选择数据');
-      } else if(this.selectedRows !== 1 && this.error.length !==0){
+      } else if(this.selectedRows.length !== 1 && this.error.length !==0){
         var cc =this.error.toString()
         this.$message.error(cc+'必须相同!');
         this.error = []