wujianwei
7 天以前 e38b54037fb3e2a7e2014c0f1931d026ac6f6972
ui/admin-ui3/src/views/tms/tmsArBill/index.vue
@@ -50,6 +50,10 @@
        <el-link size="small" type="primary" @click="handleLog(row)" class="link-btn" underline="never"
          icon="el-icon-tickets">日志
        </el-link>
         <el-link size="small" type="primary" @click="handleFlow(row)" class="link-btn" underline="never"
          icon="el-icon-document">
          审核日志
        </el-link>
      </template>
    </avue-crud>
@@ -128,6 +132,7 @@
  </basicContainer>
      <flowLog ref="flowLogIshow" :isShow="false" title="审核日志" :flowParams="flowParams"></flowLog>
</template>
<script setup name="tmsArBill" lang="ts">
@@ -139,7 +144,7 @@
  getTmsArBill,
  listTmsArBill,
  updateTmsArBill, cancelArBill,
  exportArBillFormat,manualPushTmsArBill
  exportArBillFormat,manualPushTmsArBill,listReceivableAuditLog
} from "@/api/tms/tmsArBill";
import useCurrentInstance from "@/utils/useCurrentInstance";
import { computed, reactive, ref, toRefs } from "vue";
@@ -517,4 +522,18 @@
    // 取消操作
  });
}
const flowLogIshow = ref()
const flowParams = ref([])
const handleFlow = (row: any) => {
  let data = {
    headId: row.id,
  }
  listReceivableAuditLog(data).then((res) => {
    flowParams.value = res.rows
    flowLogIshow.value.openModel()
  })
}
</script>