修改新旧拆分单对比--全文比对

This commit is contained in:
范强强
2024-03-08 17:37:24 +08:00
parent b37c635df7
commit efcb815e2a
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -355,6 +355,14 @@ export default {
file.uploadGoOn = false
return false
}
if (this.fileType === 'docx') {
if (!(fileSuffix === 'docx')) {
this.$message.warning(this.$t('uploadFile.pleaseUpload') + `${this.fileType}` + this.$t('uploadFile.file'))
this.uploadGoOn = false
file.uploadGoOn = false
return false
}
}
if (this.fileType.indexOf(fileSuffix) === -1) {
this.$message.warning(this.$t('uploadFile.pleaseUpload') + `${this.fileType}` + this.$t('uploadFile.file'))
this.uploadGoOn = false
@@ -71,7 +71,7 @@
return-id
:number="1"
class="line-btn"
file-type="doc,docx" />
file-type="docx" />
</div>
</a-form-item>
</a-form>