Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-ordermanage
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 f0ad7ed4
authored
Apr 26, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
BUG修复
1 parent
77670977
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
37 deletions
package-lock.json
package.json
src/common/constant.js
src/config/index.js
src/views/orderManage/components/carDamage.vue
src/views/orderManage/components/crowdfunding.vue
src/views/orderManage/components/order.vue
src/views/orderManage/orderDetail.vue
package-lock.json
View file @
f0ad7ed
...
@@ -1960,7 +1960,7 @@
...
@@ -1960,7 +1960,7 @@
}
}
},
},
"vue-loader-v16"
:
{
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader
-v16
@16.8.3"
,
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"dev"
:
true
,
...
@@ -6510,9 +6510,9 @@
...
@@ -6510,9 +6510,9 @@
}
}
},
},
"glsx-common"
:
{
"glsx-common"
:
{
"version"
:
"2.0.
8
"
,
"version"
:
"2.0.
9
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-common/-/glsx-common-2.0.
8
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-common/-/glsx-common-2.0.
9
.tgz"
,
"integrity"
:
"sha512-
hKt/SNFu+NslOHWvDLxmRwUkINBrnATTYIkOj+jmcx5RqfXIbMgEipzFGbCICWMlYYoecwRiJ6341sstPCCHLQ
=="
,
"integrity"
:
"sha512-
d4C404dGtp9fS4r4phi79ozuwleJd326xtfUqokiSs7Y7Zw7bn0Nza5UHHRuIHQettccjVOr18BNf7yG/cKuww
=="
,
"requires"
:
{
"requires"
:
{
"axios"
:
"^0.21.3"
,
"axios"
:
"^0.21.3"
,
"md5"
:
"^2.3.0"
,
"md5"
:
"^2.3.0"
,
...
...
package.json
View file @
f0ad7ed
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"dayjs"
:
"^1.10.7"
,
"dayjs"
:
"^1.10.7"
,
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^2.0.
8
"
,
"glsx-common"
:
"^2.0.
9
"
,
"glsx-components"
:
"^1.2.5"
,
"glsx-components"
:
"^1.2.5"
,
"rfdc"
:
"^1.3.0"
,
"rfdc"
:
"^1.3.0"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
...
...
src/common/constant.js
View file @
f0ad7ed
...
@@ -49,11 +49,7 @@ export const upgradeList = [
...
@@ -49,11 +49,7 @@ export const upgradeList = [
},
},
{
{
confId
:
'N'
,
confId
:
'N'
,
confLabel
:
'战败'
confLabel
:
'不升级'
},
{
confId
:
'R'
,
confLabel
:
'待升级'
}
}
]
]
...
@@ -72,15 +68,15 @@ export const constructionList = [
...
@@ -72,15 +68,15 @@ export const constructionList = [
// 分账状态
// 分账状态
export
const
profitAllocationStatusList
=
[
export
const
profitAllocationStatusList
=
[
{
{
confId
:
'1'
,
confId
:
1
,
confLabel
:
'未分账'
confLabel
:
'未分账'
},
},
{
{
confId
:
'2'
,
confId
:
2
,
confLabel
:
'已分账'
confLabel
:
'已分账'
},
},
{
{
confId
:
'4'
,
confId
:
4
,
confLabel
:
'待分账'
confLabel
:
'待分账'
}
}
]
]
...
...
src/config/index.js
View file @
f0ad7ed
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
// Object.assign(request, { timeout })
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
// }
// }
let
params
=
{
moduleName
:
'ordermanage'
,
mockUrl
:
'https://oss-config.glsx.com.cn/mock/64423183e60bb539e414ec67/ordermanage/config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
let
params
=
{
moduleName
:
'ordermanage'
,
mockUrl
:
'https://oss-config.glsx.com.cn/mock/64423183e60bb539e414ec67/ordermanage/config'
,
env
:
'test'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
return
utils
.
getConfig
(
params
)
return
utils
.
getConfig
(
params
)
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
...
...
src/views/orderManage/components/carDamage.vue
View file @
f0ad7ed
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
<
script
>
<
script
>
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
Util
}
from
'@/common/util'
import
{
Util
,
downLoadFile
}
from
'@/common/util'
import
{
manageTypeList
,
exportFn
}
from
'@/common/constant.js'
import
{
manageTypeList
}
from
'@/common/constant.js'
export
default
{
export
default
{
name
:
'CarDamage'
,
name
:
'CarDamage'
,
components
:
{
components
:
{
...
@@ -271,7 +271,7 @@ export default {
...
@@ -271,7 +271,7 @@ export default {
exportExcel
()
{
exportExcel
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
order
.
quotationExportApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
order
.
quotationExportApi
(
params
).
then
(
res
=>
{
exportFn
(
res
)
downLoadFile
(
res
)
})
})
},
},
}
}
...
...
src/views/orderManage/components/crowdfunding.vue
View file @
f0ad7ed
...
@@ -168,7 +168,8 @@
...
@@ -168,7 +168,8 @@
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
utils
}
from
'glsx-common'
import
{
utils
}
from
'glsx-common'
import
{
businessType
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
exportFn
}
from
'@/common/constant'
import
{
downLoadFile
}
from
'@/common/util'
import
{
businessType
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
}
from
'@/common/constant'
const
userInfo
=
[
const
userInfo
=
[
{
{
label
:
'员工名称:'
,
label
:
'员工名称:'
,
...
@@ -973,7 +974,7 @@ export default {
...
@@ -973,7 +974,7 @@ export default {
handleExport
(
row
)
{
handleExport
(
row
)
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
order
.
orderExportApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
order
.
orderExportApi
(
params
).
then
(
res
=>
{
exportFn
(
res
)
downLoadFile
(
res
)
})
})
},
},
handleReset
()
{
handleReset
()
{
...
...
src/views/orderManage/components/order.vue
View file @
f0ad7ed
...
@@ -86,8 +86,8 @@
...
@@ -86,8 +86,8 @@
<
script
>
<
script
>
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
Util
}
from
'@/common/util'
import
{
Util
,
downLoadFile
}
from
'@/common/util'
import
{
orderStatusList
,
upgradeList
,
constructionList
,
profitAllocationStatusList
,
sourceList
,
manageTypeList
,
exportFn
}
from
'@/common/constant.js'
import
{
orderStatusList
,
upgradeList
,
constructionList
,
profitAllocationStatusList
,
sourceList
,
manageTypeList
}
from
'@/common/constant.js'
export
default
{
export
default
{
name
:
'Order'
,
name
:
'Order'
,
components
:
{
components
:
{
...
@@ -264,7 +264,7 @@ export default {
...
@@ -264,7 +264,7 @@ export default {
getListApi
:
this
.
$apis
.
order
.
getList
,
getListApi
:
this
.
$apis
.
order
.
getList
,
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
fals
e
,
tableOption
:
tru
e
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'订单编号'
,
label
:
'订单编号'
,
...
@@ -279,7 +279,10 @@ export default {
...
@@ -279,7 +279,10 @@ export default {
{
{
label
:
'支付时间'
,
label
:
'支付时间'
,
prop
:
'paySuccessDate'
,
prop
:
'paySuccessDate'
,
width
:
170
width
:
170
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
paySuccessDate
?
Util
.
dateFormate
(
cellValue
.
paySuccessDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
}
},
},
// {
// {
// label: '下单时间',
// label: '下单时间',
...
@@ -318,7 +321,7 @@ export default {
...
@@ -318,7 +321,7 @@ export default {
prop
:
'upgradeFlag'
,
prop
:
'upgradeFlag'
,
minWidth
:
100
,
minWidth
:
100
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
upgradeList
.
find
(
item
=>
item
.
confId
===
cellValue
.
status
)?.
confLabel
||
"待升级"
return
this
.
baseData
.
upgradeList
.
find
(
item
=>
item
.
confId
===
cellValue
.
upgradeFlag
)?.
confLabel
||
"待升级"
}
}
},
},
{
{
...
@@ -326,7 +329,7 @@ export default {
...
@@ -326,7 +329,7 @@ export default {
prop
:
'constructionFlag'
,
prop
:
'constructionFlag'
,
minWidth
:
100
,
minWidth
:
100
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
constructionList
.
find
(
item
=>
item
.
confId
===
cellValue
.
status
)?.
confLabel
||
"-"
return
this
.
baseData
.
constructionList
.
find
(
item
=>
item
.
confId
===
cellValue
.
constructionFlag
)?.
confLabel
||
"-"
}
}
},
},
{
{
...
@@ -342,7 +345,7 @@ export default {
...
@@ -342,7 +345,7 @@ export default {
prop
:
'profitAllocationStatus'
,
prop
:
'profitAllocationStatus'
,
minWidth
:
100
,
minWidth
:
100
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
baseData
.
profitAllocationStatusList
.
find
(
item
=>
item
.
confId
===
cellValue
.
s
tatus
)?.
confLabel
||
'-'
return
this
.
baseData
.
profitAllocationStatusList
.
find
(
item
=>
item
.
confId
===
cellValue
.
profitAllocationS
tatus
)?.
confLabel
||
'-'
}
}
},
},
{
{
...
@@ -420,11 +423,6 @@ export default {
...
@@ -420,11 +423,6 @@ export default {
return
cellValue
.
source
==
7
?
'系统导入'
:
'小程序订单'
return
cellValue
.
source
==
7
?
'系统导入'
:
'小程序订单'
}
}
},
},
{
label
:
'操作'
,
width
:
'180px'
,
addHtml
:
'auth-button'
}
]
]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
...
@@ -581,11 +579,12 @@ export default {
...
@@ -581,11 +579,12 @@ export default {
exportExcel
()
{
exportExcel
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
order
.
exportOrderApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
order
.
exportOrderApi
(
params
).
then
(
res
=>
{
exportFn
(
res
)
downLoadFile
(
res
)
})
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
orderRef
.
refreshTable
()
this
.
$refs
.
orderRef
.
refreshTable
()
this
.
getOrderCount
()
},
},
handleReset
()
{
handleReset
()
{
...
@@ -600,7 +599,8 @@ export default {
...
@@ -600,7 +599,8 @@ export default {
constructionFlag
:
''
,
constructionFlag
:
''
,
channelType
:
''
,
channelType
:
''
,
businessModel
:
''
,
businessModel
:
''
,
subShopMerchantId
:
''
subShopMerchantId
:
''
,
sourceList
:
''
}
}
this
.
baseData
.
storeIdList
=
[]
this
.
baseData
.
storeIdList
=
[]
// this.getOptionsList()
// this.getOptionsList()
...
...
src/views/orderManage/orderDetail.vue
View file @
f0ad7ed
...
@@ -233,10 +233,7 @@ export default {
...
@@ -233,10 +233,7 @@ export default {
return
{
return
{
// userInfo: this.$store.state.d2admin.user.info,
// userInfo: this.$store.state.d2admin.user.info,
imgVisible
:
false
,
imgVisible
:
false
,
detail
:
{
detail
:
{},
orderCode
:
''
,
subOrderList
:
[]
},
statusOpts
:
{
statusOpts
:
{
1
:
'待升级'
,
1
:
'待升级'
,
2
:
'战败'
,
2
:
'战败'
,
...
...
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