WIN-B904R0U0NNS\Administrator пре 2 година
родитељ
комит
80094815ba

+ 14 - 5
src/views/markets/mealcouponsverify.vue

@@ -5,9 +5,9 @@
         <span slot="tab"> 全部 </span>
         <!-- <member-list></member-list> -->
       </a-tab-pane>
-      <a-tab-pane v-for="(item, index) in mealCouponTypeList" :key="item.value">
+      <a-tab-pane v-for="(item, index) in mealCouponTypeList" :key="item.id">
         <span slot="tab">
-          {{ item.label }}
+          {{ item.name }}
         </span>
         <!-- <market-recharge-list></market-recharge-list> -->
       </a-tab-pane>
@@ -191,10 +191,19 @@ export default {
     };
   },
   created() {
+    // httpAction(
+    //   "/rooms/cesMealCoupon/fetch",
+    //   { hotelId: hotelInfo.id },
+    //   "get"
+    // ).then((res) => {
+    //   if (res.success) {
+    //     this.mealCouponTypeList = res.result;
+    //   }
+    // });
     httpAction(
-      "/rooms/cesMealCoupon/fetch",
-      { hotelId: hotelInfo.id },
-      "get"
+            "/business/busMealCoupon/queryList",
+            { },
+            "get"
     ).then((res) => {
       if (res.success) {
         this.mealCouponTypeList = res.result;

+ 15 - 6
src/views/markets/modules/mealCoupons/BusMarketMealCouponsForm.vue

@@ -34,8 +34,8 @@
                 <a-select-option
                   v-for="(item, index) in mealCouponTypeList"
                   :key="index"
-                  :value="item.value"
-                  >{{ item.label }}</a-select-option
+                  :value="item.id"
+                  >{{ item.name }}</a-select-option
                 >
               </a-select>
             </a-form-model-item>
@@ -157,10 +157,19 @@ export default {
         this.stockTypeList = res.result;
       }
     });
+    // httpAction(
+    //   "/rooms/cesMealCoupon/fetch",
+    //   { hotelId: hotelInfo.id },
+    //   "get"
+    // ).then((res) => {
+    //   if (res.success) {
+    //     this.mealCouponTypeList = res.result;
+    //   }
+    // });
     httpAction(
-      "/rooms/cesMealCoupon/fetch",
-      { hotelId: hotelInfo.id },
-      "get"
+            "/business/busMealCoupon/queryList",
+            { hotelId: hotelInfo.id },
+            "get"
     ).then((res) => {
       if (res.success) {
         this.mealCouponTypeList = res.result;
@@ -209,4 +218,4 @@ export default {
     },
   },
 };
-</script>
+</script>

+ 47 - 4
src/views/settings/components/doorLockList.vue

@@ -62,6 +62,16 @@
                 <template slot="htmlSlot" slot-scope="text">
                     <div v-html="text"></div>
                 </template>
+                <template slot="numberSlot" slot-scope="text,record">
+                    <div style="display: flex;align-items: center">
+                        <a-form :form="form" :rules="validatorRules" style="width: 90%">
+                            <a-form-item prop="associationNumber" style="margin-bottom: 0px">
+                                <a-input v-model="text" @blur="(e)=>handleNumber(e,record)" />
+                            </a-form-item>
+                        </a-form>
+                        <!--                    <a-input v-model="text" placeholder="请输入关联号" @change="(e)=>handleNumber(e,record)" ></a-input>-->
+                    </div>
+                </template>
                 <template slot="imgSlot" slot-scope="text,record">
                     <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
                     <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
@@ -113,6 +123,7 @@
     import { JeecgListMixin } from '@/mixins/JeecgListMixin'
     import doorLockModal from './modules/doorLockModal'
     import DoorLockBatchModal from "./modules/doorLockBatchModal";
+    import { httpAction, getAction } from '@/api/manage'
 
     export default {
         name: 'doorLockList',
@@ -129,22 +140,26 @@
                     {
                         title:'楼栋',
                         align:"center",
-                        dataIndex: 'buildName'
+                        dataIndex: 'buildName',
+                        width: 300
                     },
                     {
                         title:'楼层',
                         align:"center",
-                        dataIndex: 'floorName'
+                        dataIndex: 'floorName',
+                        width: 300
                     },
                     {
                         title:'房间号',
                         align:"center",
-                        dataIndex: 'roomNumber'
+                        dataIndex: 'roomNumber',
+                        width: 300
                     },
                     {
                         title:'关联号',
                         align:"center",
-                        dataIndex: 'associationNumber'
+                        dataIndex: 'associationNumber',
+                        scopedSlots: { customRender: 'numberSlot' },
                     },
                     {
                         title: '操作',
@@ -158,6 +173,7 @@
                 url: {
                     list: "/business/busDoorLock/list",
                     delete: "/business/busDoorLock/delete",
+                    edit: "/business/busDoorLock/edit",
                     deleteBatch: "/business/busDoorLock/deleteBatch",
                     exportXlsUrl: "/business/busDoorLock/exportXls",
                     importExcelUrl: "business/busDoorLock/importExcel",
@@ -165,6 +181,12 @@
                 },
                 dictOptions:{},
                 superFieldList:[],
+                form: this.$form.createForm(this),
+                validatorRules: {
+                    associationNumber: [
+                        {required: true, message: '请输入关联号!'},
+                    ],
+                },
             }
         },
         created() {
@@ -195,6 +217,27 @@
                 this.$refs.modalBatchForm.title = "批量添加";
                 this.$refs.modalBatchForm.disableSubmit = false;
             },
+            handleNumber(e,record){
+                console.log(e)
+                console.log(record)
+
+                var data = record;
+                data.associationNumber = e.target.value;
+                const that = this;
+                that.confirmLoading = true;
+                let httpurl = this.url.edit;
+                let method = 'put';
+                httpAction(httpurl, data, method).then((res) => {
+                    if (res.success) {
+                        that.$message.success(res.message);
+                        that.$emit('ok');
+                    } else {
+                        that.$message.warning(res.message);
+                    }
+                }).finally(() => {
+                    that.confirmLoading = false;
+                })
+            }
         }
     }
 </script>

+ 234 - 0
src/views/settings/components/roomModules/mealCouponList.vue

@@ -0,0 +1,234 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 查询区域 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 查询区域-END -->
+
+    <!-- 操作按钮区域 -->
+    <div class="table-operator">
+      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+<!--      <a-button type="primary" icon="download" @click="handleExportXls('餐券')">导出</a-button>-->
+<!--      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
+<!--        <a-button type="primary" icon="import">导入</a-button>-->
+<!--      </a-upload>-->
+<!--      &lt;!&ndash; 高级查询区域 &ndash;&gt;-->
+<!--      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
+<!--      <a-dropdown v-if="selectedRowKeys.length > 0">-->
+<!--        <a-menu slot="overlay">-->
+<!--          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>-->
+<!--        </a-menu>-->
+<!--        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>-->
+<!--      </a-dropdown>-->
+    </div>
+
+    <!-- table区域-begin -->
+    <div>
+      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
+        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
+      </div>
+
+      <a-table
+        ref="table"
+        size="middle"
+        :scroll="{x:true}"
+        bordered
+        rowKey="id"
+        :columns="columns"
+        :dataSource="dataSource"
+        :pagination="ipagination"
+        :loading="loading"
+        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        class="j-table-force-nowrap"
+        @change="handleTableChange">
+
+        <template slot="htmlSlot" slot-scope="text">
+          <div v-html="text"></div>
+        </template>
+        <span slot="switchSlot" slot-scope="text,record">
+          <a-switch checked-children="开启" un-checked-children="禁用"
+                    default-checked :checked="text == 0" @change="e=>onAutoChange(e)" />
+        </span>
+        <template slot="startSlot" slot-scope="text,record">
+          <div style="display: flex;align-items: center">
+            <a-form style="width: 90%">
+              <a-form-item prop="startTime" style="margin-bottom: 0px">
+                <a-time-picker format="HH:mm" :minuteStep="5" :default-value="moment(text, 'HH:mm')"
+                               :allowClear="false" @change="onChange" />
+              </a-form-item>
+            </a-form>
+            <!--                    <a-input v-model="text" placeholder="请输入关联号" @change="(e)=>handleNumber(e,record)" ></a-input>-->
+          </div>
+        </template>
+        <template slot="endSlot" slot-scope="text,record">
+          <div style="display: flex;align-items: center">
+            <a-form style="width: 90%">
+              <a-form-item prop="associationNumber" style="margin-bottom: 0px">
+                <a-form-item prop="startTime" style="margin-bottom: 0px">
+                  <a-time-picker format="HH:mm" :minuteStep="5" :default-value="moment(text, 'HH:mm')"
+                                 :allowClear="false" @change="onChange" />
+                </a-form-item>
+              </a-form-item>
+            </a-form>
+            <!--                    <a-input v-model="text" placeholder="请输入关联号" @change="(e)=>handleNumber(e,record)" ></a-input>-->
+          </div>
+        </template>
+        <template slot="imgSlot" slot-scope="text,record">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+        </template>
+        <template slot="fileSlot" slot-scope="text">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+          <a-button
+            v-else
+            :ghost="true"
+            type="primary"
+            icon="download"
+            size="small"
+            @click="downloadFile(text)">
+            下载
+          </a-button>
+        </template>
+
+        <span slot="action" slot-scope="text, record">
+          <a @click="handleEdit(record)">编辑</a>
+
+          <a-divider type="vertical" />
+          <a-dropdown>
+            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
+            <a-menu slot="overlay">
+              <a-menu-item>
+                <a @click="handleDetail(record)">详情</a>
+              </a-menu-item>
+              <a-menu-item>
+                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
+                  <a>删除</a>
+                </a-popconfirm>
+              </a-menu-item>
+            </a-menu>
+          </a-dropdown>
+        </span>
+
+      </a-table>
+    </div>
+
+    <meal-coupon-modal ref="modalForm" @ok="modalFormOk"></meal-coupon-modal>
+  </a-card>
+</template>
+
+<script>
+
+  import '@/assets/less/TableExpand.less'
+  import { mixinDevice } from '@/utils/mixin'
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+  import mealCouponModal from './modules/mealCouponModal'
+  import moment from 'moment';
+
+  export default {
+    name: 'mealCouponList',
+    mixins:[JeecgListMixin, mixinDevice],
+    components: {
+      mealCouponModal
+    },
+    data () {
+      return {
+        description: '餐券管理页面',
+        // 表头
+        columns: [
+          {
+            title:'餐券类型名称',
+            align:"center",
+            dataIndex: 'name'
+          },
+          {
+            title:'是否自动发放',
+            align:"center",
+            dataIndex: 'automaticGrant',
+            // customRender:function (text) {
+            //   return text==1?'true':'false'
+            // },
+            scopedSlots: { customRender: 'switchSlot' },
+          },
+          {
+            title:'是否启用',
+            align:"center",
+            dataIndex: 'status',
+            // customRender:function (text) {
+            //   return text==1?'true':'false'
+            // },
+            scopedSlots: { customRender: 'switchSlot' },
+          },
+          {
+            title:'开始时间',
+            align:"center",
+            dataIndex: 'startTime',
+            scopedSlots: { customRender: 'startSlot' },
+          },
+          {
+            title:'结束时间',
+            align:"center",
+            dataIndex: 'endTime',
+            scopedSlots: { customRender: 'endSlot' },
+          },
+          {
+            title: '操作',
+            dataIndex: 'action',
+            align:"center",
+            fixed:"right",
+            width:147,
+            scopedSlots: { customRender: 'action' }
+          }
+        ],
+        url: {
+          list: "/business/busMealCoupon/list",
+          delete: "/business/busMealCoupon/delete",
+          deleteBatch: "/business/busMealCoupon/deleteBatch",
+          exportXlsUrl: "/business/busMealCoupon/exportXls",
+          importExcelUrl: "business/busMealCoupon/importExcel",
+
+        },
+        dictOptions:{},
+        superFieldList:[],
+      }
+    },
+    created() {
+    this.getSuperFieldList();
+    },
+    computed: {
+      importExcelUrl: function(){
+        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+      },
+    },
+    methods: {
+      moment,
+      initDictConfig(){
+      },
+      getSuperFieldList(){
+        let fieldList=[];
+        fieldList.push({type:'string',value:'tenantId',text:'关联租户'})
+        fieldList.push({type:'string',value:'hotelId',text:'关联酒店'})
+        fieldList.push({type:'string',value:'name',text:'餐券名称'})
+        fieldList.push({type:'int',value:'automaticGrant',text:'自动发放(0-开启;1-关闭)'})
+        fieldList.push({type:'date',value:'startTime',text:'开始时间'})
+        fieldList.push({type:'date',value:'endTime',text:'结束时间'})
+        fieldList.push({type:'int',value:'status',text:'状态(0-开启;1-关闭)'})
+        fieldList.push({type:'int',value:'delFlag',text:'删除状态(0-正常,1-已删除)'})
+        this.superFieldList = fieldList
+      },
+      onAutoChange(){
+
+      },
+      onChange(){
+
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less';
+</style>

+ 179 - 0
src/views/settings/components/roomModules/modules/mealCouponForm.vue

@@ -0,0 +1,179 @@
+<template>
+  <a-spin :spinning="confirmLoading">
+    <j-form-container :disabled="formDisabled">
+      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
+        <a-row>
+          <a-col :span="24">
+            <a-form-model-item label="餐券类型名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="name">
+              <a-input v-model="model.name" placeholder="请输入餐券类型名称"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item
+                    :labelCol="labelCol"
+                    :wrapperCol="wrapperCol"
+                    label="自动发放"
+                    prop="automaticGrant">
+              <a-switch checkedChildren="开启" unCheckedChildren="禁用" v-model="model.automaticGrant"/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item
+                    :labelCol="labelCol"
+                    :wrapperCol="wrapperCol"
+                    label="启用"
+                    prop="status">
+              <a-switch checkedChildren="开启" unCheckedChildren="禁用" v-model="model.status"/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="startTime">
+<!--              <j-date placeholder="请选择开始时间" v-model="model.startTime"  style="width: 100%" />-->
+              <a-time-picker format="HH:mm" :minuteStep="5" v-model="model.startTime" @change="onChange" />
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="结束时间" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="endTime">
+<!--              <j-date placeholder="请选择结束时间" v-model="model.endTime"  style="width: 100%" />-->
+              <a-time-picker format="HH:mm" :minuteStep="5" v-model="model.endTime" @change="onChange" />
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+      </a-form-model>
+    </j-form-container>
+  </a-spin>
+</template>
+
+<script>
+
+  import { httpAction, getAction } from '@/api/manage'
+  import { validateDuplicateValue } from '@/utils/util'
+  import moment from 'moment';
+
+  export default {
+      name: 'BusMealCouponForm',
+      components: {},
+      props: {
+          //表单禁用
+          disabled: {
+              type: Boolean,
+              default: false,
+              required: false
+          }
+      },
+      data() {
+          return {
+              model: {},
+              labelCol: {
+                  xs: {span: 24},
+                  sm: {span: 5},
+              },
+              wrapperCol: {
+                  xs: {span: 24},
+                  sm: {span: 16},
+              },
+              confirmLoading: false,
+              validatorRules: {
+                  name: [
+                      {required: true, message: '请输入餐券名称!'},
+                  ],
+              },
+              url: {
+                  add: "/business/busMealCoupon/add",
+                  edit: "/business/busMealCoupon/edit",
+                  queryById: "/business/busMealCoupon/queryById"
+              }
+          }
+      },
+      computed: {
+          formDisabled() {
+              return this.disabled
+          },
+      },
+      created() {
+          //备份model原始值
+          this.modelDefault = JSON.parse(JSON.stringify(this.model));
+      },
+      methods: {
+          moment,
+          add() {
+              this.edit(this.modelDefault);
+          },
+          edit(record) {
+              this.model = Object.assign({}, record);
+              this.visible = true;
+              console.log(record)
+              if (this.model.status == 0) {
+                  this.model.status = true;
+              } else {
+                  this.model.status = false;
+              }
+
+              if (this.model.automaticGrant == 0) {
+                  this.model.automaticGrant = true;
+              } else {
+                  this.model.automaticGrant = false;
+              }
+
+              if (!this.model.id) {
+                  // this.model.startTime = moment('06:00', "HH:mm")
+                  // this.model.endTime = moment("09:00", "HH:mm")
+              }else{
+                  this.model.startTime = moment(record.startTime, "HH:mm")
+                  this.model.endTime = moment(record.endTime, "HH:mm")
+              }
+
+
+              console.log(this.model)
+          },
+          submitForm() {
+              const that = this;
+              // 触发表单验证
+              this.$refs.form.validate(valid => {
+                  if (valid) {
+                      that.confirmLoading = true;
+                      let httpurl = '';
+                      let method = '';
+                      if (!this.model.id) {
+                          httpurl += this.url.add;
+                          method = 'post';
+                          var info = JSON.parse(localStorage.getItem("storeInfo"));
+                          this.model.hotelId = info.id;
+                      } else {
+                          httpurl += this.url.edit;
+                          method = 'put';
+                      }
+
+                      var data = this.model;
+                      if (this.model.status) {
+                          data.status = 0;
+                      } else {
+                          data.status = 1;
+                      }
+                      if (this.model.automaticGrant) {
+                          data.automaticGrant = 0;
+                      } else {
+                          data.automaticGrant = 1;
+                      }
+                      data.startTime = this.model.startTime.format("HH:mm:ss")
+                      data.endTime = this.model.endTime.format("HH:mm:ss")
+                      httpAction(httpurl, data, method).then((res) => {
+                          if (res.success) {
+                              that.$message.success(res.message);
+                              that.$emit('ok');
+                          } else {
+                              that.$message.warning(res.message);
+                          }
+                      }).finally(() => {
+                          that.confirmLoading = false;
+                      })
+                  }
+
+              })
+          },
+          onChange() {
+
+          }
+      }
+  }
+</script>

+ 84 - 0
src/views/settings/components/roomModules/modules/mealCouponModal.Style#Drawer.vue

@@ -0,0 +1,84 @@
+<template>
+  <a-drawer
+    :title="title"
+    :width="width"
+    placement="right"
+    :closable="false"
+    @close="close"
+    destroyOnClose
+    :visible="visible">
+    <meal-coupon-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit" normal></meal-coupon-form>
+    <div class="drawer-footer">
+      <a-button @click="handleCancel" style="margin-bottom: 0;">关闭</a-button>
+      <a-button v-if="!disableSubmit"  @click="handleOk" type="primary" style="margin-bottom: 0;">提交</a-button>
+    </div>
+  </a-drawer>
+</template>
+
+<script>
+
+  import mealCouponForm from './mealCouponForm'
+
+  export default {
+    name: 'mealCouponModal',
+    components: {
+      mealCouponForm
+    },
+    data () {
+      return {
+        title:"操作",
+        width:800,
+        visible: false,
+        disableSubmit: false
+      }
+    },
+    methods: {
+      add () {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.add();
+        })
+      },
+      edit (record) {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.edit(record);
+        });
+      },
+      close () {
+        this.$emit('close');
+        this.visible = false;
+      },
+      submitCallback(){
+        this.$emit('ok');
+        this.visible = false;
+      },
+      handleOk () {
+        this.$refs.realForm.submitForm();
+      },
+      handleCancel () {
+        this.close()
+      }
+    }
+  }
+</script>
+
+<style lang="less" scoped>
+/** Button按钮间距 */
+  .ant-btn {
+    margin-left: 30px;
+    margin-bottom: 30px;
+    float: right;
+  }
+  .drawer-footer{
+    position: absolute;
+    bottom: -8px;
+    width: 100%;
+    border-top: 1px solid #e8e8e8;
+    padding: 10px 16px;
+    text-align: right;
+    left: 0;
+    background: #fff;
+    border-radius: 0 0 2px 2px;
+  }
+</style>

