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

127 lines
4.5 KiB

  1. <!-- 振摇混匀 -->
  2. <template>
  3. <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_zyhy" @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: 'zyhy',
  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. yq:{
  28. type:"input",
  29. fillType:"preFill",
  30. },
  31. yq1:{
  32. type:"yq",
  33. fillType:"actFill",
  34. },
  35. text2:{
  36. label:",设置预计转速",
  37. type:"text",
  38. },
  39. yjzs:{
  40. type:"inputNumber",
  41. fillType:"preFill",
  42. },
  43. yjzsdw:{
  44. type:"select",
  45. options:this.getDictOptions("business_zsdw"),
  46. selectTo:"sjzsdw",
  47. fillType:"preFill",
  48. },
  49. text3:{
  50. label:",实际转速为",
  51. type:"text",
  52. },
  53. sjzs:{
  54. type:"inputNumber",
  55. fillType:"actFill",
  56. compareTo:"yjzs",
  57. copyFrom:"yjzs"
  58. },
  59. sjzsdw:{
  60. type:"select",
  61. options:this.getDictOptions("business_zsdw"),
  62. fillType:"preFill",
  63. },
  64. text4:{
  65. label:",预计时长为",
  66. type:"text",
  67. },
  68. yjsc:{
  69. type:"inputNumber",
  70. fillType:"preFill",
  71. },
  72. yjscdw:{
  73. type:"select",
  74. options:this.getDictOptions("business_yqscdw"),
  75. selectTo:"sjscdw",
  76. fillType:"preFill",
  77. },
  78. text5:{
  79. label:",实际时长为",
  80. type:"text",
  81. },
  82. sjsc:{
  83. type:"inputNumber",
  84. fillType:"actFill",
  85. compareTo:"yjsc",
  86. copyFrom:"yjsc"
  87. },
  88. sjscdw:{
  89. type:"select",
  90. options:this.getDictOptions("business_yqscdw"),
  91. fillType:"preFill",
  92. },
  93. text6:{
  94. label:",对上表进行混匀,混匀",
  95. type:"text",
  96. },
  97. startDate: {
  98. type: "input",
  99. fillType: "actFill",
  100. disabled: true,
  101. },
  102. button1:{
  103. type:"button",
  104. buttonName:"开始"
  105. },
  106. text7:{
  107. label:"。",
  108. type:"text",
  109. }
  110. }
  111. }]
  112. if(this.sn==='zyhy_b'){
  113. config[0].config.remark = {
  114. type: "input",
  115. fillType: "actFill",
  116. }
  117. }
  118. return config
  119. }
  120. },
  121. }
  122. </script>
  123. <style lang="scss" scoped>
  124. </style>