Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a92992c1
authored
2025-04-18 10:25:41 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合同进度一览bug修改
1 parent
9c5ba139
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
src/views/data_asset/contractProgress.vue
src/views/data_asset/contractProgress.vue
View file @
a92992c
...
...
@@ -173,7 +173,7 @@ const getNodeSteps = (scope) => {
value
:
index
+
1
}
}),
step
:
scope
.
row
.
contractNodes
.
length
-
1
step
:
!
scope
.
row
.
contractNodes
?.
length
?
null
:
(
scope
.
row
.
contractNodes
.
length
-
1
)
}
}
...
...
@@ -327,6 +327,11 @@ const drawerBtnClick = async (btn, info) => {
if
(
btn
.
value
==
'cancel'
)
{
drawerInfo
.
value
.
visible
=
false
;
}
else
{
if
(
info
.
partyAGuid
==
info
.
partyBGuid
)
{
proxy
.
$ElMessage
.
error
(
`甲方名称跟乙方名称不能选择同一个`
);
drawerRef
.
value
?.
getDrawerConRef
(
'drawerFormRef'
)?.
ruleFormRef
?.
scrollToField
(
'partyAGuid'
);
return
;
}
let
res
=
await
validate
();
if
(
!
res
)
{
return
...
...
@@ -572,9 +577,10 @@ const nodeFormRules = ref({
const
addNode
=
()
=>
{
let
len
=
nodesInfo
.
value
.
length
;
let
code
=
contractNodeCodes
.
value
[
len
];
let
nodeList
=
drawerRef
.
value
?.
getDrawerConRef
(
'drawerFormRef'
)?.
formInline
?.
contractTypeCode
==
'2'
?
tradeContractNodesList
.
value
:
registerContractNodesList
.
value
;
nodesInfo
.
value
.
push
({
contractNodeCode
:
code
,
contractNodeName
:
registerContractNodesList
.
value
.
find
(
r
=>
r
.
value
==
code
)?.
label
||
tradeContractNodesList
.
value
.
find
(
r
=>
r
.
value
==
code
)?.
label
,
contractNodeName
:
nodeList
.
find
(
r
=>
r
.
value
==
code
)?.
label
,
nodeFormItems
:
cloneDeep
(
nodeFormItems
.
value
),
nodeFormRules
:
nodeFormRules
.
value
})
...
...
@@ -718,7 +724,7 @@ onBeforeMount(() => {
<el-icon>
<Plus
/>
</el-icon>
<span>
新增
规则
</span>
<span>
新增
进展
</span>
</div>
</
template
>
</template>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment