Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王海
TangKuPos
Commits
586f5ae3
Commit
586f5ae3
authored
Jan 26, 2018
by
zhang_z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加保护;
parent
629f9d7f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
.idea/modules.xml
.idea/modules.xml
+2
-1
app/src/main/java/com/xingdata/zzdpos/ui/settle/fragment/PayResultFragment.java
...xingdata/zzdpos/ui/settle/fragment/PayResultFragment.java
+12
-6
No files found.
.idea/modules.xml
View file @
586f5ae3
...
...
@@ -2,8 +2,9 @@
<project
version=
"4"
>
<component
name=
"ProjectModuleManager"
>
<modules>
<module
fileurl=
"file://$PROJECT_DIR$/TangKuPos.iml"
filepath=
"$PROJECT_DIR$/TangKuPos.iml"
/>
<module
fileurl=
"file://C:\Users\JM_DEV\AndroidStudioProjects\TangKuPos2\TangKuPos.iml"
filepath=
"C:\Users\JM_DEV\AndroidStudioProjects\TangKuPos2\TangKuPos.iml"
/>
<module
fileurl=
"file://
$PROJECT_DIR$/TangKuPos2.iml"
filepath=
"$PROJECT_DIR$/
TangKuPos2.iml"
/>
<module
fileurl=
"file://
D:\Work\Android\AndroidProject\XingData\TangKuPos\TangKuPos2.iml"
filepath=
"D:\Work\Android\AndroidProject\XingData\TangKuPos\
TangKuPos2.iml"
/>
<module
fileurl=
"file://$PROJECT_DIR$/app/app.iml"
filepath=
"$PROJECT_DIR$/app/app.iml"
/>
</modules>
</component>
...
...
app/src/main/java/com/xingdata/zzdpos/ui/settle/fragment/PayResultFragment.java
View file @
586f5ae3
...
...
@@ -18,13 +18,19 @@ public class PayResultFragment extends BaseFragment<SettlePresenter, FragmentPay
@Override
public
void
initView
()
{
mViewBinding
.
setPayResult
(
mResult
);
if
(
mSaleorder
==
null
)
{
mViewBinding
.
setPayResult
(
false
);
return
;
}
else
{
mViewBinding
.
tvCount
.
setText
(
mSaleorder
.
getGoodsCnt
());
mViewBinding
.
tvOrderAmt
.
setText
(
mSaleorder
.
getPayAmt
());
if
(
mResult
)
{
mViewBinding
.
tvType
.
setText
(
mSaleorder
.
getPayChannel
());
mViewBinding
.
tvTime
.
setText
(
mSaleorder
.
getOrderTime
());
}
}
mViewBinding
.
setPayResult
(
mResult
);
mViewBinding
.
ivResult
.
setImageResource
(
mResult
?
R
.
mipmap
.
ic_succeed
:
R
.
mipmap
.
ic_fail
);
mViewBinding
.
btnConfirm
.
setOnClickListener
(
view
->
{
...
...
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