Israeli Foreign Minister Moshe Dayan said yesterday he disagreed with President Carter that Israel and Egypt must sign a peace treaty by the Dec. 17 deadline set at the Camp David summit.

"If we sign by then, so much the better," Dayan said at a news conference in Berne at the end of a three-day official visit to Switzerland. "But with an issue like a peace negotiation with an Arab country with whom we have had 30 years of war, I would not say we should shut the door and say, 'sorry.'"

Dayan also ruled out meeting in Europe with Egyptian Prime Minister Mustapha Khalil, who is in Paris and has said he would welcome such a meeting.

Meanwhile, Egypt's official Middle East News Agency quoted Khalil as saying crude oil has become a problem in the Egypt-Israeli negotiations. He said Israel is asking for a fixed quota of Egyptian oil and Egypt cannot agree to this.

Meanwhile, Israeli Prime Minister Menachem Begin, who arrived in Oslo to get his share of the 1978 Nobel Peace Prize, told reporters that Israel was ready to sign a peace treaty with Egypt at any moment.

Egyptian President Anwar Sadat, who shares the prize with Begin, sent an aide to represent him at the award ceremony Sunday.