qsh 3 months ago
parent 2af1282718
commit 70dcf5bc28
  1. 6
      src/views/Home/Salary/index.vue

@ -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)

Loading…
Cancel
Save