htc 3 ngày trước cách đây
mục cha
commit
3fefb9e8db
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/views/modules/activity/add.vue

+ 3 - 3
src/views/modules/activity/add.vue

@@ -298,10 +298,10 @@ export default {
   created () {
     this.getTypeOptions()
     this.getCategoryOptions()
-    this.getSupplierOptions()
   },
   mounted () {
     this.provincAreaDetailInfoList()
+    this.getSupplierOptions()
 
     this.$nextTick(() => {
       setTimeout(() => {
@@ -331,8 +331,8 @@ export default {
         this.activityDetailsTemp = res.data.activityDetails
         this.basicForm.signupStartEnd = [this.basicForm.signupStartTime, this.basicForm.signupEndTime]
         this.basicForm.activityStartEnd = [this.basicForm.activityStartTime, this.basicForm.activityEndTime]
-        this.basicForm.channelId = +this.basicForm.channelId
-        this.basicForm.organizerId = +this.basicForm.organizerId
+        this.basicForm.channelId = this.basicForm.channelId
+        this.basicForm.organizerId = this.basicForm.organizerId
         this.fileListCover = [{ name: '', url: res.data.coverFile }]
         this.fileListBanner = res.data.imageFiles.split(',').map(item => ({ name: '', url: item }))
         if (this.basicForm.cityId) {