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
aaf52d9d
Commit
aaf52d9d
authored
Jun 20, 2023
by
吴卿华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
借支申请修改
parent
d4d2cb93
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
37 deletions
+48
-37
TBorrowingApplyForController.java
.../controller/transaction/TBorrowingApplyForController.java
+2
-1
TCashOperate.java
.../src/main/java/com/zehong/system/domain/TCashOperate.java
+9
-9
index.vue
precision-effect-web/src/views/for/index.vue
+37
-27
No files found.
precision-effect-admin/src/main/java/com/zehong/web/controller/transaction/TBorrowingApplyForController.java
View file @
aaf52d9d
...
...
@@ -132,7 +132,8 @@ public class TBorrowingApplyForController extends BaseController
tCashOperate
.
setOperateType
(
"2"
);
tCashOperate
.
setOperateAmount
(
tBorrowingApplyFor
.
getTotalFigures
());
tCashOperate
.
setIsDel
(
"0"
);
tCashOperate
.
setOperateType
(
"2"
);
tCashOperate
.
setDocumentType
(
"2"
);
tCashOperate
.
setRelationDoc
(
String
.
valueOf
(
tBorrowingApplyFor
.
getBorrowing
()));
tCashOperate
.
setOperateTime
(
new
Date
());
//增加资金操作记录
tCashOperateService
.
insertTCashOperate
(
tCashOperate
);
...
...
precision-effect-system/src/main/java/com/zehong/system/domain/TCashOperate.java
View file @
aaf52d9d
precision-effect-web/src/views/for/index.vue
View file @
aaf52d9d
...
...
@@ -130,9 +130,9 @@
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<el-dialog
:title=
"title"
:visible
.
sync=
"inser"
width=
"800px"
destroy-on-close
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
10
0px"
>
<!-- 借支申请 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"inser"
width=
"800px"
:close-on-click-modal=
"false"
destroy-on-close
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
8
0px"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"费用名称"
prop=
"feeName"
>
...
...
@@ -244,8 +244,8 @@
</el-dialog>
<!--
添加或修改借支申请对话框
-->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
destroy-on-close
>
<!--
审批
-->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
:close-on-click-modal=
"false"
destroy-on-close
>
<!-- <el-form ref="form" :model="form" :rules="rules" label-width="100px">-->
<!-- <el-row>-->
<!-- <el-col :span="12">-->
...
...
@@ -350,8 +350,8 @@
<!-- </el-form>-->
<el-form
label-width=
"
100px"
ref=
"form"
:model=
"form"
>
<el-row>
<el-form
label-width=
"
80px"
ref=
"form"
:model=
"form"
>
<el-row
style=
"height: 15px"
>
<el-col
:span=
"7"
>
<el-form-item
label=
"费用名称"
>
{{form.feeName}}
</el-form-item>
</el-col>
...
...
@@ -367,7 +367,7 @@
</el-row>
<el-divider></el-divider>
<el-row>
<el-row
style=
"height: 15px"
>
<el-col
:span=
"7"
>
<el-form-item
label=
"借支部门"
>
{{form.deptName}}
</el-form-item>
</el-col>
...
...
@@ -385,20 +385,20 @@
</el-col>
</el-row>
<el-divider></el-divider>
<el-row>
<el-row
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
>
{{form.remark}}
</el-form-item>
</el-col>
</el-row>
<el-divider></el-divider>
<el-row
>
<el-col
:span=
"24"
>
<el-form-item
label=
"审批人"
>
{{form.approvedUserIdName}}
</el-form-item
>
</el-col
>
</el-row
>
<!-- <el-row>--
>
<!-- <el-col :span="24">--
>
<!-- <el-form-item label="审批人">{{form.approvedUserIdName}}</el-form-item>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
<el-divider></el-divider
>
<!-- <el-divider></el-divider>--
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
v-if=
"form.attachmentUrl !=null"
label=
"附件"
prop=
"attachmentUrl"
>
...
...
@@ -425,9 +425,9 @@
</el-dialog>
<!-- 详情对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"detail"
width=
"800px"
destroy-on-close
>
<el-dialog
:title=
"title"
:visible
.
sync=
"detail"
width=
"800px"
:close-on-click-modal=
"false"
destroy-on-close
>
<el-form
label-width=
"100px"
ref=
"form"
:model=
"form"
>
<el-row>
<el-row
style=
"height: 15px"
>
<el-col
:span=
"7"
>
<el-form-item
label=
"费用名称"
>
{{form.feeName}}
</el-form-item>
</el-col>
...
...
@@ -439,7 +439,7 @@
</el-col>
</el-row>
<el-divider></el-divider>
<el-row>
<el-row
style=
"height: 15px"
>
<el-col
:span=
"7"
>
<el-form-item
label=
"借支部门"
>
{{form.deptName}}
</el-form-item>
</el-col>
...
...
@@ -449,16 +449,21 @@
<el-col
:span=
"8"
>
<el-form-item
label=
"审批时间"
>
{{form.approvalTime}}
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"小写合计"
>
{{form.totalFigures}}
</el-form-item>
</el-col>
</el-row>
<el-divider></el-divider>
<el-row>
<el-col
:span=
"24"
>
<el-row
style=
"height: 15px"
>
<el-col
:span=
"7"
>
<el-form-item
label=
"小写合计"
>
{{form.totalFigures}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"用途说明"
>
{{form.applicationDescription}}
</el-form-item>
</el-col>
</el-row>
<el-divider></el-divider>
<el-row>
<el-col
:span=
"24"
>
...
...
@@ -765,15 +770,19 @@ export default {
// this.$alert('部门余额不足,审批拒绝', '提示', {
// confirmButtonText: '确定',
// })
this
.
msgSuccess
(
"部门余额不足"
);
// this.msgSuccess("部门余额不足");
this
.
$message
({
message
:
'部门余额不足'
,
type
:
'warning'
});
}
else
{
// alert("审批成功")
this
.
msgSuccess
(
"审批成功"
);
}
//
this
.
open
=
false
;
this
.
getList
();
}
});
}
else
{
addFor
(
this
.
form
).
then
(
response
=>
{
...
...
@@ -870,3 +879,4 @@ export default {
background
:
#1890ff
;
}
</
style
>
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