Skip to content
项目
Groups
代码片段
帮助
正在加载...
Sign in / Register
Toggle navigation
W
workoffice
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图表
统计图
Create a new issue
作业
提交
议题看板
Open sidebar
冷广德
workoffice
Commits
177039f5
提交
177039f5
authored
6月 12, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.修改bug
2.//TODO 坩埚下单,mes其他页面,mes用户反馈空也展示,编辑任务担当无法修改
上级
5c50b4e1
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
91 行增加
和
79 行删除
+91
-79
WorkFinancialDetailActivity.java
...ice/ui/activity/bat/work/WorkFinancialDetailActivity.java
+11
-6
WorkFinancialPayActivity.java
...office/ui/activity/bat/work/WorkFinancialPayActivity.java
+1
-1
activity_work_financial_out_detail.xml
...rc/main/res/layout/activity_work_financial_out_detail.xml
+77
-71
fg_pro_stock.xml
app/src/main/res/layout/fg_pro_stock.xml
+2
-1
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/activity/bat/work/WorkFinancialDetailActivity.java
浏览文件 @
177039f5
package
com
.
wd
.
workoffice
.
ui
.
activity
.
bat
.
work
;
import
android.
text.Editab
le
;
import
android.
os.Bund
le
;
import
android.text.TextUtils
;
import
android.text.TextWatcher
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.widget.EditText
;
...
...
@@ -68,6 +67,8 @@ public class WorkFinancialDetailActivity extends WorkToolBarActivity {
TextView
tvAgree
;
@BindView
(
R
.
id
.
ll_bottom
)
LinearLayout
llBottom
;
@BindView
(
R
.
id
.
ll_check
)
LinearLayout
llCheck
;
private
MoneyOutBean
.
RecordsBean
dataBean
;
private
Map
<
String
,
Object
>
param
;
...
...
@@ -80,16 +81,19 @@ public class WorkFinancialDetailActivity extends WorkToolBarActivity {
tvCode
.
setText
(
dataBean
.
getSerialNumber
());
// tvDesc.setText();
tvPerson
.
setText
(
dataBean
.
getApplierName
());
tvRemark
.
setText
(
dataBean
.
getA
udit
Remark
());
tvReviewRemark
.
setText
(
dataBean
.
getA
pply
Remark
());
tvRemark
.
setText
(
dataBean
.
getA
pply
Remark
());
tvReviewRemark
.
setText
(
dataBean
.
getA
udit
Remark
());
tvPrice
.
setText
(
MathUtils
.
converData
(
String
.
valueOf
(
dataBean
.
getApplyAmount
()),
3
));
tvProcess
.
setText
(
dataBean
.
getProcessName
());
tvReview
.
setText
(
dataBean
.
getUpdatedByName
());
tvReviewTime
.
setText
(
dataBean
.
getUpdatedTime
());
tvStatus
.
setText
(
WorkUtils
.
getFinancialStatus
(
Integer
.
valueOf
(
dataBean
.
getStatus
())));
tvTime
.
setText
(
dataBean
.
getCreatedTime
());
if
(!
TextUtils
.
equals
(
dataBean
.
getStatus
(),
"0"
))
{
if
(!
TextUtils
.
equals
(
dataBean
.
getStatus
(),
"0"
))
{
llBottom
.
setVisibility
(
View
.
GONE
);
llCheck
.
setVisibility
(
View
.
VISIBLE
);
}
else
{
llCheck
.
setVisibility
(
View
.
GONE
);
}
param
=
WorkUtils
.
simpleParam
();
param
.
put
(
"id"
,
dataBean
.
getId
());
...
...
@@ -147,7 +151,7 @@ public class WorkFinancialDetailActivity extends WorkToolBarActivity {
TextView
tvNum
=
view
.
findViewById
(
R
.
id
.
tv_num
);
TextView
tvCancel
=
view
.
findViewById
(
R
.
id
.
tv_cancel
);
EditText
etRemark
=
view
.
findViewById
(
R
.
id
.
et_content
);
WorkUtils
.
addNumListener
(
etRemark
,
tvNum
);
WorkUtils
.
addNumListener
(
etRemark
,
tvNum
);
builder
.
setView
(
view
);
AlertDialog
addCartDialog
=
builder
.
create
();
tvOk
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
...
...
@@ -204,4 +208,5 @@ public class WorkFinancialDetailActivity extends WorkToolBarActivity {
}
});
}
}
app/src/main/java/com/wd/workoffice/ui/activity/bat/work/WorkFinancialPayActivity.java
浏览文件 @
177039f5
...
...
@@ -77,7 +77,7 @@ public class WorkFinancialPayActivity extends WorkToolBarActivity {
//0未审核 1已通过 2不通过
if
(
TextUtils
.
equals
(
value
,
"全部类型"
))
{
param
.
put
(
"status"
,
""
);
}
else
if
(
TextUtils
.
equals
(
value
,
"
未
审核"
))
{
}
else
if
(
TextUtils
.
equals
(
value
,
"
待
审核"
))
{
param
.
put
(
"status"
,
"0"
);
}
else
if
(
TextUtils
.
equals
(
value
,
"已通过"
))
{
param
.
put
(
"status"
,
"1"
);
...
...
app/src/main/res/layout/activity_work_financial_out_detail.xml
浏览文件 @
177039f5
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<LinearLayout
android:id=
"@+id/ll_bottom"
...
...
@@ -38,8 +37,8 @@
<androidx.core.widget.NestedScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_
above=
"@id/ll_bottom
"
android:layout_
height=
"match_parent
"
>
android:layout_
height=
"match_parent
"
android:layout_
above=
"@id/ll_bottom
"
>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -245,7 +244,7 @@
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"备注"
android:text=
"
申请
备注"
android:textSize=
"14sp"
/>
<TextView
...
...
@@ -261,83 +260,90 @@
<View
style=
"@style/dividerX"
/>
<RelativeLayout
<LinearLayout
android:id=
"@+id/ll_check"
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"
>
android:orientation=
"vertical"
>
<
TextView
android:layout_width=
"
wrap_cont
ent"
<
RelativeLayout
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:text=
"审核人"
android:textSize=
"14sp"
/>
<TextView
android:id=
"@+id/tv_review"
android:layout_width=
"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=
"14sp"
/>
<TextView
android:id=
"@+id/tv_review"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:textColor=
"@color/flexible_text_sup"
android:textSize=
"14sp"
/>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:textColor=
"@color/flexible_text_sup"
android:textSize=
"14sp"
/>
</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_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=
"14sp"
/>
<TextView
android:id=
"@+id/tv_review_time"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:textColor=
"@color/flexible_text_sup"
android:textSize=
"14sp"
/>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"审核时间"
android:textSize=
"14sp"
/>
<TextView
android:id=
"@+id/tv_review_time"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:textColor=
"@color/flexible_text_sup"
android:textSize=
"14sp"
/>
</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"
>
android:layout_marginTop=
"1mm"
android:background=
"@color/white"
android:orientation=
"vertical"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"10mm"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"审核备注"
android:textSize=
"14sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"审核备注"
android:textSize=
"14sp"
/>
<TextView
android:id=
"@+id/tv_review_remark"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"3mm"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_review_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>
</LinearLayout>
...
...
app/src/main/res/layout/fg_pro_stock.xml
浏览文件 @
177039f5
...
...
@@ -114,13 +114,14 @@
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/tv_stock4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"0"
android:textSize=
"22sp"
/>
<TextView
android:id=
"@+id/tv_stock4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"5mm"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论