qukaidi 4 years ago
parent
commit
55da48c981
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/views/Warehousing/outStock/AddOrUpdate.vue

+ 7 - 1
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -3629,7 +3629,13 @@ export default {
           "fProductName",
           [...new Set(fProductName)].join(",")
         );
-        this.$set(this.form, "fMblno", [...new Set(fMblno)].join(","));
+        fMblno=[...new Set(fMblno)]
+        if(fMblno.length<=2){
+          this.$set(this.form, "fMblno", [...new Set(fMblno)].join(","));
+        }else{
+          this.$set(this.form, "fMblno", fMblno[0]+","+fMblno[1]+"…");
+        }
+        
       }
     },
     saveForm(status) {