Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ximai
mes-pda-scan
Commits
23a61475
Commit
23a61475
authored
May 29, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改,添加自定义模块调用sap参数控制
parent
a73c0c23
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
14 deletions
+16
-14
http.api.js
common/http.api.js
+12
-12
confirComplete.vue
pages/confirComplete/confirComplete.vue
+2
-0
purchaseStorage.vue
pages/purchaseStorage/purchaseStorage.vue
+2
-2
No files found.
common/http.api.js
View file @
23a61475
...
@@ -35,28 +35,28 @@ const install = (Vue, vm) => {
...
@@ -35,28 +35,28 @@ const install = (Vue, vm) => {
},
},
sapApi
:
{
sapApi
:
{
// 采购入库
// 采购入库
sapRrm
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/cud_mm_rrm/rrm?sap-client='
+
sapC
lient
,
params
),
sapRrm
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/cud_mm_rrm/rrm?sap-language=ZH&sap-client='
+
c
lient
,
params
),
sapPlnr
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/get_mm_plnr/plnr?sap-client='
+
sapC
lient
,
params
,),
sapPlnr
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/get_mm_plnr/plnr?sap-language=ZH&sap-client='
+
c
lient
,
params
,),
// 仓位转移
// 仓位转移
sapDict
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/ep_dict?sap-client='
+
sapC
lient
,
params
),
sapDict
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/ep_dict?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 生产领料
// 生产领料
sapProiss
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/pda_plto_proiss?sap-client='
+
sapC
lient
,
params
),
sapProiss
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/pda_plto_proiss?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 完工入库
// 完工入库
sapOrder
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/PDA_MES_Order/PDA_ORDER?sap-client='
+
sapC
lient
,
params
),
sapOrder
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/PDA_MES_Order/PDA_ORDER?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 线边库转移下架
// 线边库转移下架
sapXbkzy
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/pda_plto_xbkzy?sap-client='
+
sapC
lient
,
params
),
sapXbkzy
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/pda_plto_xbkzy?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 销售拣货单号查询
// 销售拣货单号查询
sapSchDn
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/search/sch_dn?sap-client='
+
sapC
lient
,
params
),
sapSchDn
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/search/sch_dn?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 销售拣货单
// 销售拣货单
sapPickingDn
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/picking_dn?sap-client='
+
sapC
lient
,
params
),
sapPickingDn
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/picking_dn?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 销售拣货过账
// 销售拣货过账
sapDelv
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/post_delv?sap-client='
+
sapC
lient
,
params
),
sapDelv
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/post_delv?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 销售拣货查询bl pl
// 销售拣货查询bl pl
sapBlpl
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/search/sch_BLPL?sap-client='
+
sapC
lient
,
params
),
sapBlpl
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/search/sch_BLPL?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 查询仓位
// 查询仓位
sapLgpla
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/search/sch_LGPLA?sap-client='
+
sapC
lient
,
params
),
sapLgpla
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/search/sch_LGPLA?sap-language=ZH&sap-client='
+
c
lient
,
params
),
// 装箱
// 装箱
sapCasePlnr
:
(
params
=
{}
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/pda_case/pda_case_plnr?sap-client='
+
sapC
lient
,
params
),
sapCasePlnr
:
(
params
=
{}
,
client
=
sapClient
)
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/sap/bc/erp_ep/pda_case/pda_case_plnr?sap-language=ZH&sap-client='
+
c
lient
,
params
),
},
},
mesApi
:{
mesApi
:{
//生产领料查询单号
//生产领料查询单号
...
...
pages/confirComplete/confirComplete.vue
View file @
23a61475
...
@@ -158,6 +158,7 @@ export default {
...
@@ -158,6 +158,7 @@ export default {
INSNAM
:
ele
.
checkBy
,
INSNAM
:
ele
.
checkBy
,
ZMNGO
:
ele
.
totalQuantity
,
ZMNGO
:
ele
.
totalQuantity
,
ZMNGL
:
ele
.
lossNum
,
ZMNGL
:
ele
.
lossNum
,
NLPLA
:
ele
.
NLPLA
})
})
});
});
params
.
push
({
params
.
push
({
...
@@ -235,6 +236,7 @@ export default {
...
@@ -235,6 +236,7 @@ export default {
return
self
.
findIndex
(
t
=>
t
.
qrcode
===
item
.
qrcode
)
===
index
;
return
self
.
findIndex
(
t
=>
t
.
qrcode
===
item
.
qrcode
)
===
index
;
});
});
this
.
goodsList
=
this
.
goodsList
.
concat
(
result
)
this
.
goodsList
=
this
.
goodsList
.
concat
(
result
)
console
.
log
(
this
.
goodsList
,
'-goodsList'
)
this
.
reset
()
this
.
reset
()
}
else
{
}
else
{
this
.
reset
()
this
.
reset
()
...
...
pages/purchaseStorage/purchaseStorage.vue
View file @
23a61475
...
@@ -114,7 +114,7 @@ export default {
...
@@ -114,7 +114,7 @@ export default {
TYPE
:
'CG'
,
TYPE
:
'CG'
,
ITEM
:
data
ITEM
:
data
}
}
])
]
,
300
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
!
Array
.
isArray
(
res
)){
if
(
!
Array
.
isArray
(
res
)){
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
.
sapPlnr
({
.
sapPlnr
({
plnr
,
plnr
,
zType
:
'001'
zType
:
'001'
})
}
,
300
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
&&
res
.
RESULT
.
TYPE
===
'S'
)
{
if
(
res
&&
res
.
RESULT
.
TYPE
===
'S'
)
{
if
(
this
.
goodsList
.
some
((
item
)
=>
item
.
PLNR
===
plnr
))
{
if
(
this
.
goodsList
.
some
((
item
)
=>
item
.
PLNR
===
plnr
))
{
...
...
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