ysy 2 vuotta sitten
vanhempi
commit
ef6a21e720
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 6 1
      src/views/produceOrder/components/unpackDialog.vue

+ 6 - 1
src/views/produceOrder/components/unpackDialog.vue

@@ -314,7 +314,12 @@ export default {
 
     remove(index) {
       this.form.unpackList.splice(index, 1);
-      this.changeNum(index)
+   if(this.form.unpackList.length == 0) {
+   this.formingNum =  this.formData.formingNum
+   } else {
+    this.changeNum(index)
+   }
+     
     },