|
@@ -21,7 +21,7 @@
|
|
|
:rules="[
|
|
:rules="[
|
|
|
{required: true, message:'板块不能为空', trigger:'blur'}
|
|
{required: true, message:'板块不能为空', trigger:'blur'}
|
|
|
]">
|
|
]">
|
|
|
- <el-select v-model="inputForm.park+''" placeholder="请选择" style="width: 100%;">
|
|
|
|
|
|
|
+ <el-select v-model="inputForm.park" placeholder="请选择" style="width: 100%;">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in $dictUtils.getDictList('sys_park')"
|
|
v-for="item in $dictUtils.getDictList('sys_park')"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -43,7 +43,7 @@
|
|
|
<el-form-item label="厂房权属" prop="ownership"
|
|
<el-form-item label="厂房权属" prop="ownership"
|
|
|
:rules="[
|
|
:rules="[
|
|
|
]">
|
|
]">
|
|
|
- <el-select v-model="inputForm.ownership+''" placeholder="请选择" style="width: 100%;">
|
|
|
|
|
|
|
+ <el-select v-model="inputForm.ownership" placeholder="请选择" style="width: 100%;">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in $dictUtils.getDictList('sys_ownership')"
|
|
v-for="item in $dictUtils.getDictList('sys_ownership')"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -65,7 +65,7 @@
|
|
|
<el-form-item label="单层或多层" prop="singleLayer"
|
|
<el-form-item label="单层或多层" prop="singleLayer"
|
|
|
:rules="[
|
|
:rules="[
|
|
|
]">
|
|
]">
|
|
|
- <el-select v-model="inputForm.singleLayer+''" placeholder="请选择" style="width: 100%;">
|
|
|
|
|
|
|
+ <el-select v-model="inputForm.singleLayer" placeholder="请选择" style="width: 100%;">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in $dictUtils.getDictList('sys_single_layer')"
|
|
v-for="item in $dictUtils.getDictList('sys_single_layer')"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -126,7 +126,7 @@
|
|
|
:rules="[
|
|
:rules="[
|
|
|
{required: true, message:'厂房状态不能为空', trigger:'blur'}
|
|
{required: true, message:'厂房状态不能为空', trigger:'blur'}
|
|
|
]">
|
|
]">
|
|
|
- <el-select v-model="inputForm.state+''" placeholder="请选择" style="width: 100%;">
|
|
|
|
|
|
|
+ <el-select v-model="inputForm.state" placeholder="请选择" style="width: 100%;">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in $dictUtils.getDictList('sys_factory_state')"
|
|
v-for="item in $dictUtils.getDictList('sys_factory_state')"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -204,6 +204,12 @@
|
|
|
this.loading = true
|
|
this.loading = true
|
|
|
idleFactoryBuildingsService.queryById(this.inputForm.id).then(({data}) => {
|
|
idleFactoryBuildingsService.queryById(this.inputForm.id).then(({data}) => {
|
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
|
|
|
+
|
|
|
|
|
+ this.inputForm.park=this.inputForm.park+"";
|
|
|
|
|
+ this.inputForm.ownership=this.inputForm.ownership+"";
|
|
|
|
|
+ this.inputForm.singleLayer=this.inputForm.singleLayer+"";
|
|
|
|
|
+ this.inputForm.state=this.inputForm.state+"";
|
|
|
|
|
+
|
|
|
this.inputForm.des1 = data.des1 ? data.des1.split(',') : [],
|
|
this.inputForm.des1 = data.des1 ? data.des1.split(',') : [],
|
|
|
console.log(this.inputForm)
|
|
console.log(this.inputForm)
|
|
|
this.loading = false
|
|
this.loading = false
|