Browse Source

修改bug

master_hella_20240701
zhaoyiran 8 months ago
parent
commit
07c0bb74b0
  1. 5
      src/views/qms/sampleCode/index.vue

5
src/views/qms/sampleCode/index.vue

@ -156,6 +156,11 @@ const openForm = (type: string, row?: any) => {
// form // form
const formsSuccess = async (formType,data) => { const formsSuccess = async (formType,data) => {
if(data.batchLowLimiting >= data.batchUpperLimiting){
message.alertWarning('批量上限须大于批量下限')
basicFormRef.value.formLoading = false
return
}
var isHave =SampleCode.allSchemas.formSchema.some(function (item) { var isHave =SampleCode.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime'; return item.field === 'activeTime' || item.field === 'expireTime';
}); });

Loading…
Cancel
Save