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

72 lines
2.4 KiB

  1. <!-- 称量传值 -->
  2. <template>
  3. <StepFormPackage ref = "stepFormPackageRef" @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. components: {
  11. StepFormPackage
  12. },
  13. computed: {
  14. formConfig() {
  15. return [{
  16. config:{
  17. text1:{
  18. label:"使用电子天平",
  19. type:"text",
  20. },
  21. yq:{
  22. type:"instrument",
  23. fillType:"actFill",
  24. },
  25. text2:{
  26. label:"仪器,称取",
  27. type:"text",
  28. },
  29. wzmc:{
  30. type:"mix",
  31. fillType:"actFill",
  32. },
  33. text3:{
  34. label:"物质,称取预计质量为",
  35. type:"text",
  36. },
  37. wzsul:{
  38. type:"inputNumber",
  39. fillType:"preFill",
  40. },
  41. wzsuldw:{
  42. type:"select",
  43. fillType:"preFill",
  44. options:this.getDictOptions("business_zldw"),
  45. selectTo:"wzsuldw1",
  46. },
  47. text4:{
  48. type:"text",
  49. label:",实际质量为"
  50. },
  51. sjcz:{
  52. type:"inputNumber",
  53. fillType:"actFill",
  54. compareTo:"wzsul",
  55. copyFrom:"wzsul"
  56. },
  57. wzsuldw1:{
  58. type:"select",
  59. fillType:"preFill",
  60. options:this.getDictOptions("business_zldw"),
  61. },
  62. }
  63. }]
  64. }
  65. },
  66. }
  67. </script>
  68. <style lang="scss" scoped>
  69. </style>