|
|
- <!-- 称量(传值) -->
- <template>
- <StepFormPackage ref = "stepFormPackageRef" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
- </template>
-
- <script>
- import StepFormPackage from '@/components/Template/StepFormPackage.vue';
- import stepMixins from '@/components/Template/mixins/stepMixins.js';
-
- export default {
- mixins: [stepMixins],
- components: {
- StepFormPackage
- },
- computed: {
- formConfig() {
- return [{
- config:{
- text1:{
- label:"使用电子天平",
- type:"text",
- },
- yq:{
- type:"instrument",
- fillType:"actFill",
- },
- text2:{
- label:"仪器,称取",
- type:"text",
- },
- wzmc:{
- type:"mix",
- fillType:"actFill",
- },
- text3:{
- label:"物质,称取预计质量为",
- type:"text",
- },
- wzsul:{
- type:"inputNumber",
- fillType:"preFill",
- },
- wzsuldw:{
- type:"select",
- fillType:"preFill",
- options:this.getDictOptions("business_zldw"),
- selectTo:"wzsuldw1",
- },
- text4:{
- type:"text",
- label:",实际质量为"
- },
- sjcz:{
- type:"inputNumber",
- fillType:"actFill",
- compareTo:"wzsul",
- copyFrom:"wzsul"
- },
- wzsuldw1:{
- type:"select",
- fillType:"preFill",
- options:this.getDictOptions("business_zldw"),
- },
- }
- }]
- }
- },
- }
- </script>
-
- <style lang="scss" scoped>
-
- </style>
|