到货单PURCC为主表,外联结采购单PURTD即可
select * from purtd as p1 left join purcc as p2 on p1.td001=p2.cc010 and p1.td003=p2.cc003