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

99 lines
3.3 KiB

  1. <!-- 复溶 -->
  2. <template>
  3. <StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_fr'" @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: 'fr',
  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. ddsys:{
  28. type:"input",
  29. fillType:"preFill",
  30. },
  31. yq:{
  32. type:"yq",
  33. fillType:"actFill",
  34. },
  35. text2:{
  36. label:"仪器,吸取",
  37. type:"text",
  38. },
  39. ddsys2:{
  40. type:"input",
  41. fillType:"preFill",
  42. },
  43. sj:{
  44. type:"sj",
  45. fillType:"actFill",
  46. ylCode: "sjtj",
  47. dwCode: "sjtjdw",
  48. },
  49. text3:{
  50. label:"溶液,各预计加入休积为",
  51. type:"text",
  52. },
  53. yjtj:{
  54. type:"input",
  55. fillType:"preFill",
  56. },
  57. yjtjdw:{
  58. type:"select",
  59. fillType:"preFill",
  60. options: this.getDictOptions("business_tjdw"),
  61. selectTo:"sjtjdw"
  62. },
  63. text4:{
  64. label:",实际加入休积为",
  65. type:"text",
  66. },
  67. sjtj:{
  68. type:"input",
  69. fillType:"actFill",
  70. compareTo:"yjtj",
  71. copyFrom:"yjtj",
  72. },
  73. sjtjdw:{
  74. type:"select",
  75. fillType:"preFill",
  76. options: this.getDictOptions("business_tjdw"),
  77. },
  78. text5:{
  79. label:"进行复溶。",
  80. type:"text",
  81. }
  82. }
  83. }]
  84. if(this.sn==='fr_b'){
  85. config[0].config.remark = {
  86. type: "input",
  87. fillType: "actFill",
  88. }
  89. }
  90. return config
  91. }
  92. },
  93. }
  94. </script>
  95. <style lang="scss" scoped>
  96. </style>