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 da03f99b
authored
Jun 26, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加loading,加注释
1 parent
11b55242
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
src/views/financeManage/components/SystemBillDialog.vue
src/views/financeManage/downloadAccountDialog.vue
src/views/financeManage/components/SystemBillDialog.vue
View file @
da03f99
...
...
@@ -270,6 +270,7 @@ export default {
attr
:
'paymentTime'
,
type
:
'time'
}],
// 用于标记表头字段是否可以编辑(唯一标识:source + FieldCode)
trafficSourceEditList
:
[
'ORDERplatformMerchantId'
,
'ORDERshopDivisionMoney'
,
...
...
@@ -629,6 +630,7 @@ export default {
)
},
// 用于处理修改过的主订单(标记修改过的主订单),并放入tableModifyList中,调测算/提交接口时,作为updatedOrders传给后端。
dealModify
(
rowIndex
,
source
,
field
)
{
const
orderCode
=
this
.
tableList
[
rowIndex
].
ORDER
.
orderCode
const
isExitIdx
=
this
.
tableModifyList
.
findIndex
(
item
=>
item
.
orderCode
==
orderCode
)
...
...
@@ -668,7 +670,7 @@ export default {
this
.
billCompute
(
rowIndex
,
source
,
field
,
true
)
},
// 用户修改-删除
// 用户修改-删除
(用于标记用户删除的主订单),并放入tableDeleteList中,调测算/提交接口时,作为excludeBillOrderCodes传给后端。
modifyDelete
(
orderCode
)
{
const
isExitIdx
=
this
.
tableModifyList
.
findIndex
(
item
=>
item
.
orderCode
==
orderCode
)
if
(
isExitIdx
!=
-
1
)
{
...
...
@@ -841,6 +843,7 @@ export default {
})
},
// 处理动态表头信息,并将该列字段的特有属性写入,方便对表格里面的项做处理
dealTable
()
{
this
.
tableHeader
=
[]
const
moduleList
=
[...
new
Set
(
this
.
tmplFieldsList
.
map
(
item
=>
item
.
moduleName
))]
...
...
@@ -907,6 +910,7 @@ export default {
},
// 处理表格里面的数据,需结合表头这个字段的特有属性进行处理
dealTableData
()
{
this
.
tableList
=
[]
let
serialNo
=
0
...
...
@@ -959,13 +963,14 @@ export default {
console
.
log
(
this
.
originalOrderList
,
'this.originalOrderList----'
)
console
.
log
(
this
.
tableList
,
'this.tableList---'
)
},
// 判断表头字段是否可以批量编辑
judgeImgShow
(
obj
)
{
const
editList
=
this
[
this
.
billTypeStr
+
'SourceEditList'
]
const
source
=
this
.
tmplFieldsList
[
obj
.
$index
].
extInfo
.
source
const
fieldCode
=
this
.
tmplFieldsList
[
obj
.
$index
].
fieldCode
return
editList
.
includes
(
source
+
fieldCode
)
},
// 验证表单
//
批量修改弹窗 -
验证表单
batchValidateForm
()
{
const
value
=
this
.
batchForm
[
this
.
headObj
.
fieldCode
]
this
.
dialogErrors
=
{};
...
...
@@ -1057,6 +1062,7 @@ export default {
}
this
.
handelBatchVisible
()
},
// 表格的合计字段,根据后端来的数据写入
getSummaries
(
param
)
{
const
{
columns
,
data
}
=
param
;
const
sums
=
[];
...
...
src/views/financeManage/downloadAccountDialog.vue
View file @
da03f99
...
...
@@ -2,7 +2,7 @@
<
template
>
<d2-dialog
title=
"下载对账单"
:is-visible=
"accountVisible"
class=
"accountDailog"
width=
"688px"
btn-ok-label=
"下载"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<el-button
v-if=
"isTmpl"
slot=
"btn-start"
type=
"primary"
@
click=
"handleSystemBill"
>
系统对账
</el-button>
<el-form
ref=
"accountForm"
:model=
"infoForm"
:rules=
"formRules"
label-width=
"120px"
>
<el-form
ref=
"accountForm"
:model=
"infoForm"
:rules=
"formRules"
label-width=
"120px"
v-loading=
"loading"
>
<el-form-item
label=
"商户类型:"
prop=
"merchantType"
>
<el-radio-group
v-model=
"infoForm.merchantType"
@
change=
"changeType"
>
<el-radio
label=
"2"
>
...
...
@@ -102,6 +102,7 @@ export default {
}
}
return
{
loading
:
false
,
// 判断是否是模版模式
isTmpl
:
false
,
localTmplList
:
deepClone
(
localTmplList
),
...
...
@@ -257,6 +258,7 @@ export default {
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
selectMerchant
()
{
var
params
=
{}
this
.
loading
=
true
params
.
currentPage
=
1
params
.
pageSize
=
10000
var
merchantTypeList
=
[]
...
...
@@ -271,6 +273,8 @@ export default {
getMerchantPageSearch
(
params
).
then
(
res
=>
{
this
.
baseData
.
merchantList
=
res
.
list
this
.
infoForm
.
merchant
=
[]
}).
finally
(()
=>
{
this
.
loading
=
false
})
},
...
...
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