فهرست منبع

fix(financialManagement): 移除今日收入列表中冗余的佣金率字段

移除了 todayIncomeList.vue 组件中的 commissionRate 响应式变量及其赋值逻辑,
因为该字段未被实际使用。同时更新了数据回调函数以确保表格数据结构正确性。

feat(home): 限制验券输入框最大长度为30个字符

在 go-examine.vue 组件的劵码输入框中添加了 maxlength 属性,
防止用户输入过长的劵码导致数据异常或界面问题。
zhuli 3 هفته پیش
والد
کامیت
e95bc095ca
2فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 0 2
      src/views/financialManagement/todayIncomeList.vue
  2. 1 1
      src/views/home/components/go-examine.vue

+ 0 - 2
src/views/financialManagement/todayIncomeList.vue

@@ -123,9 +123,7 @@ onActivated(() => {
 
 // dataCallback 是对于返回的表格数据做处理,如果你后台返回的数据不是 list && total 这些字段,可以在这里进行处理成这些字段
 // 或者直接去 hooks/useTable.ts 文件中把字段改为你后端对应的就行
-const commissionRate = ref("");
 const dataCallback = (data: any) => {
-  commissionRate.value = data.commissionRate;
   return {
     list: data.incomeDetailsRecordVoList,
     total: data.data?.total || data.total || 0

+ 1 - 1
src/views/home/components/go-examine.vue

@@ -9,7 +9,7 @@
     </div>
 
     <div class="verify-row">
-      <el-input outline="none" v-model="voucherCode" placeholder="请输入劵码" class="verify-input" clearable />
+      <el-input outline="none" v-model="voucherCode" placeholder="请输入劵码" class="verify-input" maxlength="30" clearable />
       <el-button type="primary" class="verify-btn" @click="handleVerify"> 验 券 </el-button>
     </div>