gaoluyang
6 天以前 8e9bc97e709f7e49586dffb9cc3d2dac4cfef4ca
src/views/salesManagement/receiptPayment/index.vue
@@ -40,6 +40,7 @@
      <el-table
        :data="tableData"
        border
        ref="tableRef"
        v-loading="tableLoading"
        @selection-change="handleSelectionChange"
        :row-key="(row) => row.id"
@@ -101,7 +102,6 @@
                  <el-button
                    link
                    type="primary"
                    size="small"
                    @click="changeEditType(scope.row)"
                    v-if="!scope.row.editType"
                    >编辑</el-button
@@ -109,7 +109,6 @@
                  <el-button
                    link
                    type="primary"
                    size="small"
                    @click="saveReceiptPayment(scope.row)"
                    v-if="scope.row.editType"
                    >保存</el-button
@@ -117,7 +116,6 @@
                  <el-button
                    link
                    type="primary"
                    size="small"
                    @click="delReceiptRecord(scope.row)"
                    >删除</el-button
                  >
@@ -313,6 +311,7 @@
});
const total = ref(0);
const expandedRowKeys = ref([]);
const tableRef = ref(null);
// 用户信息表单弹框数据
const dialogFormVisible = ref(false);
@@ -335,7 +334,7 @@
const getStatusTagType = (statusName = '') => {
  const normalized = statusName.trim();
  if (!normalized) return 'info';
  return normalized === '未完成回款' ? 'danger' : 'success';
  return normalized === '未完成付款' ? 'danger' : 'success';
};
// 查询列表
/** 搜索按钮操作 */
@@ -491,6 +490,7 @@
  dialogFormVisible.value = false;
  // 避免二次打开弹窗时仍携带上一次的选择导致“多出一行/脏数据”
  selectedRows.value = [];
  tableRef.value?.clearSelection();
};
// 删除回款记录
@@ -589,7 +589,7 @@
.table_list {
  margin-top: unset;
}
::v-deep(.el-checkbox__label) {
:deep(.el-checkbox__label) {
  font-weight: bold;
}
.actions {