修改111
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user