562ed4f0 by lihua

排序字段需设置必填

1 parent 2c0e386e
......@@ -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) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!