当前位置: 首页 > article >正文

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

 代码

 <style>
    body {
      font-family: Arial, sans-serif;
    }

    h2 {
      margin-top: 20px;
    }

   .tabs {
      display: flex;
    }

  .tab {
      padding: 10px 20px;
      background-color: #f1f1f1;
      cursor: pointer;
    }

  .tab.active {
      background-color: #ddd;
	  border-top: 1px solid red;
	   border-left: 1px solid red;
	    border-right: 1px solid red;
    }

  .tab-content {
      display: none;
    }

  .tab-content.active {
      display: block;
	      border: 1px solid red;
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    th {
      background-color: #ff9999; /* 中国红减淡 */
      color: black;
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }

    td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }

    tr:nth-child(even) {
      background-color: #f2f2f2;
    }

    input[type="text"],
    input[type="number"] {
      width: 100%;
      padding: 5px;
      box-sizing: border-box;
      border-radius: 8px;
      background-color: #ffcccc;
      color: #000;
    }

    button {
      padding: 10px 20px;
      background-color: #ff4500;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 8px;
    }

    button:hover {
      background-color: #cc3300;
    }

  .input-row {
      display: flex;
      gap: 10px;
    }

	.仙盟div{
	  display:inline-block;
	  max-width:50%;
	  min-width:300px;
	  width:40%;
border: 1px solid #f1f1f1;
border-radius: 20px;
background: aliceblue;
    margin-top: 10px;
	    margin-left: 10px;
	}
  </style>
  <style>
   input[type="text"]
   {
      width: 100px;
      padding: 5px;
      box-sizing: border-box;
      border-radius: 8px;
      background-color: #ffcccc;
      color: #000;
    }
   input[type="number"] {
      width: 60px;
      padding: 5px;
      box-sizing: border-box;
      border-radius: 8px;
      background-color: #ffcccc;
      color: #000;
    }
	</style>
 
</head>

<body>
  <h1>SPA 收入支出/技师提成自动统计系统——东方仙盟</h1>
 <h2>台账报表免费-自动统计系统,让中小企业台账报表不再烦恼</h2>
 
  <div class="tabs">
    <div class="tab active" onclick="showTab(0)">统计汇总</div>
    <div class="tab" onclick="showTab(1)">支出</div>
    <div class="tab" onclick="showTab(2)">SPA服务</div>
  </div>

  <div class="tab-content active">

  <cyberdiv class="仙盟div" style="width:90%;max-width: 90%;">
    <h2>利润汇总:总收入-支出-技师提成</h2>
    <table id="东方仙盟智慧经营利润汇总SummaryTable" style="width:300px;">
      <tr>
        <th>利润汇总</th>
        <th><div id="东方仙盟智慧经营profitSummary"></div></th>
      </tr>
    </table>
	 </cyberdiv>

    <cyberdiv class="仙盟div">
	 
    <h2>技师统计</h2>
    <table id="东方仙盟智慧经营technicianStatsTable">
	<thead>
        <th>技师</th>
        <th>服务次数汇总</th>
        <th>服务金额汇总</th>
        <th>提成汇总</th>
      </thead>
	  <tbody id="东方仙盟智慧经营technicianStatsTable_tbody">
      <tr>
        
      </tr>
	  </tbody>
    </table>
 </cyberdiv>
 <cyberdiv class="仙盟div">
    <h2>支出汇总</h2>
    <table id="东方仙盟智慧经营expenseSummaryTable">
	<thead>
      <tr>
        <th>项目</th>
        <th>支出总金额</th>
      </tr>
	    </thead>
		  <tbody id="东方仙盟智慧经营expenseSummaryTable_tbody">
      <tr>
        
      </tr>
	  </tbody>
    </table>

	 </cyberdiv>

  </div>

  <div class="tab-content">
    <h2>足浴支出</h2>
	 <div class="input-row">
      <input type="date" id="东方仙盟智慧经营expenseDate" />
      <input type="text" id="东方仙盟智慧经营expenseItem" placeholder="项目" />
      <input type="number" id="东方仙盟智慧经营expenseQuantity" placeholder="数量" />
      <input type="number" id="东方仙盟智慧经营expenseAmount" placeholder="金额" />
      <button onclick="addExpense()">添加支出</button>
    </div>
	<br>
    <table id="东方仙盟智慧经营expenseTable">
      <tr>
        <th>日期</th>
        <th>项目</th>
        <th>数量</th>
        <th>金额</th>
        <th>操作</th>
      </tr>
    </table>
   <br><br><br>
  </div>

  <div class="tab-content">
    <h2>足浴收入</h2>

	 <div class="input-row">
      <input type="date" id="东方仙盟智慧经营incomeDate" />
      <input type="text" id="东方仙盟智慧经营incomeItem" placeholder="项目" />
      <input type="text" id="东方仙盟智慧经营technician" placeholder="技师" />
      <input type="number" id="东方仙盟智慧经营incomeAmount" placeholder="消费金额" oninput="calculateCommission(this)" />
      <input type="number" id="东方仙盟智慧经营commissionRatio" placeholder="提成比例" oninput="calculateCommission(this)" />
      <input type="number" id="东方仙盟智慧经营commissionAmount" placeholder="提成金额" oninput="toggleCommissionCalculation(this)" />
      <button onclick="addIncome()">添加服务</button>
    </div>
<br>

    <table id="东方仙盟智慧经营incomeTable">
      <tr>
        <th>日期</th>
        <th>项目</th>
        <th>技师</th>
        <th>消费金额</th>
        <th>提成比例</th>
        <th>提成金额</th>
        <th>操作</th>
      </tr>
    </table>
	<br><br><br>
   
  </div>

 

使用和体验


http://www.kler.cn/a/547326.html

相关文章:

  • 红黑树:高效平衡二叉树的奥秘
  • Unity嵌入到Winform
  • shell命令脚本(2)——条件语句
  • Ansys Zemax | 使用衍射光学器件模拟增强现实 (AR) 系统的出瞳扩展器 (EPE):第 1 部分
  • 跨平台键鼠共享免费方案--Deskflow!流畅体验用MacBook高效控制Windows设备
  • Java 多线程编程与单例模式
  • 【C语言】程序环境与预处理
  • C++模拟实现二叉搜索树
  • 「软件设计模式」桥接模式(Bridge Pattern)
  • 基于JavaWeb开发的Java+Spring+vue+element实现旅游信息管理平台系统
  • CF 137B.Permutation(Java 实现)
  • CAS单点登录(第7版)20.用户界面
  • 【SLAM】在 ubuntu 18.04 arm 中以ROS环境编译与运行ORB_SLAM3
  • 网络安全防护:开源WAF雷池SafeLine本地部署与配置全流程
  • Java 基于 SpringBoot+Vue 的家政服务管理平台设计与实现
  • S32DS新建工程时不能选择芯片型号
  • 3.4 AI Agent体验设计革命:从界面美学到情感化交互的企业级设计指南
  • Spring安装和使用(Eclipse环境)
  • 前缀和(Prefix Sum)算法笔记C++
  • K8s组件