在父格设置: if($test = 1 , if($order = 1, EVAL($dyg + "[;P2:" + $index + "]"), EVAL("-" + $dyg + "[;P2:" + $index + "]")) , if ($test = 2,if($a1 = 1, eval($asc1), eval($asc1) * -1),if($order1 = 1, EVAL($dyg1 + "[;R2:" + $index1 + "]"), EVAL("-" + $dyg1 + "[;R2:" + $index1 + "]"))) )