562ed4f0 by lihua

排序字段需设置必填

1 parent 2c0e386e
...@@ -404,6 +404,15 @@ function confirm () { ...@@ -404,6 +404,15 @@ function confirm () {
404 delete body.fieldRSVOS 404 delete body.fieldRSVOS
405 // return 405 // return
406 const request = props.type === 'add' ? saveMetaStandard : updateMetaStandard 406 const request = props.type === 'add' ? saveMetaStandard : updateMetaStandard
407 if (!fieldsDisabled.value) {
408 if (body.orderField) {
409 if (body.fieldRQVOS?.some(f => f.fileNameCode == body.orderField && f.isNotnull != 'Y')) {
410 ElMessage.error('排序字段需设置必填')
411 return;
412 }
413 }
414 }
415 debugger
407 confirmLoading.value = true 416 confirmLoading.value = true
408 request(body).then((res:any) => { 417 request(body).then((res:any) => {
409 if (res.code === proxy.$passCode) { 418 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!