|
@@ -89,8 +89,29 @@ namespace OA2014.groups
|
|
|
|
|
|
//分页设置
|
|
|
int pageIndex = pageControl.getPageIndex();
|
|
|
+ List<GroupsCustomers> groupsCustomers= gcs.GetGroupsCustomers(pageIndex, out sumPage, out totalRecord, ddlTourCode.SelectedValue, txtVisaClient.Text);
|
|
|
+ foreach (GroupsCustomers item in groupsCustomers)
|
|
|
+ {
|
|
|
+ CreditCardPaymentService ccps = new CreditCardPaymentService();
|
|
|
+ CreditCardPayment ccp = ccps.GetCreditCardPaymentByCIDAndDIIDAndCTable(item.Id, item.DIId, 82);
|
|
|
|
|
|
- rpData.DataSource = gcs.GetGroupsCustomers(pageIndex, out sumPage, out totalRecord, ddlTourCode.SelectedValue, txtVisaClient.Text);
|
|
|
+ if (ccp != null)
|
|
|
+ {
|
|
|
+ if (ccp.IsAuditGM == 0)
|
|
|
+ {
|
|
|
+ item.IsAuditGM = "未审核";
|
|
|
+ }
|
|
|
+ else if (ccp.IsAuditGM == 1)
|
|
|
+ {
|
|
|
+ item.IsAuditGM = "已审核";
|
|
|
+ }
|
|
|
+ else if (ccp.IsAuditGM == 2)
|
|
|
+ {
|
|
|
+ item.IsAuditGM = "未通过";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ rpData.DataSource = groupsCustomers;
|
|
|
rpData.DataBind();
|
|
|
|
|
|
//绑定分页用户控件
|