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 @@