10 天以前 63afcf7bd6eff23e4feee8b6d12053bd8e78abb8
src/views/customerService/expiryAfterSales/index.vue
@@ -1,6 +1,6 @@
<template>
   <div class="app-container">
      <div class="search_form">
      <div class="search_form mb20">
         <div>
            <span class="search_title">临期日期:</span>
            <el-date-picker
@@ -34,11 +34,12 @@
            >重置</el-button
            >
         </div>
         <div class="table_actions">
            <el-button type="primary" @click="openForm('add')">新增</el-button>
            <el-button type="danger" @click="handleDelete">删除</el-button>
         </div>
      </div>
      <div class="table_actions" style="margin-bottom: 10px;">
         <el-button type="primary" @click="openForm('add')">新增</el-button>
         <el-button type="danger" @click="handleDelete">删除</el-button>
      </div>
      <div class="table_list">
         <PIMTable
            rowKey="id"
@@ -59,7 +60,7 @@
            <template #operation="{ row }">
               <el-button type="primary" link @click="openForm('view', row)">查看</el-button>
               <el-button type="primary" link @click="openForm('edit', row)" v-if="row.status === 1">编辑</el-button>
               <el-button type="primary" link @click="openForm('handle', row)" v-if="row.status === 1">处理</el-button>
            </template>
         </PIMTable>
      </div>
@@ -200,7 +201,7 @@
      current: page.value.current,
      size: page.value.size
   };
   expiryAfterSalesListPage(queryParams).then(res => {
      // 映射后端返回数据到前端表格
      tableData.value = res.data.records.map(item => ({