buhuazhen
2 天以前 fd20b340153df3282b87dc631b7f72437ee06c07
feat:供应商往来增加筛选条件 采购单号
已修改1个文件
17 ■■■■ 文件已修改
src/views/procurementManagement/paymentLedger/index.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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({
@@ -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;