提交 53c5224f authored 作者: lgd's avatar lgd

1.添加提前结束审核信息

上级 20e9c9b6
......@@ -119,7 +119,7 @@ public class EndApplyBean {
private String createdTime;
private Object updatedBy;
private Object updatedByName;
private Object updatedTime;
private String updatedTime;
private Object commenceFromId;
private Object createdType;
private int id;
......@@ -127,7 +127,7 @@ public class EndApplyBean {
private String orderType;
private String status;
private String applyRemark;
private Object auditRemark;
private String auditRemark;
private String serialNumber;
private Object deptIdList;
private Object ownId;
......@@ -139,7 +139,7 @@ public class EndApplyBean {
private String applyDeptName;
private String applyUserName;
private Object auditDeptName;
private Object auditUserName;
private String auditUserName;
private int canAuditDeptId;
public int getCreatedBy() {
......@@ -182,11 +182,11 @@ public class EndApplyBean {
this.updatedByName = updatedByName;
}
public Object getUpdatedTime() {
public String getUpdatedTime() {
return updatedTime;
}
public void setUpdatedTime(Object updatedTime) {
public void setUpdatedTime(String updatedTime) {
this.updatedTime = updatedTime;
}
......@@ -246,11 +246,11 @@ public class EndApplyBean {
this.applyRemark = applyRemark;
}
public Object getAuditRemark() {
public String getAuditRemark() {
return auditRemark;
}
public void setAuditRemark(Object auditRemark) {
public void setAuditRemark(String auditRemark) {
this.auditRemark = auditRemark;
}
......@@ -342,11 +342,11 @@ public class EndApplyBean {
this.auditDeptName = auditDeptName;
}
public Object getAuditUserName() {
public String getAuditUserName() {
return auditUserName;
}
public void setAuditUserName(Object auditUserName) {
public void setAuditUserName(String auditUserName) {
this.auditUserName = auditUserName;
}
......
package com.wd.workoffice.ui.activity.bat.order;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
......@@ -53,6 +54,16 @@ public class EndApplyDetailActivity extends WorkToolBarActivity {
TextView tvTime;
@BindView(R.id.tv_remark)
TextView tvRemark;
@BindView(R.id.tv_check_person)
TextView tvCheckPerson;
@BindView(R.id.tv_check_time)
TextView tvCheckTime;
@BindView(R.id.tv_check_remark)
TextView tvCheckRemark;
@BindView(R.id.tv_check_status)
TextView tvCheckStatus;
@BindView(R.id.ll_check)
LinearLayout llCheck;
private Map<String, Object> param;
private EndApplyBean.RecordsBean info;
......@@ -73,6 +84,11 @@ public class EndApplyDetailActivity extends WorkToolBarActivity {
} else {
llBottom.setVisibility(View.GONE);
}
llCheck.setVisibility(TextUtils.equals(info.getStatus(), "0") ? View.GONE : View.VISIBLE);
tvCheckTime.setText(info.getUpdatedTime());
tvCheckPerson.setText(info.getAuditUserName());
tvCheckRemark.setText(info.getAuditRemark());
tvCheckStatus.setText(WorkUtils.getFinancialStatus(Integer.valueOf(info.getStatus())));
param = new HashMap<>();
param.put("id", info.getId());
changePermission();
......@@ -187,4 +203,10 @@ public class EndApplyDetailActivity extends WorkToolBarActivity {
});
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// TODO: add setContentView(...) invocation
ButterKnife.bind(this);
}
}
......@@ -52,24 +52,90 @@
<View style="@style/ViewX" />
<LinearLayout
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/white"
android:gravity="center"
android:paddingHorizontal="20mm"
android:paddingVertical="15mm">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="申请人"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_person"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:textColor="@color/flexible_text_gray"
android:textSize="15sp" />
</RelativeLayout>
<View style="@style/dividerX" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/white"
android:gravity="center"
android:paddingHorizontal="20mm"
android:paddingVertical="15mm">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="申请时间"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:textColor="@color/flexible_text_gray"
android:textSize="15sp" />
</RelativeLayout>
<View style="@style/dividerX" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1mm"
android:background="@color/white"
android:orientation="vertical"
android:paddingHorizontal="20mm"
android:paddingVertical="10mm">
<View
android:layout_width="8mm"
android:layout_height="18mm"
android:background="@color/red_btn_bg" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10mm"
android:text="发货信息"
android:text="申请备注"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_remark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3mm"
android:textColor="@color/flexible_text_gray"
android:textSize="12sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/ll_check"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -82,11 +148,11 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="申请人"
android:text="审核人"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_person"
android:id="@+id/tv_check_person"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
......@@ -108,20 +174,18 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="申请时间"
android:text="审核时间"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_time"
android:id="@+id/tv_check_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="销售二公司"
android:textColor="@color/flexible_text_gray"
android:textSize="15sp" />
</RelativeLayout>
<View style="@style/dividerX" />
<LinearLayout
......@@ -137,18 +201,44 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="备注"
android:text="审核备注"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_remark"
android:id="@+id/tv_check_remark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3mm"
android:textColor="@color/flexible_text_gray"
android:textSize="12sp" />
</LinearLayout>
<View style="@style/dividerX" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/white"
android:gravity="center"
android:paddingHorizontal="20mm"
android:paddingVertical="15mm">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="审核状态"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_check_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:textColor="@color/flexible_text_gray"
android:textSize="15sp" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论