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
d84a2277
提交
d84a2277
authored
6月 06, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.审批
2.//TODO 坩埚下单,mes其他页面,mes用户反馈空也展示,编辑任务担当无法修改
上级
4627863c
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
7 行增加
和
23 行删除
+7
-23
SendApplyAddActivity.java
...orkoffice/ui/activity/bat/order/SendApplyAddActivity.java
+7
-23
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/SendApplyAddActivity.java
浏览文件 @
d84a2277
...
...
@@ -105,40 +105,24 @@ public class SendApplyAddActivity extends WorkToolBarActivity {
@Override
protected
void
initEvent
()
{
etRemark
.
addTextChangedListener
(
new
TextWatcher
()
{
@Override
public
void
beforeTextChanged
(
CharSequence
s
,
int
start
,
int
count
,
int
after
)
{
}
@Override
public
void
onTextChanged
(
CharSequence
s
,
int
start
,
int
before
,
int
count
)
{
}
@Override
public
void
afterTextChanged
(
Editable
s
)
{
tvInput1
.
setText
(
s
.
length
()
+
"/140"
);
}
});
}
private
void
getData
()
{
Observable
<
BaseBean
>
observable
;
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SALE
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
saleOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
saleOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
OUT_BUY
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
purchaseOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
purchaseOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SUPPLIER
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
supplierOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
supplierOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
BUILD
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
productOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
productOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
IN
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
insideOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
insideOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
CRUCIBLE
.
getCode
()))
{
observable
=
RtfUtils
.
getRtf
().
crucibleSaleOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
crucibleSaleOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
else
{
observable
=
RtfUtils
.
getRtf
().
saleOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
3
"
);
observable
=
RtfUtils
.
getRtf
().
saleOrderDetail
(
getIntent
().
getStringExtra
(
"id"
),
"
1
"
);
}
observable
.
compose
(
Transformer
.
schedule
()).
subscribe
(
new
WorkObserver
<
BaseBean
>()
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论