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
a7102378
提交
a7102378
authored
4月 19, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.mes
2.//TODO erp用户是否选择新部门为空,质检接口数据无对应问题,内部交易订单审核,审核规则,领用申请列表/退件列表/参数,坩埚下单,mes,刷新token
上级
c8e7b9c9
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
51 行增加
和
2 行删除
+51
-2
MesFragment.java
app/src/main/java/com/wd/workoffice/ui/fg/MesFragment.java
+2
-2
fg_mes.xml
app/src/main/res/layout/fg_mes.xml
+27
-0
item_mes_layout.xml
app/src/main/res/layout/item_mes_layout.xml
+22
-0
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/fg/MesFragment.java
浏览文件 @
a7102378
...
@@ -118,9 +118,9 @@ public class MesFragment extends WorkBaseFg {
...
@@ -118,9 +118,9 @@ public class MesFragment extends WorkBaseFg {
* @param saleList
* @param saleList
*/
*/
private
void
initRvLayout
(
RecyclerView
rvSale
,
List
<
BatLayoutVo
>
saleList
)
{
private
void
initRvLayout
(
RecyclerView
rvSale
,
List
<
BatLayoutVo
>
saleList
)
{
rvSale
.
setLayoutManager
(
new
GridLayoutManager
(
getActivity
(),
4
,
RecyclerView
.
VERTICAL
,
rvSale
.
setLayoutManager
(
new
GridLayoutManager
(
getActivity
(),
3
,
RecyclerView
.
VERTICAL
,
false
));
false
));
BatLayoutAdapter
batLayoutAdapter
=
new
BatLayoutAdapter
(
R
.
layout
.
item_
bat
_layout
,
saleList
);
BatLayoutAdapter
batLayoutAdapter
=
new
BatLayoutAdapter
(
R
.
layout
.
item_
mes
_layout
,
saleList
);
batLayoutAdapter
.
bindToRecyclerView
(
rvSale
);
batLayoutAdapter
.
bindToRecyclerView
(
rvSale
);
batLayoutAdapter
.
setOnItemClickListener
(
new
BaseQuickAdapter
.
OnItemClickListener
()
{
batLayoutAdapter
.
setOnItemClickListener
(
new
BaseQuickAdapter
.
OnItemClickListener
()
{
@Override
@Override
...
...
app/src/main/res/layout/fg_mes.xml
浏览文件 @
a7102378
...
@@ -4,10 +4,36 @@
...
@@ -4,10 +4,36 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<View
android:layout_width=
"match_parent"
android:layout_height=
"25mm"
android:background=
"@color/white"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"48mm"
android:background=
"@color/white"
android:gravity=
"center"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:textStyle=
"bold"
android:textSize=
"17sp"
android:text=
"MES"
/>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_data"
android:id=
"@+id/rv_data"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_marginTop=
"20mm"
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
</LinearLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
\ No newline at end of file
app/src/main/res/layout/item_mes_layout.xml
0 → 100644
浏览文件 @
a7102378
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:paddingBottom=
"30mm"
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/iv_img"
android:layout_width=
"70mm"
android:layout_height=
"70mm"
android:src=
"@mipmap/bat_work1"
/>
<TextView
android:id=
"@+id/tv_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8mm"
android:textSize=
"12sp"
/>
</LinearLayout>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论