在单据维护界面,获取当前单据内码: this.View.Model.GetPKValue();

在单据列表界面,获取当前选择行的单据内码: this.ListView.CurrentSelectedRowInfo.PrimaryKeyValue