Jelajahi Sumber

修改工厂显示

695593266@qq.com 2 bulan lalu
induk
melakukan
e9be8f36d2
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      src/views/saleOrder/salesToProductionNewTwo.vue

+ 4 - 2
src/views/saleOrder/salesToProductionNewTwo.vue

@@ -1322,8 +1322,10 @@
             res.produceRoutingId || this.$route.query.produceRoutingId;
 
           if (
-            !this.form.factoriesId &&
-            (res.produceRoutingId || this.$route.query.produceRoutingId)
+            (!this.form.factoriesId &&
+              (res.produceRoutingId || this.$route.query.produceRoutingId)) ||
+            (!this.form.factoriesId &&
+              (!res.produceRoutingId || !this.$route.query.produceRoutingId))
           ) {
             this.form.factoriesId =
               res.factoriesId || this.$route.query.factoriesId;