Procházet zdrojové kódy

修改页面保存县区ID

oyq28 před 2 roky
rodič
revize
a188c5ba90

+ 2 - 1
imcs-bt-admin/imcs-bt-admin/src/views/zuihou/internetCenter/productionResourcesMgr/components/Edit.vue

@@ -334,7 +334,7 @@ export default {
     			this.getTypeList(val.moduleId)
     		}
 			if(val.areaIds){
-			   this.tenant.areaIds = val.areaIds.split(',')
+			   this.tenant.areaIds = val.areaIds.split(',')			   
 			}
     	}
       // 设置【字典】
@@ -399,6 +399,7 @@ export default {
       })
     },
     save () {
+	  this.tenant.areaId = this.tenant.areaIds[2]
       productionResourcesMgrApi.save(this.tenant)
         .then((response) => {
           const res = response.data