Commit 36ec15b4 authored by lizhichao's avatar lizhichao

资金操作列表,添加单据类型

parent da99c20d
......@@ -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">
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment