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
0bc62913
authored
Jun 07, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
92800a7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
pages/tag/print.vue
util/api.js
pages/tag/print.vue
View file @
0bc62913
...
@@ -181,24 +181,24 @@ export default {
...
@@ -181,24 +181,24 @@ export default {
this
.
form
.
numbers
[
index
].
value
=
e
.
detail
.
value
;
this
.
form
.
numbers
[
index
].
value
=
e
.
detail
.
value
;
},
},
submit
()
{
submit
()
{
//
if (!this.device_name) {
if
(
!
this
.
device_name
)
{
//
uni.showModal({
uni
.
showModal
({
//
title: '提示',
title
:
'提示'
,
//
content: '请连接蓝牙设备',
content
:
'请连接蓝牙设备'
,
//
showCancel: false,
showCancel
:
false
,
//
confirmText: '关闭',
confirmText
:
'关闭'
,
//
success: function(res) {
success
:
function
(
res
)
{
//
if (res.confirm) {
if
(
res
.
confirm
)
{
//
uni.navigateTo({
uni
.
navigateTo
({
//
url: '/pages/tag/deviceList'
url
:
'/pages/tag/deviceList'
//
});
});
//
} else if (res.cancel) {
}
else
if
(
res
.
cancel
)
{
//
console.log('用户点击取消');
console
.
log
(
'用户点击取消'
);
//
}
}
//
}
}
//
});
});
//
return false;
return
false
;
//
}
}
if
(
!
this
.
form
.
erp_order_sn
)
{
if
(
!
this
.
form
.
erp_order_sn
)
{
uni
.
showModal
({
uni
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
...
...
util/api.js
View file @
0bc62913
//
const API_BASE = 'https://api.ichunt.com';
const
API_BASE
=
'https://api.ichunt.com'
;
const
API_BASE
=
'http://api.liexin.com'
;
//
const API_BASE = 'http://api.liexin.com';
const
API
=
{
const
API
=
{
/**
/**
* 上传数据
* 上传数据
...
...
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