附件验证后验证
parent
58ce8e320b
commit
07fb9e07d1
|
@ -822,13 +822,14 @@
|
|||
let validStatus = !needValid
|
||||
if (needValid) {
|
||||
// 校验表单
|
||||
if (fileList && fileList.length === 0) {
|
||||
this.$message.error("未上传附件");
|
||||
return false
|
||||
}
|
||||
|
||||
this.$refs["contractProcessForm"].validate((valid) => {
|
||||
if (valid) {
|
||||
|
||||
if (fileList && fileList.length === 0) {
|
||||
this.$message.error("未上传附件");
|
||||
return false
|
||||
}
|
||||
|
||||
if (processType === saleContract) {
|
||||
if (!this.checkExpirationDate()) {
|
||||
return false
|
||||
|
|
|
@ -989,14 +989,15 @@
|
|||
}
|
||||
let validStatus = !needValid
|
||||
if (needValid) {
|
||||
if (fileList && fileList.length === 0) {
|
||||
this.$message.error("未上传附件");
|
||||
return false
|
||||
}
|
||||
// 校验表单
|
||||
this.$refs["contractProcessForm"].validate((valid) => {
|
||||
if (valid) {
|
||||
|
||||
if (fileList && fileList.length === 0) {
|
||||
this.$message.error("未上传附件");
|
||||
return false
|
||||
}
|
||||
|
||||
if (processType === saleContract) {
|
||||
if (!this.checkExpirationDate()) {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue