<!-- 天平校验(双点) -->
|
|
<template>
|
|
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_tpjysd" @resetRecord="resetRecord"
|
|
@clickButton="handleClickButton" :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],
|
|
components: {
|
|
StepFormPackage
|
|
},
|
|
computed: {
|
|
formConfig() {
|
|
return [{
|
|
config: {
|
|
text1: {
|
|
label: "校验天平编号为",
|
|
type: "text",
|
|
},
|
|
ddsys: {
|
|
type: "yq",
|
|
fillType: "actFill",
|
|
},
|
|
}
|
|
},
|
|
{
|
|
config: {
|
|
dfmtext1: {
|
|
label: "低砝码校验:",
|
|
type: "text",
|
|
},
|
|
|
|
dfmtext2: {
|
|
label: "皮重显示值为",
|
|
type: "text",
|
|
},
|
|
dfmpz: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
dfmbutton1: {
|
|
type: "button",
|
|
buttonName: "获取值",
|
|
},
|
|
dfmtext3: {
|
|
label: ",标准砝码编号为",
|
|
type: "text",
|
|
},
|
|
dfmsjsr1: {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
},
|
|
dfmtext4: {
|
|
label: ",标准砝码实际值为",
|
|
type: "text",
|
|
},
|
|
dfmsjsr2: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
},
|
|
dfmsjsrdw2: {
|
|
type: "select",
|
|
fillType: "actFill",
|
|
options: this.getDictOptions("business_zldw")
|
|
},
|
|
dfmtext5: {
|
|
label: "标准砝码修正值为",
|
|
type: "text",
|
|
},
|
|
dfmsjsr3: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
},
|
|
dfmsjsrdw3: {
|
|
type: "select",
|
|
fillType: "actFill",
|
|
options: this.getDictOptions("business_zldw")
|
|
},
|
|
dfmtext6: {
|
|
label: ",标准砝码显示值为",
|
|
type: "text",
|
|
},
|
|
dfmfmz: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
dfmbutton2: {
|
|
type: "button",
|
|
buttonName: "获取值",
|
|
},
|
|
dfmtext7: {
|
|
label: "允许的偏差范围为±",
|
|
type: "text",
|
|
},
|
|
dfmsjsr4: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
},
|
|
dfmsjsrdw4: {
|
|
type: "select",
|
|
fillType: "actFill",
|
|
options: this.getDictOptions("business_zldw")
|
|
},
|
|
dfmtext8: {
|
|
label: ",结果判定",
|
|
type: "text",
|
|
},
|
|
dfmjgpd: {
|
|
label: "通过/不通过",
|
|
type: "span",
|
|
}
|
|
}
|
|
},
|
|
{
|
|
config: {
|
|
text1: {
|
|
label: "高砝码校验:",
|
|
type: "text",
|
|
},
|
|
|
|
text2: {
|
|
label: "皮重显示值为",
|
|
type: "text",
|
|
},
|
|
pz: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
button1: {
|
|
type: "button",
|
|
buttonName: "获取值",
|
|
},
|
|
text3: {
|
|
label: ",标准砝码编号为",
|
|
type: "text",
|
|
},
|
|
sjsr1: {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
},
|
|
text4: {
|
|
label: ",标准砝码实际值为",
|
|
type: "text",
|
|
},
|
|
sjsr2: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
},
|
|
sjsrdw2: {
|
|
type: "select",
|
|
fillType: "actFill",
|
|
options: this.getDictOptions("business_zldw")
|
|
},
|
|
text5: {
|
|
label: "标准砝码修正值为",
|
|
type: "text",
|
|
},
|
|
sjsr3: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
},
|
|
sjsrdw3: {
|
|
type: "select",
|
|
fillType: "actFill",
|
|
options: this.getDictOptions("business_zldw")
|
|
},
|
|
text6: {
|
|
label: ",标准砝码显示值为",
|
|
type: "text",
|
|
},
|
|
fmz: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
button2: {
|
|
type: "button",
|
|
buttonName: "获取值",
|
|
},
|
|
text7: {
|
|
label: "允许的偏差范围为±",
|
|
type: "text",
|
|
},
|
|
sjsr4: {
|
|
type: "inputNumber",
|
|
fillType: "actFill",
|
|
},
|
|
sjsrdw4: {
|
|
type: "select",
|
|
fillType: "actFill",
|
|
options: this.getDictOptions("business_zldw")
|
|
},
|
|
text8: {
|
|
label: ",结果判定",
|
|
type: "text",
|
|
},
|
|
jgpd: {
|
|
label: "通过/不通过",
|
|
type: "span",
|
|
},
|
|
text9: {
|
|
label: "。",
|
|
type: "text",
|
|
}
|
|
}
|
|
}
|
|
|
|
]
|
|
}
|
|
},
|
|
methods: {
|
|
handleClickButton(key) {
|
|
console.log(key)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|