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
913aaf11
提交
913aaf11
authored
5月 15, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.退件详情初版
2.//TODO ,退件详情(top流程图,审核历史),接单,领用申请列表/退件列表/参数,坩埚下单,mes其他页面,编辑任务担当无法修改.支数参数
上级
9d2c533d
全部展开
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
56 行增加
和
34 行删除
+56
-34
CrucibleOrderDetailActivity.java
...ce/ui/activity/bat/order/CrucibleOrderDetailActivity.java
+1
-0
InsideOrderDetailActivity.java
...fice/ui/activity/bat/order/InsideOrderDetailActivity.java
+1
-0
OutOrderDetailActivity.java
...koffice/ui/activity/bat/order/OutOrderDetailActivity.java
+1
-0
ProductOrderDetailActivity.java
...ice/ui/activity/bat/order/ProductOrderDetailActivity.java
+1
-0
ReturnApplyActivity.java
...workoffice/ui/activity/bat/order/ReturnApplyActivity.java
+5
-1
ReturnDetailActivity.java
...orkoffice/ui/activity/bat/order/ReturnDetailActivity.java
+45
-33
SaleOrderDetailActivity.java
...office/ui/activity/bat/order/SaleOrderDetailActivity.java
+1
-0
SupplierOrderDetailActivity.java
...ce/ui/activity/bat/order/SupplierOrderDetailActivity.java
+1
-0
activity_bat_retrun_detail.xml
app/src/main/res/layout/activity_bat_retrun_detail.xml
+0
-0
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/CrucibleOrderDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -281,6 +281,7 @@ public class CrucibleOrderDetailActivity extends WorkToolBarActivity {
break
;
case
R
.
id
.
tv_return
:
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/InsideOrderDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -240,6 +240,7 @@ public class InsideOrderDetailActivity extends WorkToolBarActivity {
break
;
case
R
.
id
.
tv_return
:
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/OutOrderDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -285,6 +285,7 @@ public class OutOrderDetailActivity extends WorkToolBarActivity {
break
;
case
R
.
id
.
tv_return
:
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ProductOrderDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -163,6 +163,7 @@ public class ProductOrderDetailActivity extends WorkToolBarActivity {
break
;
case
R
.
id
.
tv_return
:
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
"product"
,
proList
.
get
(
position
).
getProductName
(),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ReturnApplyActivity.java
浏览文件 @
913aaf11
...
...
@@ -141,7 +141,11 @@ public class ReturnApplyActivity extends WorkToolBarActivity {
@Override
public
void
onItemClick
(
BaseQuickAdapter
adapter
,
View
view
,
int
position
)
{
startActivity
(
ReturnDetailActivity
.
class
,
"info"
,
JSON
.
toJSONString
(
dataList
.
get
(
position
)));
"info"
,
JSON
.
toJSONString
(
dataList
.
get
(
position
)),
"orderType"
,
orderType
,
"status"
,
getIntent
().
getStringExtra
(
"status"
)
,
"id"
,
getIntent
().
getStringExtra
(
"orderId"
)
,
"identity"
,
getIntent
().
getStringExtra
(
"identity"
));
}
});
}
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ReturnDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -15,7 +15,6 @@ import com.alibaba.fastjson.JSON;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.app.BaseBean
;
import
com.wd.workoffice.app.WorkToolBarActivity
;
import
com.wd.workoffice.bean.AddStockBean
;
import
com.wd.workoffice.bean.ReturnApplyBean
;
import
com.wd.workoffice.bean.event.CheckAddStockEvent
;
import
com.wd.workoffice.bean.workEnum.OrderType
;
...
...
@@ -54,12 +53,6 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
TextView
tvAgree
;
@BindView
(
R
.
id
.
ll_check
)
LinearLayout
llCheck
;
@BindView
(
R
.
id
.
tv_finish_apply
)
TextView
tvFinishApply
;
@BindView
(
R
.
id
.
tv_send_apply
)
TextView
tvSendApply
;
@BindView
(
R
.
id
.
ll_apply
)
LinearLayout
llApply
;
@BindView
(
R
.
id
.
ll_bottom
)
LinearLayout
llBottom
;
@BindView
(
R
.
id
.
rv_process
)
...
...
@@ -98,23 +91,24 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
protected
void
initData
()
{
info
=
JSON
.
parseObject
(
getIntent
().
getStringExtra
(
"info"
),
ReturnApplyBean
.
RecordsBean
.
class
);
orderType
=
getIntent
().
getStringExtra
(
"orderType"
);
tvNum
.
setText
(
String
.
valueOf
(
info
.
getProductAmount
()));
tvBoxNum
.
setText
(
String
.
valueOf
(
info
.
getBoxCode
()));
tvName
.
setText
(
info
.
getProductSimpleCode
());
tvProName
.
setText
(
info
.
getProductName
());
tvProCode
.
setText
(
info
.
getProductSoleCode
());
tvReturnNum
.
setText
(
String
.
valueOf
(
info
.
getProductAmount
()));
tvReturnType
.
setText
(
info
.
getReturnTypeName
());
tvStock
.
setText
(
info
.
getBackStockName
());
tvPerson
.
setText
(
String
.
valueOf
(
info
.
getCreatedByName
()));
tvTime
.
setText
(
info
.
getCreatedTime
());
tvRemark
.
setText
(
String
.
valueOf
(
info
.
getApplyRemark
()));
if
(
TextUtils
.
equals
(
info
.
getQualityInspectionStatus
(),
"0"
))
{
llBottom
.
setVisibility
(
View
.
VISIBLE
);
llCheck
.
setVisibility
(
View
.
GONE
);
changePermission
();
}
else
{
llBottom
.
setVisibility
(
View
.
GONE
);
llCheck
.
setVisibility
(
View
.
VISIBLE
);
tvCheckPerson
.
setText
(
info
.
getUpdatedByName
());
tvCheckTime
.
setText
(
info
.
getUpdatedTime
());
tvCheckRemark
.
setText
(
info
.
getAuditRemark
());
tvCheckStatus
.
setText
(
WorkUtils
.
getFinancialStatus
(
Integer
.
valueOf
(
info
.
getQualityInspectionStatus
())));
}
tvStatus
.
setText
(
WorkUtils
.
getReturnStatus
(
Integer
.
valueOf
(
info
.
getStatus
())));
// if (TextUtils.equals(info.getStatus(), "0")) {
// llBottom.setVisibility(View.VISIBLE);
// llCheck.setVisibility(View.GONE);
// changePermission();
// } else {
// llBottom.setVisibility(View.GONE);
// llCheck.setVisibility(View.VISIBLE);
// }
}
...
...
@@ -128,18 +122,6 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
}
@OnClick
({
R
.
id
.
tv_refuse
,
R
.
id
.
tv_agree
})
public
void
onViewClicked
(
View
view
)
{
switch
(
view
.
getId
())
{
case
R
.
id
.
tv_refuse
:
checkDialog
(
2
,
info
.
getId
());
break
;
case
R
.
id
.
tv_agree
:
checkDialog
(
1
,
info
.
getId
());
break
;
}
}
private
void
changePermission
()
{
boolean
hasPermission
=
true
;
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SALE
.
getCode
()))
{
...
...
@@ -149,6 +131,8 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SUPPLIER
.
getCode
()))
{
hasPermission
=
WorkUtils
.
hasPermission
(
PagePermissionType
.
FO_QUALITY_AUDIT
.
getPermission
());
}
if
(!
hasPermission
)
{
tvRefuse
.
setVisibility
(
View
.
GONE
);
tvAgree
.
setVisibility
(
View
.
GONE
);
...
...
@@ -239,6 +223,34 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
});
}
@OnClick
({
R
.
id
.
tv_refuse
,
R
.
id
.
tv_agree
,
R
.
id
.
rl_history
,
R
.
id
.
rl_order
})
public
void
onViewClicked
(
View
view
)
{
switch
(
view
.
getId
())
{
case
R
.
id
.
tv_refuse
:
checkDialog
(
2
,
info
.
getId
());
break
;
case
R
.
id
.
tv_agree
:
checkDialog
(
1
,
info
.
getId
());
break
;
case
R
.
id
.
rl_history
:
break
;
case
R
.
id
.
rl_order
:
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SALE
.
getCode
()))
{
startActivity
(
SaleOrderDetailActivity
.
class
,
"identity"
,
getIntent
().
getStringExtra
(
"identity"
),
"id"
,
getIntent
().
getStringExtra
(
"id"
),
"status"
,
getIntent
().
getStringExtra
(
"status"
));
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
OUT_BUY
.
getCode
()))
{
startActivity
(
OutOrderDetailActivity
.
class
,
"identity"
,
getIntent
().
getStringExtra
(
"identity"
),
"id"
,
getIntent
().
getStringExtra
(
"id"
),
"status"
,
getIntent
().
getStringExtra
(
"status"
));
}
else
{
}
break
;
}
}
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/SaleOrderDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -267,6 +267,7 @@ public class SaleOrderDetailActivity extends WorkToolBarActivity {
break
;
case
R
.
id
.
tv_return
:
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/SupplierOrderDetailActivity.java
浏览文件 @
913aaf11
...
...
@@ -255,6 +255,7 @@ public class SupplierOrderDetailActivity extends WorkToolBarActivity {
break
;
case
R
.
id
.
tv_return
:
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
...
...
app/src/main/res/layout/activity_bat_retrun_detail.xml
0 → 100644
浏览文件 @
913aaf11
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论