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