zhangdan 4 سال پیش
والد
کامیت
69f1f9964e
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/views/equipmentManage/collector/addCollector.vue

+ 2 - 1
src/views/equipmentManage/collector/addCollector.vue

@@ -93,9 +93,10 @@ export default {
         if (res.status == 200) {
         if (res.status == 200) {
           console.log(res, '-------数据')
           console.log(res, '-------数据')
           _this.loading = false
           _this.loading = false
+          // _this.formData = Object.assign({}, this.formData, res.data)
           _this.formData.gatherName = res.data.gatherName
           _this.formData.gatherName = res.data.gatherName
           _this.formData.gatherPhone = res.data.gatherPhone
           _this.formData.gatherPhone = res.data.gatherPhone
-          _this.formData.stationNo = res.data.stationName
+          _this.formData.stationNo = res.data.stationNo
         }
         }
       })
       })
     },
     },