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
e779fe70
Commit
e779fe70
authored
Oct 09, 2024
by
tanjunxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-pda
into dev
parents
b754af96
7487ca84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
http.api.js
common/http.api.js
+1
-1
produceReturnList.vue
pages/produceReturn/produceReturnList.vue
+2
-1
index.js
uview-ui/libs/request/index.js
+5
-3
No files found.
common/http.api.js
View file @
e779fe70
...
...
@@ -82,7 +82,7 @@ const install = (Vue, vm) => {
//生产领料
pdaSapissuecreate
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/apiPda/issue/pdaissuecreate'
,
params
),
// 生产退料
pdaMaterialReturnNum
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/apiPad/materialReturn/pdaMaterialReturnNum'
,
params
),
pdaMaterialReturnNum
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/apiPad/materialReturn/pdaMaterialReturnNum'
,
params
,
{
'content-type'
:
'application/json;charset=UTF-8'
}
),
// 完工入库
pdaFindPackageLinkInfo
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/apiPda/search/findPackageLinkInfo'
,
params
),
// 调拨料回传mes
...
...
pages/produceReturn/produceReturnList.vue
View file @
e779fe70
...
...
@@ -199,6 +199,7 @@ export default {
ele
.
backNum
=
ele
.
quantityIssued
ele
.
issueCode
=
num
ele
.
issueType
=
ele
.
materialType
ele
.
returnNum
=
ele
.
quantityIssued
});
this
.
$u
.
api
.
mesApi
.
pdaMaterialReturnNum
(
arr
)
...
...
@@ -209,7 +210,7 @@ export default {
this
.
$u
.
toast
(
'提交成功'
);
setTimeout
(()
=>
{
this
.
goBack
()
},
1
000
);
},
3
000
);
}
else
{
this
.
$u
.
toast
(
res
.
msg
);
}
...
...
uview-ui/libs/request/index.js
View file @
e779fe70
...
...
@@ -89,14 +89,16 @@ class Request {
}
// 设置公共参数
if
(
Object
.
prototype
.
toString
.
call
(
options
.
data
)
!=
'[object Array]'
)
{
if
(
Object
.
prototype
.
toString
.
call
(
options
.
data
)
!=
'[object Array]'
)
{
console
.
log
(
'设置参数vuex_user_factory'
,
options
.
data
)
options
.
data
=
{
...
options
.
data
,
werks
:
store
.
state
.
vuex_user_factory
}
}
}
else
if
(
options
.
url
.
indexOf
(
'apiPda'
)
>
-
1
)
{
}
else
if
(
options
.
url
.
indexOf
(
'apiPda'
)
>
-
1
)
{
options
.
header
=
{
...
options
.
header
,
'content-type'
:
'application/json;charset=UTF-8'
,
...
...
@@ -121,7 +123,7 @@ class Request {
})
this
.
config
.
timer
=
null
;
},
this
.
config
.
loadingTime
);
}
}
console
.
log
(
'请求参数'
,
options
)
uni
.
request
(
options
);
})
...
...
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