华西海圻ELN前端工程
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.8 KiB

  1. G<template>
  2. <!-- 详情 -->
  3. <div class="detail-container">
  4. <div class="header">
  5. <div @click="cancel" class="detail-cancel"><i class="el-icon-arrow-left"></i></div>
  6. <div>
  7. <el-button ><div>{{ $t('form.export') }}</div></el-button>
  8. </div>
  9. </div>
  10. <div class="detail-title"><img src="@/assets/images/detail-title.png" >麻精药详情<img src="@/assets/images/detail-title.png" ></img></div>
  11. <div class="content">
  12. <div class="content-title">
  13. <div class="line"></div>
  14. <div class="subtitle"> 基本信息</div>
  15. </div>
  16. <el-form ref="form" :model="form" :rules="rules" label-width="0px">
  17. <div class="pal">
  18. <div class="left">
  19. <div class="left-title">{{ $t('form.qmyy') }}</div>
  20. <el-form-item prop="qmyy">
  21. <el-input type="text" :value="form.qmyy" maxlength="50" disabled
  22. :placeholder="$t('form.placeholderInput')" />
  23. </el-form-item>
  24. </div>
  25. <div class="right">
  26. <div class="right-title">{{ $t('form.qmyy') }}</div>
  27. <el-form-item prop="qmyy">
  28. <el-input type="text" :value="form.qmyy" maxlength="50" disabled
  29. :placeholder="$t('form.placeholderInput')" />
  30. </el-form-item>
  31. </div>
  32. </div>
  33. </el-form>
  34. </div>
  35. </div>
  36. </template>
  37. <script>
  38. import { mjy_info } from "@/api/business/mjy/mjy"
  39. export default {
  40. name: "MjyXq",
  41. data() {
  42. return {
  43. form: {},
  44. rules: {
  45. }
  46. }
  47. },
  48. created() {
  49. },
  50. methods: {
  51. cancel() {
  52. this.$emit('cancel')
  53. },
  54. show(row) {
  55. mjy_info({ id: row.id }).then(response => {
  56. this.form = response.data
  57. this.open = false
  58. })
  59. this.open = true
  60. }
  61. }
  62. }
  63. </script>