<!-- 振摇混匀 -->
|
|
<template>
|
|
<StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_zyhy" @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: 'zyhy',
|
|
},
|
|
},
|
|
components: {
|
|
StepFormPackage
|
|
},
|
|
computed: {
|
|
formConfig() {
|
|
let config = [{
|
|
config:{
|
|
text1:{
|
|
label:"使用",
|
|
type:"text",
|
|
},
|
|
yq:{
|
|
type:"input",
|
|
fillType:"preFill",
|
|
},
|
|
yq1:{
|
|
type:"yq",
|
|
fillType:"actFill",
|
|
},
|
|
text2:{
|
|
label:",设置预计转速",
|
|
type:"text",
|
|
},
|
|
yjzs:{
|
|
type:"inputNumber",
|
|
fillType:"preFill",
|
|
},
|
|
yjzsdw:{
|
|
type:"select",
|
|
options:this.getDictOptions("business_zsdw"),
|
|
selectTo:"sjzsdw",
|
|
fillType:"preFill",
|
|
},
|
|
text3:{
|
|
label:",实际转速为",
|
|
type:"text",
|
|
},
|
|
sjzs:{
|
|
type:"inputNumber",
|
|
fillType:"actFill",
|
|
compareTo:"yjzs",
|
|
copyFrom:"yjzs"
|
|
},
|
|
sjzsdw:{
|
|
type:"select",
|
|
options:this.getDictOptions("business_zsdw"),
|
|
fillType:"preFill",
|
|
},
|
|
text4:{
|
|
label:",预计时长为",
|
|
type:"text",
|
|
},
|
|
yjsc:{
|
|
type:"inputNumber",
|
|
fillType:"preFill",
|
|
},
|
|
yjscdw:{
|
|
type:"select",
|
|
options:this.getDictOptions("business_yqscdw"),
|
|
selectTo:"sjscdw",
|
|
fillType:"preFill",
|
|
},
|
|
text5:{
|
|
label:",实际时长为",
|
|
type:"text",
|
|
},
|
|
sjsc:{
|
|
type:"inputNumber",
|
|
fillType:"actFill",
|
|
compareTo:"yjsc",
|
|
copyFrom:"yjsc"
|
|
},
|
|
sjscdw:{
|
|
type:"select",
|
|
options:this.getDictOptions("business_yqscdw"),
|
|
fillType:"preFill",
|
|
},
|
|
text6:{
|
|
label:",对上表进行混匀,混匀",
|
|
type:"text",
|
|
},
|
|
startDate: {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
button1:{
|
|
type:"button",
|
|
buttonName:"开始"
|
|
},
|
|
text7:{
|
|
label:"。",
|
|
type:"text",
|
|
}
|
|
}
|
|
}]
|
|
if(this.sn==='zyhy_b'){
|
|
config[0].config.remark = {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
}
|
|
}
|
|
return config
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|