fix: 记账管理,功能优化,编辑删除按钮功能完善。

This commit is contained in:
tianyongbao
2024-08-06 19:37:29 +08:00
parent 18e1050707
commit 2bd197ba59
5 changed files with 11 additions and 4 deletions

View File

@@ -342,6 +342,8 @@ function handleDelete(row) {
})
.then(() => {
getList()
getDebitList()
getcreditCardList()
proxy.$modal.msgSuccess('删除成功')
})
.catch(() => {})

View File

@@ -117,7 +117,7 @@ const debitCardList = ref([])
const title = ref('')
const operateList = ref([
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
])
const data = reactive({
@@ -307,6 +307,7 @@ function handleDelete(row) {
})
.then(() => {
getList()
getDebitList()
proxy.$modal.msgSuccess('删除成功')
})
.catch(() => {})

View File

@@ -117,7 +117,7 @@ const futruesStocksList = ref([])
const title = ref('')
const operateList = ref([
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
])
const data = reactive({
@@ -305,6 +305,7 @@ function handleDelete(row) {
})
.then(() => {
getList()
getFutruesStocksList()
proxy.$modal.msgSuccess('删除成功')
})
.catch(() => {})

View File

@@ -135,7 +135,7 @@ const createTimeLabel = ref('借贷时间')
const amountLabel = ref('借贷金额')
const operateList = ref([
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
])
const data = reactive({
@@ -363,6 +363,8 @@ function handleDelete(row) {
})
.then(() => {
getList()
getDebitList()
getLendList()
proxy.$modal.msgSuccess('删除成功')
})
.catch(() => {})

View File

@@ -131,7 +131,7 @@ const posMachineList = ref([])
const title = ref('')
const operateList = ref([
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
])
const data = reactive({
@@ -344,6 +344,7 @@ function handleDelete(row) {
})
.then(() => {
getList()
getBankCardLendList()
proxy.$modal.msgSuccess('删除成功')
})
.catch(() => {})