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

225 lines
8.1 KiB

  1. <!-- 天平校验(双点) -->
  2. <template>
  3. <StepFormPackage
  4. ref = "stepFormPackageRef" @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:"instrument",
  26. fillType:"actFill",
  27. },
  28. }
  29. },
  30. {
  31. config:{
  32. dfmtext1:{
  33. label:"低砝码校验:",
  34. type:"text",
  35. },
  36. dfmtext2:{
  37. label:"皮重显示值为",
  38. type:"text",
  39. },
  40. dfmpz:{
  41. type:"inputNumber",
  42. fillType:"actFill",
  43. disabled:true,
  44. },
  45. dfmbutton1:{
  46. type:"button",
  47. buttonName:"获取值",
  48. },
  49. dfmtext3:{
  50. label:",标准砝码编号为",
  51. type:"text",
  52. },
  53. dfmsjsr1:{
  54. type:"input",
  55. fillType:"actFill",
  56. },
  57. dfmtext4:{
  58. label:",标准砝码实际值为",
  59. type:"text",
  60. },
  61. dfmsjsr2:{
  62. type:"inputNumber",
  63. fillType:"actFill",
  64. },
  65. dfmsjsrdw2:{
  66. type:"select",
  67. fillType:"actFill",
  68. options:this.getDictOptions("business_zldw")
  69. },
  70. dfmtext5:{
  71. label:"标准砝码修正值为",
  72. type:"text",
  73. },
  74. dfmsjsr3:{
  75. type:"inputNumber",
  76. fillType:"actFill",
  77. },
  78. dfmsjsrdw3:{
  79. type:"select",
  80. fillType:"actFill",
  81. options:this.getDictOptions("business_zldw")
  82. },
  83. dfmtext6:{
  84. label:",标准砝码显示值为",
  85. type:"text",
  86. },
  87. dfmfmz:{
  88. type:"inputNumber",
  89. fillType:"actFill",
  90. disabled:true,
  91. },
  92. dfmbutton2:{
  93. type:"button",
  94. buttonName:"获取值",
  95. },
  96. dfmtext7:{
  97. label:"允许的偏差范围为±",
  98. type:"text",
  99. },
  100. dfmsjsr4:{
  101. type:"inputNumber",
  102. fillType:"actFill",
  103. },
  104. dfmsjsrdw4:{
  105. type:"select",
  106. fillType:"actFill",
  107. options:this.getDictOptions("business_zldw")
  108. },
  109. dfmtext8:{
  110. label:",结果判定",
  111. type:"text",
  112. },
  113. dfmjgpd:{
  114. label:"通过/不通过",
  115. type:"span",
  116. }
  117. }
  118. },
  119. {
  120. config:{
  121. text1:{
  122. label:"高砝码校验:",
  123. type:"text",
  124. },
  125. text2:{
  126. label:"皮重显示值为",
  127. type:"text",
  128. },
  129. pz:{
  130. type:"inputNumber",
  131. fillType:"actFill",
  132. disabled:true,
  133. },
  134. button1:{
  135. type:"button",
  136. buttonName:"获取值",
  137. },
  138. text3:{
  139. label:",标准砝码编号为",
  140. type:"text",
  141. },
  142. sjsr1:{
  143. type:"input",
  144. fillType:"actFill",
  145. },
  146. text4:{
  147. label:",标准砝码实际值为",
  148. type:"text",
  149. },
  150. sjsr2:{
  151. type:"inputNumber",
  152. fillType:"actFill",
  153. },
  154. sjsrdw2:{
  155. type:"select",
  156. fillType:"actFill",
  157. options:this.getDictOptions("business_zldw")
  158. },
  159. text5:{
  160. label:"标准砝码修正值为",
  161. type:"text",
  162. },
  163. sjsr3:{
  164. type:"inputNumber",
  165. fillType:"actFill",
  166. },
  167. sjsrdw3:{
  168. type:"select",
  169. fillType:"actFill",
  170. options:this.getDictOptions("business_zldw")
  171. },
  172. text6:{
  173. label:",标准砝码显示值为",
  174. type:"text",
  175. },
  176. fmz:{
  177. type:"inputNumber",
  178. fillType:"actFill",
  179. disabled:true,
  180. },
  181. button2:{
  182. type:"button",
  183. buttonName:"获取值",
  184. },
  185. text7:{
  186. label:"允许的偏差范围为±",
  187. type:"text",
  188. },
  189. sjsr4:{
  190. type:"inputNumber",
  191. fillType:"actFill",
  192. },
  193. sjsrdw4:{
  194. type:"select",
  195. fillType:"actFill",
  196. options:this.getDictOptions("business_zldw")
  197. },
  198. text8:{
  199. label:",结果判定",
  200. type:"text",
  201. },
  202. jgpd:{
  203. label:"通过/不通过",
  204. type:"span",
  205. }
  206. }
  207. }
  208. ]
  209. }
  210. },
  211. methods: {
  212. handleClickButton(key){
  213. console.log(key)
  214. }
  215. }
  216. }
  217. </script>
  218. <style lang="scss" scoped>
  219. </style>