|
@@ -18,7 +18,7 @@
|
|
|
<a-input v-model="model.hotelId" placeholder="请输入关联酒店" ></a-input>
|
|
<a-input v-model="model.hotelId" placeholder="请输入关联酒店" ></a-input>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col> -->
|
|
</a-col> -->
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="会员名称"
|
|
label="会员名称"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -31,7 +31,7 @@
|
|
|
></a-input>
|
|
></a-input>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="选择类型"
|
|
label="选择类型"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -44,7 +44,7 @@
|
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24" v-show="model.type == 0">
|
|
|
|
|
|
|
+ <a-col :span="12" v-show="model.type == 0">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="会员折扣"
|
|
label="会员折扣"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -60,7 +60,7 @@
|
|
|
/>%
|
|
/>%
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24" v-show="model.type == 1">
|
|
|
|
|
|
|
+ <a-col :span="12" v-show="model.type == 1">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="房价方案"
|
|
label="房价方案"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -139,7 +139,7 @@
|
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col> -->
|
|
</a-col> -->
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="等级"
|
|
label="等级"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -149,12 +149,11 @@
|
|
|
<a-input-number
|
|
<a-input-number
|
|
|
v-model="model.level"
|
|
v-model="model.level"
|
|
|
placeholder="请输入等级"
|
|
placeholder="请输入等级"
|
|
|
- style="width: 20%"
|
|
|
|
|
:precision="0"
|
|
:precision="0"
|
|
|
/>
|
|
/>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="会员优惠"
|
|
label="会员优惠"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -169,7 +168,7 @@
|
|
|
/>元
|
|
/>元
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="自动续期"
|
|
label="自动续期"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -194,7 +193,10 @@
|
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="积分设置"
|
|
label="积分设置"
|
|
|
- :labelCol="labelCol"
|
|
|
|
|
|
|
+ :labelCol="{
|
|
|
|
|
+ xs: { span: 24 },
|
|
|
|
|
+ sm: { span: 3},
|
|
|
|
|
+ }"
|
|
|
:wrapperCol="wrapperCol"
|
|
:wrapperCol="wrapperCol"
|
|
|
prop="tenantPointsChecked"
|
|
prop="tenantPointsChecked"
|
|
|
>
|
|
>
|
|
@@ -314,12 +316,12 @@
|
|
|
style="width: 120px"
|
|
style="width: 120px"
|
|
|
:allowClear="true"
|
|
:allowClear="true"
|
|
|
>
|
|
>
|
|
|
- <a-select-option
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
- v-for="(item, index) in members"
|
|
|
|
|
- :key="index"
|
|
|
|
|
- >{{ item.label }}</a-select-option
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <a-select-option
|
|
|
|
|
+ :value="item.value"
|
|
|
|
|
+ v-for="(item, index) in members"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ >{{ item.label }}</a-select-option
|
|
|
|
|
+ >
|
|
|
</a-select></block
|
|
</a-select></block
|
|
|
><br />
|
|
><br />
|
|
|
<a-checkbox
|
|
<a-checkbox
|
|
@@ -339,7 +341,7 @@
|
|
|
/></block>
|
|
/></block>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="会员图标"
|
|
label="会员图标"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -359,7 +361,7 @@
|
|
|
</a-input>
|
|
</a-input>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
|
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="卡片背景"
|
|
label="卡片背景"
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -376,7 +378,10 @@
|
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
|
<a-form-model-item
|
|
<a-form-model-item
|
|
|
label="卡片描述"
|
|
label="卡片描述"
|
|
|
- :labelCol="labelCol"
|
|
|
|
|
|
|
+ :labelCol="{
|
|
|
|
|
+ xs: { span: 24 },
|
|
|
|
|
+ sm: { span: 3},
|
|
|
|
|
+ }"
|
|
|
:wrapperCol="wrapperCol"
|
|
:wrapperCol="wrapperCol"
|
|
|
prop="content"
|
|
prop="content"
|
|
|
>
|
|
>
|
|
@@ -400,7 +405,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import { getRoomPlans,getSelectList } from "@/api/api";
|
|
|
|
|
|
|
+import { getRoomPlans, getSelectList } from "@/api/api";
|
|
|
import { httpAction, getAction } from "@/api/manage";
|
|
import { httpAction, getAction } from "@/api/manage";
|
|
|
import { validateDuplicateValue } from "@/utils/util";
|
|
import { validateDuplicateValue } from "@/utils/util";
|
|
|
import Icons from "./icon/Icons";
|
|
import Icons from "./icon/Icons";
|
|
@@ -480,7 +485,6 @@ export default {
|
|
|
this.roomPlans = res.result;
|
|
this.roomPlans = res.result;
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
selectIcons() {
|
|
selectIcons() {
|
|
|
this.iconChooseVisible = true;
|
|
this.iconChooseVisible = true;
|