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

128 lines
4.5 KiB

  1. <!-- 天平校验(单点) -->
  2. <template>
  3. <StepFormPackage
  4. ref = "stepFormPackageRef" prefixKey="ry_tpjydd" @resetRecord = "resetRecord"
  5. @clickButton="handleClickButton"
  6. :form-config="formConfig" :formData = "formData" />
  7. </template>
  8. <script>
  9. import StepFormPackage from '@/components/Template/StepFormPackage.vue';
  10. import stepMixins from '@/components/Template/mixins/stepMixins.js';
  11. export default {
  12. mixins: [stepMixins],
  13. components: {
  14. StepFormPackage
  15. },
  16. computed: {
  17. formConfig() {
  18. return [{
  19. config:{
  20. text1:{
  21. label:"校验天平编号为",
  22. type:"text",
  23. },
  24. ddsys:{
  25. type:"yq",
  26. fillType:"actFill",
  27. },
  28. text2:{
  29. label:"皮重显示值为",
  30. type:"text",
  31. },
  32. pz:{
  33. type:"inputNumber",
  34. fillType:"actFill",
  35. disabled:true,
  36. },
  37. button1:{
  38. type:"button",
  39. buttonName:"获取值",
  40. },
  41. text3:{
  42. label:",标准砝码编号为",
  43. type:"text",
  44. },
  45. sjsr1:{
  46. type:"input",
  47. fillType:"actFill",
  48. },
  49. text4:{
  50. label:",标准砝码实际值为",
  51. type:"text",
  52. },
  53. sjsr2:{
  54. type:"inputNumber",
  55. fillType:"actFill",
  56. },
  57. sjsrdw2:{
  58. type:"select",
  59. fillType:"actFill",
  60. options:this.getDictOptions("business_zldw")
  61. },
  62. text5:{
  63. label:"标准砝码修正值为",
  64. type:"text",
  65. },
  66. sjsr3:{
  67. type:"inputNumber",
  68. fillType:"actFill",
  69. },
  70. sjsrdw3:{
  71. type:"select",
  72. fillType:"actFill",
  73. options:this.getDictOptions("business_zldw")
  74. },
  75. text6:{
  76. label:",标准砝码显示值为",
  77. type:"text",
  78. },
  79. fmz:{
  80. type:"inputNumber",
  81. fillType:"actFill",
  82. disabled:true,
  83. },
  84. button2:{
  85. type:"button",
  86. buttonName:"获取值",
  87. },
  88. text7:{
  89. label:"允许的偏差范围为±",
  90. type:"text",
  91. },
  92. sjsr4:{
  93. type:"inputNumber",
  94. fillType:"actFill",
  95. },
  96. sjsrdw4:{
  97. type:"select",
  98. fillType:"actFill",
  99. options:this.getDictOptions("business_zldw")
  100. },
  101. text8:{
  102. label:",结果判定",
  103. type:"text",
  104. },
  105. jgpd:{
  106. label:"通过/不通过",
  107. type:"span",
  108. },
  109. text9:{
  110. label:"。",
  111. type:"text",
  112. }
  113. }
  114. }]
  115. }
  116. },
  117. methods: {
  118. handleClickButton(key){
  119. console.log(key)
  120. }
  121. }
  122. }
  123. </script>
  124. <style lang="scss" scoped>
  125. </style>