|
|
@@ -585,8 +585,8 @@ const validateTotalTime = (_rule: any, _value: any, callback: any) => {
|
|
|
// }
|
|
|
|
|
|
const validateLastCurrentDepth = (_rule: any, value: any, callback: any) => {
|
|
|
- if (value && value >= (form.value.lastCurrentDepth ?? 0)) {
|
|
|
- callback(new Error('当前深度需大于上一次填报深度'))
|
|
|
+ if (value && value < (form.value.lastCurrentDepth ?? 0)) {
|
|
|
+ callback(new Error('当前深度需大于等于上一次填报深度'))
|
|
|
} else {
|
|
|
callback()
|
|
|
}
|