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

95 lines
3.1 KiB

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