ysy 2 năm trước cách đây
mục cha
commit
ef6a21e720
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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)
+   }
+     
     },