gaoluyang
2025-12-04 f39ab142a99fe58b942dee749d1c6a20ac0d4ee6
src/views/procurementManagement/paymentEntry/index.vue
@@ -104,7 +104,6 @@
                           size="small"
                           @click="changeEditType(scope.row)"
                           v-if="!scope.row.editType"
                           :disabled="scope.row.registrant !== userStore.nickName"
                        >编辑</el-button
                        >
                        <el-button
@@ -113,7 +112,6 @@
                           size="small"
                           @click="saveReceiptPayment(scope.row)"
                           v-if="scope.row.editType"
                           :disabled="scope.row.registrant !== userStore.nickName"
                        >保存</el-button
                        >
                        <el-button
@@ -121,7 +119,6 @@
                           type="primary"
                           size="small"
                           @click="handleDelete(scope.row)"
                           :disabled="scope.row.registrant !== userStore.nickName"
                        >删除</el-button
                        >
                     </template>
@@ -253,7 +250,6 @@
                v-model="form.registrationtDate"
                placeholder="请输入"
                clearable
                disabled
              />
            </el-form-item>
          </el-col>
@@ -309,6 +305,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 +403,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(