Commit caf0d47c by 李长胜

提交修改

1 parent 000e8d6d
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.1.7", "glsx-components": "^1.2.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
<template> <template>
<div class="live-room"> <div class="live-room">
<div class="topMsg"> <div class="topMsg">
<p class="pageTitle">创建套餐</p> <p class="pageTitle" v-if="!id">创建套餐</p>
<p class="pageTitle" v-else>编辑套餐</p>
<el-button type="primary" size="small" @click="goBack">返回</el-button> <el-button type="primary" size="small" @click="goBack">返回</el-button>
</div> </div>
<div class="live-room container"> <div class="live-room container">
<el-form ref="ruleForm" :rules="rules" :model="ruleForm" label-width="120px" class="demo-ruleForm"> <el-form ref="ruleForm" :rules="rules" :model="ruleForm" label-width="120px" class="demo-ruleForm">
<el-form-item size="small" label="套餐名称" prop="packageName" style="width: 440px"> <el-form-item size="small" label="套餐名称" prop="packageName" style="width: 440px">
<el-input size="small" v-model="ruleForm.packageName" maxlength="20" placeholder="请输入套餐名称"></el-input> <el-input size="small" v-model="ruleForm.packageName" maxlength="20" placeholder="请输入套餐名称"></el-input>
</el-form-item> </el-form-item>
<el-form-item size="small" label="套餐内容" class="is-required"> <el-form-item size="small" label="套餐内容" class="is-required">
<el-button @click="openDialog" size="small" icon="el-icon-plus">选择服务</el-button> <el-button @click="openDialog" size="small" icon="el-icon-plus">选择服务</el-button>
...@@ -202,7 +203,7 @@ export default { ...@@ -202,7 +203,7 @@ export default {
} }
} }
}) })
this.copyTotalPrice = this.totalPrice this.copyTotalPrice = this.totalPrice
this.copyRuleForm = JSON.parse(JSON.stringify(this.ruleForm)) //深拷贝一份数据 this.copyRuleForm = JSON.parse(JSON.stringify(this.ruleForm)) //深拷贝一份数据
this.copyChoseItemList = this.choseItemList this.copyChoseItemList = this.choseItemList
...@@ -400,7 +401,7 @@ export default { ...@@ -400,7 +401,7 @@ export default {
...ele, ...ele,
serviceId: ele.id serviceId: ele.id
} }
}) })
this.setmealDialogVisible = false this.setmealDialogVisible = false
}, },
handleClose() { handleClose() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!