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
4d20d012
Commit
4d20d012
authored
Aug 14, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:官方估价修改优化
parent
cdecd627
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
src/views/sale/components/EvaluatePriceDialog.vue
src/views/sale/components/EvaluatePriceDialog.vue
+1
-1
src/views/sale/itemList.vue
src/views/sale/itemList.vue
+13
-1
No files found.
src/views/sale/components/EvaluatePriceDialog.vue
View file @
4d20d012
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
updateOfficialEstimatedPrice
(
params
)
updateOfficialEstimatedPrice
(
params
)
.
then
(
response
=>
{
.
then
(
response
=>
{
this
.
$emit
(
'
refreshList
'
)
this
.
$emit
(
'
refreshList
'
,
this
.
itemId
,
this
.
logisticForm
.
officialEstimatedPrice
)
this
.
$emit
(
'
cancelDialog
'
)
this
.
$emit
(
'
cancelDialog
'
)
})
})
.
catch
(
response
=>
{
.
catch
(
response
=>
{
...
...
src/views/sale/itemList.vue
View file @
4d20d012
...
@@ -152,10 +152,11 @@
...
@@ -152,10 +152,11 @@
v
-
if
=
"
isShowPreview
"
v
-
if
=
"
isShowPreview
"
:
imglist
=
"
imagesPreviewList
"
/>
:
imglist
=
"
imagesPreviewList
"
/>
<
EvaluatePriceDialog
<
EvaluatePriceDialog
v
-
if
=
"
isShowEvaluatePriceDialog
"
:
official
-
price
-
dialog
-
show
=
"
isShowEvaluatePriceDialog
"
:
official
-
price
-
dialog
-
show
=
"
isShowEvaluatePriceDialog
"
:
item
-
id
=
"
currentItemId
"
:
item
-
id
=
"
currentItemId
"
@
cancelDialog
=
"
handleCancelEvaluateDialog
"
@
cancelDialog
=
"
handleCancelEvaluateDialog
"
@
refreshList
=
"
getList
"
@
refreshList
=
"
handleRefreshPrice
"
/>
/>
<
/div
>
<
/div
>
...
@@ -216,6 +217,17 @@ export default {
...
@@ -216,6 +217,17 @@ export default {
this
.
isShowEvaluatePriceDialog
=
false
this
.
isShowEvaluatePriceDialog
=
false
this
.
currentItemId
=
''
this
.
currentItemId
=
''
}
,
}
,
handleRefreshPrice
(
itemId
,
price
)
{
if
(
this
.
list
)
{
this
.
list
=
this
.
list
.
filter
((
item
)
=>
{
if
(
item
.
id
===
itemId
)
{
item
.
officialEstimatedPrice
=
price
return
item
}
return
item
}
)
}
}
,
/**
/**
* 设置不可选中
* 设置不可选中
*/
*/
...
...
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