sc
This commit is contained in:
@@ -430,7 +430,11 @@ async function handleSealup(row) {
|
|||||||
async function handleDetail(row) {
|
async function handleDetail(row) {
|
||||||
try {
|
try {
|
||||||
const data = await SalaryApi.getCommissionDetail({ id: row.grantId })
|
const data = await SalaryApi.getCommissionDetail({ id: row.grantId })
|
||||||
message.alert(data)
|
if (data) {
|
||||||
|
message.alert(data)
|
||||||
|
} else {
|
||||||
|
message.info('该员工未配置提成方案!')
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.error(error)
|
message.error(error)
|
||||||
console.log(error)
|
console.log(error)
|
||||||
|
|||||||
Reference in New Issue
Block a user