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
10601cd0
提交
10601cd0
authored
6月 29, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.修改bug
上级
3ba36dd6
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
7 行删除
+11
-7
MesOrderAdapter.java
...in/java/com/wd/workoffice/ui/adapter/MesOrderAdapter.java
+4
-1
ProAddAdapter.java
...main/java/com/wd/workoffice/ui/adapter/ProAddAdapter.java
+7
-6
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/adapter/MesOrderAdapter.java
浏览文件 @
10601cd0
...
@@ -30,7 +30,10 @@ public class MesOrderAdapter extends BaseQuickAdapter<MesOrderBean.ListBean, Bas
...
@@ -30,7 +30,10 @@ public class MesOrderAdapter extends BaseQuickAdapter<MesOrderBean.ListBean, Bas
if
(
TextUtils
.
equals
(
item
.
getScheduleStatus
(),
""
)||
TextUtils
.
equals
(
item
.
getScheduleStatus
(),
"0"
)
)
{
if
(
TextUtils
.
equals
(
item
.
getScheduleStatus
(),
""
)||
TextUtils
.
equals
(
item
.
getScheduleStatus
(),
"0"
)
)
{
helper
.
setTextColor
(
R
.
id
.
tv_status
,
Color
.
parseColor
(
"#FFD16A6A"
));
helper
.
setTextColor
(
R
.
id
.
tv_status
,
Color
.
parseColor
(
"#FFD16A6A"
));
helper
.
setText
(
R
.
id
.
tv_status
,
"未排程"
);
helper
.
setText
(
R
.
id
.
tv_status
,
"未排程"
);
}
else
{
}
else
if
(
TextUtils
.
equals
(
item
.
getScheduleStatus
(),
"-"
)){
helper
.
setTextColor
(
R
.
id
.
tv_status
,
Color
.
parseColor
(
"#FF34AA68"
));
helper
.
setText
(
R
.
id
.
tv_status
,
""
);
}
else
{
helper
.
setTextColor
(
R
.
id
.
tv_status
,
Color
.
parseColor
(
"#FF34AA68"
));
helper
.
setTextColor
(
R
.
id
.
tv_status
,
Color
.
parseColor
(
"#FF34AA68"
));
helper
.
setText
(
R
.
id
.
tv_status
,
"已排程"
);
helper
.
setText
(
R
.
id
.
tv_status
,
"已排程"
);
}
}
...
...
app/src/main/java/com/wd/workoffice/ui/adapter/ProAddAdapter.java
浏览文件 @
10601cd0
...
@@ -42,12 +42,13 @@ public class ProAddAdapter extends BaseQuickAdapter<ProAddBean.RecordsBean, Base
...
@@ -42,12 +42,13 @@ public class ProAddAdapter extends BaseQuickAdapter<ProAddBean.RecordsBean, Base
if
(
type
==
1
)
{
if
(
type
==
1
)
{
helper
.
setVisible
(
R
.
id
.
iv_cart
,
false
);
helper
.
setVisible
(
R
.
id
.
iv_cart
,
false
);
}
else
if
(
type
==
0
)
{
}
else
if
(
type
==
0
)
{
if
(!
TextUtils
.
isEmpty
(
item
.
getCarNum
()))
{
helper
.
setVisible
(
R
.
id
.
iv_cart
,
true
);
helper
.
setVisible
(
R
.
id
.
tv_car_num
,
true
);
}
helper
.
setText
(
R
.
id
.
tv_car_num
,
String
.
format
(
"选中数量:%s"
,
MathUtils
.
converData
(
item
.
getCarNum
(),
3
)));
if
(!
TextUtils
.
isEmpty
(
item
.
getCarNum
()))
{
}
else
{
helper
.
setVisible
(
R
.
id
.
tv_car_num
,
true
);
helper
.
setVisible
(
R
.
id
.
tv_car_num
,
false
);
helper
.
setText
(
R
.
id
.
tv_car_num
,
String
.
format
(
"选中数量:%s"
,
MathUtils
.
converData
(
item
.
getCarNum
(),
3
)));
}
}
else
{
helper
.
setVisible
(
R
.
id
.
tv_car_num
,
false
);
}
}
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论