+ 60 - 0
src/views/settings/components/roomModules/modules/mealCouponModal.vue

@@ -0,0 +1,60 @@
+<template>
+  <j-modal
+    :title="title"
+    :width="width"
+    :visible="visible"
+    switchFullscreen
+    @ok="handleOk"
+    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
+    @cancel="handleCancel"
+    cancelText="关闭">
+    <meal-coupon-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></meal-coupon-form>
+  </j-modal>
+</template>
+
+<script>
+
+  import mealCouponForm from './mealCouponForm'
+  export default {
+    name: 'mealCouponModal',
+    components: {
+      mealCouponForm
+    },
+    data () {
+      return {
+        title:'',
+        width:800,
+        visible: false,
+        disableSubmit: false
+      }
+    },
+    methods: {
+      add () {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.add();
+        })
+      },
+      edit (record) {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.edit(record);
+        })
+      },
+      close () {
+        this.$emit('close');
+        this.visible = false;
+      },
+      handleOk () {
+        this.$refs.realForm.submitForm();
+      },
+      submitCallback(){
+        this.$emit('ok');
+        this.visible = false;
+      },
+      handleCancel () {
+        this.close()
+      }
+    }
+  }
+</script>

+ 35 - 2
src/views/settings/roomSettings.vue

@@ -21,7 +21,7 @@
                     <a-icon type="shop" />
                     商品库存
                 </span>
