|
|
- <!-- 洗涤 -->
- <!-- 消化 -->
- <!-- 终止消化 -->
- <!-- 低渗 -->
- <!-- 固定 -->
- <template>
- <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xbjzpz_xd'" @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],
- props: {
- sn: {
- type: String,
- default: 'xd',
- },
- },
- components: {
- StepFormPackage
- },
- computed: {
- formConfig() {
- let config = [{
- config: {
- text1: {
- label: "使用",
- type: "text",
- },
- yqmc: {
- fillType: "preFill",
- type: "input",
- },
- yq: {
- fillType: "actFill",
- type: "yq",
- },
- text2: {
- label: "仪器,吸取",
- type: "text",
- },
- rymc:{
- fillType: "preFill",
- type: "input",
- },
- ry:{
- fillType: "actFill",
- type: "sj",
- ylCode: "sjtj",
- dwCode: "sjtjdw",
- },
- text3:{
- label: "溶液,预计吸取体积为",
- type: "text",
- },
- yjtj:{
- fillType: "preFill",
- type: "inputNumber",
- },
- yjtjdw:{
- fillType: "preFill",
- type: "select",
- selectTo: "sjtjdw",
- options:this.getDictOptions('business_tjdw'),
- },
- text4:{
- label: ",实际体积为",
- type: "text",
- },
- sjtj:{
- fillType: "actFill",
- type: "inputNumber",
- compareTo:"yjtj",
- copyFrom:"yjtj"
- },
- sjtjdw:{
- fillType: "preFill",
- type: "select",
- options: this.getDictOptions('business_tjdw'),
- },
- text5:{
- label: this.sn==='xd'? "加入容器中,进行洗涤。":this.sn==='xh'? "加入容器中,进行消化。":this.sn==='zzxh'? "加入容器中,终止消化。":this.sn==='ds'? "加入容器中,进行低渗。":this.sn==='gd'? "加入容器中,进行固定。":"",
- type: "text",
- },
- }
- }]
- return config
- }
- },
- }
- </script>
-
- <style lang="scss" scoped></style>
|