固定编码修改-zzy
This commit is contained in:
parent
12d22b9181
commit
4683c1ca32
|
|
@ -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("无新增编码绑定");
|
||||
|
|
|
|||
Loading…
Reference in New Issue