Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-pda-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-pda-master
Commits
782bf349
Commit
782bf349
authored
Apr 20, 2024
by
liuzeheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫描装箱
parent
77896584
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
api.js
src/pages/mergePkg/api.js
+10
-0
package.vue
src/pages/mergePkg/package.vue
+20
-3
No files found.
src/pages/mergePkg/api.js
View file @
782bf349
...
...
@@ -209,3 +209,13 @@ export function batchDeleteMore(data) {
loading
:
true
,
});
}
/**
* 扫描订单号装箱
*/
export
function
scanOrderNoCreate
(
data
){
return
http
(
'
/ecw/box-pkg-order/scanOrderNoCreate
'
,
data
,
{
method
:
'
POST
'
,
loading
:
true
,
});
}
src/pages/mergePkg/package.vue
View file @
782bf349
...
...
@@ -7,11 +7,13 @@
v-model=
"keyword"
:focus=
"focusStart"
:placeholder=
"$t('请扫描条形码')"
@
iconClick=
"()=>
{scanCode('loading')}"
@confirm="searchCode"
@submit="keyword=$event;searchCode()"
>
</scanlistener>
</view>
<view
style=
"height: 60px; background: #2f4dae"
></view>
<view
class=
"content-wrap"
>
<view
class=
"title"
>
...
...
@@ -290,7 +292,8 @@
import
{
uniIcons
}
from
'
@dcloudio/uni-ui
'
;
import
{
createMergePkgOrder
,
createMergePkgOrderBatch
,
finishMergePkg
,
getPkgPageByPkgId
,
getUnPkgPage
,
removeMergePkg
,
removeMergePkgBatch
getPkgPageByPkgId
,
getUnPkgPage
,
removeMergePkg
,
removeMergePkgBatch
,
scanOrderNoCreate
}
from
"
./api
"
;
import
{
batchCreateMore
,
batchDeleteMore
,
singleCreate
,
orderTagList
}
from
"
../tallyAir/api
"
;
import
{
getOrderDetailByBoxNo
}
from
"
../loading/api
"
;
...
...
@@ -424,6 +427,9 @@ export default {
},
// 装箱
pack
(
item
){
if
(
item
.
customsType
!==
'
1
'
){
return
msg
(
this
.
$t
(
'
订单非我司全代,不允许合包
'
))
}
createMergePkgOrder
({
orderId
:
item
.
orderId
,
pkgId
:
this
.
pkgId
...
...
@@ -540,7 +546,14 @@ export default {
break
;
case
"
loading
"
:
this
.
keyword
=
res
.
result
;
this
.
getData
();
//this.getData();
//this.searchCode();
scanOrderNoCreate
({
"
orderNo
"
:
this
.
keyword
,
"
pkgNum
"
:
this
.
pkgNum
}).
then
(
data
=>
{
msg
(
this
.
$t
(
'
装箱成功
'
))
this
.
getData
()
})
break
;
case
"
unloadConfirm
"
:
this
.
unloadNumber
=
res
.
result
;
...
...
@@ -551,8 +564,11 @@ export default {
});
},
searchCode
()
{
setTimeout
(
this
.
getDetialOfSelfNO
,
100
)
},
/* 显示装柜纠错 */
showErrorCorrection
(
show
)
{
this
.
errorModal
=
show
;
...
...
@@ -576,6 +592,7 @@ export default {
},
1000
);
},
getDetialOfSelfNO
(){
singleCreate
({
pkgId
:
this
.
pkgId
,
type
:
1
,
shipmentId
:
this
.
shipmentId
,
orderNumCode
:
this
.
keyword
}).
then
((
data
)
=>
{
this
.
showMessageAndReload
(
"
合包成功
"
);
let
mainNumber
=
this
.
keyword
.
substring
(
...
...
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