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
6a8f520c
Commit
6a8f520c
authored
Oct 31, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:商品管理详情处理不通过操作
parent
97019e5f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
63 deletions
+30
-63
src/views/shop/components/NoPassIdentifyDialog.vue
src/views/shop/components/NoPassIdentifyDialog.vue
+1
-4
src/views/shop/shopManagerDetail.vue
src/views/shop/shopManagerDetail.vue
+29
-59
No files found.
src/views/shop/components/NoPassIdentifyDialog.vue
View file @
6a8f520c
...
@@ -8,10 +8,7 @@
...
@@ -8,10 +8,7 @@
height=
"600px"
height=
"600px"
title=
"审核结果"
>
title=
"审核结果"
>
<el-form
ref=
"cancel"
:model=
"cancelForm"
:rules=
"cancelRules"
>
<el-form
ref=
"cancel"
:model=
"cancelForm"
:rules=
"cancelRules"
>
<el-form-item
label=
""
label-width=
"80px"
prop=
"content"
>
<el-form-item
label=
"原因:"
label-width=
"80px"
prop=
"remark"
>
<div>
该商家不通过原因:
</div>
</el-form-item>
<el-form-item
label=
""
label-width=
"80px"
prop=
"remark"
>
<el-input
<el-input
v-model=
"cancelForm.remark"
v-model=
"cancelForm.remark"
:autosize=
"
{ minRows: 8, maxRows: 8}"
:autosize=
"
{ minRows: 8, maxRows: 8}"
...
...
src/views/shop/shopManagerDetail.vue
View file @
6a8f520c
...
@@ -87,22 +87,25 @@
...
@@ -87,22 +87,25 @@
</el-table>
</el-table>
</div>
</div>
</el-card>
</el-card>
<el-card
class=
"box-card"
style=
"margin: 0 16px"
>
<div
class=
"title"
>
<div
class=
"title_content"
>
备注
</div>
</div>
<div
class=
"user_info flex"
>
<el-form
ref=
"addInviteRef"
label-width=
"100px"
style=
"width: 30%"
>
<el-form-item
label=
"备注:"
>
<div>
{{ itemContent.remark || '-' }}
</div>
</el-form-item>
</el-form>
</div>
</el-card>
<NoPassIdentifyDialog
<NoPassIdentifyDialog
:show-no-pass-identify-dialog-show=
"showNoPassIdentifyDialog"
:show-no-pass-identify-dialog-show=
"showNoPassIdentifyDialog"
:distribution-order-id=
"itemContent.distributionOrderId"
:open-shop-apply-order-id=
"itemContent.openShopApplyOrderId"
:identify-order-id=
"itemContent.identifyOrderId"
@
refreshItem=
"handleRefreshItem"
@
refreshItem=
"handleRefreshItem"
@
cancelDialog=
"showNoPassIdentifyDialog = false"
@
cancelDialog=
"showNoPassIdentifyDialog = false"
/>
/>
<ReturnLogisticIdentifyDialog
v-if=
"logisticDialogShow"
:logistic-dialog-show=
"logisticDialogShow"
:distribution-order-id=
"itemContent.distributionOrderId"
:identify-order-id=
"itemContent.identifyOrderId"
:type=
"logisticType"
@
cancelDialog=
"handleCancelLogisticDialog"
@
refreshDelivery=
"handleRefreshLogisticItem"
@
refreshSendBack=
"handleRefreshLogisticItem"
/>
</div>
</div>
</template>
</template>
...
@@ -110,15 +113,13 @@
...
@@ -110,15 +113,13 @@
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
NoPassIdentifyDialog
from
'
./components/NoPassIdentifyDialog
'
import
NoPassIdentifyDialog
from
'
./components/NoPassIdentifyDialog
'
import
ReturnLogisticIdentifyDialog
from
'
./components/ReturnLogisticIdentifyDialog
'
import
ReturnLogisticIdentifyDialog
from
'
./components/ReturnLogisticIdentifyDialog
'
import
{
requestSigned
,
requestIdentify
,
requestTransferDetail
}
from
'
@/api/business/order
'
import
{
shopManagerDetail
,
shopManagerCheck
}
from
'
@/api/business/shop
'
import
{
shopManagerDetail
,
shopManagerCheck
}
from
'
@/api/business/shop
'
export
default
{
export
default
{
name
:
'
s
hopManagerDetail
'
,
name
:
'
S
hopManagerDetail
'
,
components
:
{
ReturnLogisticIdentifyDialog
,
NoPassIdentifyDialog
,
Line2Hidden
},
components
:
{
ReturnLogisticIdentifyDialog
,
NoPassIdentifyDialog
,
Line2Hidden
},
data
()
{
data
()
{
return
{
return
{
itemContent
:
{},
itemContent
:
{},
distributionOrderId
:
''
,
showNoPassIdentifyDialog
:
false
,
showNoPassIdentifyDialog
:
false
,
logisticDialogShow
:
false
,
logisticDialogShow
:
false
,
logisticType
:
1
,
logisticType
:
1
,
...
@@ -142,7 +143,7 @@ export default {
...
@@ -142,7 +143,7 @@ export default {
openShopApplyOrderId
:
this
.
openShopApplyOrderId
openShopApplyOrderId
:
this
.
openShopApplyOrderId
}
}
shopManagerDetail
(
params
).
then
(
response
=>
{
shopManagerDetail
(
params
).
then
(
response
=>
{
console
.
log
(
'
===response=
'
,
response
)
console
.
log
(
'
===response=
'
,
response
.
data
.
data
)
this
.
itemContent
=
response
.
data
.
data
||
{}
this
.
itemContent
=
response
.
data
.
data
||
{}
const
model
=
{
const
model
=
{
cardId
:
this
.
itemContent
.
cardId
,
cardId
:
this
.
itemContent
.
cardId
,
...
@@ -150,7 +151,7 @@ export default {
...
@@ -150,7 +151,7 @@ export default {
name
:
this
.
itemContent
.
name
,
name
:
this
.
itemContent
.
name
,
openShopAmount
:
this
.
itemContent
.
openShopAmount
,
openShopAmount
:
this
.
itemContent
.
openShopAmount
,
idCardFrontImage
:
this
.
itemContent
.
idCardFrontImage
,
idCardFrontImage
:
this
.
itemContent
.
idCardFrontImage
,
idCardBackImage
:
this
.
itemContent
.
idCardBackImage
,
idCardBackImage
:
this
.
itemContent
.
idCardBackImage
}
}
this
.
list
=
[
model
]
this
.
list
=
[
model
]
}).
catch
((
e
)
=>
{
}).
catch
((
e
)
=>
{
...
@@ -158,30 +159,6 @@ export default {
...
@@ -158,30 +159,6 @@ export default {
this
.
$message
.
error
(
e
.
data
&&
e
.
data
.
errmsg
||
'
请求失败, 请重试
'
)
this
.
$message
.
error
(
e
.
data
&&
e
.
data
.
errmsg
||
'
请求失败, 请重试
'
)
})
})
},
},
/**
* 收货
* @param item
*/
handleReceive
()
{
this
.
$confirm
(
'
请确认包裹的物流信息是否正确?
'
,
'
确认收货
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
message
'
}).
then
(()
=>
{
const
params
=
{
identifyOrderId
:
this
.
itemContent
.
identifyOrderId
}
requestSigned
(
params
).
then
(
response
=>
{
this
.
handleGetDetail
()
this
.
$notify
.
success
({
message
:
'
确认收货成功
'
})
}).
catch
((
e
)
=>
{
console
.
log
(
'
===报错=
'
,
e
)
this
.
$message
.
error
(
e
.
data
&&
e
.
data
.
errmsg
||
'
请求失败, 请重试
'
)
})
})
},
/**
/**
* 通过
* 通过
* @param item
* @param item
...
@@ -193,18 +170,11 @@ export default {
...
@@ -193,18 +170,11 @@ export default {
type
:
'
message
'
type
:
'
message
'
}).
then
(()
=>
{
}).
then
(()
=>
{
const
params
=
{
const
params
=
{
openShopApplyOrderId
:
this
.
openShopApplyOrderId
,
openShopApplyOrderId
:
this
.
openShopApplyOrderId
,
state
:
20
state
:
20
}
}
shopManagerCheck
(
params
).
then
(
response
=>
{
shopManagerCheck
(
params
).
then
(
response
=>
{
this
.
list
=
this
.
list
.
filter
((
itemContent
)
=>
{
this
.
handleGetDetail
()
if
(
itemContent
.
openShopApplyOrderId
===
row
.
openShopApplyOrderId
)
{
itemContent
.
stateName
=
'
审核通过
'
itemContent
.
state
=
20
return
itemContent
}
return
itemContent
})
this
.
$notify
.
success
({
this
.
$notify
.
success
({
message
:
'
操作成功
'
message
:
'
操作成功
'
})
})
...
...
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