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

66 lines
2.1 KiB

  1. <!-- 加入样品 -->
  2. <template>
  3. <StepFormPackage ref="stepFormPackageRef" prefixKey="ry_jryp" @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. sjrqcz: {
  22. fillType: "actFill",
  23. type: "yq",
  24. },
  25. text2: {
  26. label: "仪器,预计加入样品",
  27. type: "text",
  28. },
  29. ytsr1:{
  30. fillType: "preFill",
  31. type: "inputNumber",
  32. },
  33. tjxz:{
  34. fillType: "preFill",
  35. type: "select",
  36. selectTo: "sjsrdw2",
  37. options:this.getDictOptions('business_tjdw'),
  38. },
  39. text4:{
  40. label: ",实际加入样品",
  41. type: "text",
  42. },
  43. sjsr2:{
  44. fillType: "actFill",
  45. type: "inputNumber",
  46. compareTo:"ytsr1",
  47. copyFrom:"ytsr1"
  48. },
  49. sjsrdw2:{
  50. fillType: "preFill",
  51. type: "select",
  52. options: this.getDictOptions('business_tjdw'),
  53. },
  54. text5:{
  55. label: "。",
  56. type: "text",
  57. }
  58. }
  59. }]
  60. }
  61. },
  62. }
  63. </script>
  64. <style lang="scss" scoped></style>