Commit dd458d64 by 乔延琦

Merge branch 'develop-fengjiansheng' into 'develop'

fix(@gms/gms-plugin-billexpand): 保存和暂存按钮报错信息

See merge request GFP/RBC/rbc-frontend!39
parents 9ac4722f a4b3f92d
......@@ -119,6 +119,13 @@ export default {
});
}
})
.catch((error) => {});
.catch((error) => {
console.log(error)
bill.setControlsSate(param["_control_name_"], "enable", true);
GMS.vbus.$Message.error({
content: errorMessageUtil.saveAction.getCommonMessage(),
duration: 3
});
});
},
}
\ No newline at end of file
}
......@@ -107,7 +107,13 @@ export default {
duration: 3
});
}
}).catch(() => {
}).catch((error) => {
console.log(error)
bill.setControlsSate(param["_control_name_"], "enable", true);
GMS.vbus.$Message.error({
content: errorMessageUtil.tempSaveAction.getCommonMessage(),
duration: 3
});
});
},
}
......@@ -35,6 +35,9 @@ export default {
}
}
return errorPreMessage === "" ? this.commonMessage : errorPreMessage + this.getErrorBaseDataName(a);
},
getCommonMessage(){
return this.commonMessage;
}
},
tempSaveAction: {
......@@ -51,6 +54,9 @@ export default {
}
}
return errorPreMessage === "" ? this.commonMessage : errorPreMessage + this.saveAction.getErrorBaseDataName(a);
},
getCommonMessage(){
return this.commonMessage;
}
},
submitAction: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment