check.vue 655 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div class="inline-16">
  3. <el-popconfirm title="确定通过审核吗?" @confirm="CheckRow()">
  4. <el-button type="primary" slot="reference" :disabled="isEdit()" size="mini">审 核</el-button>
  5. </el-popconfirm>
  6. </div>
  7. </template>
  8. <script>
  9. export default {
  10. inject:['isEdit'],
  11. props: ['rowData'],
  12. methods: {
  13. async CheckRow() {
  14. let res = await this.$api.requested({
  15. "id": 20221025094304,
  16. "content": {
  17. "sa_itempriceadjustid":this.rowData.sa_itempriceadjustid
  18. },
  19. })
  20. this.tool.showMessage(res,() => {
  21. this.$emit('checkSuccess')
  22. })
  23. },
  24. },
  25. }
  26. </script>