gaoluyang
2 天以前 067306880afdbbb2d6cc10bf6275ef7ab9d6195a
付款登记-添加付款状态字段(付款完成,未完成)
已修改1个文件
20 ■■■■■ 文件已修改
src/views/procurementManagement/paymentEntry/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/paymentEntry/index.vue
@@ -309,6 +309,20 @@
    prop: "supplierName",
    width:240
  },
    {
        label: "付款状态",
        prop: "statusName",
        dataType: "tag",
        formatType: (params) => {
            if (params == '未完成付款') {
                return "danger";
            } else if (params == '已完成付款') {
                return "success";
            } else {
                return null;
            }
        },
    },
  {
    label: "发票号",
    prop: "invoiceNumber",
@@ -393,7 +407,11 @@
const isShowSummarySon = ref(true);
const expandedRowKeys = ref([]);
const getStatusTagType = (statusName = '') => {
    const normalized = statusName.trim();
    if (!normalized) return 'info';
    return normalized === '未完成付款' ? 'danger' : 'success';
};
// 子表合计方法
const summarizeMainTable1 = (param) => {
  return proxy.summarizeTable(