| @ -0,0 +1,101 @@ | |||
| <!-- 解冻-改成了融解 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_jd'" @resetRecord="resetRecord" :form-config="formConfig" | |||
| @select="select" | |||
| :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: 'jd_swypfx', | |||
| }, | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| methods: { | |||
| select(data) { | |||
| const {value,key} = data; | |||
| if(key==='sjccwz'){ | |||
| this.updateWcData("sjwd",value); | |||
| } | |||
| } | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| let config = [{ | |||
| config: { | |||
| text1: { | |||
| label: "将上述样品预计放置于", | |||
| type: "text", | |||
| }, | |||
| ccwz: { | |||
| type: "input", | |||
| // options: this.getDictOptions("business_ccwz"), | |||
| fillType: "preFill", | |||
| otherCode: "ccwzOther", | |||
| }, | |||
| text3: { | |||
| label: "实际放置于", | |||
| type: "text", | |||
| }, | |||
| sjccwz: { | |||
| type: "select", | |||
| options: this.getDictOptions("business_ccwz"), | |||
| fillType: "actFill", | |||
| otherCode: "sjccwzOther", | |||
| compareTo: "ccwz", | |||
| }, | |||
| text4: { | |||
| label: "位置,其环境条件预计为", | |||
| type: "text", | |||
| }, | |||
| yjwd: { | |||
| type: "select", | |||
| options: this.getDictOptions("business_cctj"), | |||
| multiple: true, | |||
| fillType: "preFill", | |||
| otherCode: "yjwdOther", | |||
| }, | |||
| text5: { | |||
| label: ",实际条件为", | |||
| type: "text", | |||
| }, | |||
| sjwd: { | |||
| type: "select", | |||
| options: this.getDictOptions("business_cctj"), | |||
| multiple: true, | |||
| fillType: "actFill", | |||
| otherCode: "sjwdOther", | |||
| compareTo: "yjwd", | |||
| }, | |||
| text6: { | |||
| label: "进行融解", | |||
| type: "text", | |||
| }, | |||
| text9: { | |||
| type: "text", | |||
| label: "。", | |||
| }, | |||
| remark: { | |||
| type: "input", | |||
| fillType: "actFill", | |||
| } | |||
| } | |||
| }] | |||
| return config | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||