修改新旧拆分单对比--全文比对
This commit is contained in:
@@ -355,6 +355,14 @@ export default {
|
|||||||
file.uploadGoOn = false
|
file.uploadGoOn = false
|
||||||
return 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) {
|
if (this.fileType.indexOf(fileSuffix) === -1) {
|
||||||
this.$message.warning(this.$t('uploadFile.pleaseUpload') + `${this.fileType}` + this.$t('uploadFile.file'))
|
this.$message.warning(this.$t('uploadFile.pleaseUpload') + `${this.fileType}` + this.$t('uploadFile.file'))
|
||||||
this.uploadGoOn = false
|
this.uploadGoOn = false
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
return-id
|
return-id
|
||||||
:number="1"
|
:number="1"
|
||||||
class="line-btn"
|
class="line-btn"
|
||||||
file-type="doc,docx" />
|
file-type="docx" />
|
||||||
</div>
|
</div>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-form>
|
</a-form>
|
||||||
|
|||||||
Reference in New Issue
Block a user