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

107 lines
3.5 KiB

  1. <!-- 核酸样品分装 -->
  2. <template>
  3. <StepFormPackage @clickButton="onHandleClickButton" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_hsypfz'" @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: 'hsypfz',
  14. },
  15. },
  16. components: {
  17. StepFormPackage
  18. },
  19. computed: {
  20. formConfig() {
  21. return [{
  22. config: {
  23. text1: {
  24. label: "使用移液器",
  25. type: "text",
  26. },
  27. yq: {
  28. fillType: "actFill",
  29. type: "yq",
  30. },
  31. text2: {
  32. label: "将提取的",
  33. type: "text",
  34. },
  35. rymc: {
  36. fillType: "preFill",
  37. type: "input",
  38. },
  39. text3: {
  40. label: "吸取到离心管中,其体积预计为",
  41. type: "text",
  42. },
  43. yjtj:{
  44. fillType: "preFill",
  45. type: "inputNumber",
  46. },
  47. yjtjdw:{
  48. fillType: "preFill",
  49. type: "select",
  50. selectTo: "sjtjdw",
  51. options:this.getDictOptions('business_tjdw'),
  52. },
  53. text4:{
  54. label: "实际体积为",
  55. type: "text",
  56. },
  57. sjtj:{
  58. fillType: "actFill",
  59. type: "inputNumber",
  60. compareTo:"yjtj",
  61. copyFrom:"yjtj"
  62. },
  63. sjtjdw:{
  64. fillType: "preFill",
  65. type: "select",
  66. options:this.getDictOptions('business_tjdw'),
  67. },
  68. text5:{
  69. label: "其编号为",
  70. type: "text",
  71. },
  72. lbbh:{
  73. fillType: "preFill",
  74. type: "input",
  75. },
  76. text6:{
  77. label: "-",
  78. type: "text",
  79. },
  80. //todo :自动生成
  81. lbbhCode:{
  82. fillType: "actFill",
  83. type: "input",
  84. },
  85. text7:{
  86. label: ",进行分装",
  87. type: "text",
  88. },
  89. //todo :有没有什么分装逻辑
  90. fzbutton:{
  91. type:"button",
  92. fillType: "actFill",
  93. fzType:"step",
  94. buttonName:"分装",
  95. maxVolumeField:"sjtj",
  96. maxVolumeUnitField:"sjtjdw",
  97. myCodeFields:["lbbh","lbbhCode"],
  98. },
  99. }
  100. }]
  101. }
  102. },
  103. }
  104. </script>
  105. <style lang="scss" scoped></style>