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
95edff1e
提交
95edff1e
authored
5月 16, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.退货
2.//TODO 设备三个子菜单,退件详情(审核历史(缺接口)),领用申请列表(数据不对),坩埚下单,mes其他页面,编辑任务担当无法修改.支数参数
上级
f77afcd0
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
374 行增加
和
3 行删除
+374
-3
ApiService.java
app/src/main/java/com/wd/workoffice/retrofit/ApiService.java
+38
-0
ReturnDetailActivity.java
...orkoffice/ui/activity/bat/order/ReturnDetailActivity.java
+0
-0
ReturnProcessAdapter.java
...va/com/wd/workoffice/ui/adapter/ReturnProcessAdapter.java
+42
-0
WorkUtils.java
app/src/main/java/com/wd/workoffice/util/WorkUtils.java
+1
-1
shape_circle_gray.xml
app/src/main/res/drawable/shape_circle_gray.xml
+8
-0
shape_circle_red.xml
app/src/main/res/drawable/shape_circle_red.xml
+8
-0
activity_bat_retrun_detail.xml
app/src/main/res/layout/activity_bat_retrun_detail.xml
+10
-2
item_return_process.xml
app/src/main/res/layout/item_return_process.xml
+49
-0
view_return_process.xml
app/src/main/res/layout/view_return_process.xml
+218
-0
没有找到文件。
app/src/main/java/com/wd/workoffice/retrofit/ApiService.java
浏览文件 @
95edff1e
...
...
@@ -1531,6 +1531,44 @@ public interface ApiService {
@PUT
(
"/enterStoreApply/fo/quality-inspection/audit/{id}"
)
Observable
<
BaseBean
>
enterFoStoreApplyList
(
@Path
(
"id"
)
String
id
,
@Body
RequestBody
requestBody
);
/**
* 部门管理员审核
*
* @return
*/
@PUT
(
"/returnApply/so/audit/{applyId}"
)
Observable
<
BaseBean
>
soReturnApply
(
@Path
(
"applyId"
)
String
id
,
@Body
RequestBody
requestBody
);
/**
* 业务部审核
*
* @return
*/
@PUT
(
"/returnApply/so/audit/business/{applyId}"
)
Observable
<
BaseBean
>
soBusinessReturnApply
(
@Path
(
"applyId"
)
String
id
,
@Body
RequestBody
requestBody
);
/**
* 业务部审核
*
* @return
*/
@PUT
(
"/returnApply/so/audit/finance/{applyId}"
)
Observable
<
BaseBean
>
soFinanceReturnApply
(
@Path
(
"applyId"
)
String
id
,
@Body
RequestBody
requestBody
);
/**
* 集团审核
*
* @return
*/
@PUT
(
"/returnApply/so/audit/group/{applyId}"
)
Observable
<
BaseBean
>
soGroupReturnApply
(
@Path
(
"applyId"
)
String
id
,
@Body
RequestBody
requestBody
);
/**
* 集团审核
*
* @return
*/
@PUT
(
"/returnApply/po/audit/group/{applyId}"
)
Observable
<
BaseBean
>
poGroupReturnApply
(
@Path
(
"applyId"
)
String
id
,
@Body
RequestBody
requestBody
);
/**
* 获取一个订单子表的全部流水
*
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ReturnDetailActivity.java
浏览文件 @
95edff1e
差异被折叠。
点击展开。
app/src/main/java/com/wd/workoffice/ui/adapter/ReturnProcessAdapter.java
0 → 100644
浏览文件 @
95edff1e
package
com
.
wd
.
workoffice
.
ui
.
adapter
;
import
com.chad.library.adapter.base.BaseQuickAdapter
;
import
com.chad.library.adapter.base.BaseViewHolder
;
import
com.wd.workoffice.R
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
/**
* Created by flexible on 2018/8/13.
*/
public
class
ReturnProcessAdapter
extends
BaseQuickAdapter
<
String
,
BaseViewHolder
>
{
private
String
status
;
/**
* 财务状态
* 10未审核 11 12 13 14已通过 21 22 23 24不通过(尾号1部门管理员 2业务部 3财务部 4集团,首数字1:通过,2:驳回)
*
* @param code
* @return
*/
private
String
[]
depArray
=
new
String
[]{
"买家"
,
"部门管理员"
,
"业务员"
,
"财务部"
,
"集团"
};
public
ReturnProcessAdapter
(
int
layoutResId
,
String
status
)
{
super
(
layoutResId
,
new
ArrayList
<>());
this
.
status
=
status
;
getData
().
addAll
(
Arrays
.
asList
(
depArray
));
notifyDataSetChanged
();
}
@Override
protected
void
convert
(
BaseViewHolder
helper
,
String
item
)
{
if
(
helper
.
getAdapterPosition
()
==
4
)
{
helper
.
setGone
(
R
.
id
.
iv_line
,
false
);
}
helper
.
setText
(
R
.
id
.
tv_dep
,
item
);
}
}
app/src/main/java/com/wd/workoffice/util/WorkUtils.java
浏览文件 @
95edff1e
...
...
@@ -269,7 +269,7 @@ public class WorkUtils {
}
/**
*
财务
状态
*
退件
状态
* 10未审核 11 12 13 14已通过 21 22 23 24不通过(尾号1部门管理员 2业务部 3财务部 4集团,首数字1:通过,2:驳回)
*
* @param code
...
...
app/src/main/res/drawable/shape_circle_gray.xml
0 → 100644
浏览文件 @
95edff1e
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"@color/flexible_gray_background"
/>
<corners
android:radius=
"360mm"
/>
</shape>
\ No newline at end of file
app/src/main/res/drawable/shape_circle_red.xml
0 → 100644
浏览文件 @
95edff1e
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"@color/red"
/>
<corners
android:radius=
"360mm"
/>
</shape>
\ No newline at end of file
app/src/main/res/layout/activity_bat_retrun_detail.xml
浏览文件 @
95edff1e
...
...
@@ -101,7 +101,16 @@
android:id=
"@+id/rv_process"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingVertical=
"10mm"
/>
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"10mm"
android:visibility=
"gone"
/>
<include
android:id=
"@+id/ll_process"
layout=
"@layout/view_return_process"
android:layout_marginVertical=
"10mm"
android:layout_height=
"wrap_content"
android:layout_width=
"match_parent"
/>
<View
style=
"@style/ViewX"
/>
...
...
@@ -246,7 +255,6 @@
<View
style=
"@style/ViewX"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
app/src/main/res/layout/item_return_process.xml
0 → 100644
浏览文件 @
95edff1e
<?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=
"wrap_content"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/tv_status"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"-10mm"
android:text=
"发起请求"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginVertical=
"4mm"
android:gravity=
"center_vertical"
>
<View
android:id=
"@+id/iv_simple"
android:layout_width=
"10mm"
android:layout_height=
"10mm"
android:background=
"@drawable/shape_circle"
/>
<View
android:id=
"@+id/iv_line"
style=
"@style/dividerX"
android:layout_width=
"match_parent"
android:layout_height=
"1mm"
android:background=
"#5D99C4"
/>
</LinearLayout>
<TextView
android:id=
"@+id/tv_dep"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"-10mm"
android:text=
"买家"
android:textColor=
"#5D99C4"
/>
</LinearLayout>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/view_return_process.xml
0 → 100644
浏览文件 @
95edff1e
<?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:orientation=
"vertical"
android:paddingLeft=
"20mm"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/tv_top1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"发起退货"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_top2"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:paddingLeft=
"8mm"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_top3"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:paddingLeft=
"4mm"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_top4"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_top5"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginVertical=
"6mm"
android:layout_marginLeft=
"15mm"
>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
>
<View
android:id=
"@+id/view_node1"
android:layout_width=
"10mm"
android:layout_height=
"10mm"
android:background=
"@drawable/shape_circle"
/>
<View
android:id=
"@+id/view_line1"
style=
"@style/dividerX"
android:layout_width=
"match_parent"
android:layout_height=
"1mm"
android:background=
"#5D99C4"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
>
<View
android:id=
"@+id/view_node2"
android:layout_width=
"10mm"
android:layout_height=
"10mm"
android:background=
"@drawable/shape_circle_gray"
/>
<View
android:id=
"@+id/view_line2"
style=
"@style/dividerX"
android:layout_width=
"match_parent"
android:layout_height=
"1mm"
android:background=
"@color/flexible_gray_background"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
>
<View
android:id=
"@+id/view_node3"
android:layout_width=
"10mm"
android:layout_height=
"10mm"
android:background=
"@drawable/shape_circle_gray"
/>
<View
android:id=
"@+id/view_line3"
style=
"@style/dividerX"
android:layout_width=
"match_parent"
android:layout_height=
"1mm"
android:background=
"@color/flexible_gray_background"
/>
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
>
<View
android:id=
"@+id/view_node4"
android:layout_width=
"10mm"
android:layout_height=
"10mm"
android:background=
"@drawable/shape_circle_gray"
/>
<View
android:id=
"@+id/view_line4"
style=
"@style/dividerX"
android:layout_width=
"match_parent"
android:layout_height=
"1mm"
android:background=
"@color/flexible_gray_background"
/>
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
>
<View
android:id=
"@+id/view_node5"
android:layout_width=
"10mm"
android:layout_height=
"10mm"
android:background=
"@drawable/shape_circle_gray"
/>
<View
android:id=
"@+id/view_line5"
style=
"@style/dividerX"
android:layout_width=
"match_parent"
android:layout_height=
"1mm"
android:background=
"@color/flexible_gray_background"
android:visibility=
"invisible"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"5mm"
>
<TextView
android:id=
"@+id/tv_dep1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"买家"
android:paddingLeft=
"5mm"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_dep2"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"部门管理员"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_dep3"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"业务员"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_dep4"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"财务部"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_dep5"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"集团"
android:textColor=
"#5D99C4"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论