Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
07a7ee1d
authored
Feb 24, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
da219d06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
pages/tag/print.vue
pages/tag/print.vue
View file @
07a7ee1d
...
...
@@ -74,8 +74,10 @@
this
.
traySelectOption
=
res
.
data
;
let
token
=
uni
.
getStorageSync
(
'token'
);
let
tray_sn_index
=
uni
.
getStorageSync
(
'tray_sn_index'
);
let
tray_sn_value
=
uni
.
getStorageSync
(
'tray_sn_value'
);
if
(
token
)
{
this
.
index
=
tray_sn_index
;
this
.
form
.
tray_remark
=
tray_sn_value
;
}
}
});
...
...
@@ -83,6 +85,8 @@
bindPickerChange
:
function
(
e
)
{
this
.
index
=
e
.
target
.
value
;
this
.
form
.
tray_remark
=
this
.
traySelectOption
[
e
.
target
.
value
].
wstylt_id
;
uni
.
setStorageSync
(
'tray_sn_index'
,
this
.
index
);
uni
.
setStorageSync
(
'tray_sn_value'
,
this
.
traySelectOption
[
e
.
target
.
value
].
wstylt_id
);
},
submit
()
{
if
(
!
this
.
form
.
erp_order_sn_pre
)
{
...
...
@@ -133,7 +137,6 @@
this
.
request
(
API
.
printLabel
,
'POST'
,
this
.
form
,
false
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
printLabelData
=
res
.
data
;
uni
.
setStorageSync
(
'tray_sn_index'
,
this
.
index
);
this
.
openBluetoothAdapter
();
}
else
{
uni
.
showToast
({
...
...
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