Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0396304a
authored
Apr 26, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第二轮bug修复
1 parent
265b4d90
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
9 deletions
src/views/goodsOrder/detail.vue
src/views/goodsWarehouse/detail.vue
src/views/goodsWarehouse/index.vue
src/views/saleOrder/detail.vue
src/views/saleOrder/index.vue
src/views/selectionStore/index.vue
src/views/goodsOrder/detail.vue
View file @
0396304
...
@@ -187,16 +187,26 @@ export default {
...
@@ -187,16 +187,26 @@ export default {
transfStatus
:
util
.
transfStatus
,
transfStatus
:
util
.
transfStatus
,
getDetailById
(){
getDetailById
(){
const
{
id
}
=
this
.
$route
.
params
const
{
id
}
=
this
.
$route
.
params
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
platformGoods
.
getOrderDetail
({
subOrderCode
:
id
}).
then
(
res
=>
{
this
.
$apis
.
platformGoods
.
getOrderDetail
({
subOrderCode
:
id
}).
then
(
res
=>
{
console
.
log
(
res
)
loading
.
close
(
)
if
(
res
?.
id
){
if
(
res
?.
id
){
const
{
receiveName
,
receiveMobile
,
provinceName
,
cityName
,
townName
,
address
}
=
res
?.
receiveAddress
||
{}
const
{
receiveName
,
receiveMobile
,
provinceName
,
cityName
,
townName
,
address
}
=
res
?.
receiveAddress
||
{}
res
.
addInfo
=
`
${
receiveName
}
${
receiveMobile
}
${
provinceName
}${
cityName
}${
townName
}${
address
}
`
res
.
addInfo
=
`
${
receiveName
}
${
receiveMobile
}
${
provinceName
}${
cityName
}${
townName
}${
address
}
`
res
.
addInfo
=
res
.
addInfo
.
replaceAll
(
'null'
,
''
)
res
.
addInfo
=
res
.
addInfo
.
replaceAll
(
'null'
,
''
)
res
.
payPrice
=
res
.
payPrice
?
res
.
payPrice
+
'元'
:
'--'
res
.
subOrderGoodsList
=
res
?.
subOrderGoodsList
?.
length
?
res
?.
subOrderGoodsList
:
[]
res
.
subOrderGoodsList
=
res
?.
subOrderGoodsList
?.
length
?
res
?.
subOrderGoodsList
:
[]
// res.logisticsStatus = undefined
// res.logisticsStatus = undefined
this
.
orderInfo
=
res
this
.
orderInfo
=
res
}
}
}).
catch
(
err
=>
{
loading
.
close
()
console
.
log
(
err
)
})
})
},
},
}
}
...
...
src/views/goodsWarehouse/detail.vue
View file @
0396304
...
@@ -134,11 +134,21 @@ export default {
...
@@ -134,11 +134,21 @@ export default {
},
},
getDetailById
(){
getDetailById
(){
const
{
id
}
=
this
.
$route
.
params
const
{
id
}
=
this
.
$route
.
params
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
platformGoods
.
goodsDetailApi
({
id
}).
then
(
res
=>
{
this
.
$apis
.
platformGoods
.
goodsDetailApi
({
id
}).
then
(
res
=>
{
loading
.
close
()
if
(
res
?.
id
){
if
(
res
?.
id
){
this
.
goodsInfo
=
res
this
.
goodsInfo
=
res
this
.
salePrice
=
res
.
salePrice
this
.
salePrice
=
res
.
salePrice
}
}
}).
catch
(
err
=>
{
loading
.
close
()
console
.
log
(
err
)
})
})
},
},
setPriceFn
(
e
){
setPriceFn
(
e
){
...
...
src/views/goodsWarehouse/index.vue
View file @
0396304
...
@@ -73,7 +73,6 @@ export default {
...
@@ -73,7 +73,6 @@ export default {
{
{
label
:
'商品信息'
,
label
:
'商品信息'
,
name
:
'goodsSkuName'
,
name
:
'goodsSkuName'
,
placeholder
:
'商品名称/spu/sku/品牌名称'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
50
,
maxlength
:
50
,
isClear
:
true
isClear
:
true
...
...
src/views/saleOrder/detail.vue
View file @
0396304
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<div
class=
"info-wrap"
>
<div
v-if=
"showEmailInfo"
class=
"info-wrap"
>
<div
class=
"title"
>
商品寄回
</div>
<div
class=
"title"
>
商品寄回
</div>
<div
class=
"detail"
>
<div
class=
"detail"
>
<GLTable
:hasPage=
"false"
ref=
"shipmentsRef"
:tableParams=
"shipmentsParams"
:tableData=
"orderInfo.expressInfo"
>
<GLTable
:hasPage=
"false"
ref=
"shipmentsRef"
:tableParams=
"shipmentsParams"
:tableData=
"orderInfo.expressInfo"
>
...
@@ -54,6 +54,7 @@ export default {
...
@@ -54,6 +54,7 @@ export default {
editForm
:
{
editForm
:
{
name
:
123
name
:
123
},
},
showEmailInfo
:
false
,
orderInfo
:
{},
orderInfo
:
{},
shipmentsParams
:
{
shipmentsParams
:
{
listName
:
'shipments'
,
listName
:
'shipments'
,
...
@@ -162,11 +163,18 @@ export default {
...
@@ -162,11 +163,18 @@ export default {
methods
:
{
methods
:
{
getDetailById
(){
getDetailById
(){
const
{
id
}
=
this
.
$route
.
params
const
{
id
}
=
this
.
$route
.
params
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
platformGoods
.
getSaleOrderDetail
({
afterSalesOrderCode
:
id
}).
then
(
res
=>
{
this
.
$apis
.
platformGoods
.
getSaleOrderDetail
({
afterSalesOrderCode
:
id
}).
then
(
res
=>
{
console
.
log
(
res
)
loading
.
close
(
)
if
(
res
?.
id
){
if
(
res
?.
id
){
let
{
applyQty
,
refundPrice
,
outRefundType
,
refundStatus
,
tparReturnOrderCode
,
returnType
,
returnReasonType
,
refundedDate
}
=
res
||
{}
let
{
applyQty
,
refundPrice
,
outRefundType
,
refundStatus
,
tparReturnOrderCode
,
returnType
,
returnReasonType
,
refundedDate
}
=
res
||
{}
const
{
brandName
,
goodsSkuName
,
goodsImageUrl
}
=
res
.
orderGoods
||
{}
const
{
brandName
,
goodsSkuName
,
goodsImageUrl
}
=
res
.
orderGoods
||
{}
this
.
showEmailInfo
=
returnType
==
1001
res
.
returnType
=
{
1001
:
'退货退款'
,
1002
:
'仅退款'
,
1003
:
'退货换货'
}[
returnType
]
||
'--'
res
.
returnType
=
{
1001
:
'退货退款'
,
1002
:
'仅退款'
,
1003
:
'退货换货'
}[
returnType
]
||
'--'
res
.
returnReasonType
=
reasonObj
[
returnReasonType
]
res
.
returnReasonType
=
reasonObj
[
returnReasonType
]
refundStatus
=
refundStatus
!=
1003
?
refundStatusObj
[
refundStatus
]
:
outRefundTypeObj
[
outRefundType
]
refundStatus
=
refundStatus
!=
1003
?
refundStatusObj
[
refundStatus
]
:
outRefundTypeObj
[
outRefundType
]
...
@@ -176,6 +184,9 @@ export default {
...
@@ -176,6 +184,9 @@ export default {
res
.
expressInfo
=
[{
expressName
:
res
.
expressName
,
expressNo
:
res
.
expressNo
,
refundedDate
:
res
.
refundedDate
}]
res
.
expressInfo
=
[{
expressName
:
res
.
expressName
,
expressNo
:
res
.
expressNo
,
refundedDate
:
res
.
refundedDate
}]
this
.
orderInfo
=
res
this
.
orderInfo
=
res
}
}
}).
catch
(
err
=>
{
loading
.
close
()
console
.
log
(
err
)
})
})
},
},
}
}
...
...
src/views/saleOrder/index.vue
View file @
0396304
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<span
v-for=
"item in titleList"
:key=
"item.id"
:class=
"['title',
{'curTitleCla': orderFormObj.requestType==item.id}]" @click="changeTable(item.id)">
{{
item
.
name
}}
</span>
<span
v-for=
"item in titleList"
:key=
"item.id"
:class=
"['title',
{'curTitleCla': orderFormObj.requestType==item.id}]" @click="changeTable(item.id)">
{{
item
.
name
}}
</span>
</div>
</div>
<div
class=
"table-wrap"
>
<div
class=
"table-wrap"
>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"
orderFormObj
"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"
searchForm
"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
...
@@ -59,6 +59,7 @@ export default {
...
@@ -59,6 +59,7 @@ export default {
return
{
return
{
size
:
'small'
,
size
:
'small'
,
titleList
,
titleList
,
searchForm
:
{},
buttonList
:
[
buttonList
:
[
{
{
type
:
'el-button'
,
type
:
'el-button'
,
...
@@ -77,7 +78,7 @@ export default {
...
@@ -77,7 +78,7 @@ export default {
customerInfo
:
''
,
customerInfo
:
''
,
goodsInfo
:
''
,
goodsInfo
:
''
,
searchOrderCode
:
''
,
searchOrderCode
:
''
,
afterSales
Type
:
''
,
return
Type
:
''
,
time
:
''
time
:
''
},
},
orderFormData
:
[
orderFormData
:
[
...
@@ -102,7 +103,7 @@ export default {
...
@@ -102,7 +103,7 @@ export default {
},
},
{
{
label
:
'售后类型'
,
label
:
'售后类型'
,
name
:
'
afterSales
Type'
,
name
:
'
return
Type'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
[
optionList
:
[
{
{
...
@@ -207,7 +208,7 @@ export default {
...
@@ -207,7 +208,7 @@ export default {
customerInfo
:
''
,
customerInfo
:
''
,
goodsInfo
:
''
,
goodsInfo
:
''
,
searchOrderCode
:
''
,
searchOrderCode
:
''
,
afterSales
Type
:
''
,
return
Type
:
''
,
time
:
''
time
:
''
}
}
this
.
handleSearch
()
this
.
handleSearch
()
...
...
src/views/selectionStore/index.vue
View file @
0396304
...
@@ -106,7 +106,6 @@ export default {
...
@@ -106,7 +106,6 @@ export default {
{
{
label
:
'商品信息'
,
label
:
'商品信息'
,
name
:
'goodsSkuName'
,
name
:
'goodsSkuName'
,
placeholder
:
'商品名称/spu/sku/品牌名称'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
50
,
maxlength
:
50
,
isClear
:
true
isClear
:
true
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment