gaoluyang
2025-11-15 ed0ff5934d3ed98832bf236d650a8c5fcfe93869
src/views/salesManagement/receiptPayment/index.vue
@@ -122,7 +122,6 @@
                    size="small"
                    @click="changeEditType(scope.row)"
                    v-if="!scope.row.editType"
                              :disabled="scope.row.registrant !== userStore.nickName"
                    >编辑</el-button
                  >
                  <el-button
@@ -173,6 +172,17 @@
          show-overflow-tooltip
          width="340"
        />
        <el-table-column
          label="回款状态"
          prop="statusName"
          width="120"
        >
          <template #default="{ row }">
            <el-tag :type="getStatusTagType(row.statusName)" disable-transitions>
              {{ row.statusName || "--" }}
            </el-tag>
          </template>
        </el-table-column>
        <el-table-column
          label="产品大类"
          prop="productCategory"
@@ -426,6 +436,12 @@
const formattedNumber = (row, column, cellValue) => {
  return parseFloat(cellValue).toFixed(2);
};
const getStatusTagType = (statusName = '') => {
  const normalized = statusName.trim();
  if (!normalized) return 'info';
  return normalized === '未完成回款' ? 'danger' : 'success';
};
// 查询列表
/** 搜索按钮操作 */
const handleQuery = () => {