diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP008.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP008.vue index 25110e1..c7e2fbd 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP008.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP008.vue @@ -16,7 +16,7 @@
+ :formData="formData" /> @@ -67,14 +61,13 @@ import CustomTable from '@/components/Template/CustomTable.vue'; import { getLatestSnArr } from '@/api/template'; import {getSWYPFXFFXYPZBBTableConfig} from "../../../formConfig/SWYPFXFFXYPZBBTableConfig.js"; import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue" -import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import { EventBus } from "@/utils/eventBus"; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { addTj,uniqeResource,uniqeResourceOne,addDecimals } from "@/utils/calUnitTools"; export default { name: "ZQDYJMD", - components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable,TableOpertaion,SelectReagentDialog }, + components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable,TableOpertaion }, mixins: [templateMixin], props: { fillType: { @@ -218,7 +211,7 @@ export default { label: 'template.sp.sp008.xzjz', type: "input", fillType: "preFill", - subType: "clickable", + subType: "sj", subKey: "subJz", subFillType: "actFill", maxlength: 20, @@ -250,36 +243,6 @@ export default { }, methods: { - //点击基质选择 - handleJzClickable(obj){ - this.reagentType = 1//本表单特殊字段 - this.currentSubKey = obj.subKey; - this.$refs.selectReagentDialogRef.show(this.formData.id) - }, - //选择试剂提交事件 - onSelectReagentSubmit(code,row){ - if(this.reagentType===1){ - this.$refs.stepFormPackageRef.updateFormData(this.currentSubKey, code); - }else{ - this.$refs.tableRef.updateDataSourceByRowIndex(this.rowIndex,{ - [this.currentSubKey]: code, - }) - } - this.$refs.selectReagentDialogRef.onCancel() - }, - //点击表格单元格 - handleClickable(col, rowIndex) { - //本表单特殊字段 - this.reagentType = 2 - - this.rowIndex = rowIndex - this.currentSubKey = col.prop; - console.log("clickable",rowIndex, col) - if(col.prop === "sjry"){ - //调用对应弹窗的方法-多个点击的需要判断是哪个字段点击 - this.$refs.selectReagentDialogRef.show(this.formData.id) - } - }, //获取目标溶液编号 async getCode(v){ const {stepTableFormData = []} = v; diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP009.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP009.vue index 90201fe..003b96b 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP009.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP009.vue @@ -16,11 +16,10 @@
基质 + :formConfig="stepFormConfig" @blur="onHandleBlur" :formData="formData" />