maven
2025-12-03 067a7119d3175c9ea9b7c0d46b59df6e8ccb994c
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"
@@ -338,7 +348,6 @@
                        v-model="form.registrant"
                        placeholder="请输入"
                        clearable
                        disabled
                     />
                  </el-form-item>
               </el-col>
@@ -426,6 +435,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 = () => {