华西海圻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.

108 lines
3.2 KiB

  1. <!-- 试剂标记 -->
  2. <template>
  3. <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_sjbj'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
  4. </template>
  5. <script>
  6. import StepFormPackage from '@/components/Template/StepFormPackage.vue';
  7. import stepMixins from '@/components/Template/mixins/stepMixins.js';
  8. export default {
  9. mixins: [stepMixins],
  10. props: {
  11. sn: {
  12. type: String,
  13. default: 'sjbj',
  14. },
  15. },
  16. components: {
  17. StepFormPackage
  18. },
  19. computed: {
  20. formConfig() {
  21. let config = [{
  22. config: {
  23. text1: {
  24. label: "使用",
  25. type: "text",
  26. },
  27. yqmc: {
  28. fillType: "preFill",
  29. type: "input",
  30. },
  31. yq: {
  32. fillType: "actFill",
  33. type: "yq",
  34. },
  35. text2: {
  36. label: "仪器,分别向",
  37. type: "text",
  38. },
  39. jg: {
  40. fillType: "preFill",
  41. type: "input",
  42. },
  43. tyz: {
  44. fillType: "preFill",
  45. type: "input",
  46. },
  47. text3: {
  48. label: "加入",
  49. type: "text",
  50. },
  51. rymc:{
  52. fillType: "preFill",
  53. type: "input",
  54. },
  55. ry:{
  56. fillType: "actFill",
  57. type: "sj",
  58. ylCode: "sjtj",
  59. dwCode: "sjtjdw",
  60. },
  61. text4:{
  62. label: "溶液,预计各加入体积为",
  63. type: "text",
  64. },
  65. yjtj:{
  66. fillType: "preFill",
  67. type: "inputNumber",
  68. },
  69. yjtjdw:{
  70. fillType: "preFill",
  71. type: "select",
  72. selectTo: "sjtjdw",
  73. options:this.getDictOptions('business_tjdw'),
  74. },
  75. text5:{
  76. label: ",实际各加入体积为",
  77. type: "text",
  78. },
  79. sjtj:{
  80. fillType: "actFill",
  81. type: "inputNumber",
  82. compareTo:"yjtj",
  83. copyFrom:"yjtj"
  84. },
  85. sjtjdw:{
  86. fillType: "preFill",
  87. type: "select",
  88. options: this.getDictOptions('business_tjdw'),
  89. },
  90. text6:{
  91. label: "。",
  92. type: "text",
  93. },
  94. }
  95. }]
  96. return config
  97. }
  98. },
  99. }
  100. </script>
  101. <style lang="scss" scoped></style>