src/views/salesManagement/salesLedger/index.vue
@@ -836,6 +836,7 @@
  import useFormData from "@/hooks/useFormData.js";
  import dayjs from "dayjs";
  import { getStockInPage } from "@/api/inventoryManagement/stockIn.js";
  import { useRouter, useRoute } from "vue-router";
  const userStore = useUserStore();
  const { proxy } = getCurrentInstance();
@@ -857,6 +858,8 @@
  const approverNodes = ref([{ id: 1, userId: null }]);
  let nextApproverId = 2;
const router = useRouter();
  const route = useRoute();
  // 用户信息表单弹框数据
  const operationType = ref("");
  const dialogFormVisible = ref(false);
@@ -2025,7 +2028,16 @@
  };
  onMounted(() => {
    console.log(route.query,"route.query");
    if(route.query.customerContractNo){
      searchForm.salesContractNo = route.query.customerContractNo
    getList();
    }else{
    getList();
    }
  });
</script>