Commit 1e9789c4 by 袁成

fix: 错误信息

parent 677242dd
......@@ -16,6 +16,9 @@
<script>
import { compareData } from '../../../../@gms/gms-plugin-billexpand/src/components-control/util/dataChange'
const errMap = {
'bill.BillNotFound': '单据不存在'
}
export default {
props: {
config: {
......@@ -114,7 +117,7 @@ export default {
loadFinishFun(bill, err) {
if (!GMS.oldBillDataMap) GMS.oldBillDataMap = {}
if (err) {
this.$Message.error(err)
this.$Message.error(errMap[err]? errMap[err]: err)
setTimeout(() => {
this.forceClose = true
GMS.$hideContainer.$portalAPI.emit('entry-tag-close', nros.getCurrTag())
......
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