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
5ffed191
Commit
5ffed191
authored
Sep 05, 2021
by
季圣华
Browse files
给所有单据都增加审核功能
parent
56cc93b5
Changes
23
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/AllocationOutList.vue
View file @
5ffed191
...
...
@@ -68,6 +68,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -95,10 +97,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -165,6 +171,9 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -175,7 +184,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/AssembleList.vue
View file @
5ffed191
...
...
@@ -68,6 +68,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -95,10 +97,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -165,6 +171,9 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -175,7 +184,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/DisassembleList.vue
View file @
5ffed191
...
...
@@ -68,6 +68,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -95,10 +97,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -165,6 +171,9 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -175,7 +184,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/OtherInList.vue
View file @
5ffed191
...
...
@@ -77,6 +77,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -104,10 +106,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -176,6 +182,9 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -186,7 +195,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/OtherOutList.vue
View file @
5ffed191
...
...
@@ -77,6 +77,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -104,10 +106,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -176,6 +182,9 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -186,7 +195,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/PurchaseBackList.vue
View file @
5ffed191
...
...
@@ -77,6 +77,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -104,10 +106,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -188,6 +194,9 @@
}
},
{
title
:
'
退款
'
,
dataIndex
:
'
changeAmount
'
,
width
:
50
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -198,7 +207,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/PurchaseInList.vue
View file @
5ffed191
...
...
@@ -77,6 +77,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -105,10 +107,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -195,6 +201,9 @@
return
debt
?
debt
.
toFixed
(
2
):
''
}
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -205,7 +214,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/PurchaseOrderList.vue
View file @
5ffed191
...
...
@@ -78,7 +78,7 @@
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(
2
)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(
7
)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -184,7 +184,7 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
...
...
@@ -211,21 +211,6 @@
computed
:
{
},
methods
:
{
myHandleEdit
(
record
)
{
if
(
record
.
status
===
'
0
'
)
{
this
.
$refs
.
modalForm
.
action
=
"
edit
"
;
this
.
handleEdit
(
record
);
}
else
{
this
.
$message
.
warning
(
"
抱歉,只有未审核的单据才能编辑!
"
)
}
},
myHandleDelete
(
record
)
{
if
(
record
.
status
===
'
0
'
)
{
this
.
handleDelete
(
record
.
id
)
}
else
{
this
.
$message
.
warning
(
"
抱歉,只有未审核的单据才能删除!
"
)
}
}
}
}
</
script
>
...
...
jshERP-web/src/views/bill/RetailBackList.vue
View file @
5ffed191
...
...
@@ -77,6 +77,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -104,10 +106,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -177,6 +183,9 @@
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
付款
'
,
dataIndex
:
'
changeAmount
'
,
width
:
50
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -187,7 +196,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/RetailOutList.vue
View file @
5ffed191
...
...
@@ -77,6 +77,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -104,10 +106,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -177,6 +183,9 @@
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
收款
'
,
dataIndex
:
'
changeAmount
'
,
width
:
50
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -187,7 +196,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/SaleBackList.vue
View file @
5ffed191
...
...
@@ -78,6 +78,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -105,10 +107,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -188,6 +194,9 @@
}
},
{
title
:
'
退款
'
,
dataIndex
:
'
changeAmount
'
,
width
:
50
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -198,7 +207,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/SaleOrderList.vue
View file @
5ffed191
...
...
@@ -79,7 +79,7 @@
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(
2
)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(
7
)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -184,7 +184,7 @@
{
title
:
'
单据日期
'
,
dataIndex
:
'
operTimeStr
'
,
width
:
145
},
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
金额合计
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
70
,
align
:
"
center
"
,
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
70
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
...
...
jshERP-web/src/views/bill/SaleOutList.vue
View file @
5ffed191
...
...
@@ -78,6 +78,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -106,10 +108,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -195,6 +201,9 @@
return
debt
?
debt
.
toFixed
(
2
):
''
}
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -205,7 +214,8 @@
url
:
{
list
:
"
/depotHead/list
"
,
delete
:
"
/depotHead/delete
"
,
deleteBatch
:
"
/depotHead/deleteBatch
"
deleteBatch
:
"
/depotHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/depotHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/bill/mixins/BillListMixin.js
View file @
5ffed191
...
...
@@ -32,8 +32,19 @@ export const BillListMixin = {
this
.
handleAdd
();
},
myHandleEdit
(
record
)
{
this
.
$refs
.
modalForm
.
action
=
"
edit
"
;
this
.
handleEdit
(
record
);
if
(
record
.
status
===
'
0
'
)
{
this
.
$refs
.
modalForm
.
action
=
"
edit
"
;
this
.
handleEdit
(
record
);
}
else
{
this
.
$message
.
warning
(
"
抱歉,只有未审核的单据才能编辑!
"
)
}
},
myHandleDelete
(
record
)
{
if
(
record
.
status
===
'
0
'
)
{
this
.
handleDelete
(
record
.
id
)
}
else
{
this
.
$message
.
warning
(
"
抱歉,只有未审核的单据才能删除!
"
)
}
},
myHandleDetail
(
record
,
type
)
{
this
.
handleDetail
(
record
,
type
);
...
...
@@ -59,7 +70,7 @@ export const BillListMixin = {
},
removeStatusColumn
()
{
//没有审核反审核权限的时候直接移除状态列
if
(
this
.
btnEnableList
.
indexOf
(
2
)
===-
1
)
{
if
(
this
.
btnEnableList
.
indexOf
(
2
)
===-
1
&&
this
.
btnEnableList
.
indexOf
(
7
)
===-
1
)
{
this
.
columns
.
splice
(
7
,
1
)
}
},
...
...
jshERP-web/src/views/financial/AdvanceInList.vue
View file @
5ffed191
...
...
@@ -73,6 +73,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -100,10 +102,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -156,6 +162,9 @@
{
title
:
'
合计金额
'
,
dataIndex
:
'
totalPrice
'
,
width
:
80
},
{
title
:
'
收款金额
'
,
dataIndex
:
'
changeAmount
'
,
width
:
80
},
{
title
:
'
备注
'
,
dataIndex
:
'
remark
'
,
width
:
200
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -167,7 +176,8 @@
url
:
{
list
:
"
/accountHead/list
"
,
delete
:
"
/accountHead/delete
"
,
deleteBatch
:
"
/accountHead/deleteBatch
"
deleteBatch
:
"
/accountHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/accountHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/financial/GiroList.vue
View file @
5ffed191
...
...
@@ -64,6 +64,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -91,10 +93,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -144,6 +150,9 @@
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
实付金额
'
,
dataIndex
:
'
changeAmount
'
,
width
:
80
},
{
title
:
'
备注
'
,
dataIndex
:
'
remark
'
,
width
:
200
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -155,7 +164,8 @@
url
:
{
list
:
"
/accountHead/list
"
,
delete
:
"
/accountHead/delete
"
,
deleteBatch
:
"
/accountHead/deleteBatch
"
deleteBatch
:
"
/accountHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/accountHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/financial/ItemInList.vue
View file @
5ffed191
...
...
@@ -73,6 +73,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -100,10 +102,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -155,6 +161,9 @@
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
收入金额
'
,
dataIndex
:
'
changeAmount
'
,
width
:
80
},
{
title
:
'
备注
'
,
dataIndex
:
'
remark
'
,
width
:
200
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -166,7 +175,8 @@
url
:
{
list
:
"
/accountHead/list
"
,
delete
:
"
/accountHead/delete
"
,
deleteBatch
:
"
/accountHead/deleteBatch
"
deleteBatch
:
"
/accountHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/accountHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/financial/ItemOutList.vue
View file @
5ffed191
...
...
@@ -73,6 +73,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -100,10 +102,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -155,6 +161,9 @@
{
title
:
'
操作员
'
,
dataIndex
:
'
userName
'
,
width
:
80
},
{
title
:
'
支出金额
'
,
dataIndex
:
'
changeAmount
'
,
width
:
80
},
{
title
:
'
备注
'
,
dataIndex
:
'
remark
'
,
width
:
200
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -166,7 +175,8 @@
url
:
{
list
:
"
/accountHead/list
"
,
delete
:
"
/accountHead/delete
"
,
deleteBatch
:
"
/accountHead/deleteBatch
"
deleteBatch
:
"
/accountHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/accountHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/financial/MoneyInList.vue
View file @
5ffed191
...
...
@@ -73,6 +73,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -101,10 +103,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -158,6 +164,9 @@
{
title
:
'
优惠金额
'
,
dataIndex
:
'
discountMoney
'
,
width
:
80
},
{
title
:
'
实际收款
'
,
dataIndex
:
'
changeAmount
'
,
width
:
80
},
{
title
:
'
备注
'
,
dataIndex
:
'
remark
'
,
width
:
200
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -169,7 +178,8 @@
url
:
{
list
:
"
/accountHead/list
"
,
delete
:
"
/accountHead/delete
"
,
deleteBatch
:
"
/accountHead/deleteBatch
"
deleteBatch
:
"
/accountHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/accountHead/batchSetStatus
"
}
}
},
...
...
jshERP-web/src/views/financial/MoneyOutList.vue
View file @
5ffed191
...
...
@@ -73,6 +73,8 @@
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(7)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
...
...
@@ -101,10 +103,14 @@
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
h
andleDelete(record
.id
)"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() =>
myH
andleDelete(record)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
...
...
@@ -158,6 +164,9 @@
{
title
:
'
优惠金额
'
,
dataIndex
:
'
discountMoney
'
,
width
:
80
},
{
title
:
'
实际付款
'
,
dataIndex
:
'
changeAmount
'
,
width
:
80
},
{
title
:
'
备注
'
,
dataIndex
:
'
remark
'
,
width
:
200
},
{
title
:
'
状态
'
,
dataIndex
:
'
status
'
,
width
:
80
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderStatus
'
}
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
@@ -169,7 +178,8 @@
url
:
{
list
:
"
/accountHead/list
"
,
delete
:
"
/accountHead/delete
"
,
deleteBatch
:
"
/accountHead/deleteBatch
"
deleteBatch
:
"
/accountHead/deleteBatch
"
,
batchSetStatusUrl
:
"
/accountHead/batchSetStatus
"
}
}
},
...
...
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