diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue
index fce2b75..617230a 100644
--- a/src/components/Template/HandleFormItem.vue
+++ b/src/components/Template/HandleFormItem.vue
@@ -147,6 +147,11 @@ export default {
fieldItemLabel: {
type: String,
default: "",
+ },
+ //是否记录修改
+ isFieldsRecord: {
+ type: Boolean,
+ default: true,
}
},
data() {
@@ -373,6 +378,12 @@ export default {
return;
}
if (this.oldValue && !isSame && this.templateFillType === "actFill") {
+ if(!this.isFieldsRecord){//是否需要记录修改记录
+ this.$emit("blur", this.inputValue);
+ this.$emit('input', this.inputValue);
+ this.$emit("change", this.inputValue);
+ return;
+ }
this.$refs.editSignRef.show()
// this.handleUpdateRecord();
}else{//如果是第一次填写,不需要密码验证
@@ -406,9 +417,7 @@ export default {
if (data) {
record.reason = data.remark
}
- if(this.templateFillType === "actFill"){//只有实际填报的时候才记录修改记录
- this.updateZdxgjl(record);
- }
+
const params = {
type: "fieldChanged",
newRecord: record,
@@ -419,6 +428,12 @@ export default {
this.$emit("blur", this.inputValue);
this.$emit('input', this.inputValue);
this.$emit("change", this.inputValue);
+ if(!this.isFieldsRecord){//是否需要记录修改记录
+ return;
+ }
+ if(this.templateFillType === "actFill"){//只有实际填报的时候才记录修改记录
+ this.updateZdxgjl(record);
+ }
setTimeout(() => {
EventBus.$emit('onModifyRecord', params,)
}, 10);
diff --git a/src/components/Template/operation/TableOpertaion.vue b/src/components/Template/operation/TableOpertaion.vue
index 6e6e9ca..2140b67 100644
--- a/src/components/Template/operation/TableOpertaion.vue
+++ b/src/components/Template/operation/TableOpertaion.vue
@@ -17,6 +17,8 @@
+
+
\ No newline at end of file