diff --git a/src/components/Template/BaseInfoFormPcakge.vue b/src/components/Template/BaseInfoFormPcakge.vue index 36dc68c..c7598b3 100644 --- a/src/components/Template/BaseInfoFormPcakge.vue +++ b/src/components/Template/BaseInfoFormPcakge.vue @@ -31,7 +31,7 @@
{{ $t( sItem.label) }}
@@ -66,7 +66,7 @@
@@ -105,7 +105,7 @@
{{sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}
@@ -123,7 +123,7 @@ @update:error="errors[key] = false" :orange-bg="orangeBgFields[key]" />
{{ formFields[sItem.subKey] }}
@@ -153,7 +153,7 @@ :orange-bg="orangeBgFields[key]" />
{{ formFields[sItem.subKey] }}
@@ -543,16 +543,15 @@ export default { this.compareFieldsIsEqual(val,compareToValue,key); } }, - onSelectChange(key, val) { + onSelectChange(key, val, type) { // 获取对应的配置 const currentConfig = this.allFieldsConfig[key]; - console.log(currentConfig,"currentConfig") if(currentConfig.selectTo){ this.formFields[currentConfig.selectTo] = val; } this.onValueChangeCompareTo(key, val); this.formFields[key] = val; - this.$emit("select", { key, value: val }); + this.$emit("select", { key, value: val, type }); // 清除该表单项的错误状态 if (this.errors[key]) { this.$set(this.errors, key, false); diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index 6561d4f..fe82e8d 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -407,7 +407,7 @@ export default { this.inputValue = this.oldValue; this.$emit('input', this.inputValue); // 触发 v-model 更新 this.$emit("blur", this.oldValue); - this.$emit("change", this.oldValue); + this.$emit("change", this.oldValue,"cancel"); if(this.item.type === "clickable"){ this.$emit("resetRecord"); } diff --git a/src/components/Template/operation/TableOpertaion.vue b/src/components/Template/operation/TableOpertaion.vue index 0118fae..fa02457 100644 --- a/src/components/Template/operation/TableOpertaion.vue +++ b/src/components/Template/operation/TableOpertaion.vue @@ -5,19 +5,20 @@ 删除 - +
\ No newline at end of file diff --git a/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue b/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue index c780701..165e694 100644 --- a/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue @@ -270,10 +270,10 @@ export default { bodyFillType: "preFill", width: 280, myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//分装的母液编号字段 - // maxVolumeField: "actSolutionVolume",//分装的最大量字段 - // maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段 - maxVolumeField: "targetSolutionVolume,targetDiluentVolume",//分装的最大量字段 - maxVolumeFieldUnit: "targetSolutionVolumeUnit,targetDiluentVolumeUnit",//分装的最大量单位字段 + maxVolumeField: "actSolutionVolume",//分装的最大量字段 + maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段 + // maxVolumeField: "targetSolutionVolume,targetDiluentVolume",//分装的最大量字段 + // maxVolumeFieldUnit: "targetSolutionVolumeUnit,targetDiluentVolumeUnit",//分装的最大量单位字段 }, { label: "起始溶液编号", diff --git a/src/views/business/comps/template/dialog/SelectReagentDialog.vue b/src/views/business/comps/template/dialog/SelectReagentDialog.vue index a98688e..2adeec2 100644 --- a/src/views/business/comps/template/dialog/SelectReagentDialog.vue +++ b/src/views/business/comps/template/dialog/SelectReagentDialog.vue @@ -1,5 +1,5 @@