Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 dc81208e
authored
Dec 29, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 线上问题
1 parent
1ee55d44
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
26 deletions
src/api/order.js
src/views/orderManage/orderDetail.vue
src/views/systemConfig/merchant/financialRules/components/merchantTestDialog.vue
src/views/systemConfig/merchant/financialRules/index.vue
src/views/systemConfig/qRcodeDialog.vue
src/views/systemConfig/yqStoreManage/qRcodeDialog.vue
src/api/order.js
View file @
dc81208
...
@@ -100,3 +100,9 @@ export function batchUpdateConfirmInput(data) {
...
@@ -100,3 +100,9 @@ export function batchUpdateConfirmInput(data) {
data
.
method
=
`
${
path2
}
waitinputorder.batchUpdateConfirmInput`
data
.
method
=
`
${
path2
}
waitinputorder.batchUpdateConfirmInput`
return
request
(
data
,
"post"
)
return
request
(
data
,
"post"
)
}
}
// 订单详情
export
function
goodsOrderDetail
(
data
)
{
data
.
method
=
`
${
path2
}
goodsOrder.detail`
return
request
(
data
,
"post"
)
}
src/views/orderManage/orderDetail.vue
View file @
dc81208
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<p
class=
"edit-title"
>
<p
class=
"edit-title"
>
订单详情
<el-button
size=
"mini"
订单详情
<el-button
size=
"mini"
v-if=
"signRefundFlag && [4, 6].includes(detail.status)"
v-if=
"signRefundFlag && [4, 6].includes(detail.status)"
class=
"signRefundBtn"
class=
"signRefundBtn"
@
click=
"refund"
>
@
click=
"refund"
>
<img
class=
"signRefundIcon"
<img
class=
"signRefundIcon"
src=
"./images/sign.png"
>
标记为退款
src=
"./images/sign.png"
>
标记为退款
</el-button>
</el-button>
...
@@ -111,20 +111,21 @@
...
@@ -111,20 +111,21 @@
show-summary
show-summary
:summary-method="getSummaries"
:summary-method="getSummaries"
style="width: 100%">
style="width: 100%">
<el-table-column
:prop=
"detail.upgradeFlag === 'Y' ? 'upgradeGoodsCommodityCode' : 'baseGoodsCommodityCode'"
<!--
<el-table-column
:prop=
"detail.upgradeFlag === 'Y' ? 'upgradeGoodsCommodityCode' : 'baseGoodsCommodityCode'"
--
>
<el-table-column
:prop=
"'upgradeGoodsCommodityCode'"
align=
"center"
align=
"center"
label=
"商品ID"
label=
"商品ID"
width=
"180px"
/>
width=
"180px"
/>
<el-table-column
:prop=
"
detail.upgradeFlag === 'Y' ? 'upgradeGoodsName' : 'bas
eGoodsName'"
<el-table-column
:prop=
"
'upgrad
eGoodsName'"
align=
"center"
align=
"center"
label=
"商品名称"
/>
label=
"商品名称"
/>
<el-table-column
:prop=
"
detail.upgradeFlag === 'Y' ? 'upgradeGoodsTypeName' : 'baseGoodsTypeName'
"
<el-table-column
:prop=
"
'upgradeGoodsTypeName'
"
align=
"center"
align=
"center"
label=
"商品分类"
/>
label=
"商品分类"
/>
<el-table-column
:prop=
"
detail.upgradeFlag === 'Y' ? 'upgradeBrandMerchantName' : 'bas
eBrandMerchantName'"
<el-table-column
:prop=
"
'upgrad
eBrandMerchantName'"
align=
"center"
align=
"center"
label=
"品牌商"
/>
label=
"品牌商"
/>
<el-table-column
:prop=
"
detail.upgradeFlag === 'Y' ? 'upgradePrice' : 'baseRetail
Price'"
<el-table-column
:prop=
"
'upgrade
Price'"
align=
"center"
align=
"center"
label=
"商品售价"
/>
label=
"商品售价"
/>
<!--
<el-table-column
<!--
<el-table-column
...
@@ -140,7 +141,7 @@
...
@@ -140,7 +141,7 @@
align=
"center"
align=
"center"
label=
"质保年限"
>
label=
"质保年限"
>
<span
<span
slot-scope=
"scope"
>
{{ scope.row.upgradeWarrantyPeriod ? (scope.row.upgradeWarrantyPeriod + '年') : '无' }}
</span>
slot-scope=
"scope"
>
{{ scope.row.upgradeWarrantyPeriod ? (scope.row.upgradeWarrantyPeriod + '年') : '无' }}
</span>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"cardCode"
<el-table-column
prop=
"cardCode"
align=
"center"
align=
"center"
...
@@ -169,7 +170,7 @@
...
@@ -169,7 +170,7 @@
订单进度
订单进度
</p>
</p>
<!-- header-cell-style="text-align:center; background-color:#fafafa" -->
<!-- header-cell-style="text-align:center; background-color:#fafafa" -->
<el-table
:data=
"detail.
l
ogs"
<el-table
:data=
"detail.
accessL
ogs"
border
border
:header-cell-style=
"{'text-align':'center','background-color':'#fafafa'}"
:header-cell-style=
"{'text-align':'center','background-color':'#fafafa'}"
style=
"width: 100%"
>
style=
"width: 100%"
>
...
@@ -218,7 +219,7 @@ import { deepClone } from '@/common/util'
...
@@ -218,7 +219,7 @@ import { deepClone } from '@/common/util'
import
{
payType
}
from
'@/common/constants.js'
import
{
payType
}
from
'@/common/constants.js'
// import { getOrderDetail } from '@api/order'
// import { getOrderDetail } from '@api/order'
import
dayjs
from
'dayjs'
import
dayjs
from
'dayjs'
import
{
getList
}
from
'@api/order'
import
{
getList
,
goodsOrderDetail
}
from
'@api/order'
export
default
{
export
default
{
name
:
'OrderDetail'
,
name
:
'OrderDetail'
,
components
:
{
components
:
{
...
@@ -283,10 +284,10 @@ export default {
...
@@ -283,10 +284,10 @@ export default {
this
.
detail
=
this
.
$route
.
params
.
detail
this
.
detail
=
this
.
$route
.
params
.
detail
this
.
signRefundFlag
=
this
.
$route
.
params
.
signRefundFlag
this
.
signRefundFlag
=
this
.
$route
.
params
.
signRefundFlag
console
.
log
(
this
.
signRefundFlag
)
console
.
log
(
this
.
signRefundFlag
)
if
(
this
.
detail
.
source
==
7
)
{
if
(
this
.
detail
.
source
==
7
)
{
this
.
detail
.
createdDate
=
dayjs
(
this
.
detail
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
this
.
detail
.
createdDate
=
dayjs
(
this
.
detail
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
}
this
.
getGoodsOrderDetail
()
console
.
log
(
this
.
detail
)
console
.
log
(
this
.
detail
)
},
},
...
@@ -349,17 +350,20 @@ export default {
...
@@ -349,17 +350,20 @@ export default {
dialogClose
(
flag
)
{
dialogClose
(
flag
)
{
this
.
signRefundVisible
=
!
this
.
signRefundVisible
this
.
signRefundVisible
=
!
this
.
signRefundVisible
if
(
flag
)
{
if
(
flag
)
{
this
.
get
List
()
this
.
get
GoodsOrderDetail
()
}
}
},
},
getList
()
{
getGoodsOrderDetail
()
{
var
params
=
{
// var params = {
...
this
.
page
,
// ...this.page,
orderCode
:
this
.
detail
.
orderCode
// orderCode: this.detail.orderCode
}
// }
getList
(
params
).
then
(
res
=>
{
goodsOrderDetail
({
orderCode
:
this
.
detail
.
orderCode
}).
then
(
res
=>
{
this
.
detail
=
res
.
list
[
0
]
// console.log(res)
this
.
detail
=
res
// this.detail = Object.assign(this.detail, res)
// this.detail = res.list[0]
})
})
}
}
}
}
...
...
src/views/systemConfig/merchant/financialRules/components/merchantTestDialog.vue
View file @
dc81208
...
@@ -72,7 +72,9 @@
...
@@ -72,7 +72,9 @@
<span>
{{
scope
.
row
.
expenseCategoryValue
}}
</span>
<span>
{{
scope
.
row
.
expenseCategoryValue
}}
</span>
<span
v-if=
"scope.row.expenseCategoryValue"
>
<span
v-if=
"scope.row.expenseCategoryValue"
>
{{
scope
.
row
.
expenseCategoryCalculateType
==
3
?
''
:
'%'
}}
</span>
{{
scope
.
row
.
expenseCategoryCalculateType
==
3
?
''
:
'%'
}}
</span>
<span
v-else-if=
"scope.row.targetType==4"
>
收入-流量方分润-服务商分润-产品成本-安装成本
</span>
<span
v-else-if=
"scope.row.targetType==4"
>
收入-流量方分润-服务商分润-其他费用(
{{
rulesTestParams
.
goodsTypeGroupRule
.
goodsCostFlag
==
'Y'
?
''
:
'不'
}}
包含成本)
</span>
<!--
<span
v-else-if=
"scope.row.targetType==4"
>
收入-流量方分润-服务商分润-产品成本-安装成本
</span>
-->
<span
v-else
>
--
</span>
<span
v-else
>
--
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/systemConfig/merchant/financialRules/index.vue
View file @
dc81208
...
@@ -397,7 +397,7 @@ export default {
...
@@ -397,7 +397,7 @@ export default {
// goodsTypeGroupRules = goodsTypeGroupRules.sort(compare('groupType'))
// goodsTypeGroupRules = goodsTypeGroupRules.sort(compare('groupType'))
goodsTypeGroupRules
&&
goodsTypeGroupRules
.
forEach
((
item
,
index
)
=>
{
goodsTypeGroupRules
&&
goodsTypeGroupRules
.
forEach
((
item
,
index
)
=>
{
this
.
editableTabs
[
index
]
=
{
this
.
editableTabs
[
index
]
=
{
title
:
index
?
'特殊
商品
'
+
index
:
'全部品类'
,
title
:
index
?
'特殊
品类
'
+
index
:
'全部品类'
,
name
:
(
index
+
1
).
toString
(),
name
:
(
index
+
1
).
toString
(),
testFlag
:
item
.
testFlag
==
'Y'
?
'Y'
:
'N'
,
testFlag
:
item
.
testFlag
==
'Y'
?
'Y'
:
'N'
,
groupDivisionRuleId
:
item
.
testFlag
==
'Y'
?
''
:
(
item
.
groupDivisionRuleId
||
''
)
groupDivisionRuleId
:
item
.
testFlag
==
'Y'
?
''
:
(
item
.
groupDivisionRuleId
||
''
)
...
...
src/views/systemConfig/qRcodeDialog.vue
deleted
100644 → 0
View file @
1ee55d4
This diff is collapsed.
Click to expand it.
src/views/systemConfig/yqStoreManage/qRcodeDialog.vue
View file @
dc81208
...
@@ -138,10 +138,10 @@ export default {
...
@@ -138,10 +138,10 @@ export default {
oParams
.
appId
=
'wx06d1198e751435d1'
oParams
.
appId
=
'wx06d1198e751435d1'
// oParams.appId = 'wx902f0b9c4b2c669d'
// oParams.appId = 'wx902f0b9c4b2c669d'
oParams
.
qrcodeType
=
'QR_WXA_UNLIMIT'
oParams
.
qrcodeType
=
'QR_WXA_UNLIMIT'
//
oParams.path = 'packagesPayment/pages/QRPayment/QRPayment'
oParams
.
path
=
'packagesPayment/pages/QRPayment/QRPayment'
//
oParams.scene = `merchantId=${this.info.yqMerchantId}&merchantName=${this.info.yqMerchantName}`
oParams
.
scene
=
`merchantId=
${
this
.
info
.
yqMerchantId
}
&merchantName=
${
this
.
info
.
yqMerchantName
}
`
oParams
.
path
=
'pages/webpage/webpage'
//
oParams.path = 'pages/webpage/webpage'
oParams
.
scene
=
`jumpLink=https://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/`
//
oParams.scene = `jumpLink=https://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/`
createWeappQrcode
(
oParams
).
then
(
res
=>
{
createWeappQrcode
(
oParams
).
then
(
res
=>
{
this
.
qrCodeURL
=
res
this
.
qrCodeURL
=
res
...
...
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