SPA 收入支出/技师提成主动统计系统——东方仙盟

嚴華  论坛元老 | 2025-2-17 07:18:03 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 1050|帖子 1050|积分 3150

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x

 代码

  1. <style>
  2.     body {
  3.       font-family: Arial, sans-serif;
  4.     }
  5.     h2 {
  6.       margin-top: 20px;
  7.     }
  8.    .tabs {
  9.       display: flex;
  10.     }
  11.   .tab {
  12.       padding: 10px 20px;
  13.       background-color: #f1f1f1;
  14.       cursor: pointer;
  15.     }
  16.   .tab.active {
  17.       background-color: #ddd;
  18.           border-top: 1px solid red;
  19.            border-left: 1px solid red;
  20.             border-right: 1px solid red;
  21.     }
  22.   .tab-content {
  23.       display: none;
  24.     }
  25.   .tab-content.active {
  26.       display: block;
  27.               border: 1px solid red;
  28.     }
  29.     table {
  30.       width: 100%;
  31.       border-collapse: collapse;
  32.     }
  33.     th {
  34.       background-color: #ff9999; /* 中国红减淡 */
  35.       color: black;
  36.       border: 1px solid #ddd;
  37.       padding: 8px;
  38.       text-align: left;
  39.     }
  40.     td {
  41.       border: 1px solid #ddd;
  42.       padding: 8px;
  43.       text-align: left;
  44.     }
  45.     tr:nth-child(even) {
  46.       background-color: #f2f2f2;
  47.     }
  48.     input[type="text"],
  49.     input[type="number"] {
  50.       width: 100%;
  51.       padding: 5px;
  52.       box-sizing: border-box;
  53.       border-radius: 8px;
  54.       background-color: #ffcccc;
  55.       color: #000;
  56.     }
  57.     button {
  58.       padding: 10px 20px;
  59.       background-color: #ff4500;
  60.       color: white;
  61.       border: none;
  62.       cursor: pointer;
  63.       border-radius: 8px;
  64.     }
  65.     button:hover {
  66.       background-color: #cc3300;
  67.     }
  68.   .input-row {
  69.       display: flex;
  70.       gap: 10px;
  71.     }
  72.         .仙盟div{
  73.           display:inline-block;
  74.           max-width:50%;
  75.           min-width:300px;
  76.           width:40%;
  77. border: 1px solid #f1f1f1;
  78. border-radius: 20px;
  79. background: aliceblue;
  80.     margin-top: 10px;
  81.             margin-left: 10px;
  82.         }
  83.   </style>
  84.   <style>
  85.    input[type="text"]
  86.    {
  87.       width: 100px;
  88.       padding: 5px;
  89.       box-sizing: border-box;
  90.       border-radius: 8px;
  91.       background-color: #ffcccc;
  92.       color: #000;
  93.     }
  94.    input[type="number"] {
  95.       width: 60px;
  96.       padding: 5px;
  97.       box-sizing: border-box;
  98.       border-radius: 8px;
  99.       background-color: #ffcccc;
  100.       color: #000;
  101.     }
  102.         </style>
  103. </head>
  104. <body>
  105.   <h1>SPA 收入支出/技师提成自动统计系统——东方仙盟</h1>
  106. <h2>台账报表免费-自动统计系统,让中小企业台账报表不再烦恼</h2>
  107.   <div class="tabs">
  108.     <div class="tab active" onclick="showTab(0)">统计汇总</div>
  109.     <div class="tab" onclick="showTab(1)">支出</div>
  110.     <div class="tab" onclick="showTab(2)">SPA服务</div>
  111.   </div>
  112.   <div class="tab-content active">
  113.   <cyberdiv class="仙盟div" style="width:90%;max-width: 90%;">
  114.     <h2>利润汇总:总收入-支出-技师提成</h2>
  115.     <table id="东方仙盟智慧经营利润汇总SummaryTable" style="width:300px;">
  116.       <tr>
  117.         <th>利润汇总</th>
  118.         <th><div id="东方仙盟智慧经营profitSummary"></div></th>
  119.       </tr>
  120.     </table>
  121.          </cyberdiv>
  122.     <cyberdiv class="仙盟div">
  123.          
  124.     <h2>技师统计</h2>
  125.     <table id="东方仙盟智慧经营technicianStatsTable">
  126.         <thead>
  127.         <th>技师</th>
  128.         <th>服务次数汇总</th>
  129.         <th>服务金额汇总</th>
  130.         <th>提成汇总</th>
  131.       </thead>
  132.           <tbody id="东方仙盟智慧经营technicianStatsTable_tbody">
  133.       <tr>
  134.         
  135.       </tr>
  136.           </tbody>
  137.     </table>
  138. </cyberdiv>
  139. <cyberdiv class="仙盟div">
  140.     <h2>支出汇总</h2>
  141.     <table id="东方仙盟智慧经营expenseSummaryTable">
  142.         <thead>
  143.       <tr>
  144.         <th>项目</th>
  145.         <th>支出总金额</th>
  146.       </tr>
  147.             </thead>
  148.                   <tbody id="东方仙盟智慧经营expenseSummaryTable_tbody">
  149.       <tr>
  150.         
  151.       </tr>
  152.           </tbody>
  153.     </table>
  154.          </cyberdiv>
  155.   </div>
  156.   <div class="tab-content">
  157.     <h2>足浴支出</h2>
  158.          <div class="input-row">
  159.       <input type="date" id="东方仙盟智慧经营expenseDate" />
  160.       <input type="text" id="东方仙盟智慧经营expenseItem" placeholder="项目" />
  161.       <input type="number" id="东方仙盟智慧经营expenseQuantity" placeholder="数量" />
  162.       <input type="number" id="东方仙盟智慧经营expenseAmount" placeholder="金额" />
  163.       <button onclick="addExpense()">添加支出</button>
  164.     </div>
  165.         <br>
  166.     <table id="东方仙盟智慧经营expenseTable">
  167.       <tr>
  168.         <th>日期</th>
  169.         <th>项目</th>
  170.         <th>数量</th>
  171.         <th>金额</th>
  172.         <th>操作</th>
  173.       </tr>
  174.     </table>
  175.    <br><br><br>
  176.   </div>
  177.   <div class="tab-content">
  178.     <h2>足浴收入</h2>
  179.          <div class="input-row">
  180.       <input type="date" id="东方仙盟智慧经营incomeDate" />
  181.       <input type="text" id="东方仙盟智慧经营incomeItem" placeholder="项目" />
  182.       <input type="text" id="东方仙盟智慧经营technician" placeholder="技师" />
  183.       <input type="number" id="东方仙盟智慧经营incomeAmount" placeholder="消费金额" oninput="calculateCommission(this)" />
  184.       <input type="number" id="东方仙盟智慧经营commissionRatio" placeholder="提成比例" oninput="calculateCommission(this)" />
  185.       <input type="number" id="东方仙盟智慧经营commissionAmount" placeholder="提成金额" oninput="toggleCommissionCalculation(this)" />
  186.       <button onclick="addIncome()">添加服务</button>
  187.     </div>
  188. <br>
  189.     <table id="东方仙盟智慧经营incomeTable">
  190.       <tr>
  191.         <th>日期</th>
  192.         <th>项目</th>
  193.         <th>技师</th>
  194.         <th>消费金额</th>
  195.         <th>提成比例</th>
  196.         <th>提成金额</th>
  197.         <th>操作</th>
  198.       </tr>
  199.     </table>
  200.         <br><br><br>
  201.    
  202.   </div>
复制代码
 
使用和体验



免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

嚴華

论坛元老
这个人很懒什么都没写!
快速回复 返回顶部 返回列表