diff --git a/hb_client/src/components/customForm/index.vue b/hb_client/src/components/customForm/index.vue index e9f17f3..66ab915 100644 --- a/hb_client/src/components/customForm/index.vue +++ b/hb_client/src/components/customForm/index.vue @@ -160,7 +160,7 @@ - + @@ -211,7 +211,7 @@ type: Boolean, default: false }, - number: { + numbers: { type: String, default: '' }, @@ -307,7 +307,7 @@ }, methods: { checkValue() { - this.number = this.number.replace(/[^0-9a-zA-Z]/g, ''); + this.numbers = this.numbers.replace(/[^0-9a-zA-Z]/g, ''); }, filterBlock(rule, index, field_key) { let that = this; @@ -719,6 +719,7 @@ } }, fieldData() { + debugger; let that = this; that.field = []; //检查项目 that.formData.forEach((item) => { @@ -740,7 +741,7 @@ that.testrecord.record_data = that.field;//检查项列表 that.testrecord.is_testok = that.is_testok;//检查表检查结果 that.testrecord.id = that.recordId;//记录id - that.testrecord.number = that.number;//编号 + that.testrecord.number = that.numbers;//编号 that.testrecord.remark = that.remark;//备注 if (that.index === '2') {//提交 this.$emit('recordSubmit', that.testrecord); diff --git a/hb_client/src/views/pm/plan.vue b/hb_client/src/views/pm/plan.vue index 966e079..9688864 100644 --- a/hb_client/src/views/pm/plan.vue +++ b/hb_client/src/views/pm/plan.vue @@ -88,7 +88,7 @@ >