|  |  |  | 
|---|
|  |  |  | <body> | 
|---|
|  |  |  | <div class="ibox-content" id="app" v-cloak> | 
|---|
|  |  |  | <form class="form-horizontal" id="dataform" | 
|---|
|  |  |  | onsubmit="javascripr:return false;"> | 
|---|
|  |  |  | onsubmit="javascript:return false;"> | 
|---|
|  |  |  | <input autocomplete="off"   type="hidden" v-model="projService.id"> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <div class="form-group"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <th width="100px">服务时长(分钟)</th> | 
|---|
|  |  |  | <th>服务时间</th> | 
|---|
|  |  |  | <th width="300px">美疗师</th> | 
|---|
|  |  |  | <th style="width: 100px;">提成</th> | 
|---|
|  |  |  | <th>操作</th> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | :value="item.suId"> | 
|---|
|  |  |  | </el-option> | 
|---|
|  |  |  | </el-select> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td> | 
|---|
|  |  |  | <el-input v-model="item.extract"></el-input> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td> | 
|---|
|  |  |  | <el-button size="mini" type="danger" | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //处理空对象和时间 | 
|---|
|  |  |  | let projService = data.mapInfo.projService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | console.log(projService); | 
|---|
|  |  |  | let serviceItems = projService.serviceItems; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //转换床位时间格式 | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | var params = { | 
|---|
|  |  |  | id: projService.id, | 
|---|
|  |  |  | state : projService.state, | 
|---|
|  |  |  | totalTime: projService.totalTime, | 
|---|
|  |  |  | remark: projService.remark, | 
|---|
|  |  |  | bedId: projService.bedId, | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | , | 
|---|
|  |  |  | getFreedBeautyd: function (index) { | 
|---|
|  |  |  | getFreedBeautyd: function () { | 
|---|
|  |  |  | console.log("获取美疗师"); | 
|---|
|  |  |  | let _this = this; | 
|---|
|  |  |  | let projService = _this.projService; | 
|---|
|  |  |  | let beStates = projService.serviceItems[index]; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | let beStates = projService.serviceItems[0]; | 
|---|
|  |  |  | console.log(beStates); | 
|---|
|  |  |  | if (beStates == null ||  MTools.isBlank(beStates.beginTimeForm) ||    MTools.isBlank(beStates.endTimeForm )  ){ | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|