linwenxin 1 سال پیش
والد
کامیت
4e2da31ac7
1فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 3 4
      src/views/auxiliaryFittings/purchasingManagement/mixins/form_tpl.js

+ 3 - 4
src/views/auxiliaryFittings/purchasingManagement/mixins/form_tpl.js

@@ -781,6 +781,9 @@ export default {
                           disabled={this.formDialogType >= 2}
                           onChange={val => {
                             this.formData.items = []
+                            this.formData.storageId = ""
+                            this.formData.storageName = ""
+                            this.cangkuList = []
                             this.getStorageListPageV2(val)
                             if (val) {
                               this.formData['websitName'] = this.getWebsitList.find(item => item.websitId == val).name
@@ -1159,10 +1162,6 @@ export default {
         }).then(res => {
           this.cangkuList = res.data.records
         })
-      }else{
-        this.formData.storageId = ""
-        this.formData.storageName = ""
-        this.cangkuList = []
       }
     },
     // 打开