|
|
- <!-- 摇床混匀 -->
- <template>
- <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_ychy'" @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: 'ychy',
- },
- },
- components: {
- StepFormPackage
- },
- computed: {
- formConfig() {
- let config = [{
- config: {
- text1: {
- label: "使用摇床",
- type: "text",
- },
- yq: {
- type: "yq",
- fillType: "actFill",
- },
-
- text2: {
- label: "仪器,设置预计转速为",
- type: "text",
- },
- sjjrl: {
- type: "inputNumber",
- fillType: "preFill",
- },
- sjjrldw: {
- type: "select",
- options: this.getDictOptions("business_zsdw"),
- selectTo: "sjzsdw",
- fillType: "preFill",
- },
-
- text3: {
- label: ",实际设置转速为",
- type: "text",
- },
- jxry: {
- type: "inputNumber",
- fillType: "actFill",
- compareTo:"sjjrl",
- copyFrom:"sjjrl"
- },
- sjzsdw: {
- type: "select",
- options: this.getDictOptions("business_zsdw"),
- fillType: "preFill",
- },
-
- text4: {
- label: ",振荡",
- type: "text",
- },
- zdtime: {
- type: "input",
- fillType: "preFill",
- },
- text5: {
- label: ",振荡",
- type: "text",
- },
- startDate: {
- type: "input",
- fillType: "actFill",
- disabled: true,
- },
- button1:{
- type:"button",
- buttonName:"开始",
- },
- text6:{
- type:"text",
- label:",振荡",
- },
- endDate: {
- type: "input",
- fillType: "actFill",
- disabled: true,
- },
- button2:{
- type:"button",
- buttonName:"结束",
- },
- text7: {
- type: "text",
- label: "。",
- },
- }
- }]
- return config
- }
- },
- }
- </script>
-
- <style lang="scss" scoped></style>
|