From 9a341d58bf0cfc4d9c0b9be745671f4e5c490b02 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 20 Jul 2021 14:29:51 +0800
Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html
index ad8fde8..ab2f950 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html
@@ -112,15 +112,18 @@
                                 <table class="table table-bordered">
                                     <tr>
                                         <th>项目名称</th>
+                                        <th>次数</th>
+                                        <th>划扣金额</th>
                                         <th width="100px">服务时长(分钟)</th>
                                         <th>服务时间</th>
                                         <th width="300px">美疗师</th>
-                                        <th style="width: 100px;">提成</th>
                                         <th>操作</th>
                                     </tr>
 
                                     <tr v-for="(item,index) in projService.serviceItems">
                                         <td>{{item.projInfo.name}}</td>
+                                        <td>{{item.count}}</td>
+                                        <td>{{item.projUse.price * item.count}}</td>
                                         <td><el-input @change="changeTimeLength" v-model="item.projInfo.timeLength"></el-input></td>
 
                                         <td>
@@ -156,9 +159,6 @@
                                                         :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"
@@ -451,12 +451,12 @@
                 });
             }
             ,
-            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;
                 }

--
Gitblit v1.9.1