固定编码修改-zzy

This commit is contained in:
zhouzy062 2024-04-12 09:15:40 +08:00
parent 12d22b9181
commit 4683c1ca32
1 changed files with 5 additions and 3 deletions

View File

@ -413,9 +413,11 @@ export default {
/** 提交按钮 */
submitForm: function() {
// console.log(this.codeList)
if(this.hasDuplicateField(this.codeList, 'assetsCode')){
this.$modal.msgError("固定资产编码绑定失败,存在重复编码,请重新输入");
return false
if(this.form.fixCode==0){
if(this.hasDuplicateField(this.codeList, 'assetsCode')){
this.$modal.msgError("固定资产编码绑定失败,存在重复编码,请重新输入");
return false
}
}
if(this.codeList.length==0){
this.$modal.msgError("无新增编码绑定");