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
c4817770
提交
c4817770
authored
5月 19, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.退货新增显示规则
2.//TODO 设备三个子菜单,新增退件,坩埚下单,mes其他页面,编辑任务担当无法修改.支数参数
上级
fa268c5f
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
86 行增加
和
9 行删除
+86
-9
OrderDetail.java
app/src/main/java/com/wd/workoffice/bean/OrderDetail.java
+22
-3
CrucibleOrderDetailActivity.java
...ce/ui/activity/bat/order/CrucibleOrderDetailActivity.java
+4
-1
InsideOrderDetailActivity.java
...fice/ui/activity/bat/order/InsideOrderDetailActivity.java
+4
-1
OutOrderDetailActivity.java
...koffice/ui/activity/bat/order/OutOrderDetailActivity.java
+4
-1
ProductOrderDetailActivity.java
...ice/ui/activity/bat/order/ProductOrderDetailActivity.java
+4
-1
ReturnApplyActivity.java
...workoffice/ui/activity/bat/order/ReturnApplyActivity.java
+37
-0
ReturnDetailActivity.java
...orkoffice/ui/activity/bat/order/ReturnDetailActivity.java
+4
-0
SaleOrderDetailActivity.java
...office/ui/activity/bat/order/SaleOrderDetailActivity.java
+3
-1
SupplierOrderDetailActivity.java
...ce/ui/activity/bat/order/SupplierOrderDetailActivity.java
+4
-1
没有找到文件。
app/src/main/java/com/wd/workoffice/bean/OrderDetail.java
浏览文件 @
c4817770
...
@@ -887,7 +887,7 @@ public class OrderDetail {
...
@@ -887,7 +887,7 @@ public class OrderDetail {
private
double
packageSum
;
private
double
packageSum
;
private
double
usedSum
;
private
double
usedSum
;
private
double
invoiceSum
;
private
double
invoiceSum
;
private
Object
usedReturnSum
;
private
String
usedReturnSum
;
private
double
oddSum
;
private
double
oddSum
;
private
String
lotNumber
;
private
String
lotNumber
;
private
Object
serialNumber
;
private
Object
serialNumber
;
...
@@ -916,10 +916,29 @@ public class OrderDetail {
...
@@ -916,10 +916,29 @@ public class OrderDetail {
private
Object
orderType
;
private
Object
orderType
;
private
Object
customerBranchFactoryName
;
private
Object
customerBranchFactoryName
;
private
Object
orderTypeName
;
private
Object
orderTypeName
;
private
String
canOutReturnSum
;
private
String
canUsedReturnSum
;
private
List
<
ItemFlowsBean
>
itemFlows
;
private
List
<
ItemFlowsBean
>
itemFlows
;
private
List
<
StockQuantityDetailMapsBean
>
stockQuantityDetailMaps
;
private
List
<
StockQuantityDetailMapsBean
>
stockQuantityDetailMaps
;
private
String
chooseNum
;
private
String
chooseNum
;
public
String
getCanOutReturnSum
()
{
return
canOutReturnSum
;
}
public
void
setCanOutReturnSum
(
String
canOutReturnSum
)
{
this
.
canOutReturnSum
=
canOutReturnSum
;
}
public
String
getCanUsedReturnSum
()
{
return
canUsedReturnSum
;
}
public
void
setCanUsedReturnSum
(
String
canUsedReturnSum
)
{
this
.
canUsedReturnSum
=
canUsedReturnSum
;
}
public
String
getChooseNum
()
{
public
String
getChooseNum
()
{
return
chooseNum
;
return
chooseNum
;
}
}
...
@@ -1072,11 +1091,11 @@ public class OrderDetail {
...
@@ -1072,11 +1091,11 @@ public class OrderDetail {
this
.
invoiceSum
=
invoiceSum
;
this
.
invoiceSum
=
invoiceSum
;
}
}
public
Object
getUsedReturnSum
()
{
public
String
getUsedReturnSum
()
{
return
usedReturnSum
;
return
usedReturnSum
;
}
}
public
void
setUsedReturnSum
(
Object
usedReturnSum
)
{
public
void
setUsedReturnSum
(
String
usedReturnSum
)
{
this
.
usedReturnSum
=
usedReturnSum
;
this
.
usedReturnSum
=
usedReturnSum
;
}
}
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/CrucibleOrderDetailActivity.java
浏览文件 @
c4817770
...
@@ -291,8 +291,11 @@ public class CrucibleOrderDetailActivity extends WorkToolBarActivity {
...
@@ -291,8 +291,11 @@ public class CrucibleOrderDetailActivity extends WorkToolBarActivity {
startActivity
(
ReturnApplyActivity
.
class
,
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"enterStockType"
,
dataBean
.
getEnterStockType
(),
"returnNum"
,
TextUtils
.
equals
(
dataBean
.
getEnterStockType
(),
"1"
)?
proList
.
get
(
position
).
getCanOutReturnSum
():
proList
.
get
(
position
).
getCanUsedReturnSum
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
get
Store
Sum
()
+
""
,
"num"
,
proList
.
get
(
position
).
get
CanUseProduct
Sum
()
+
""
,
"product"
,
proList
.
get
(
position
).
getProductName
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/InsideOrderDetailActivity.java
浏览文件 @
c4817770
...
@@ -248,8 +248,11 @@ public class InsideOrderDetailActivity extends WorkToolBarActivity {
...
@@ -248,8 +248,11 @@ public class InsideOrderDetailActivity extends WorkToolBarActivity {
startActivity
(
ReturnApplyActivity
.
class
,
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"enterStockType"
,
dataBean
.
getEnterStockType
(),
"returnNum"
,
TextUtils
.
equals
(
dataBean
.
getEnterStockType
(),
"1"
)?
proList
.
get
(
position
).
getCanOutReturnSum
():
proList
.
get
(
position
).
getCanUsedReturnSum
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
get
Store
Sum
()
+
""
,
"num"
,
proList
.
get
(
position
).
get
CanUseProduct
Sum
()
+
""
,
"product"
,
proList
.
get
(
position
).
getProductName
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/OutOrderDetailActivity.java
浏览文件 @
c4817770
...
@@ -300,7 +300,10 @@ public class OutOrderDetailActivity extends WorkToolBarActivity {
...
@@ -300,7 +300,10 @@ public class OutOrderDetailActivity extends WorkToolBarActivity {
"identity"
,
identity
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
"enterStockType"
,
dataBean
.
getEnterStockType
(),
"returnNum"
,
TextUtils
.
equals
(
dataBean
.
getEnterStockType
(),
"1"
)?
proList
.
get
(
position
).
getCanOutReturnSum
():
proList
.
get
(
position
).
getCanUsedReturnSum
(),
"num"
,
proList
.
get
(
position
).
getCanUseProductSum
()
+
""
,
"product"
,
proList
.
get
(
position
).
getProductName
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ProductOrderDetailActivity.java
浏览文件 @
c4817770
...
@@ -166,7 +166,10 @@ public class ProductOrderDetailActivity extends WorkToolBarActivity {
...
@@ -166,7 +166,10 @@ public class ProductOrderDetailActivity extends WorkToolBarActivity {
startActivity
(
ReturnApplyActivity
.
class
,
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
"num"
,
proList
.
get
(
position
).
getCanUseProductSum
()
+
""
,
"enterStockType"
,
dataBean
.
getEnterStockType
(),
"returnNum"
,
TextUtils
.
equals
(
dataBean
.
getEnterStockType
(),
"1"
)?
proList
.
get
(
position
).
getCanOutReturnSum
():
proList
.
get
(
position
).
getCanUsedReturnSum
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ReturnApplyActivity.java
浏览文件 @
c4817770
package
com
.
wd
.
workoffice
.
ui
.
activity
.
bat
.
order
;
package
com
.
wd
.
workoffice
.
ui
.
activity
.
bat
.
order
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
android.view.Menu
;
import
android.view.MenuItem
;
import
android.view.View
;
import
android.view.View
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
...
@@ -15,6 +17,7 @@ import com.wd.workoffice.bean.ReturnApplyBean;
...
@@ -15,6 +17,7 @@ import com.wd.workoffice.bean.ReturnApplyBean;
import
com.wd.workoffice.bean.event.CheckMoneytEvent
;
import
com.wd.workoffice.bean.event.CheckMoneytEvent
;
import
com.wd.workoffice.bean.event.CheckReturnEvent
;
import
com.wd.workoffice.bean.event.CheckReturnEvent
;
import
com.wd.workoffice.bean.workEnum.OrderType
;
import
com.wd.workoffice.bean.workEnum.OrderType
;
import
com.wd.workoffice.bean.workEnum.PagePermissionType
;
import
com.wd.workoffice.retrofit.RtfUtils
;
import
com.wd.workoffice.retrofit.RtfUtils
;
import
com.wd.workoffice.retrofit.WorkObserver
;
import
com.wd.workoffice.retrofit.WorkObserver
;
import
com.wd.workoffice.ui.adapter.RetrunSendApplyAdapter
;
import
com.wd.workoffice.ui.adapter.RetrunSendApplyAdapter
;
...
@@ -179,4 +182,38 @@ public class ReturnApplyActivity extends WorkToolBarActivity {
...
@@ -179,4 +182,38 @@ public class ReturnApplyActivity extends WorkToolBarActivity {
param
.
put
(
"current"
,
page
);
param
.
put
(
"current"
,
page
);
getData
();
getData
();
}
}
@Override
public
boolean
onCreateOptionsMenu
(
Menu
menu
)
{
String
orderType
=
getIntent
().
getStringExtra
(
"orderType"
);
String
num
=
getIntent
().
getStringExtra
(
"num"
);
if
(
Double
.
valueOf
(
num
)
==
0
d
)
{
return
super
.
onCreateOptionsMenu
(
menu
);
}
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
SALE
.
getCode
()))
{
if
(
WorkUtils
.
hasPermission
(
PagePermissionType
.
SO_RETURN_SAVE
.
getPermission
()))
{
getMenuInflater
().
inflate
(
R
.
menu
.
menu_add
,
menu
);
}
}
else
if
(
TextUtils
.
equals
(
orderType
,
OrderType
.
OUT_BUY
.
getCode
()))
{
if
(
WorkUtils
.
hasPermission
(
PagePermissionType
.
PO_RETURN_SAVE
.
getPermission
()))
{
getMenuInflater
().
inflate
(
R
.
menu
.
menu_add
,
menu
);
}
}
return
super
.
onCreateOptionsMenu
(
menu
);
}
@Override
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
switch
(
item
.
getItemId
())
{
case
R
.
id
.
add
:
startActivity
(
UseApplyAddActivity
.
class
,
"num"
,
getIntent
().
getStringExtra
(
"num"
),
"orderType"
,
getIntent
().
getStringExtra
(
"orderType"
),
"productId"
,
getIntent
().
getStringExtra
(
"productId"
),
"simpleCode"
,
getIntent
().
getStringExtra
(
"simpleCode"
),
"id"
,
getIntent
().
getStringExtra
(
"orderId"
));
break
;
}
return
super
.
onOptionsItemSelected
(
item
);
}
}
}
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/ReturnDetailActivity.java
浏览文件 @
c4817770
...
@@ -430,6 +430,10 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
...
@@ -430,6 +430,10 @@ public class ReturnDetailActivity extends WorkToolBarActivity {
checkDialog
(
1
,
info
.
getId
());
checkDialog
(
1
,
info
.
getId
());
break
;
break
;
case
R
.
id
.
rl_history
:
case
R
.
id
.
rl_history
:
if
(!
WorkUtils
.
hasPermission
(
PagePermissionType
.
SO_RETURN_FLOW_LIST
.
getPermission
()))
{
toast
(
R
.
string
.
permission
);
return
;
}
startActivity
(
ReturnApplyHistoryActivity
.
class
,
"id"
,
info
.
getId
()+
""
);
startActivity
(
ReturnApplyHistoryActivity
.
class
,
"id"
,
info
.
getId
()+
""
);
break
;
break
;
case
R
.
id
.
rl_order
:
case
R
.
id
.
rl_order
:
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/SaleOrderDetailActivity.java
浏览文件 @
c4817770
...
@@ -277,7 +277,9 @@ public class SaleOrderDetailActivity extends WorkToolBarActivity {
...
@@ -277,7 +277,9 @@ public class SaleOrderDetailActivity extends WorkToolBarActivity {
startActivity
(
ReturnApplyActivity
.
class
,
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"num"
,
proList
.
get
(
position
).
getStoreSum
()
+
""
,
"num"
,
proList
.
get
(
position
).
getCanUseProductSum
()
+
""
,
"enterStockType"
,
dataBean
.
getEnterStockType
(),
"returnNum"
,
proList
.
get
(
position
).
getCanUseProductSum
()
+
""
,
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
...
...
app/src/main/java/com/wd/workoffice/ui/activity/bat/order/SupplierOrderDetailActivity.java
浏览文件 @
c4817770
...
@@ -265,8 +265,11 @@ public class SupplierOrderDetailActivity extends WorkToolBarActivity {
...
@@ -265,8 +265,11 @@ public class SupplierOrderDetailActivity extends WorkToolBarActivity {
startActivity
(
ReturnApplyActivity
.
class
,
startActivity
(
ReturnApplyActivity
.
class
,
"identity"
,
identity
,
"identity"
,
identity
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"status"
,
dataBean
.
getStatus
()
+
""
,
"enterStockType"
,
dataBean
.
getEnterStockType
(),
"returnNum"
,
TextUtils
.
equals
(
dataBean
.
getEnterStockType
(),
"1"
)?
proList
.
get
(
position
).
getCanOutReturnSum
():
proList
.
get
(
position
).
getCanUsedReturnSum
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"orderType"
,
dataBean
.
getExpandInfo
().
getOrderType
(),
"num"
,
proList
.
get
(
position
).
get
Store
Sum
()
+
""
,
"num"
,
proList
.
get
(
position
).
get
CanUseProduct
Sum
()
+
""
,
"product"
,
proList
.
get
(
position
).
getProductName
(),
"product"
,
proList
.
get
(
position
).
getProductName
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"simpleCode"
,
proList
.
get
(
position
).
getProductSimpleCode
(),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
"orderId"
,
getIntent
().
getStringExtra
(
"id"
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论