Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
9e1fbd75
Commit
9e1fbd75
authored
Mar 04, 2025
by
zs嵩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量费用申请
parent
4a09c476
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
61 deletions
+59
-61
index.vue
src/views/ecw/order/feeApplicationBatch/index.vue
+59
-61
No files found.
src/views/ecw/order/feeApplicationBatch/index.vue
View file @
9e1fbd75
...
...
@@ -21,7 +21,7 @@
<el-table-column
:label=
"$t('货币类型')"
>
<
template
v-slot:default=
"scope"
>
<el-select
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.applicationFeeCurrency"
>
<el-option
v-for=
"item in
JSON.parse(currencys)
"
:key=
"item.id"
:label=
"isChinese ? item.titleZh : item.titleEn"
:value=
"item.id"
/>
<el-option
v-for=
"item in
currencyList
"
:key=
"item.id"
:label=
"isChinese ? item.titleZh : item.titleEn"
:value=
"item.id"
/>
</el-select>
</
template
>
</el-table-column>
...
...
@@ -51,12 +51,8 @@
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot:default=
"scope"
>
<el-tag
v-if=
"scope.row.status !== 0 && !scope.row.editMode"
>
{{
STATUS
[
scope
.
row
.
status
]
}}
</el-tag>
<!--el-button type="text" v-if="scope.row.status == 1" @click="examineFn">
{{
$t
(
'
审核中
'
)
}}
</el-button-->
<el-button
type=
"text"
v-if=
"scope.row.id && modifable(scope.row)"
@
click=
"modify(scope.row)"
>
{{
$t
(
"
修改
"
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status === 0"
@
click=
"del(scope.$index)"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.id && scope.row.applicationFee === 0 && scope.row.status === 2 && !scope.row.editMode"
@
click=
"deleteByFeeIsZero(scope.row.id)"
>
删除
</el-button>
<
template
slot-scope=
"{ index }"
>
<el-button
type=
"text"
@
click=
"del(index)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -101,59 +97,61 @@
</el-table-column>
<el-table-column
type=
"expand"
:label=
"$t('更多')"
>
<
template
slot-scope=
"{ row }"
>
<el-table
:data=
"row.orderFeeApplicationBaseVOList || []"
>
<el-table-column
:label=
"$t('序号')"
type=
"index"
></el-table-column>
<el-table-column
:label=
"$t('费用类型')"
>
<template
v-slot:default=
"scope"
>
<dict-selector
:disabled=
"!scope.row.editMode && !!scope.row.status"
:type=
"DICT_TYPE.FEE_TYPE"
v-model=
"scope.row.feeType"
@
change=
"updatePayer(scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('金额')"
>
<
template
v-slot:default=
"scope"
>
<el-input
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.applicationFee"
type=
"number"
@
input=
"formatAmount(scope.row)"
></el-input>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('货币类型')"
>
<
template
v-slot:default=
"scope"
>
<el-select
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.applicationFeeCurrency"
>
<el-option
v-for=
"item in JSON.parse(currencys)"
:key=
"item.id"
:label=
"isChinese ? item.titleZh : item.titleEn"
:value=
"item.id"
/>
</el-select>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('付款类型')"
>
<
template
v-slot=
"{ row }"
>
<dict-selector
:disabled=
"!row.editMode && !!row.status"
:type=
"DICT_TYPE.PAYMENT_TYPE"
v-model=
"row.payType"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('付款人')"
>
<
template
v-slot=
"{ row }"
>
<dict-selector
:disabled=
"!row.editMode && !!row.status"
:type=
"DICT_TYPE.DRAWEE"
:filter=
"payerDictFilter"
v-model=
"row.payer"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
>
<
template
v-slot:default=
"scope"
>
<el-input
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.remarks"
type=
"textarea"
></el-input>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('确认收款')"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.ECW_RECEIVABLE_STATE"
:value=
"scope.row.receiveFlag"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('申请人')"
>
<
template
v-slot:default=
"scope"
>
{{
scope
.
row
.
status
===
0
?
$t
(
"
未提交
"
)
:
scope
.
row
.
applicationAuthor
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot:default=
"scope"
>
<el-tag
v-if=
"scope.row.status !== 0 && !scope.row.editMode"
>
{{
STATUS
[
scope
.
row
.
status
]
}}
</el-tag>
<el-button
type=
"text"
v-if=
"scope.row.id && modifable(scope.row)"
@
click=
"modify(scope.row)"
>
{{
$t
(
"
修改
"
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status === 0"
@
click=
"del(scope.$index)"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.id && scope.row.applicationFee === 0 && scope.row.status === 2 && !scope.row.editMode"
@
click=
"deleteByFeeIsZero(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<div
style=
"padding: 20px; background: #f4f4f4; margin: 0 20px 0 100px; border: 1px solid #e4e4e4"
>
<el-table
:data=
"row.orderFeeApplicationBaseVOList || []"
border
size=
"mini"
>
<el-table-column
:label=
"$t('序号')"
type=
"index"
></el-table-column>
<el-table-column
:label=
"$t('费用类型')"
>
<template
v-slot:default=
"scope"
>
<dict-selector
:disabled=
"!scope.row.editMode && !!scope.row.status"
:type=
"DICT_TYPE.FEE_TYPE"
v-model=
"scope.row.feeType"
@
change=
"updatePayer(scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('金额')"
>
<
template
v-slot:default=
"scope"
>
<el-input
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.applicationFee"
type=
"number"
@
input=
"formatAmount(scope.row)"
></el-input>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('货币类型')"
>
<
template
v-slot:default=
"scope"
>
<el-select
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.applicationFeeCurrency"
>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"isChinese ? item.titleZh : item.titleEn"
:value=
"item.id"
/>
</el-select>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('付款类型')"
>
<
template
v-slot=
"{ row }"
>
<dict-selector
:disabled=
"!row.editMode && !!row.status"
:type=
"DICT_TYPE.PAYMENT_TYPE"
v-model=
"row.payType"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('付款人')"
>
<
template
v-slot=
"{ row }"
>
<dict-selector
:disabled=
"!row.editMode && !!row.status"
:type=
"DICT_TYPE.DRAWEE"
:filter=
"payerDictFilter"
v-model=
"row.payer"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
>
<
template
v-slot:default=
"scope"
>
<el-input
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.remarks"
type=
"textarea"
></el-input>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('确认收款')"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.ECW_RECEIVABLE_STATE"
:value=
"scope.row.receiveFlag"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('申请人')"
>
<
template
v-slot:default=
"scope"
>
{{
scope
.
row
.
status
===
0
?
$t
(
"
未提交
"
)
:
scope
.
row
.
applicationAuthor
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot:default=
"scope"
>
<el-tag
v-if=
"scope.row.status !== 0 && !scope.row.editMode"
>
{{
STATUS
[
scope
.
row
.
status
]
}}
</el-tag>
<el-button
type=
"text"
v-if=
"scope.row.id && modifable(scope.row)"
@
click=
"modify(scope.row)"
>
{{
$t
(
"
修改
"
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status === 0"
@
click=
"del(scope.$index)"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.id && scope.row.applicationFee === 0 && scope.row.status === 2 && !scope.row.editMode"
@
click=
"deleteByFeeIsZero(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
</template>
</el-table-column>
</el-table>
...
...
@@ -307,7 +305,7 @@ export default {
del
(
index
)
{
this
.
$confirm
(
this
.
$t
(
"
确定要删除此条费用申请么?
"
)).
then
(()
=>
{
this
.
l
ist
.
splice
(
index
,
1
)
this
.
batchApplyDetailsInfoVO
.
feeDetailsVOL
ist
.
splice
(
index
,
1
)
})
},
// 过滤订单状态筛选字典内容
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment