|
@@ -2,7 +2,7 @@
|
2
|
2
|
* @Author: ysh
|
3
|
3
|
* @Date: 2024-04-30 09:03:14
|
4
|
4
|
* @LastEditors: Please set LastEditors
|
5
|
|
- * @LastEditTime: 2024-07-12 10:12:15
|
|
5
|
+ * @LastEditTime: 2024-07-15 09:29:00
|
6
|
6
|
-->
|
7
|
7
|
<template>
|
8
|
8
|
<div class="app-container" v-loading="loading">
|
|
@@ -308,7 +308,7 @@
|
308
|
308
|
</el-input> -->
|
309
|
309
|
<el-select v-model="dept.content" placeholder="请选择" filterable clearable style="width:100%;"
|
310
|
310
|
:disabled="isModify">
|
311
|
|
- <el-option v-for=" item in deptList " :key="item.deptId" :label="item.deptName"
|
|
311
|
+ <el-option v-for="item in $store.state.user.deptList" :key="item.deptId" :label="item.deptName"
|
312
|
312
|
:value="item.deptName">
|
313
|
313
|
</el-option>
|
314
|
314
|
</el-select>
|
|
@@ -533,7 +533,7 @@ export default {
|
533
|
533
|
'chooseProject.projectId'(val) {
|
534
|
534
|
this.getBudgetSettle();
|
535
|
535
|
},
|
536
|
|
- 'taskForm.formId'(){
|
|
536
|
+ 'taskForm.formId'() {
|
537
|
537
|
this.initForm();
|
538
|
538
|
}
|
539
|
539
|
},
|
|
@@ -817,9 +817,14 @@ export default {
|
817
|
817
|
if (vaild) {
|
818
|
818
|
this.preserve();
|
819
|
819
|
if (this.taskName == "结算发起") {
|
820
|
|
- getUserByRole({ roleId: 4 }).then((res) => {
|
821
|
|
- this.getNextFlowNodeFn(res.data[0]);
|
822
|
|
- });
|
|
820
|
+ this.$confirm('结算合计总金额大于了预算内项目结算总金额,将走《超预算或预算外支付(报销)》流程', '提示', {
|
|
821
|
+ confirmButtonText: '确定',
|
|
822
|
+ type: 'warning'
|
|
823
|
+ }).then(() => {
|
|
824
|
+ getUserByRole({ roleId: 4 }).then((res) => {
|
|
825
|
+ this.getNextFlowNodeFn(res.data[0]);
|
|
826
|
+ });
|
|
827
|
+ })
|
823
|
828
|
} else if (this.taskName == "综合事务部处理") {
|
824
|
829
|
this.getNextFlowNodeFn(null, 109, false);
|
825
|
830
|
} else if (this.taskName == "技术质量部审核") {
|
|
@@ -1008,14 +1013,9 @@ export default {
|
1008
|
1013
|
}
|
1009
|
1014
|
this.settleSumTr.amount = sum.toFixed(2);
|
1010
|
1015
|
if (sum > this.budgetSettle) {
|
1011
|
|
- this.$confirm('结算合计总金额大于了预算内项目结算总金额,将走《超预算或预算外支付(报销)》流程', '提示', {
|
1012
|
|
- confirmButtonText: '确定',
|
1013
|
|
- type: 'warning'
|
1014
|
|
- }).then(() => {
|
1015
|
|
- this.exceed = true;
|
1016
|
|
- this.calcaulatExceed();
|
1017
|
|
- return
|
1018
|
|
- })
|
|
1016
|
+ this.exceed = true;
|
|
1017
|
+ this.calcaulatExceed();
|
|
1018
|
+
|
1019
|
1019
|
} else {
|
1020
|
1020
|
this.exceed = false;
|
1021
|
1021
|
}
|