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
37ae3675
Commit
37ae3675
authored
Jun 24, 2023
by
lizhichao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://111.61.77.35:15/gengdidi/precision-effect
parents
851fa1cb
ef9d6f49
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
64 additions
and
14 deletions
+64
-14
TDebitCredit.java
.../src/main/java/com/zehong/system/domain/TDebitCredit.java
+20
-0
TTradeProject.java
...src/main/java/com/zehong/system/domain/TTradeProject.java
+20
-0
TDebitCreditMapper.xml
...src/main/resources/mapper/business/TDebitCreditMapper.xml
+2
-0
TTradeProjectMapper.xml
...rc/main/resources/mapper/business/TTradeProjectMapper.xml
+2
-0
index.vue
precision-effect-web/src/views/debit/index.vue
+6
-8
index.vue
precision-effect-web/src/views/purchase/index.vue
+8
-2
index.vue
precision-effect-web/src/views/trade/index.vue
+6
-4
No files found.
precision-effect-system/src/main/java/com/zehong/system/domain/TDebitCredit.java
View file @
37ae3675
...
...
@@ -119,6 +119,10 @@ public class TDebitCredit extends BaseEntity
private
String
lendManageName
;
private
Long
queryDebitDeptId
;
private
Long
queryLendDeptId
;
public
void
setDebitId
(
Long
debitId
)
{
this
.
debitId
=
debitId
;
...
...
@@ -354,6 +358,22 @@ public class TDebitCredit extends BaseEntity
this
.
lendManageName
=
lendManageName
;
}
public
Long
getQueryDebitDeptId
()
{
return
queryDebitDeptId
;
}
public
void
setQueryDebitDeptId
(
Long
queryDebitDeptId
)
{
this
.
queryDebitDeptId
=
queryDebitDeptId
;
}
public
Long
getQueryLendDeptId
()
{
return
queryLendDeptId
;
}
public
void
setQueryLendDeptId
(
Long
queryLendDeptId
)
{
this
.
queryLendDeptId
=
queryLendDeptId
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
precision-effect-system/src/main/java/com/zehong/system/domain/TTradeProject.java
View file @
37ae3675
...
...
@@ -112,6 +112,10 @@ public class TTradeProject extends BaseEntity
private
String
applyDeptManagerName
;
private
Long
queryApplyDeptId
;
private
Long
queryTradeDeptId
;
public
String
getDealRemark
()
{
return
dealRemark
;
}
...
...
@@ -372,6 +376,22 @@ public class TTradeProject extends BaseEntity
this
.
applyDeptManagerName
=
applyDeptManagerName
;
}
public
Long
getQueryApplyDeptId
()
{
return
queryApplyDeptId
;
}
public
void
setQueryApplyDeptId
(
Long
queryApplyDeptId
)
{
this
.
queryApplyDeptId
=
queryApplyDeptId
;
}
public
Long
getQueryTradeDeptId
()
{
return
queryTradeDeptId
;
}
public
void
setQueryTradeDeptId
(
Long
queryTradeDeptId
)
{
this
.
queryTradeDeptId
=
queryTradeDeptId
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
precision-effect-system/src/main/resources/mapper/business/TDebitCreditMapper.xml
View file @
37ae3675
...
...
@@ -94,6 +94,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"realPaymentDate != null "
>
and real_payment_date = #{realPaymentDate}
</if>
<if
test=
"realPaymentAcount != null "
>
and real_payment_acount = #{realPaymentAcount}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
<if
test=
"queryDebitDeptId != null "
>
and debit_dept_id = #{queryDebitDeptId}
</if>
<if
test=
"queryLendDeptId != null "
>
and lend_dept_id = #{queryLendDeptId}
</if>
</where>
</select>
...
...
precision-effect-system/src/main/resources/mapper/business/TTradeProjectMapper.xml
View file @
37ae3675
...
...
@@ -115,6 +115,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"attachmentUrl != null and attachmentUrl != ''"
>
and attachment_url = #{attachmentUrl}
</if>
<if
test=
"tradeStatus != null and tradeStatus != ''"
>
and trade_status = #{tradeStatus}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
<if
test=
"queryApplyDeptId != null"
>
and apply_dept_id = #{queryApplyDeptId}
</if>
<if
test=
"queryTradeDeptId != null"
>
and trade_dept_id = #{queryTradeDeptId}
</if>
</where>
order by update_time,create_time desc
</select>
...
...
precision-effect-web/src/views/debit/index.vue
View file @
37ae3675
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"借贷部门"
prop=
"
debitDeptId"
v-if=
"$store.state.user.roles.findIndex(item =>item == 'deptLeader') == -1
"
>
<el-form-item
label=
"借贷部门"
prop=
"
queryDebitDeptId
"
>
<treeselect
v-model=
"queryParams.
d
ebitDeptId"
v-model=
"queryParams.
queryD
ebitDeptId"
:options=
"queryDeptOptions"
:show-count=
"true"
placeholder=
"请输入借贷部门"
style=
"width: 200px"
/>
</el-form-item>
<el-form-item
label=
"出借部门"
prop=
"
lendDeptId"
v-if=
"$store.state.user.roles.findIndex(item =>item == 'deptLeader') == -1
"
>
<el-form-item
label=
"出借部门"
prop=
"
queryLendDeptId
"
>
<treeselect
v-model=
"queryParams.
l
endDeptId"
v-model=
"queryParams.
queryL
endDeptId"
:options=
"queryDeptOptions"
:show-count=
"true"
placeholder=
"请输入出借部门"
...
...
@@ -328,6 +328,8 @@ export default {
realPaymentAcount
:
null
,
isDel
:
null
,
queryType
:
"all"
,
queryDebitDeptId
:
null
,
queryLendDeptId
:
null
},
// 表单参数
form
:
{},
...
...
@@ -370,10 +372,6 @@ export default {
this
.
getDicts
(
"t_debit_status"
).
then
((
response
)
=>
{
this
.
debitStatusList
=
response
.
data
;
});
if
(
this
.
$store
.
state
.
user
.
roles
.
findIndex
(
item
=>
item
==
'deptLeader'
)
==
-
1
){
this
.
queryParams
.
queryType
=
""
;
}
},
methods
:
{
/** 查询借贷列表 */
...
...
precision-effect-web/src/views/purchase/index.vue
View file @
37ae3675
...
...
@@ -134,11 +134,17 @@
<
/template
>
<
/el-table-column
>
<!--
<
el
-
table
-
column
label
=
"备注"
align
=
"center"
prop
=
"remark"
/>-->
<
el
-
table
-
column
label
=
"审批人"
align
=
"center"
prop
=
"approvedUserName"
/>
<
el
-
table
-
column
label
=
"审批人"
align
=
"center"
prop
=
"approvedUserName"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.approvedUserName == null"
>-<
/span
>
<
span
v
-
else
>
{{
scope
.
row
.
approvedUserName
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"审批状态"
align
=
"center"
prop
=
"purchaseStatus"
:
formatter
=
"getPurchaseStatus"
width
=
"120"
/>
<
el
-
table
-
column
label
=
"审核时间"
align
=
"center"
prop
=
"approvedTime"
width
=
"180"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
approvedTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<
span
v
-
if
=
"scope.row.approvedUserName == null"
>-<
/span
>
<
span
v
-
else
>
{{
parseTime
(
scope
.
row
.
approvedTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
width
=
"220"
>
...
...
precision-effect-web/src/views/trade/index.vue
View file @
37ae3675
...
...
@@ -37,10 +37,10 @@
</el-select>
</el-form-item>
<el-form-item
label=
"卖方部门"
prop=
"
a
pplyDeptId"
>
<el-form-item
label=
"卖方部门"
prop=
"
queryA
pplyDeptId"
>
<div
style=
"width: 160px"
>
<treeselect
v-model=
"queryParams.
a
pplyDeptId"
v-model=
"queryParams.
queryA
pplyDeptId"
:options=
"deptOptions"
:show-count=
"true"
placeholder=
"请选择卖方部门"
...
...
@@ -48,10 +48,10 @@
</div>
</el-form-item>
<el-form-item
label=
"买方部门"
prop=
"
t
radeDeptId"
>
<el-form-item
label=
"买方部门"
prop=
"
queryT
radeDeptId"
>
<div
style=
"width: 160px"
>
<treeselect
v-model=
"queryParams.
t
radeDeptId"
v-model=
"queryParams.
queryT
radeDeptId"
:options=
"deptOptions"
:show-count=
"true"
placeholder=
"请选择买方部门"
...
...
@@ -369,6 +369,8 @@ export default {
tradeDeptId
:
null
,
tradeStatus
:
null
,
createTime
:
null
,
queryApplyDeptId
:
null
,
queryTradeDeptId
:
null
},
// 表单参数
form
:
{},
...
...
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