buhuazhen
2026-05-29 5c30f301d6d4a5b8fc1183e06aaea8dc366d3540
src/views/procurementManagement/paymentLedger/index.vue
@@ -11,6 +11,15 @@
          clearable
          :prefix-icon="Search"
        />
        <span class="search_title" style="margin-left: 20px">采购单号:</span>
        <el-input
          v-model="searchForm.purchaseContractNumber"
          style="width: 240px"
          placeholder="输入采购单号"
          @change="handleQuery"
          clearable
          :prefix-icon="Search"
        />
        <el-button type="primary" @click="handleQuery" style="margin-left: 10px"
          >搜索</el-button
        >
@@ -114,7 +123,8 @@
const tableLoading = ref(false);
const data = reactive({
  searchForm: {
    supplierNameOrContractNo: "",
    supplierName: "",
    purchaseContractNumber: "",
  },
});
const page = reactive({
@@ -142,7 +152,7 @@
      width: 110,
  },
  {
    label: "采购合同号",
    label: "采购单号",
    prop: "purchaseContractNumber",
      width: 150,
  },
@@ -238,7 +248,10 @@
const getPaymenRecordtList = (supplierId) => {
  tableLoadingSon.value = true;
  paymentRecordList({supplierId: supplierId})
  paymentRecordList({
    supplierId: supplierId,
    purchaseContractNumber: searchForm.value.purchaseContractNumber
  })
    .then((res) => {
      tableLoadingSon.value = false;
      tableDataSon.value = res.data;