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
c8a648b2
authored
May 10, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
kjs
parent
0aa0db7b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
pages/goods/addReceiving.vue
pages/tag/print.vue
pages/tag/repairPrint.vue
util/api.js
pages/goods/addReceiving.vue
View file @
c8a648b2
...
...
@@ -280,15 +280,22 @@ export default {
this
.
request
(
API
.
addCheckIn
,
'POST'
,
this
.
form
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
uni
.
showToast
({
title
:
res
.
err_msg
,
icon
:
'success'
});
uni
.
showModal
({
title
:
'提示'
,
content
:
res
.
err_msg
,
showCancel
:
false
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
setTimeout
(()
=>
{
uni
.
navigateBack
({
delta
:
1
});
},
2000
);
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
}
}
});
}
else
{
uni
.
showModal
({
title
:
'提示'
,
...
...
pages/tag/print.vue
View file @
c8a648b2
...
...
@@ -225,7 +225,7 @@ export default {
data
.
push
(
'T 8 0 10 220 仓库代码:'
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
'\r\n'
);
data
.
push
(
'T 8 0 10 260 流水号:'
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
'\r\n'
);
data
.
push
(
'B QR 280 110 M 2 U 8\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
]
.
erp_order_sn
+
'|\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
]
[
'box_code'
]
+
'|\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
data
.
push
(
'FORM\r\n'
);
data
.
push
(
'PRINT\r\n'
);
...
...
pages/tag/repairPrint.vue
View file @
c8a648b2
...
...
@@ -204,7 +204,7 @@ export default {
data
.
push
(
'T 8 0 10 220 仓库代码:'
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
'\r\n'
);
data
.
push
(
'T 8 0 10 260 流水号:'
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
'\r\n'
);
data
.
push
(
'B QR 280 110 M 2 U 8\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
'|\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
].
box_code
+
'|\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
data
.
push
(
'FORM\r\n'
);
data
.
push
(
'PRINT\r\n'
);
...
...
util/api.js
View file @
c8a648b2
const
API_BASE
=
'https://api.ichunt.com'
;
//
const API_BASE = 'http://api.liexin.com'
//
const API_BASE = 'https://api.ichunt.com';
const
API_BASE
=
'http://api.liexin.com'
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