Receipt field position adjusting method and field position adjuster
暂无分享,去创建一个
The invention provides a receipt field position adjusting method and a field position adjuster. The receipt field position adjusting method includes steps of setting original coordinates of all fields in receipts as first display coordinates of corresponding fields when business types of the receipts change and homing all the fields; determining display states of all the fields according to the changed business types and the corresponding relations of the fields; acquiring the first display coordinate of the dependency field of each field sequentially from the tail end of the dependency relation according to prebuilt the dependency relation among the fields until the dependency field becomes the first field not to be displayed in the dependency relation; setting the first display coordinate of the dependency field of each acquired field as the second display coordinate of each field; and displaying each field at the second display coordinate thereof. The coordinates of the fields to be displayed are dynamically adjusted, rearrangement of the fields to be displayed is realized and blank areas or useless fields in the service interface are reduced.