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
0610131d
authored
Apr 11, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
切换WiFi蓝牙打印
parent
5d55fbd3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
8 deletions
pages.json
pages/home/index.vue
util/api.js
pages.json
View file @
0610131d
...
...
@@ -55,6 +55,11 @@
"navigationBarTitleText"
:
"打印标签"
}
},
{
"path"
:
"pages/tag/printNew"
,
"style"
:
{
"navigationBarTitleText"
:
"打印标签"
}
},
{
"path"
:
"pages/tag/repairPrint"
,
"style"
:
{
"navigationBarTitleText"
:
"追加标签"
...
...
pages/home/index.vue
View file @
0610131d
...
...
@@ -190,9 +190,16 @@
if
(
item
.
name
==
'快递回单上传'
)
{
this
.
scanChange
();
}
else
if
(
item
.
name
==
'打印标签'
)
{
uni
.
navigateTo
({
url
:
'/pages/tag/print'
});
//是否启用蓝牙wifi打印
if
(
this
.
userInfo
.
is_new_print
==
1
)
{
uni
.
navigateTo
({
url
:
'/pages/tag/printNew'
});
}
else
{
uni
.
navigateTo
({
url
:
'/pages/tag/print'
});
}
}
else
if
(
item
.
name
==
'追加标签'
)
{
uni
.
navigateTo
({
url
:
'/pages/tag/repairPrint'
...
...
util/api.js
View file @
0610131d
const
API_BASE
=
'https://api.ichunt.com'
;
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
// const API_BASE = 'https://api.ichunt.com';
// const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE = 'http://api.liexin.com';
// const API_BASE_OSS = 'http://image.liexindev.net';
const
API_BASE
=
'http://api.liexin.com'
;
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
const
API_BASE_WMS
=
'http://wms.liexindev.net'
;
//WMS系统
const
API
=
{
/**
...
...
@@ -240,7 +242,11 @@ const API = {
/**
* 核对并执行
*/
executeJobV2
:
API_BASE
+
'/supplywechatwms/executeJobV2'
executeJobV2
:
API_BASE
+
'/supplywechatwms/executeJobV2'
,
/**
* 标签打印
*/
addSupplyChainData
:
API_BASE_WMS
+
'/open/label/addSupplyChainData'
}
...
...
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