Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
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
3cbbbd10
authored
Apr 17, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
853256cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
3 deletions
pages/preCheck/thirdPartyInspectionStatus.vue
util/api.js
pages/preCheck/thirdPartyInspectionStatus.vue
View file @
3cbbbd10
...
...
@@ -257,8 +257,8 @@
methods
:
{
bindPickerChange
:
function
(
e
,
type
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
this
.
resetChange
();
if
(
type
==
1
)
{
this
.
resetChange
();
this
.
status_index
=
e
.
detail
.
value
;
this
.
searchParams
.
status
=
this
.
status
[
e
.
detail
.
value
].
value
;
this
.
getData
();
...
...
@@ -310,7 +310,6 @@
this
.
searchParams
.
batch_search_value
=
''
;
this
.
input_flag
=
false
;
this
.
clearInputAndFocus
();
this
.
getData
();
},
/**
* 全量搜索
...
...
@@ -449,6 +448,36 @@
}
},
/**
* 三方质检-检后收货提交
*/
receiveAfterInspection
()
{
if
(
!
this
.
receiveAfterInspectionParams
.
delivery_time
)
{
uni
.
showToast
({
title
:
'收货时间必填'
,
icon
:
'error'
});
return
false
;
}
this
.
request
(
API
.
receiveAfterInspection
,
'POST'
,
this
.
receiveAfterInspectionParams
,
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
uni
.
showToast
({
title
:
'提交成功'
,
icon
:
'success'
});
setTimeout
(()
=>
{
this
.
closeDrawer
();
this
.
resetChange
();
this
.
getData
();
},
2000
)
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
icon
:
'none'
});
}
});
},
/**
* 再次获取焦点
*/
clearInputAndFocus
()
{
...
...
util/api.js
View file @
3cbbbd10
...
...
@@ -422,7 +422,11 @@ const API = {
/**
* 查询相似三方送检任务数
* */
isHasShippingCodeInspectionOrder
:
API_BASE
+
'/api/inspectionOrder/isHasShippingCodeInspectionOrder'
isHasShippingCodeInspectionOrder
:
API_BASE
+
'/api/inspectionOrder/isHasShippingCodeInspectionOrder'
,
/**
* 三方质检-检后收货
* */
receiveAfterInspection
:
API_BASE
+
'/api/inspectionOrder/receiveAfterInspection'
}
...
...
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