Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
紫光云
web-project
Commits
0df7ec6b
Commit
0df7ec6b
authored
Mar 27, 2025
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(月度): 累计支付数精度
parent
d5a554ea
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
98 additions
and
146 deletions
+98
-146
biddingManagementEdit.vue
src/views/biddingManagement/biddingManagementEdit.vue
+1
-1
statisticsBidding.vue
src/views/biddingManagement/statisticsBidding.vue
+1
-1
biddingPlanEdit.vue
src/views/biddingPlan/biddingPlanEdit.vue
+1
-1
tableData.tsx
src/views/monthlyPlan/monthlyPlanEdit/tableData.tsx
+17
-1
data.tsx
src/views/settlementManagement/data.tsx
+1
-7
settlementManageEdit.vue
src/views/settlementManagement/settlementManageEdit.vue
+76
-134
statistics.vue
src/views/tendeYearManage/statistics.vue
+1
-1
No files found.
src/views/biddingManagement/biddingManagementEdit.vue
View file @
0df7ec6b
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
let
formSchema
=
tabsFormSchema
[
i
].
Form
[
1
];
let
formSchema
=
tabsFormSchema
[
i
].
Form
[
1
];
const
{
updateSchema
}
=
formSchema
;
const
{
updateSchema
}
=
formSchema
;
await
nextTick
(()
=>
{
await
nextTick
(()
=>
{
if
(
isSubmit
==
'0'
)
{
if
(
isSubmit
==
'0'
||
tabsFormSchema
[
i
].
show
==
false
)
{
updateSchema
([
updateSchema
([
{
field
:
'projectName'
,
required
:
false
},
{
field
:
'projectName'
,
required
:
false
},
{
field
:
'fundingSource'
,
required
:
false
},
{
field
:
'fundingSource'
,
required
:
false
},
...
...
src/views/biddingManagement/statisticsBidding.vue
View file @
0df7ec6b
...
@@ -378,7 +378,7 @@ const params = ref({ tenderYear: '', biddingQuarter: '', companyName: '' });
...
@@ -378,7 +378,7 @@ const params = ref({ tenderYear: '', biddingQuarter: '', companyName: '' });
width
:
180
,
width
:
180
,
},
},
{
{
title
:
'中标金额(
万
元)'
,
title
:
'中标金额(元)'
,
dataIndex
:
'winningAmount'
,
dataIndex
:
'winningAmount'
,
width
:
180
,
width
:
180
,
},
},
...
...
src/views/biddingPlan/biddingPlanEdit.vue
View file @
0df7ec6b
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
let
formSchema
=
tabsFormSchema
[
i
].
Form
[
1
];
let
formSchema
=
tabsFormSchema
[
i
].
Form
[
1
];
const
{
updateSchema
}
=
formSchema
;
const
{
updateSchema
}
=
formSchema
;
await
nextTick
(()
=>
{
await
nextTick
(()
=>
{
if
(
isSubmit
==
'0'
)
{
if
(
isSubmit
==
'0'
||
tabsFormSchema
[
i
].
show
==
false
)
{
updateSchema
([
updateSchema
([
{
field
:
'projectName'
,
required
:
false
},
{
field
:
'projectName'
,
required
:
false
},
{
field
:
'projectInitiator'
,
required
:
false
},
{
field
:
'projectInitiator'
,
required
:
false
},
...
...
src/views/monthlyPlan/monthlyPlanEdit/tableData.tsx
View file @
0df7ec6b
...
@@ -174,7 +174,7 @@ export const subFormSchema: FormSchema[] = [
...
@@ -174,7 +174,7 @@ export const subFormSchema: FormSchema[] = [
componentProps
:
({
formModel
})
=>
({
componentProps
:
({
formModel
})
=>
({
addonAfter
:
'万元'
,
addonAfter
:
'万元'
,
onChange
:
(
value
)
=>
{
onChange
:
(
value
)
=>
{
formModel
.
accumulatePayment
=
(
formModel
.
accumulatePaymentReserve
||
0
)
+
value
;
formModel
.
accumulatePayment
=
numberAdd
(
formModel
.
accumulatePaymentReserve
||
0
,
value
)
;
},
},
}),
}),
colProps
:
{
span
:
5
,
offset
:
1
},
colProps
:
{
span
:
5
,
offset
:
1
},
...
@@ -343,3 +343,19 @@ export const subFormSchema: FormSchema[] = [
...
@@ -343,3 +343,19 @@ export const subFormSchema: FormSchema[] = [
colProps
:
{
span
:
7
,
offset
:
1
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
},
];
];
function
numberAdd
(
arg1
,
arg2
)
{
let
r1
,
r2
,
m
,
n
;
try
{
r1
=
arg1
.
toString
().
split
(
'.'
)[
1
].
length
;
}
catch
(
e
)
{
r1
=
0
;
}
try
{
r2
=
arg2
.
toString
().
split
(
'.'
)[
1
].
length
;
}
catch
(
e
)
{
r2
=
0
;
}
m
=
Math
.
pow
(
10
,
Math
.
max
(
r1
,
r2
));
n
=
r1
>=
r2
?
r1
:
r2
;
return
((
arg1
*
m
+
arg2
*
m
)
/
m
).
toFixed
(
n
);
}
src/views/settlementManagement/data.tsx
View file @
0df7ec6b
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
h
}
from
'vue'
;
import
{
Switch
}
from
'ant-design-vue'
;
import
{
setRoleStatus
}
from
'@/api/demo/system'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
getDepartmentList
}
from
'@/api/project/settlementManage'
;
import
{
getDepartmentList
}
from
'@/api/project/settlementManage'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
FormActionType
}
from
'@/components/Form'
;
const
deptId
=
''
+
useUserStore
().
userInfo
.
deptParentId
;
const
deptId
=
useUserStore
().
userInfo
.
deptParentId
;
type
CheckedType
=
boolean
|
string
|
number
;
//主模块-结算管理列表页
//主模块-结算管理列表页
export
const
columns
:
BasicColumn
[]
=
[
export
const
columns
:
BasicColumn
[]
=
[
{
{
...
...
src/views/settlementManagement/settlementManageEdit.vue
View file @
0df7ec6b
This diff is collapsed.
Click to expand it.
src/views/tendeYearManage/statistics.vue
View file @
0df7ec6b
...
@@ -181,7 +181,7 @@
...
@@ -181,7 +181,7 @@
width
:
180
,
width
:
180
,
},
},
{
{
title
:
'中标金额(
万
元)'
,
title
:
'中标金额(元)'
,
dataIndex
:
'winningAmount'
,
dataIndex
:
'winningAmount'
,
width
:
180
,
width
:
180
,
},
},
...
...
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