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

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