From 9fd926296218d878f80a0a97cd987580132cd5a5 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Thu, 5 Feb 2026 16:51:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/CustomTable.vue | 13 ++- src/components/Template/Step.vue | 2 +- .../Template/StepComponents/ZLSubPackage.vue | 108 ++++++++++++--------- src/components/Template/StepComponents/ry/zlfz.vue | 16 ++- src/components/Template/StepFormPackage.vue | 11 ++- .../Template/mixins/formPackageMixins.js | 12 ++- 6 files changed, 106 insertions(+), 56 deletions(-) diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index c8a2f30..595687b 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -263,10 +263,10 @@ export default { }, handleEditSignCallback(data) { if (data.uuid === this.uuid) { - this.updateRecords(); + this.updateRecords(data); } }, - getRecords() { + getRecords(data) { const records = []; const { nickName, name } = this.$store.getters; const { oldLocalDataSource, localDataSource, columns, prefixKey, fieldItemLabel } = this; @@ -299,6 +299,9 @@ export default { title: oldValue ? "修改" : "提交", time: moment().format("YYYY-MM-DD HH:mm:ss"), }; + if (data) { + record.reason = data.remark + } this.updateZdxgjl(record); records.push(record); @@ -324,6 +327,9 @@ export default { title: oldSubValue ? "修改" : "提交", time: moment().format("YYYY-MM-DD HH:mm:ss"), }; + if (data) { + record.reason = data.remark + } this.updateZdxgjl(record); records.push(record); } @@ -349,6 +355,9 @@ export default { title: oldOtherValue ? "修改" : "提交", time: moment().format("YYYY-MM-DD HH:mm:ss"), }; + if (data) { + record.reason = data.remark + } this.updateZdxgjl(record); records.push(record); } diff --git a/src/components/Template/Step.vue b/src/components/Template/Step.vue index d7a5ce8..b378158 100644 --- a/src/components/Template/Step.vue +++ b/src/components/Template/Step.vue @@ -114,7 +114,7 @@ const stepTypes = [ { label: '灭菌', value: 'mj' }, { label: '复苏', value: 'fs' }, { label: '封板', value: 'fb' }, - { label: '质量分装', value: 'zlfz' }, + // { label: '质量分装', value: 'zlfz' }, ]; diff --git a/src/components/Template/StepComponents/ZLSubPackage.vue b/src/components/Template/StepComponents/ZLSubPackage.vue index aeaeeac..6165d81 100644 --- a/src/components/Template/StepComponents/ZLSubPackage.vue +++ b/src/components/Template/StepComponents/ZLSubPackage.vue @@ -3,12 +3,15 @@