Explorar el Código

预托书分销点,客户验证提示

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

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

@@ -318,9 +318,11 @@ export default {
       } else if(this.selectedRows !== 1 && this.error.length !==0){
         var cc =this.error.toString()
         this.$message.error(cc+'必须相同!');
+        this.error = []
       } else if(this.fatherData.length !== 0 && this.errorFather.length !==0){
         var fatherCc = this.errorFather.toString()
         this.$message.error(fatherCc+'必须相同!');
+        this.errorFather = []
       }else{
         var filterDataList = this.advancePackingListData.filter(item=>{
           return this.selectedRowKeys.filter(key=>{
@@ -333,7 +335,6 @@ export default {
         this.advancePackingListModVis = false;
         this.selectedRowKeys = [];
       }
-      this.error = []
     },
     
     //勾选两条以上数据进行校验