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

70 lines
2.2 KiB

  1. <!-- 称量非传值 -->
  2. <template>
  3. <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_clcz'" @resetRecord="resetRecord" :form-config="formConfig"
  4. :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. yq: {
  23. type: "yq",
  24. fillType: "actFill",
  25. },
  26. text2: {
  27. label: "仪器,称取",
  28. type: "text",
  29. },
  30. wzmc: {
  31. type: "mix",
  32. fillType: "actFill",
  33. ylCode: "sjcz",
  34. dwCode: "wzsuldw",
  35. },
  36. text3: {
  37. label: "物质,称取预计质量为",
  38. type: "text",
  39. },
  40. wzsul: {
  41. type: "inputNumber",
  42. fillType: "preFill",
  43. },
  44. wzsuldw: {
  45. type: "select",
  46. fillType: "preFill",
  47. options: this.getDictOptions("business_zldw"),
  48. },
  49. text4: {
  50. type: "text",
  51. label: ",实际质量为"
  52. },
  53. sjcz: {
  54. type: "span",
  55. compareTo: "wzsul",
  56. copyFrom: "wzsul"
  57. },
  58. text9: {
  59. type: "text",
  60. label: "。",
  61. },
  62. }
  63. }]
  64. }
  65. },
  66. }
  67. </script>
  68. <style lang="scss" scoped></style>