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
5a9dcd74
authored
Sep 09, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
打印优化
parent
c9cacfdc
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
14 deletions
pages/tag/printNew.vue
pages/tag/repairPrintNew.vue
pages/tally/abnormalTally.vue
pages/tally/index.vue
pages/tally/unboxing.vue
util/api.js
pages/tag/printNew.vue
View file @
5a9dcd74
...
@@ -312,7 +312,9 @@
...
@@ -312,7 +312,9 @@
is_add
:
0
is_add
:
0
});
});
this
.
request
(
API
.
checkScTallyGoods
,
'POST'
,
{
erp_order_sn
:
this
.
form
.
erp_order_sn
},
true
).
then
(
res
=>
{
//特殊处理批次,给验证入仓号接口使用
let
batch
=
this
.
form
.
batch
>
0
?
`-
${
this
.
form
.
batch
}
`
:
''
;
this
.
request
(
API
.
checkScTallyGoods
,
'POST'
,
{
erp_order_sn
:
this
.
form
.
erp_order_sn
+
batch
},
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
params
,
true
).
then
(
res
=>
{
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
...
...
pages/tag/repairPrintNew.vue
View file @
5a9dcd74
...
@@ -115,8 +115,10 @@
...
@@ -115,8 +115,10 @@
});
});
return
false
;
return
false
;
}
}
//特殊处理批次,给验证入仓号接口使用
let
batch
=
this
.
form
.
batch
>
0
?
`-
${
this
.
form
.
batch
}
`
:
''
;
this
.
request
(
API
.
checkScTallyGoods
,
'POST'
,
{
erp_order_sn
:
this
.
form
.
erp_order_sn
},
true
).
then
(
res
=>
{
this
.
request
(
API
.
checkScTallyGoods
,
'POST'
,
{
erp_order_sn
:
this
.
form
.
erp_order_sn
+
batch
},
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
this
.
form
,
true
).
then
(
res
=>
{
this
.
request
(
API
.
checkRepeatPrintLabel
,
'POST'
,
this
.
form
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
...
...
pages/tally/abnormalTally.vue
View file @
5a9dcd74
...
@@ -571,7 +571,7 @@
...
@@ -571,7 +571,7 @@
let
text
=
res
.
data
==
2
?
'已封箱'
:
'已装板'
;
let
text
=
res
.
data
==
2
?
'已封箱'
:
'已装板'
;
uni
.
showModal
({
uni
.
showModal
({
title
:
''
,
title
:
''
,
content
:
`
该箱状态
${
text
}
, 不可操作封
箱`
,
content
:
`
只有理货中的箱号才可封箱,请重新开
箱`
,
showCancel
:
false
,
showCancel
:
false
,
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
...
...
pages/tally/index.vue
View file @
5a9dcd74
...
@@ -868,7 +868,7 @@
...
@@ -868,7 +868,7 @@
let
text
=
res
.
data
==
2
?
'已封箱'
:
'已装板'
;
let
text
=
res
.
data
==
2
?
'已封箱'
:
'已装板'
;
uni
.
showModal
({
uni
.
showModal
({
title
:
''
,
title
:
''
,
content
:
`
该箱状态
${
text
}
, 不可操作封
箱`
,
content
:
`
只有理货中的箱号才可封箱,请重新开
箱`
,
showCancel
:
false
,
showCancel
:
false
,
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
...
...
pages/tally/unboxing.vue
View file @
5a9dcd74
...
@@ -287,7 +287,7 @@
...
@@ -287,7 +287,7 @@
})
})
//这里的必须性是为了拿到箱子id
//这里的必须性是为了拿到箱子id
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
request
(
API
.
getBoxSn
,
'POST'
,
{
box_sn
:
box_sn
},
true
).
then
(
res
=>
{
this
.
request
(
API
.
getBoxSn
,
'POST'
,
{
box_sn
:
this
.
box_sn
},
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
this
.
wsty_id
=
res
.
data
.
wsty_id
;
this
.
wsty_id
=
res
.
data
.
wsty_id
;
this
.
is_unboxing
=
true
;
//表示开箱成功
this
.
is_unboxing
=
true
;
//表示开箱成功
...
@@ -821,7 +821,7 @@
...
@@ -821,7 +821,7 @@
let
text
=
res
.
data
==
2
?
'已封箱'
:
'已装板'
;
let
text
=
res
.
data
==
2
?
'已封箱'
:
'已装板'
;
uni
.
showModal
({
uni
.
showModal
({
title
:
''
,
title
:
''
,
content
:
`
该箱状态
${
text
}
, 不可操作封
箱`
,
content
:
`
只有理货中的箱号才可封箱,请重新开
箱`
,
showCancel
:
false
,
showCancel
:
false
,
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
...
...
util/api.js
View file @
5a9dcd74
//
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_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK
const
API_BASE_OSS_HK
=
'http://hk.image.semour.com'
;
//oss系统 HK
//
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_OSS_HK
=
'http://image.liexindev.net'
;
//oss系统 HK
//
const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK
const
API_BASE_WMS
=
'http://wms.liexindev.net'
;
//WMS系统
//
const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
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