修改111

This commit is contained in:
2025-04-17 15:46:32 +08:00
parent 88955a178b
commit 7590d546b2
10 changed files with 115 additions and 21 deletions

View File

@@ -603,10 +603,13 @@
try {
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
let res = await easOutInBillSync(type)
uni.showToast({
title: res.desc,
icon: 'none'
})
if (res) {
this._easOutInBillPage()
uni.showToast({
title: res.desc,
icon: 'none'
})
}
this.disabled1 = false
} catch (e) {
this.disabled1 = false
@@ -619,6 +622,21 @@
this.disabled1 = false
return
}
uni.showModal({
title: '提示',
content: '是否确认删除?',
cancelColor: '#fff',
confirmColor: '#fff',
success: (res) => {
if (res.confirm) {
this.__easOutInBillDelete()
} else if (res.cancel) {
this.disabled1 = false
}
}
})
},
async __easOutInBillDelete () {
try {
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
let res = await easOutInBillDelete(type, this.checkData)