Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0937ab6a
authored
4 years ago
by
mReturn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收货页面添加货物数量及发货备注
parent
db26bdf1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
4 deletions
orderCenter/src/main/java/com/dayu/order/api/protocol/bean/OrderPardDeatilBean.java
orderCenter/src/main/java/com/dayu/order/api/protocol/bean/OrderPartListBean.java
orderCenter/src/main/java/com/dayu/order/ui/activity/OrderPartReceiveActivity.java
orderCenter/src/main/res/layout/activity_order_part_receive.xml
orderCenter/src/main/java/com/dayu/order/api/protocol/bean/OrderPardDeatilBean.java
View file @
0937ab6a
...
...
@@ -45,6 +45,24 @@ public class OrderPardDeatilBean {
private
String
shipperCode
;
private
int
status
;
private
List
<
PicsBean
>
pics
;
private
int
sendNum
=
1
;
private
String
sendComment
;
public
int
getSendNum
()
{
return
sendNum
;
}
public
void
setSendNum
(
int
sendNum
)
{
this
.
sendNum
=
sendNum
;
}
public
String
getSendComment
()
{
return
sendComment
;
}
public
void
setSendComment
(
String
sendComment
)
{
this
.
sendComment
=
sendComment
;
}
public
String
getComment
()
{
return
comment
;
...
...
This diff is collapsed.
Click to expand it.
orderCenter/src/main/java/com/dayu/order/api/protocol/bean/OrderPartListBean.java
View file @
0937ab6a
...
...
@@ -46,7 +46,7 @@ public class OrderPartListBean implements Serializable {
private
int
sendType
;
private
Object
sparePartId
;
private
String
sparePartName
;
private
Object
sendNum
;
private
int
sendNum
=
1
;
private
int
sendMode
;
private
String
receiverName
;
private
String
receiverMobile
;
...
...
@@ -73,6 +73,15 @@ public class OrderPartListBean implements Serializable {
private
Object
totalPrice
;
private
String
createTime
;
private
Object
key
;
private
String
sendComment
;
public
String
getSendComment
()
{
return
sendComment
;
}
public
void
setSendComment
(
String
sendComment
)
{
this
.
sendComment
=
sendComment
;
}
public
int
getId
()
{
return
id
;
...
...
@@ -122,11 +131,11 @@ public class OrderPartListBean implements Serializable {
this
.
sparePartName
=
sparePartName
;
}
public
Objec
t
getSendNum
()
{
public
in
t
getSendNum
()
{
return
sendNum
;
}
public
void
setSendNum
(
Objec
t
sendNum
)
{
public
void
setSendNum
(
in
t
sendNum
)
{
this
.
sendNum
=
sendNum
;
}
...
...
This diff is collapsed.
Click to expand it.
orderCenter/src/main/java/com/dayu/order/ui/activity/OrderPartReceiveActivity.java
View file @
0937ab6a
...
...
@@ -138,6 +138,12 @@ public class OrderPartReceiveActivity extends BaseActivity<PartRecievePresenter,
mBind
.
tvName
.
setText
(
data
.
getReceiverName
());
mBind
.
tvPhone
.
setText
(
data
.
getReceiverMobile
());
mBind
.
tvList
.
setText
(
data
.
getSendItems
());
mBind
.
tvSendNum
.
setText
(
data
.
getSendNum
()+
""
);
if
(
TextUtils
.
isEmpty
(
data
.
getSendComment
())){
mBind
.
tvSendComment
.
setText
(
"暂无备注"
);
}
else
{
mBind
.
tvSendComment
.
setText
(
data
.
getSendComment
());
}
}
@Override
...
...
@@ -149,5 +155,12 @@ public class OrderPartReceiveActivity extends BaseActivity<PartRecievePresenter,
mBind
.
tvName
.
setText
(
data
.
getReceiverName
());
mBind
.
tvPhone
.
setText
(
data
.
getReceiverMobile
());
mBind
.
tvList
.
setText
(
data
.
getSparePartName
());
mBind
.
tvSendNum
.
setText
(
data
.
getSendNum
()+
""
);
if
(
TextUtils
.
isEmpty
(
data
.
getSendComment
())){
mBind
.
tvSendComment
.
setText
(
"暂无备注"
);
}
else
{
mBind
.
tvSendComment
.
setText
(
data
.
getSendComment
());
}
}
}
This diff is collapsed.
Click to expand it.
orderCenter/src/main/res/layout/activity_order_part_receive.xml
View file @
0937ab6a
...
...
@@ -138,17 +138,37 @@
<TextView
style=
"@style/tv_course_left"
android:text=
"货物数量:"
/>
<TextView
android:id=
"@+id/tv_send_num"
style=
"@style/tv_part_content"
/>
</LinearLayout>
<LinearLayout
style=
"@style/ll_part_content"
>
<TextView
style=
"@style/tv_course_left"
android:text=
"@string/part_goods_list"
/>
<TextView
android:id=
"@+id/tv_list"
style=
"@style/tv_part_content"
/>
</LinearLayout>
<LinearLayout
style=
"@style/ll_part_content"
>
<TextView
style=
"@style/tv_course_left"
android:text=
"发货备注:"
/>
<TextView
android:id=
"@+id/tv_send_comment"
style=
"@style/tv_part_content"
/>
</LinearLayout>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"43dp"
android:layout_marginTop=
"
35
dp"
android:layout_marginTop=
"
20
dp"
android:background=
"@color/tv_bg"
android:gravity=
"center_vertical"
android:paddingLeft=
"@dimen/dp_15"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment