Browse Source

修改bug

chenrui 6 tháng trước cách đây
mục cha
commit
3ab4a0a5e8

+ 8 - 1
src/views/purchasingManagement/purchaseOrder/basicInfoModal.vue

@@ -152,7 +152,7 @@ export default {
       } else {
         this.notShowIn = []
       }
-       this.form.orderType = 'OTHER'
+      this.form.orderType = 'OTHER'
     },
     //  保存
     handleSubmit (e) {
@@ -230,6 +230,13 @@ export default {
             }
             return item
           })
+          this.form.purchaseTargetSn = purchaseList[0].purchaseTargetSn
+          if (purchaseList[0].purchaseTargetType != 'SUPPLIER_SYS') {
+            this.notShowIn = ['TIRE']
+          } else {
+            this.notShowIn = []
+          }
+          this.form.orderType = 'OTHER'
           this.purchaseTragetType = purchaseList
         } else {
           this.purchaseTragetType = []

+ 7 - 0
src/views/purchasingManagement/purchaseOrderNew/basicInfoModal.vue

@@ -229,6 +229,13 @@ export default {
             }
             return item
           })
+          this.form.purchaseTargetSn = purchaseList[0].purchaseTargetSn
+          if (purchaseList[0].purchaseTargetType != 'SUPPLIER_SYS') {
+            this.notShowIn = ['TIRE']
+          } else {
+            this.notShowIn = []
+          }
+          this.form.orderType = 'OTHER'
           this.purchaseTragetType = purchaseList
         } else {
           this.purchaseTragetType = []