| | |
| | | @keyup.enter.native="handleQuery" /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" style="margin:0 15px;">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | }) |
| | | }, |
| | | submitrighr() { |
| | | this.openss = false |
| | | if(this.pacList.length >= 1){ |
| | | this.openss = false |
| | | this.forms.pacName = this.pacList[0].pacName |
| | | this.forms.price = this.queryParams.price |
| | | this.forms.ysPrice = (this.forms.price * (this.forms.limits / 10)).toFixed(2); |
| | | }else{ |
| | | this.$modal.msgError("请选择套餐"); |
| | | } |
| | | |
| | | }, |
| | | // 套餐单项获取 |
| | | handleChangeOne(selection) { |
| | | console.log(selection); |
| | | this.pacList = selection |
| | | this.OnenewpacName = [] |
| | | this.queryParams.price = 0 |
| | |
| | | dwgrouping(data).then(res => { |
| | | if (res.code == 200) { |
| | | this.beCurrent() |
| | | this.forms.groupingName = ""; |
| | | this.forms.sex = ""; |
| | | this.forms.pacName = ""; |
| | | this.forms.price = ""; |
| | | this.forms.ysPrice = ""; |
| | | this.forms.payType = ""; |
| | | } |
| | | }) |
| | | } |