<!-- 摇床开始 -->
|
|
<template>
|
|
<StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_ycks'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="localFormData" />
|
|
</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: 'ycks',
|
|
},
|
|
},
|
|
components: {
|
|
StepFormPackage
|
|
},
|
|
mounted() {
|
|
this.commonHandleJcbUpdate();
|
|
},
|
|
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",
|
|
},
|
|
text6: {
|
|
label: ",放置",
|
|
type: "text",
|
|
},
|
|
time:{
|
|
fillType: "preFill",
|
|
type: "input",
|
|
},
|
|
jcb:{
|
|
type:"dcjcb",
|
|
buttonName:"开始"
|
|
}
|
|
}
|
|
}]
|
|
return config
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|