Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a07a0d26
authored
Apr 27, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
3a1c28d5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletions
pages/index/index.vue
pages/tallyReceive/operate.vue
pages/index/index.vue
View file @
a07a0d26
...
...
@@ -8,7 +8,7 @@
<text
class=
"t2"
>
{{
info
.
user_info
.
name
}}
</text>
</view>
</view>
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
@
click=
"exit()"
>
<text
class=
"iconfont icon-a-juxing1"
></text>
<text
class=
"t2"
>
设置
</text>
</view>
...
...
@@ -76,6 +76,26 @@ export default {
this
.
info
=
res
.
data
;
}
});
},
exit
()
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'确定要退出系统吗?'
,
showCancel
:
true
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'oa_skey'
);
uni
.
removeStorageSync
(
'oa_user_id'
);
uni
.
removeStorageSync
(
'company_id'
);
uni
.
redirectTo
({
url
:
'/pages/mine/login'
});
}
else
if
(
res
.
cancel
)
{
// 用户点击取消操作
console
.
log
(
'用户点击取消'
);
}
}
});
}
}
};
...
...
pages/tallyReceive/operate.vue
View file @
a07a0d26
...
...
@@ -295,6 +295,9 @@ export default {
this
.
formParams
.
tally_qty
=
res
.
data
.
list
[
0
].
wait_tally_qty
;
this
.
formParams
.
date_code
=
res
.
data
.
list
[
0
].
expect_date_code
;
if
(
res
.
data
.
list
[
0
].
mobile_default_img
)
{
this
.
image_list
=
res
.
data
.
list
[
0
].
mobile_default_img
.
split
(
','
);
}
uni
.
setNavigationBarTitle
({
title
:
res
.
data
.
list
[
0
].
stock_in_sn
+
'-理货'
});
...
...
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