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
e750f4ab
authored
Apr 25, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
标签打印
parent
1e28a8b1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
10 deletions
pages/tag/print.vue
pages/tag/repairPrint.vue
util/api.js
pages/tag/print.vue
View file @
e750f4ab
...
@@ -342,10 +342,26 @@
...
@@ -342,10 +342,26 @@
is_add
:
0
is_add
:
0
});
});
this
.
request
(
API
.
checkIsTallyGoods
,
'POST'
,
params
,
true
).
then
(
res
=>
{
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
this
.
printLabelChange
();
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
printLabelChange
();
}
else
{
uni
.
showModal
({
title
:
'提示'
,
content
:
res
.
err_msg
,
confirmText
:
'继续打印'
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
this
.
printLabelChange
();
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
}
}
});
}
});
}
else
{
}
else
{
uni
.
showModal
({
uni
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
...
@@ -353,7 +369,24 @@
...
@@ -353,7 +369,24 @@
confirmText
:
'继续打印'
,
confirmText
:
'继续打印'
,
success
:
res
=>
{
success
:
res
=>
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
this
.
printLabelChange
();
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
printLabelChange
();
}
else
{
uni
.
showModal
({
title
:
'提示'
,
content
:
res
.
err_msg
,
confirmText
:
'继续打印'
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
this
.
printLabelChange
();
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
}
}
});
}
});
}
else
if
(
res
.
cancel
)
{
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
console
.
log
(
'用户点击取消'
);
}
}
...
@@ -361,6 +394,7 @@
...
@@ -361,6 +394,7 @@
});
});
}
}
});
});
},
},
printLabelChange
()
{
printLabelChange
()
{
this
.
request
(
API
.
printLabel
,
'POST'
,
this
.
form
,
true
).
then
(
res
=>
{
this
.
request
(
API
.
printLabel
,
'POST'
,
this
.
form
,
true
).
then
(
res
=>
{
...
...
pages/tag/repairPrint.vue
View file @
e750f4ab
This diff is collapsed.
Click to expand it.
util/api.js
View file @
e750f4ab
const
API_BASE
=
'https://api.ichunt.com'
;
//
const API_BASE = 'https://api.ichunt.com';
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const
API_BASE_WMS
=
'https://wms.ichunt.net'
;
//WMS系统
//
const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
//
const API_BASE = 'http://api.liexin.com';
const
API_BASE
=
'http://api.liexin.com'
;
//
const API_BASE_OSS = 'http://image.liexindev.net';
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
//
const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
const
API_BASE_WMS
=
'http://wms.liexindev.net'
;
//WMS系统
const
API
=
{
const
API
=
{
/**
/**
...
@@ -132,6 +132,10 @@ const API = {
...
@@ -132,6 +132,10 @@ const API = {
*/
*/
checkRepeatPrintLabel
:
API_BASE
+
'/supplywechatwms/checkRepeatPrintLabel'
,
checkRepeatPrintLabel
:
API_BASE
+
'/supplywechatwms/checkRepeatPrintLabel'
,
/**
/**
* 入仓号是否理货
*/
checkIsTallyGoods
:
API_BASE
+
'/supplywechatwms/checkIsTallyGoods'
,
/**
* 扫描入库
* 扫描入库
*/
*/
szScanIn
:
API_BASE
+
'/supplywechatwms/szScanIn'
,
szScanIn
:
API_BASE
+
'/supplywechatwms/szScanIn'
,
...
...
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