-               <goodList></goodList>     
+               <goodList></goodList>
             </a-tab-pane>
             <a-tab-pane key="4">
                 <span slot="tab">
@@ -36,6 +36,37 @@
                     钟点房计费
                 </span>
             </a-tab-pane>
+            <a-tab-pane key="6">
+                <span slot="tab">
+                    <a-icon type="file" />
+                    房价方案
+                </span>
+            </a-tab-pane>
+            <a-tab-pane key="7">
+                <span slot="tab">
+                    <a-icon type="thunderbolt" />
+                    水电煤设置
+                </span>
+            </a-tab-pane>
+            <a-tab-pane key="8">
+                <span slot="tab">
+                    <a-icon type="tool" />
+                    服务维修设置
+                </span>
+            </a-tab-pane>
+            <a-tab-pane key="9">
+                <span slot="tab">
+                    <a-icon type="flag" />
+                    销售目标设置
+                </span>
+            </a-tab-pane>
+            <a-tab-pane key="10">
+                <span slot="tab">
+                    <a-icon type="pound" />
+                    餐券设置
+                </span>
+                <meal-coupon-list></meal-coupon-list>
+            </a-tab-pane>
         </a-tabs>
     </a-card>
 </template>
@@ -45,8 +76,10 @@ import roomLayoutList from "./components/roomModules/roomLayoutList.vue"
 import goodList from "./components/roomModules/goodList.vue";
 import roomNumList from "./components/roomModules/roomNumSettings/roomNumList.vue";
 import allDaysRule from './components/roomModules/allDaysRoomFeeRule.vue'
+import MealCouponList from "./components/roomModules/mealCouponList";
 export default {
     components: {
+        MealCouponList,
         roomLayoutList,
         goodList,
         roomNumList,
@@ -61,4 +94,4 @@ export default {
 </script>
 
 <style scoped>
-</style>
+</style>