yijing 1 yıl önce
ebeveyn
işleme
a8d51c5dd5
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      src/views/inspectionPlan/components/edit.vue

+ 4 - 1
src/views/inspectionPlan/components/edit.vue

@@ -621,7 +621,10 @@ export default {
           return false;
         }
         this.loading = true;
-        this.baseForm.isUnpack = this.isCheck ? 1 : 2;
+        if (this.baseForm.isUnpack !== null) {
+          this.baseForm.isUnpack = this.isCheck ? 1 : 2;
+        }
+
         let params = {
           ...this.baseForm,
           qualityInventoryList: this.packingList,