Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
耿迪迪
precision-effect
Commits
36ec15b4
Commit
36ec15b4
authored
Jun 19, 2023
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资金操作列表,添加单据类型
parent
da99c20d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
TCashOperateMapper.xml
...src/main/resources/mapper/business/TCashOperateMapper.xml
+3
-1
index.vue
precision-effect-web/src/views/account/index.vue
+9
-1
No files found.
precision-effect-system/src/main/resources/mapper/business/TCashOperateMapper.xml
View file @
36ec15b4
...
...
@@ -16,10 +16,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"operateDeptName"
column=
"operate_dept_name"
/>
<result
property=
"documentType"
column=
"document_type"
/>
</resultMap>
<sql
id=
"selectTCashOperateVo"
>
select operate_id, operate_dept_id, operate_type, operate_amount, relation_doc, operate_time, create_time, update_time, is_del, remark,(SELECT dept_name FROM sys_dept WHERE dept_id = operate_dept_id)AS operate_dept_name from t_cash_operate
select operate_id, operate_dept_id, operate_type, operate_amount, relation_doc, operate_time, create_time, update_time, is_del, remark,
document_type,
(SELECT dept_name FROM sys_dept WHERE dept_id = operate_dept_id)AS operate_dept_name from t_cash_operate
</sql>
<select
id=
"selectTCashOperateList"
parameterType=
"TCashOperate"
resultMap=
"TCashOperateResult"
>
...
...
precision-effect-web/src/views/account/index.vue
View file @
36ec15b4
...
...
@@ -210,7 +210,15 @@
</
template
>
</el-table-column>
<el-table-column
label=
"金额"
align=
"center"
prop=
"operateAmount"
/>
<el-table-column
label=
"操作时间"
align=
"center"
prop=
"operateTime"
/>
<el-table-column
label=
"操作时间"
align=
"center"
prop=
"operateTime"
width=
"150"
/>
<el-table-column
label=
"单据类型"
align=
"center"
prop=
"documentType"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.documentType == '1'"
>
项目交易单
</span>
<span
v-if=
"scope.row.documentType == '2'"
>
借支申请
</span>
<span
v-if=
"scope.row.documentType == '3'"
>
外部采购单
</span>
<span
v-if=
"scope.row.documentType == '4'"
>
借贷申请
</span>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"operateListTotal > 0"
...
...
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