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 03064f76
authored
Feb 27, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.15.8' into 'develop'
Dev v4.15.8 See merge request
!69
2 parents
156052c5
2d23f9e1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
106 additions
and
69 deletions
src/common/constants.js
src/components/d2-container/components/d2-header-switch.vue
src/components/d2-container/components/d2-source.vue
src/views/financeManage/account/offlineAccountList.vue
src/views/financeManage/account/onlineAccountList.vue
src/views/goods/editProduct.vue
src/views/orderManage/orderSupplement.vue
src/views/systemConfig/merchant/financialRules/components/financialCalculationDialog.vue
src/views/systemConfig/merchant/financialRules/index.vue
vue.config.js
src/common/constants.js
View file @
03064f7
...
@@ -271,6 +271,10 @@ export const orderTypeList = [
...
@@ -271,6 +271,10 @@ export const orderTypeList = [
{
{
confId
:
"5"
,
confId
:
"5"
,
confLabel
:
"未收款"
confLabel
:
"未收款"
},
{
confId
:
"-1"
,
confLabel
:
"无"
}
}
]
]
...
...
src/components/d2-container/components/d2-header-switch.vue
View file @
03064f7
<
template
>
<
template
>
<div
v-if=
"show"
<div
v-if=
"show"
class=
"d2-header-switch"
:class=
"
{ 'd2-header-switch--active': isActive }" @click="handleClick">
class=
"d2-header-switch"
:class=
"
{ 'd2-header-switch--active': isActive }"
@click="handleClick">
<d2-el-icon
:name=
"name"
/>
<d2-el-icon
:name=
"name"
/>
<li
:class=
"$store.state.d2admin.tsearch.active
?'fa fa-compress':
'fa fa-expand'"
/>
<li
:class=
"$store.state.d2admin.tsearch.active
? 'fa fa-compress' :
'fa fa-expand'"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -44,7 +41,8 @@ export default {
...
@@ -44,7 +41,8 @@ export default {
$
paddingLR
:
30px
;
$
paddingLR
:
30px
;
$
paddingTB
:
2px
;
$
paddingTB
:
2px
;
$
fontSize
:
12px
;
$
fontSize
:
12px
;
$
rightOuter
:
$
paddingLR
/
2
;
//
$
rightOuter
:
$
paddingLR
/
2
;
$
rightOuter
:
calc
(
$
paddingLR
/
2
);
opacity
:
0
;
opacity
:
0
;
position
:
absolute
;
position
:
absolute
;
z-index
:
2000
;
z-index
:
2000
;
...
@@ -61,6 +59,7 @@ export default {
...
@@ -61,6 +59,7 @@ export default {
color
:
#606266
;
color
:
#606266
;
transition
:
all
0.3s
;
transition
:
all
0.3s
;
@extend
%unable-select;
@extend
%unable-select;
&.d2-header-switch--active
{
&.d2-header-switch--active
{
opacity
:
1
;
opacity
:
1
;
}
}
...
...
src/components/d2-container/components/d2-source.vue
View file @
03064f7
<
template
>
<
template
>
<div
<div
v-if=
"show"
class=
"d2-source"
:class=
"
{ 'd2-source--active': isActive }" @click="handleClick">
v-if=
"show"
class=
"d2-source"
:class=
"
{ 'd2-source--active': isActive }"
@click="handleClick">
<d2-icon
name=
"code"
/>
本页源码
<d2-icon
name=
"code"
/>
本页源码
</div>
</div>
</
template
>
</
template
>
...
@@ -50,7 +46,8 @@ export default {
...
@@ -50,7 +46,8 @@ export default {
$
paddingLR
:
15px
;
$
paddingLR
:
15px
;
$
paddingTB
:
7px
;
$
paddingTB
:
7px
;
$
fontSize
:
12px
;
$
fontSize
:
12px
;
$
rightOuter
:
$
paddingLR
/
2
;
$
rightOuter
:
calc
(
$
paddingLR
/
2
);
//
$paddingLR/2
opacity
:
0
;
opacity
:
0
;
position
:
fixed
;
position
:
fixed
;
z-index
:
9999
;
z-index
:
9999
;
...
@@ -67,9 +64,11 @@ export default {
...
@@ -67,9 +64,11 @@ export default {
color
:
#FFF
;
color
:
#FFF
;
transition
:
all
.3s
;
transition
:
all
.3s
;
@extend
%unable-select;
@extend
%unable-select;
&.d2-source--active
{
&.d2-source--active
{
opacity
:
1
;
opacity
:
1
;
}
}
&
:hover
{
&
:hover
{
right
:
-
$
borderRadius
;
right
:
-
$
borderRadius
;
background-color
:
rgba
(
#000
,
.9
);
background-color
:
rgba
(
#000
,
.9
);
...
...
src/views/financeManage/account/offlineAccountList.vue
View file @
03064f7
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
</template>
</template>
</el-table-column>
</el-table-column>
</el-table-column> -->
</el-table-column> -->
<el-table-column
label=
"
导流
方"
<el-table-column
label=
"
流量
方"
align=
"center"
>
align=
"center"
>
<el-table-column
label=
"名称"
<el-table-column
label=
"名称"
prop=
"shopMerchantName"
prop=
"shopMerchantName"
...
...
src/views/financeManage/account/onlineAccountList.vue
View file @
03064f7
...
@@ -38,12 +38,16 @@
...
@@ -38,12 +38,16 @@
<el-table-column
label=
"主订单编号"
<el-table-column
label=
"主订单编号"
prop=
"orderCode"
prop=
"orderCode"
align=
"center"
align=
"center"
width=
"150px"
/>
width=
"150px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderCode
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"交易参考号"
<el-table-column
label=
"交易参考号"
prop=
"tradeNo"
prop=
"tradeNo"
align=
"center"
align=
"center"
width=
"150px"
>
width=
"150px"
>
<span
slot-scope=
"scope"
>
{{
scope
.
row
.
payOrder
?
scope
.
row
.
payOrder
.
tradeNo
:
''
}}
</span>
<span
slot-scope=
"scope"
>
{{ scope.row.payOrder ? scope.row.payOrder.tradeNo : '
-
' }}
</span>
</el-table-column>
</el-table-column>
<el-table-column
label=
"分账类型"
<el-table-column
label=
"分账类型"
align=
"center"
>
align=
"center"
>
...
@@ -53,7 +57,9 @@
...
@@ -53,7 +57,9 @@
<el-table-column
label=
"服务对接"
<el-table-column
label=
"服务对接"
prop=
"yqMerchantName"
prop=
"yqMerchantName"
align=
"center"
align=
"center"
width=
"170"
/>
width=
"170"
>
<span
slot-scope=
"scope"
>
{{ scope.row.yqMerchantName ? scope.row.yqMerchantName : '-' }}
</span>
</el-table-column>
<el-table-column
label=
"支付金额"
<el-table-column
label=
"支付金额"
prop=
"payMoney"
prop=
"payMoney"
align=
"center"
>
align=
"center"
>
...
@@ -126,12 +132,16 @@
...
@@ -126,12 +132,16 @@
</template>
</template>
</el-table-column>
</el-table-column>
</el-table-column> -->
</el-table-column> -->
<el-table-column
label=
"
导流
方"
<el-table-column
label=
"
流量
方"
align=
"center"
>
align=
"center"
>
<el-table-column
label=
"名称"
<el-table-column
label=
"名称"
prop=
"shopMerchantName"
prop=
"shopMerchantName"
align=
"center"
align=
"center"
width=
"100px"
/>
width=
"100px"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
shopMerchantName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"实际分账金额"
<el-table-column
label=
"实际分账金额"
prop=
"shopDivisionMoney"
prop=
"shopDivisionMoney"
width=
"110px"
width=
"110px"
...
@@ -162,8 +172,9 @@
...
@@ -162,8 +172,9 @@
<el-table-column
label=
"订单类型"
<el-table-column
label=
"订单类型"
prop=
"orderType"
prop=
"orderType"
align=
"center"
>
align=
"center"
>
<!-- goodsOrder.orderType 为null表示空 -->
<span
<span
slot-scope=
"scope"
>
{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '
-
' }}
</span>
slot-scope=
"scope"
>
{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '
无
' }}
</span>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
background
<el-pagination
background
...
@@ -202,7 +213,8 @@ export default {
...
@@ -202,7 +213,8 @@ export default {
successDate
:
''
,
successDate
:
''
,
divisionStatus
:
''
,
divisionStatus
:
''
,
yqMerchantId
:
''
,
yqMerchantId
:
''
,
realityPlatformMerchantId
:
''
realityPlatformMerchantId
:
''
,
orderType
:
''
},
},
searchSelectObj
:
{
searchSelectObj
:
{
orderOrTrade
:
{
orderOrTrade
:
{
...
@@ -399,7 +411,7 @@ export default {
...
@@ -399,7 +411,7 @@ export default {
this
.
total
=
res
.
total
this
.
total
=
res
.
total
this
.
tableList
.
forEach
(
item
=>
{
this
.
tableList
.
forEach
(
item
=>
{
item
.
divisionDateStr
=
item
.
divisionDate
?
Util
.
dateFormate
(
item
.
divisionDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
item
.
divisionDateStr
=
item
.
divisionDate
?
Util
.
dateFormate
(
item
.
divisionDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
item
.
successDateStr
=
item
.
payOrder
.
successDate
?
Util
.
dateFormate
(
item
.
payOrder
.
successDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
'
'
item
.
successDateStr
=
item
.
payOrder
?.
successDate
?
Util
.
dateFormate
(
item
.
payOrder
.
successDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
'-
'
})
})
})
})
},
},
...
...
src/views/goods/editProduct.vue
View file @
03064f7
...
@@ -40,6 +40,7 @@ export default {
...
@@ -40,6 +40,7 @@ export default {
goodsName
:
[{
required
:
true
,
message
:
'请输入产品名称'
,
trigger
:
'change'
}],
goodsName
:
[{
required
:
true
,
message
:
'请输入产品名称'
,
trigger
:
'change'
}],
sceneType
:
[{
required
:
true
,
message
:
'请选择所属场景'
,
trigger
:
'change'
}],
sceneType
:
[{
required
:
true
,
message
:
'请选择所属场景'
,
trigger
:
'change'
}],
goodsType
:
[{
required
:
true
,
message
:
'请选择类目'
,
trigger
:
'change'
}],
goodsType
:
[{
required
:
true
,
message
:
'请选择类目'
,
trigger
:
'change'
}],
supplierCode
:
[{
required
:
true
,
message
:
'请选择供应方'
,
trigger
:
'change'
}],
sapCode
:
[{
sapCode
:
[{
validator
:
(
rule
,
value
,
cb
)
=>
{
validator
:
(
rule
,
value
,
cb
)
=>
{
if
(
value
&&
(
!
/^
[
0-9A-Za-z
]
+$/
.
test
(
value
)))
{
if
(
value
&&
(
!
/^
[
0-9A-Za-z
]
+$/
.
test
(
value
)))
{
...
...
src/views/orderManage/orderSupplement.vue
View file @
03064f7
...
@@ -68,36 +68,39 @@
...
@@ -68,36 +68,39 @@
:selectable-fn=
"selectableFn"
>
:selectable-fn=
"selectableFn"
>
<template
slot=
"auth-button"
<template
slot=
"auth-button"
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<el-button
type=
"text"
<!-- 已分帐无可操作内容 -->
v-if=
"scope.scope.inputStatus == '1'"
<div
v-if=
"scope.scope.inputStatus !== '6'"
>
@
click=
"orderDetail(scope.scope)"
>
<el-button
type=
"text"
订单详情
v-if=
"scope.scope.inputStatus == '1'"
</el-button>
@
click=
"orderDetail(scope.scope)"
>
<el-button
type=
"text"
订单详情
v-if=
"scope.scope.inputStatus == '0'"
</el-button>
@
click=
"relatActivityOrder(scope.scope)"
>
<el-button
type=
"text"
关联活动订单
v-if=
"scope.scope.inputStatus == '0'"
</el-button>
@
click=
"relatActivityOrder(scope.scope)"
>
<el-button
type=
"text"
关联活动订单
v-if=
"scope.scope.inputStatus == '4'"
</el-button>
@
click=
"record(scope.scope)"
>
<el-button
type=
"text"
确认补录
v-if=
"scope.scope.inputStatus == '4'"
</el-button>
@
click=
"record(scope.scope)"
>
<el-button
type=
"text"
确认补录
v-if=
"scope.scope.inputStatus == '4'"
</el-button>
@
click=
"cancelRelat(scope.scope)"
>
<el-button
type=
"text"
取消关联
v-if=
"scope.scope.inputStatus == '4'"
</el-button>
@
click=
"cancelRelat(scope.scope)"
>
<el-button
type=
"text"
取消关联
v-if=
"scope.scope.inputStatus == '5'"
</el-button>
@
click=
"chooseRule(scope.scope)"
>
<el-button
type=
"text"
发起分账
v-if=
"scope.scope.inputStatus == '5'"
</el-button>
@
click=
"chooseRule(scope.scope)"
>
<el-button
type=
"text"
发起分账
v-if=
"scope.scope.manualFlag == '1'"
</el-button>
@
click=
"ruleHistory(scope.scope)"
>
<el-button
type=
"text"
分账记录
v-if=
"scope.scope.manualFlag == '1'"
</el-button>
@
click=
"ruleHistory(scope.scope)"
>
分账记录
</el-button>
</div>
</
template
>
</
template
>
</d2-table>
</d2-table>
</div>
</div>
...
@@ -334,6 +337,10 @@ export default {
...
@@ -334,6 +337,10 @@ export default {
{
{
confId
:
'5'
,
confId
:
'5'
,
confLabel
:
'未分账'
confLabel
:
'未分账'
},
{
confId
:
'6'
,
confLabel
:
'已分帐'
}
}
],
],
payTypeList
:
clonePayTypeList
payTypeList
:
clonePayTypeList
...
@@ -491,7 +498,7 @@ export default {
...
@@ -491,7 +498,7 @@ export default {
selectableFn
(
row
,
index
)
{
selectableFn
(
row
,
index
)
{
var
isSelect
=
true
var
isSelect
=
true
if
(
row
.
inputStatus
==
'1'
)
{
// 已补录流水
不可勾选
if
(
row
.
inputStatus
==
'1'
||
row
.
inputStatus
==
'6'
)
{
// 已补录流水/已分帐
不可勾选
isSelect
=
false
isSelect
=
false
}
}
return
isSelect
return
isSelect
...
...
src/views/systemConfig/merchant/financialRules/components/financialCalculationDialog.vue
View file @
03064f7
...
@@ -523,17 +523,17 @@ export default {
...
@@ -523,17 +523,17 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.d2-layout-header-aside-group
//
.d2-layout-header-aside-group
.d2-layout-header-aside-content
//
.d2-layout-header-aside-content
.d2-theme-container
//
.d2-theme-container
.d2-theme-container-main
//
.d2-theme-container-main
.d2-theme-container-main-body
//
.d2-theme-container-main-body
.container-component
//
.container-component
.d2-container-full
//
.d2-container-full
.d2-container-full__body
{
//
.d2-container-full__body
{
min-width
:
1300px
;
//
min-width
:
1300px
;
overflow
:
scroll
;
//
overflow
:
scroll
;
}
//
}
.division-test
{
.division-test
{
//
min-width
:
1364px
;
//
min-width
:
1364px
;
//
overflow
:
scroll
;
//
overflow
:
scroll
;
...
...
src/views/systemConfig/merchant/financialRules/index.vue
View file @
03064f7
...
@@ -52,13 +52,14 @@
...
@@ -52,13 +52,14 @@
controls-position=
"right"
controls-position=
"right"
size=
"small"
size=
"small"
:min=
"0"
:min=
"0"
:max=
"
3
0"
:max=
"
2
0"
:disabled=
"financialObj.
settleTimeType == 2 || financialObj.
autoFlag === 'N'"
/>
:disabled=
"financialObj.autoFlag === 'N'"
/>
日
日
<span
v-show=
"financialObj.settleTimeType == 1"
>
(分账后第2天到分账方对公账户)
</span>
<span
v-show=
"financialObj.settleTimeType == 1"
>
(分账后第2天到分账方对公账户)
</span>
</el-radio>
</el-radio>
</div>
</div>
<div
class=
"block_item"
>
<!-- v4.15.8紧急需求隐藏固定日期分账 -->
<!--
<div
class=
"block_item"
>
<el-radio
:label=
"2"
>
<el-radio
:label=
"2"
>
固定日期分账:每月
固定日期分账:每月
<el-input-number
v-model=
"settleTimeObj.second"
<el-input-number
v-model=
"settleTimeObj.second"
...
@@ -71,8 +72,8 @@
...
@@ -71,8 +72,8 @@
<span
<span
v-show=
"financialObj.settleTimeType == 2"
>
(上个月整月的分账金额于次月
{{
+
financialObj
.
settleTime
+
1
}}
日分账到分账方对公账户)
</span>
v-show=
"financialObj.settleTimeType == 2"
>
(上个月整月的分账金额于次月
{{
+
financialObj
.
settleTime
+
1
}}
日分账到分账方对公账户)
</span>
</el-radio>
</el-radio>
</div>
</div>
-->
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"平台方分账方"
<el-form-item
label=
"平台方分账方"
prop=
"realityPlatformMerchantId"
prop=
"realityPlatformMerchantId"
...
@@ -401,6 +402,8 @@ export default {
...
@@ -401,6 +402,8 @@ export default {
// 判空处理
// 判空处理
// result.goodsTypeGroupRules = [...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules]
// result.goodsTypeGroupRules = [...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules]
const
goodsTypeGroupRules
=
result
?.
goodsTypeGroupRules
const
goodsTypeGroupRules
=
result
?.
goodsTypeGroupRules
// 隐藏固定周期分账 处理历史数据
if
(
result
.
settleTimeType
==
2
)
result
.
settleTimeType
=
1
result
&&
(
this
.
financialObj
=
result
)
result
&&
(
this
.
financialObj
=
result
)
// function compare(property) {
// function compare(property) {
// return function (a, b) {
// return function (a, b) {
...
...
vue.config.js
View file @
03064f7
...
@@ -4,6 +4,7 @@ const forElementUI = require("webpack-theme-color-replacer/forElementUI")
...
@@ -4,6 +4,7 @@ const forElementUI = require("webpack-theme-color-replacer/forElementUI")
// const HardPlugin = require('hard-source-webpack-plugin') // 使用缓存,优化启动速度
// const HardPlugin = require('hard-source-webpack-plugin') // 使用缓存,优化启动速度
const
SentryWebpackPlugin
=
require
(
"@sentry/webpack-plugin"
)
const
SentryWebpackPlugin
=
require
(
"@sentry/webpack-plugin"
)
// const SpeedMeasurePlugin = require('speed-measure-webpack-plugin')
// const SpeedMeasurePlugin = require('speed-measure-webpack-plugin')
const
timeStamp
=
new
Date
().
getTime
()
const
CopyDir
=
require
(
"./plugins/copyDir"
)
const
CopyDir
=
require
(
"./plugins/copyDir"
)
// const AsyncRomveDir = require('./plugins/removeDir')
// const AsyncRomveDir = require('./plugins/removeDir')
const
os
=
require
(
"os"
)
const
os
=
require
(
"os"
)
...
@@ -13,7 +14,6 @@ const os = require("os")
...
@@ -13,7 +14,6 @@ const os = require("os")
*/
*/
function
getIpAddress
()
{
function
getIpAddress
()
{
var
ifaces
=
os
.
networkInterfaces
()
var
ifaces
=
os
.
networkInterfaces
()
for
(
var
dev
in
ifaces
)
{
for
(
var
dev
in
ifaces
)
{
const
iface
=
ifaces
[
dev
]
const
iface
=
ifaces
[
dev
]
...
@@ -99,6 +99,18 @@ module.exports = {
...
@@ -99,6 +99,18 @@ module.exports = {
}
}
},
},
configureWebpack
:
(
config
)
=>
{
configureWebpack
:
(
config
)
=>
{
// console.log(config, "config")
// debugger
config
.
output
=
{
...
config
.
output
,
// 把应用打包成umd库格式
library
:
"myLibrary"
,
// 输出重构 打包编译后的文件名称 【模块名称.时间戳】
filename
:
`[name].
${
timeStamp
}
.js`
,
libraryTarget
:
"umd"
,
globalObject
:
"this"
}
if
(
isDev
)
{
if
(
isDev
)
{
// if (!isDev) {
// if (!isDev) {
config
.
externals
=
{
config
.
externals
=
{
...
...
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