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

71 lines
2.2 KiB

<!-- 称量非传值 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_clcz'" @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: "yq",
fillType: "actFill",
},
text2: {
label: "仪器,称取",
type: "text",
},
wzmc: {
type: "mix",
fillType: "actFill",
ylCode: "sjcz",
dwCode: "wzsuldw",
},
text3: {
label: "物质,称取预计质量为",
type: "text",
},
wzsul: {
type: "inputNumber",
fillType: "preFill",
},
wzsuldw: {
type: "select",
fillType: "preFill",
options: this.getDictOptions("business_zldw"),
},
text4: {
type: "text",
label: ",实际质量为"
},
sjcz: {
type: "span",
compareTo: "wzsul",
copyFrom: "wzsul"
},
text9: {
type: "text",
label: "。",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>