|  |  |  | 
|---|
|  |  |  | .el-autocomplete { | 
|---|
|  |  |  | display: block !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .vip-info { | 
|---|
|  |  |  | padding: 30px 20px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .vip-info p { | 
|---|
|  |  |  | line-height: 30px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | </style> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </head> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-main style="background-color: white; margin-right: 15px; padding: 20px 30px;"> | 
|---|
|  |  |  | <el-tabs v-model="activeName" type="card" @tab-click="tabHandleClick"> | 
|---|
|  |  |  | <el-tab-pane label="会员信息" name="vipInfo"> | 
|---|
|  |  |  | <el-row> | 
|---|
|  |  |  | <el-row class="vip-info"> | 
|---|
|  |  |  | <el-col :span="10"> | 
|---|
|  |  |  | <p>生日 : {{vipInfo.birthday1}}</p> | 
|---|
|  |  |  | <p>会员状态 : {{vipInfo.vipState}}</p> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-paidan" type="text" size="small" v-if="scope.row.state=='预约成功待处理'" @click="giveServiceOrder(scope.$index, scope.row)">派单</el-button> | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-edit" type="text" size="small" v-if="scope.row.state=='预约成功待处理'" @click="modifyServiceOrder(scope.$index, scope.row)">修改</el-button> | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-peiliao" type="text" size="small" v-if="scope.row.state=='需配料'" @click="peiliao(scope.$index, scope.row)">配料</el-button> | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-huakou" type="text" size="small" v-if="scope.row.state=='服务完成'" @click="openHKService(scope.$index, scope.row)">划扣</el-button> | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-huakou" type="text" size="small" v-if="scope.row.state=='服务完成'" @click="hkService(scope.$index, scope.row)">划扣</el-button> | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-edit" type="text" size="small" @click="modifyTime(scope.$index, scope.row)">修改时间</el-button> | 
|---|
|  |  |  | <el-button matrix:btn="serviceClub-del" type="text" size="small" v-if="scope.row.state!='预约取消'" @click="cancelServiceOrder(scope.$index, scope.row)">取消</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | 
|---|
|  |  |  | // 请求会员信息 | 
|---|
|  |  |  | vipInfoFn(key) { | 
|---|
|  |  |  | let _this = this; | 
|---|
|  |  |  | if (!key) { | 
|---|
|  |  |  | key = _this.vipInfo.phone; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 请求用户信息 | 
|---|
|  |  |  | $.AjaxProxy({ | 
|---|
|  |  |  | p: { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | _this.tags.tags = data.labels; | 
|---|
|  |  |  | _this.projTableQueryFn(); | 
|---|
|  |  |  | _this.serviceOrderTableQueryFn(); | 
|---|
|  |  |  | _this.orderTableDataQueryFn(); | 
|---|
|  |  |  | _this.skinCheckTableDataQueryFn(); | 
|---|
|  |  |  | _this.refreshTable(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | addLabelFn(key) { | 
|---|
|  |  |  | 
|---|
|  |  |  | })); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 划扣 | 
|---|
|  |  |  | openHkService(index, row) { | 
|---|
|  |  |  | hkService(index, row) { | 
|---|
|  |  |  | openHkServcie(row.id); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 取消 | 
|---|