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
33d4058d
提交
33d4058d
authored
3月 25, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.流水詳情
2.//TODO erp用户激活,忘记密码测试,产品下单还差附件,bat,mes,消息,我的,刷新token
上级
4bb8366a
全部展开
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
130 行增加
和
20 行删除
+130
-20
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+8
-0
FlowBean.java
app/src/main/java/com/wd/workoffice/bean/FlowBean.java
+6
-6
WorkAccountFlowActivity.java
...koffice/ui/activity/bat/work/WorkAccountFlowActivity.java
+6
-0
WorkAccountFlowDetailActivity.java
...e/ui/activity/bat/work/WorkAccountFlowDetailActivity.java
+91
-0
activity_work_account.xml
app/src/main/res/layout/activity_work_account.xml
+8
-5
activity_work_account_flow.xml
app/src/main/res/layout/activity_work_account_flow.xml
+11
-9
activity_work_flow_detail.xml
app/src/main/res/layout/activity_work_flow_detail.xml
+0
-0
没有找到文件。
app/src/main/AndroidManifest.xml
浏览文件 @
33d4058d
...
@@ -448,6 +448,14 @@
...
@@ -448,6 +448,14 @@
android:screenOrientation=
"portrait"
android:screenOrientation=
"portrait"
android:theme=
"@style/Work.Base"
android:theme=
"@style/Work.Base"
android:windowSoftInputMode=
"adjustPan"
/>
android:windowSoftInputMode=
"adjustPan"
/>
<activity
android:name=
".ui.activity.bat.work.WorkAccountFlowDetailActivity"
android:configChanges=
"keyboardHidden|orientation"
android:label=
"流水详情"
android:launchMode=
"singleTop"
android:screenOrientation=
"portrait"
android:theme=
"@style/Work.Base"
android:windowSoftInputMode=
"adjustPan"
/>
<provider
<provider
android:name=
"androidx.core.content.FileProvider"
android:name=
"androidx.core.content.FileProvider"
android:authorities=
"com.wd.workoffice.fileprovider"
android:authorities=
"com.wd.workoffice.fileprovider"
...
...
app/src/main/java/com/wd/workoffice/bean/FlowBean.java
浏览文件 @
33d4058d
...
@@ -135,7 +135,7 @@ public class FlowBean {
...
@@ -135,7 +135,7 @@ public class FlowBean {
private
int
receiveDeptId
;
private
int
receiveDeptId
;
private
int
customerId
;
private
int
customerId
;
private
Object
supplierId
;
private
Object
supplierId
;
private
Object
comments
;
private
String
comments
;
private
String
remark
;
private
String
remark
;
private
String
typeName
;
private
String
typeName
;
private
String
deptName
;
private
String
deptName
;
...
@@ -145,7 +145,7 @@ public class FlowBean {
...
@@ -145,7 +145,7 @@ public class FlowBean {
private
String
displayTypeName
;
private
String
displayTypeName
;
private
String
relOrderTypeName
;
private
String
relOrderTypeName
;
private
String
customerName
;
private
String
customerName
;
private
Object
supplierName
;
private
String
supplierName
;
private
String
receiveDeptName
;
private
String
receiveDeptName
;
private
String
launchDeptName
;
private
String
launchDeptName
;
private
String
createdName
;
private
String
createdName
;
...
@@ -326,11 +326,11 @@ public class FlowBean {
...
@@ -326,11 +326,11 @@ public class FlowBean {
this
.
supplierId
=
supplierId
;
this
.
supplierId
=
supplierId
;
}
}
public
Object
getComments
()
{
public
String
getComments
()
{
return
comments
;
return
comments
;
}
}
public
void
setComments
(
Object
comments
)
{
public
void
setComments
(
String
comments
)
{
this
.
comments
=
comments
;
this
.
comments
=
comments
;
}
}
...
@@ -406,11 +406,11 @@ public class FlowBean {
...
@@ -406,11 +406,11 @@ public class FlowBean {
this
.
customerName
=
customerName
;
this
.
customerName
=
customerName
;
}
}
public
Object
getSupplierName
()
{
public
String
getSupplierName
()
{
return
supplierName
;
return
supplierName
;
}
}
public
void
setSupplierName
(
Object
supplierName
)
{
public
void
setSupplierName
(
String
supplierName
)
{
this
.
supplierName
=
supplierName
;
this
.
supplierName
=
supplierName
;
}
}
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/work/WorkAccountFlowActivity.java
浏览文件 @
33d4058d
...
@@ -117,6 +117,12 @@ public class WorkAccountFlowActivity extends WorkToolBarActivity {
...
@@ -117,6 +117,12 @@ public class WorkAccountFlowActivity extends WorkToolBarActivity {
getData
();
getData
();
}
}
},
rvData
);
},
rvData
);
clientAdapter
.
setOnItemClickListener
(
new
BaseQuickAdapter
.
OnItemClickListener
()
{
@Override
public
void
onItemClick
(
BaseQuickAdapter
adapter
,
View
view
,
int
position
)
{
startActivity
(
WorkAccountFlowDetailActivity
.
class
,
"detail"
,
JSON
.
toJSONString
(
clientList
.
get
(
position
)));
}
});
}
}
@Override
@Override
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/work/WorkAccountFlowDetailActivity.java
0 → 100644
浏览文件 @
33d4058d
package
com
.
wd
.
workoffice
.
ui
.
activity
.
bat
.
work
;
import
android.widget.TextView
;
import
com.alibaba.fastjson.JSON
;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.app.WorkToolBarActivity
;
import
com.wd.workoffice.bean.FlowBean
;
import
com.wd.workoffice.util.MathUtils
;
import
butterknife.BindView
;
import
butterknife.ButterKnife
;
/**
* 工作台 - 部门
* author : flexible
* email : lgd19940421@163.com
* github: https://github.com/FlexibleXd
**/
public
class
WorkAccountFlowDetailActivity
extends
WorkToolBarActivity
{
@BindView
(
R
.
id
.
tv_show_type
)
TextView
tvShowType
;
@BindView
(
R
.
id
.
tv_dep
)
TextView
tvDep
;
@BindView
(
R
.
id
.
tv_price
)
TextView
tvPrice
;
@BindView
(
R
.
id
.
tv_start_price
)
TextView
tvStartPrice
;
@BindView
(
R
.
id
.
tv_end_price
)
TextView
tvEndPrice
;
@BindView
(
R
.
id
.
tv_from_dep
)
TextView
tvFromDep
;
@BindView
(
R
.
id
.
tv_order_type
)
TextView
tvOrderType
;
@BindView
(
R
.
id
.
tv_order_no
)
TextView
tvOrderNo
;
@BindView
(
R
.
id
.
tv_order_dep
)
TextView
tvOrderDep
;
@BindView
(
R
.
id
.
tv_receive_order_dep
)
TextView
tvReceiveOrderDep
;
@BindView
(
R
.
id
.
tv_client
)
TextView
tvClient
;
@BindView
(
R
.
id
.
tv_supplier
)
TextView
tvSupplier
;
@BindView
(
R
.
id
.
tv_operating
)
TextView
tvOperating
;
@BindView
(
R
.
id
.
tv_time
)
TextView
tvTime
;
@BindView
(
R
.
id
.
tv_remark
)
TextView
tvRemark
;
@BindView
(
R
.
id
.
tv_desc
)
TextView
tvDesc
;
private
FlowBean
.
RecordsBean
dataBean
;
@Override
protected
void
initView
()
{
ButterKnife
.
bind
(
this
);
dataBean
=
JSON
.
parseObject
(
getIntent
().
getStringExtra
(
"detail"
),
FlowBean
.
RecordsBean
.
class
);
tvShowType
.
setText
(
dataBean
.
getDisplayTypeName
());
tvDep
.
setText
(
dataBean
.
getDeptName
());
tvPrice
.
setText
(
MathUtils
.
converData
(
String
.
valueOf
(
dataBean
.
getMoney
()),
2
));
tvEndPrice
.
setText
(
MathUtils
.
converData
(
String
.
valueOf
(
dataBean
.
getAfterOver
()),
2
));
tvStartPrice
.
setText
(
MathUtils
.
converData
(
String
.
valueOf
(
dataBean
.
getEarlyOver
()),
2
));
tvFromDep
.
setText
(
dataBean
.
getFlowAccountName
());
tvOrderType
.
setText
(
dataBean
.
getRelOrderTypeName
());
tvOrderNo
.
setText
(
dataBean
.
getOrderId
());
tvOrderDep
.
setText
(
dataBean
.
getLaunchDeptName
());
tvReceiveOrderDep
.
setText
(
dataBean
.
getReceiveDeptName
());
tvClient
.
setText
(
dataBean
.
getCustomerName
());
tvSupplier
.
setText
(
dataBean
.
getSupplierName
());
tvRemark
.
setText
(
dataBean
.
getComments
());
tvDesc
.
setText
(
dataBean
.
getRemark
());
tvOperating
.
setText
(
dataBean
.
getCreatedName
());
tvTime
.
setText
(
dataBean
.
getCreatedTime
());
}
@Override
protected
void
initData
()
{
}
@Override
protected
void
initEvent
()
{
}
@Override
protected
int
layoutId
()
{
return
R
.
layout
.
activity_work_flow_detail
;
}
}
app/src/main/res/layout/activity_work_account.xml
浏览文件 @
33d4058d
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
android:layout_marginTop=
"10mm"
android:layout_marginTop=
"10mm"
android:background=
"@drawable/shape_account"
android:background=
"@drawable/shape_account"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingHorizontal=
"1
0
mm"
android:paddingHorizontal=
"1
5
mm"
android:paddingVertical=
"
15
mm"
>
android:paddingVertical=
"
20
mm"
>
<TextView
<TextView
android:id=
"@+id/tv_dep_name"
android:id=
"@+id/tv_dep_name"
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"销售一部"
android:text=
"销售一部"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"1
6
sp"
/>
android:textSize=
"1
4
sp"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4mm"
android:layout_marginTop=
"4mm"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"1
6
sp"
/>
android:textSize=
"1
4
sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4mm"
android:layout_marginTop=
"4mm"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"1
6
sp"
/>
android:textSize=
"1
4
sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
@@ -93,7 +93,10 @@
...
@@ -93,7 +93,10 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"right"
android:layout_gravity=
"right"
android:layout_marginTop=
"10mm"
android:text=
"查看流水>"
android:text=
"查看流水>"
android:textSize=
"13sp"
android:textColor=
"@color/white"
/>
android:textColor=
"@color/white"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/activity_work_account_flow.xml
浏览文件 @
33d4058d
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
>
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -20,29 +19,31 @@
...
@@ -20,29 +19,31 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawableRight=
"@mipmap/arrow_down"
android:drawableRight=
"@mipmap/arrow_down"
android:paddingVertical=
"15mm"
android:paddingVertical=
"13mm"
android:text=
"开始时间"
/>
android:text=
"开始时间"
android:textSize=
"13sp"
/>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"
2
0mm"
android:layout_marginHorizontal=
"
4
0mm"
android:text=
"~"
/>
android:text=
"~"
/>
<TextView
<TextView
android:id=
"@+id/tv_end"
android:id=
"@+id/tv_end"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingVertical=
"15mm"
android:drawableRight=
"@mipmap/arrow_down"
android:drawableRight=
"@mipmap/arrow_down"
android:text=
"结束时间"
/>
android:paddingVertical=
"13mm"
android:text=
"结束时间"
android:textSize=
"13sp"
/>
</LinearLayout>
</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_height=
"wrap_content"
android:layout_marginTop=
"10mm"
android:layout_marginTop=
"10mm"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
/>
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_work_flow_detail.xml
0 → 100644
浏览文件 @
33d4058d
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论