diff --git a/hb_client/src/components/customForm/index.vue b/hb_client/src/components/customForm/index.vue index 8267697..66ab915 100644 --- a/hb_client/src/components/customForm/index.vue +++ b/hb_client/src/components/customForm/index.vue @@ -719,6 +719,7 @@ } }, fieldData() { + debugger; let that = this; that.field = []; //检查项目 that.formData.forEach((item) => { diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue index 23568f4..67620e6 100644 --- a/hb_client/src/views/wpm/need.vue +++ b/hb_client/src/views/wpm/need.vue @@ -939,7 +939,7 @@ {text: '镀膜', value: '镀膜'}, {text: '断膜', value: '断膜'}, {text: '汇流条制备', value: '汇流条制备'}, {text: '夹层', value: '夹层'}, {text: '包边', value: '包边'}], remark:'', - numbers:'', + numbers:null, }; }, computed: {}, @@ -1231,6 +1231,8 @@ that.innerIndex = index; // this.outerVisible = true; that.wproduct = scope.row.id;//半成品ID + this.numbers = null; + this.remark = ''; that.listQueryrecordform.material = scope.row.material; if (index === '3') { that.listQueryrecordform.type = 40; @@ -1280,12 +1282,13 @@ //点击记录里的检验 handleInspectionRecord(scope) { + debugger; let that = this; that.fieldList = []; that.recordVisible = false; that.recordId = scope.row.id; that.recordform = scope.row.form; - that.numbers = scope.row.number?scope.row.number:''; + that.numbers = scope.row.number?scope.row.number:null; that.remark = scope.row.remark?scope.row.remark:''; that.formName = scope.row.form_.name; if (that.innerIndex !== '2') {//非复检 @@ -1538,8 +1541,8 @@ params.is_testok = value.is_testok; params.record_data = value.record_data; debugger; - if(value.numbers){ - params.number = value.numbers; + if(value.number){ + params.number = value.number; } if(value.remark){ params.remark = value.remark; @@ -1548,15 +1551,14 @@ that.limitedPhoto = true; }, checkSubmit(data) { - + debugger; let that = this; let id = that.params.id; let params = new Object(); params.is_testok = that.params.is_testok; params.record_data = that.params.record_data; - debugger; - if(this.params.numbers){ - params.number = this.params.numbers; + if(this.params.number){ + params.number = this.params.number; } if(this.params.remark){ params.remark = this.params.remark;