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
2dc5a047
authored
2025-07-11 13:03:40 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
排序字段需设置必填
1 parent
7945a21a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
src/views/data_meta/components/standardDialog.vue
src/views/data_meta/components/standardDialog.vue
View file @
2dc5a04
...
...
@@ -404,6 +404,15 @@ function confirm () {
delete
body
.
fieldRSVOS
// return
const
request
=
props
.
type
===
'add'
?
saveMetaStandard
:
updateMetaStandard
if
(
!
fieldsDisabled
.
value
)
{
if
(
body
.
orderField
)
{
if
(
body
.
fieldRQVOS
?.
some
(
f
=>
f
.
fileNameCode
==
body
.
orderField
&&
f
.
isNotnull
!=
'Y'
))
{
ElMessage
.
error
(
'排序字段需设置必填'
)
return
;
}
}
}
debugger
confirmLoading
.
value
=
true
request
(
body
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
===
proxy
.
$passCode
)
{
...
...
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