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
f8920a09
提交
f8920a09
authored
9月 28, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.领料申请去除税率
上级
463a07a1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
11 行增加
和
5 行删除
+11
-5
PickApplyAddActivity.java
...orkoffice/ui/activity/bat/order/PickApplyAddActivity.java
+11
-5
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/PickApplyAddActivity.java
浏览文件 @
f8920a09
...
@@ -83,6 +83,10 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
...
@@ -83,6 +83,10 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
LinearLayout
llLogisticsPrice
;
LinearLayout
llLogisticsPrice
;
@BindView
(
R
.
id
.
ll_logistics_code
)
@BindView
(
R
.
id
.
ll_logistics_code
)
LinearLayout
llLogisticsCode
;
LinearLayout
llLogisticsCode
;
@BindView
(
R
.
id
.
et_tax
)
EditText
etTax
;
@BindView
(
R
.
id
.
ll_tax
)
LinearLayout
llTax
;
private
List
<
OrderDetail
.
OrderItemsBean
>
dataList
;
private
List
<
OrderDetail
.
OrderItemsBean
>
dataList
;
private
WorkSendApplyAddAdapter
dataAdapter
;
private
WorkSendApplyAddAdapter
dataAdapter
;
private
Map
<
String
,
Object
>
param
;
private
Map
<
String
,
Object
>
param
;
...
@@ -101,13 +105,14 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
...
@@ -101,13 +105,14 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
rlTime
.
setVisibility
(
View
.
GONE
);
rlTime
.
setVisibility
(
View
.
GONE
);
tvDesc
.
setText
(
"领料信息"
);
tvDesc
.
setText
(
"领料信息"
);
tvBottom
.
setText
(
"领料"
);
tvBottom
.
setText
(
"领料"
);
llTax
.
setVisibility
(
View
.
GONE
);
}
}
@Override
@Override
protected
void
initData
()
{
protected
void
initData
()
{
orderType
=
getIntent
().
getStringExtra
(
"orderType"
);
orderType
=
getIntent
().
getStringExtra
(
"orderType"
);
dataList
=
new
ArrayList
<>();
dataList
=
new
ArrayList
<>();
dataAdapter
=
new
WorkSendApplyAddAdapter
(
R
.
layout
.
item_pick_add
,
dataList
,
1
);
dataAdapter
=
new
WorkSendApplyAddAdapter
(
R
.
layout
.
item_pick_add
,
dataList
,
1
);
dataAdapter
.
bindToRecyclerView
(
rvData
);
dataAdapter
.
bindToRecyclerView
(
rvData
);
param
=
new
HashMap
<>();
param
=
new
HashMap
<>();
param
.
put
(
"orderId"
,
getIntent
().
getStringExtra
(
"id"
));
param
.
put
(
"orderId"
,
getIntent
().
getStringExtra
(
"id"
));
...
@@ -233,10 +238,10 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
...
@@ -233,10 +238,10 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
// param.put("logisticsId", clientId);
// param.put("logisticsId", clientId);
Observable
<
BaseBean
>
observable
;
Observable
<
BaseBean
>
observable
;
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SUPPLIER
.
getCode
()))
{
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SUPPLIER
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
pickApply
(
getIntent
().
getStringExtra
(
"id"
),
WorkUtils
.
convertMapToBody
(
param
));
observable
=
RtfUtils
.
getRtf
().
pickApply
(
getIntent
().
getStringExtra
(
"id"
),
WorkUtils
.
convertMapToBody
(
param
));
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
IN
.
getCode
())){
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
IN
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
pickIoApply
(
getIntent
().
getStringExtra
(
"id"
),
WorkUtils
.
convertMapToBody
(
param
));
observable
=
RtfUtils
.
getRtf
().
pickIoApply
(
getIntent
().
getStringExtra
(
"id"
),
WorkUtils
.
convertMapToBody
(
param
));
}
else
{
}
else
{
observable
=
RtfUtils
.
getRtf
().
pickApply
(
getIntent
().
getStringExtra
(
"id"
),
WorkUtils
.
convertMapToBody
(
param
));
observable
=
RtfUtils
.
getRtf
().
pickApply
(
getIntent
().
getStringExtra
(
"id"
),
WorkUtils
.
convertMapToBody
(
param
));
}
}
observable
.
compose
(
Transformer
.
schedule
()).
subscribe
(
new
WorkObserver
<
BaseBean
>()
{
observable
.
compose
(
Transformer
.
schedule
()).
subscribe
(
new
WorkObserver
<
BaseBean
>()
{
...
@@ -331,4 +336,5 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
...
@@ -331,4 +336,5 @@ public class PickApplyAddActivity extends WorkToolBarActivity {
}
}
tvWeight
.
setText
(
totalWeight
);
tvWeight
.
setText
(
totalWeight
);
}
}
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论