Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
472c2398
Commit
472c2398
authored
Dec 26, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加货品签收功能
parent
3c0304de
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
30 deletions
+37
-30
src/api/business/consign.js
src/api/business/consign.js
+8
-0
src/views/consign/consignDetail.vue
src/views/consign/consignDetail.vue
+23
-24
src/views/consign/consignList.vue
src/views/consign/consignList.vue
+6
-6
No files found.
src/api/business/consign.js
View file @
472c2398
...
...
@@ -42,3 +42,11 @@ export function findDetail(params) {
data
:
params
})
}
export
function
confirmReceive
(
params
)
{
return
request
({
url
:
'
/consignSaleManage/confirmReceive
'
,
method
:
'
post
'
,
data
:
params
})
}
src/views/consign/consignDetail.vue
View file @
472c2398
...
...
@@ -14,6 +14,13 @@
size=
"mini"
@
click=
"imageValueDialogShow = true"
>
图文估价
</el-button>
<el-button
v-if=
"systemState === 6"
type=
"primary"
size=
"mini"
@
click=
"handleConfirmReceive"
>
货品签收
</el-button>
<el-button
v-if=
"systemState === 8"
type=
"primary"
...
...
@@ -155,7 +162,7 @@
<
/template
>
<
script
>
import
{
findDetail
,
imgValuat
e
,
finishValue
,
cancelValue
}
from
'
@/api/business/consign
'
import
{
findDetail
,
confirmReceiv
e
,
finishValue
,
cancelValue
}
from
'
@/api/business/consign
'
import
{
MessageBox
}
from
'
element-ui
'
import
CheckLargeImageDialog
from
'
../goods/components/CheckLargeImageDialog
'
import
CheckVideoDialog
from
'
../goods/components/CheckVideoDialog
'
...
...
@@ -286,19 +293,14 @@ export default {
}
)
}
,
/**
*
图文评估
*
货品签收
*/
handleImageValue
()
{
if
(
this
.
saleId
)
{
const
params
=
{
...
this
.
imageValueForm
,
saleId
:
this
.
saleId
}
this
.
$refs
.
imageValue
.
validate
((
valid
)
=>
{
if
(
valid
)
{
imgValuate
(
params
)
handleConfirmReceive
(
item
)
{
const
params
=
{
saleId
:
this
.
saleId
}
confirmReceive
(
params
)
.
then
(
response
=>
{
this
.
imageValueDialogShow
=
false
this
.
imageValueForm
=
{
}
this
.
$notify
.
success
({
message
:
'
图文估价
成功
'
message
:
'
货品签收
成功
'
}
)
this
.
handleGetDetail
()
}
)
...
...
@@ -308,9 +310,6 @@ export default {
type
:
'
error
'
}
)
}
)
}
}
)
}
}
,
// 取消完成寄售
handleCancelFinishDialog
()
{
...
...
src/views/consign/consignList.vue
View file @
472c2398
...
...
@@ -186,7 +186,7 @@
<
script
>
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Pagination
from
'
@/components/Pagination
'
import
{
findConsignList
,
imgValuat
e
,
identifyImage
,
finishValue
,
cancelValue
}
from
'
@/api/business/consign
'
import
{
findConsignList
,
confirmReceiv
e
,
identifyImage
,
finishValue
,
cancelValue
}
from
'
@/api/business/consign
'
import
{
MessageBox
}
from
'
element-ui
'
import
IdentifyValueDialog
from
'
./components/IdentifyValueDialog
'
import
ImageValueDialog
from
'
./components/ImageValueDialog
'
...
...
@@ -292,6 +292,9 @@ export default {
},
handleClick
(
tab
,
event
)
{
this
.
listQuery
.
page
=
1
if
(
this
.
listQuery
.
systemState
!==
'
6
'
)
{
this
.
listQuery
.
waybill
=
''
}
this
.
getList
()
},
getList
()
{
...
...
@@ -332,13 +335,10 @@ export default {
*/
handleConfirmReceive
(
item
)
{
const
params
=
{
saleId
:
item
.
saleId
}
imgValuat
e
(
params
)
confirmReceiv
e
(
params
)
.
then
(
response
=>
{
this
.
itemContent
=
{}
this
.
imageValueDialogShow
=
false
this
.
imageValueForm
=
{}
this
.
$notify
.
success
({
message
:
'
图文估价
成功
'
message
:
'
货品签收
成功
'
})
this
.
getList
()
})
...
...
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