|
|
@ -295,6 +295,9 @@ |
|
|
|
<span v-if="row.status == 0">封存</span> |
|
|
|
<span v-if="row.status == 0">封存</span> |
|
|
|
<span v-else-if="row.status == 1">已封存</span> |
|
|
|
<span v-else-if="row.status == 1">已封存</span> |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" v-if="row.grantId" text @click="handleDetail(row)"> |
|
|
|
|
|
|
|
提成明细 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -423,6 +426,16 @@ async function handleSealup(row) { |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async function handleDetail(row) { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
const data = await SalaryApi.getCommissionDetail({ id: row.grantId }) |
|
|
|
|
|
|
|
message.alert(data) |
|
|
|
|
|
|
|
} catch (error) { |
|
|
|
|
|
|
|
message.error(error) |
|
|
|
|
|
|
|
console.log(error) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|