|
|
@@ -15,7 +15,7 @@
|
|
|
<el-form-item
|
|
|
label="厂房编码:"
|
|
|
prop="code"
|
|
|
- style="margin-bottom: 22px"
|
|
|
+ style="margin-bottom: 12px"
|
|
|
>
|
|
|
<el-input
|
|
|
clearable
|
|
|
@@ -29,7 +29,7 @@
|
|
|
<el-form-item
|
|
|
label="厂房名称:"
|
|
|
prop="name"
|
|
|
- style="margin-bottom: 22px"
|
|
|
+ style="margin-bottom: 12px"
|
|
|
>
|
|
|
<el-input
|
|
|
clearable
|
|
|
@@ -39,7 +39,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item label="状态:" prop="enabled">
|
|
|
<el-select
|
|
|
v-model="form.enabled"
|
|
|
@@ -56,7 +56,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item label="所属工厂:" prop="parentId">
|
|
|
<el-select
|
|
|
v-model="form.parentId"
|
|
|
@@ -78,7 +78,7 @@
|
|
|
<el-form-item
|
|
|
label="负责人部门:"
|
|
|
prop="extInfo.principalDep"
|
|
|
- style="margin-bottom: 22px"
|
|
|
+ style="margin-bottom: 12px"
|
|
|
>
|
|
|
<ele-tree-select
|
|
|
clearable
|
|
|
@@ -92,7 +92,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item label="负责人:" prop="leaderId">
|
|
|
<el-select
|
|
|
v-model="form.leaderId"
|
|
|
@@ -110,7 +110,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item label="联系方式:" prop="extInfo.phone">
|
|
|
<el-input
|
|
|
clearable
|
|
|
@@ -121,7 +121,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.assetCode" label="房屋资产编码">
|
|
|
<el-input
|
|
|
class="form-ipt"
|
|
|
@@ -132,7 +132,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.campus" label="归属园院区">
|
|
|
<el-input
|
|
|
class="form-ipt"
|
|
|
@@ -143,7 +143,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.coveredArea" label="建筑面积">
|
|
|
<el-input
|
|
|
class="form-ipt"
|
|
|
@@ -154,7 +154,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.level" label="楼层">
|
|
|
<el-input
|
|
|
class="form-ipt"
|
|
|
@@ -165,7 +165,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.moneyCeiling" label="已配金额上限">
|
|
|
<el-input
|
|
|
class="form-ipt"
|
|
|
@@ -176,7 +176,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.useArea" label="使用面积">
|
|
|
<el-input
|
|
|
class="form-ipt"
|
|
|
@@ -187,7 +187,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="24" style="margin-bottom: 12px">
|
|
|
<el-form-item label="地址:" prop="extInfo.location">
|
|
|
<div class="location-warp">
|
|
|
<el-cascader
|
|
|
@@ -206,7 +206,7 @@
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" style="margin-bottom: 22px">
|
|
|
+ <el-col :span="24" style="margin-bottom: 12px">
|
|
|
<el-form-item label="备注:" prop="remark">
|
|
|
<el-input
|
|
|
clearable
|
|
|
@@ -259,7 +259,6 @@ export default {
|
|
|
name: '',
|
|
|
leaderId:'',
|
|
|
extInfo: {
|
|
|
- // principal: '', // 负责人
|
|
|
principalDep: '', // 负责人部门
|
|
|
phone: '', // 手机号
|
|
|
locationDetail: '', // 详细地址
|
|
|
@@ -376,6 +375,22 @@ export default {
|
|
|
if (this.form.extInfo.principalDep) {
|
|
|
this.getUserPage();
|
|
|
}
|
|
|
+ }else{
|
|
|
+ this.form = { ...this.defaultForm };
|
|
|
+ const info = {
|
|
|
+ principalDep: '', // 负责人部门
|
|
|
+ phone: '', // 手机号
|
|
|
+ locationDetail: '', // 详细地址
|
|
|
+ location: [], // 省市区
|
|
|
+ assetCode: '', //房屋资产编码
|
|
|
+ campus: '', //归属园院区
|
|
|
+ coveredArea: '', //建筑面积
|
|
|
+ level: '', //楼层
|
|
|
+ moneyCeiling: '', //已配金额上限
|
|
|
+ useArea: '' // 使用面积
|
|
|
+ }
|
|
|
+ this.$set(this.form,'extInfo',info)
|
|
|
+ this.$refs.form.resetFields();
|
|
|
}
|
|
|
},
|
|
|
/* 保存编辑 */
|