|
@@ -11,7 +11,8 @@
|
|
|
direction="rtl"
|
|
|
>
|
|
|
<div v-if="this.type === 'add'" class="scoped-top">
|
|
|
- <base-form slot="content" ref="ruleForm" :data="searchData" :noLabel="false" labelWidth="100px">
|
|
|
+ <base-form slot="content" ref="ruleForm" :data="searchData" :noLabel="false" labelWidth="100px" :insertSlotArr="[5]">
|
|
|
+ <div slot="OI5" class="scoped-tips">以下为销控表数据,可以为空不管,仅录一房一价忽略</div>
|
|
|
<div slot="footer">
|
|
|
<el-button icon="el-icon-Plus" class="xl-form-btn bgc2" @click="batchAdd">批量添加</el-button>
|
|
|
</div>
|
|
@@ -94,8 +95,11 @@ export default {
|
|
|
{ label: '套内面积(㎡)', prop: 'space', type: 'input', width: '80px'},
|
|
|
{ label: '毛坯单价(元/㎡)', prop: 'blank', type: 'input', width: '90px'},
|
|
|
{ label: '装修单价(元/㎡)', prop: 'decoration', type: 'input', width: '90px'},
|
|
|
+ { label: '销控状态', prop: 'house_sale_state', type: 'tag', tags: arrToObj(this.$dictData.house_sale_state), width: '90px'},
|
|
|
+ { label: '真实折扣', prop: 'house_discount', type: 'input', width: '90px'},
|
|
|
+ { label: '销控备注', prop: 'house_sale_remark', type: 'input', width: '90px'},
|
|
|
{ label: '户型名', prop: 'house_type', width: '100px'},
|
|
|
- { label: '户型图', prop: 'houseImg', type: 'img'},
|
|
|
+ { label: '户型图', prop: 'houseImg', type: 'img'},
|
|
|
{ label: '操作', width: 200, type: 'handle2', operations:
|
|
|
[
|
|
|
{ label: '保存', func: this.saveHandle, btnType: 'primary', hide: 'noCan' },
|
|
@@ -181,6 +185,9 @@ export default {
|
|
|
{ label: '楼栋名', key: 'building_num' },
|
|
|
{ label: '层高', key: 'floor_height' },
|
|
|
{ label: '装修单价', key: 'decoration' },
|
|
|
+ { label: '销控状态', key: 'house_sale_state', type: 'select', options: this.$dictData.house_sale_state },
|
|
|
+ { label: '真实折扣', label2: '如: *0.95,-20000', key: 'house_discount' },
|
|
|
+ { label: '销控备注', key: 'house_sale_remark' },
|
|
|
...addArr,
|
|
|
]
|
|
|
this.setDefaultValue(params, 'searchData')
|
|
@@ -191,6 +198,9 @@ export default {
|
|
|
{ label: '楼栋名', key: 'building_num' },
|
|
|
{ label: '层高', key: 'floor_height' },
|
|
|
{ label: '装修单价', key: 'decoration' },
|
|
|
+ { label: '销控状态', key: 'house_sale_state', type: 'select', options: this.$dictData.house_sale_state },
|
|
|
+ { label: '真实折扣', label2: '如: *0.95,-20000', key: 'house_discount' },
|
|
|
+ { label: '销控备注', key: 'house_sale_remark' },
|
|
|
]
|
|
|
}
|
|
|
},
|
|
@@ -311,4 +321,12 @@ export default {
|
|
|
margin-right: 300px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.scoped-tips {
|
|
|
+ padding: 6px 10px;
|
|
|
+ color: #000;
|
|
|
+ background: #e1ca82;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
</style>
|