(修复)修复问题单无法显示null的问题
This commit is contained in:
@@ -52,7 +52,7 @@ const headerData: ComputedRef<IPageHeaderProps> = computed(() => {
|
||||
name: loadingData.value.name as string
|
||||
}
|
||||
})
|
||||
// 切换is_main
|
||||
// 在表格切换is_main属性
|
||||
const beforeSwitchChange = (record: any) => {
|
||||
return async function (newVal: boolean) {
|
||||
await FragApi.update(record.id, {
|
||||
|
||||
@@ -123,6 +123,7 @@ import wtdGenerateApi from "@/api/generate/wtdGenerate"
|
||||
import { Message } from "@arco-design/web-vue"
|
||||
import Progress from "./cpns/progress.vue"
|
||||
import hoosk from "@/views/testmanage/projmanage/hooks.js"
|
||||
import { validateBlank } from "@/utils/extensions/arcoValidator"
|
||||
const router = useRouter()
|
||||
// 定义预览组件的Ref
|
||||
const previewRef = ref()
|
||||
@@ -500,7 +501,10 @@ const crudColumns = ref([
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
dataIndex: "ident",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "标识是必填" }],
|
||||
commonRules: [
|
||||
{ required: true, message: "标识是必填" },
|
||||
{ validator: validateBlank, message: "标识格式不正确" }
|
||||
],
|
||||
validateTrigger: "blur"
|
||||
},
|
||||
{
|
||||
@@ -536,7 +540,7 @@ const crudColumns = ref([
|
||||
{
|
||||
validator: (value, validationCallbackFunction) => {
|
||||
let beginTime = crudRef.value.getFormData().beginTime
|
||||
value < beginTime ? validationCallbackFunction("开始时间必须小于结束时间") : null
|
||||
value < beginTime ? validationCallbackFunction("开始时间必须小于等于结束时间") : null
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user