Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
81bac343
Commit
81bac343
authored
Jul 06, 2021
by
季圣华
Browse files
优化单据的提示图标的展示逻辑
parent
1db9b945
Changes
24
Show whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/MoneyInList.vue
View file @
81bac343
...
...
@@ -46,7 +46,7 @@
</a-dropdown>
<a-tooltip
placement=
"left"
title=
"收款单所收金额只对付款单位的应收应付产生影响,可以在回款统计中进行查看。
收款单的优惠金额会对利润产生影响,但不影响付款单位的应收应付。优惠金额计入收入类的收款优惠中。"
slot=
"action"
>
<a-icon
type=
"info-circle"
style=
"font-size:20px;float:right;"
/>
<a-icon
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"info-circle"
style=
"font-size:20px;float:right;"
/>
</a-tooltip>
</div>
<!-- table区域-begin -->
...
...
jshERP-web/src/views/financial/MoneyOutList.vue
View file @
81bac343
...
...
@@ -46,7 +46,7 @@
</a-dropdown>
<a-tooltip
placement=
"left"
title=
"付款单的要素和录入原则与“收款单”相同。
付款单中优惠金额计入支出类中的付款优惠中,为负值 (因优惠意味着实际少付款)。"
slot=
"action"
>
<a-icon
type=
"info-circle"
style=
"font-size:20px;float:right;"
/>
<a-icon
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"info-circle"
style=
"font-size:20px;float:right;"
/>
</a-tooltip>
</div>
<!-- table区域-begin -->
...
...
jshERP-web/src/views/system/TenantList.vue
View file @
81bac343
...
...
@@ -23,6 +23,16 @@
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"border-top: 5px"
>
<a-button
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check-square"
/>
启用
</a-menu-item>
<a-menu-item
key=
"2"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"close-square"
/>
禁用
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
...
...
@@ -35,10 +45,16 @@
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderFlag"
slot-scope=
"enabled"
>
<a-tag
v-if=
"enabled"
color=
"green"
>
启用
</a-tag>
<a-tag
v-if=
"!enabled"
color=
"orange"
>
禁用
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -78,6 +94,9 @@
{
title
:
'
登录名称
'
,
dataIndex
:
'
loginName
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
用户数量限制
'
,
dataIndex
:
'
userNumLimit
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
单据数量限制
'
,
dataIndex
:
'
billsNumLimit
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
状态
'
,
dataIndex
:
'
enabled
'
,
width
:
70
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderFlag
'
}
},
{
title
:
'
创建时间
'
,
dataIndex
:
'
createTimeStr
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
操作
'
,
...
...
@@ -88,7 +107,8 @@
}
],
url
:
{
list
:
"
/tenant/list
"
list
:
"
/tenant/list
"
,
batchSetStatusUrl
:
"
/tenant/batchSetStatus
"
},
}
},
...
...
jshERP-web/src/views/user/Login.vue
View file @
81bac343
...
...
@@ -191,6 +191,10 @@
err
.
message
=
'
用户被禁用
'
;
this
.
requestFailed
(
err
)
this
.
Logout
();
}
else
if
(
res
.
data
.
msgTip
==
'
tenant is black
'
){
err
.
message
=
'
用户所属的租户被禁用
'
;
this
.
requestFailed
(
err
)
this
.
Logout
();
}
else
if
(
res
.
data
.
msgTip
==
'
access service error
'
){
err
.
message
=
'
查询服务异常
'
;
this
.
requestFailed
(
err
)
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment