This commit is contained in:
shijing 2022-06-15 12:26:41 +08:00
parent a14967dcde
commit 4f5ce0c12c
2 changed files with 11 additions and 8 deletions

View File

@ -719,6 +719,7 @@
}
},
fieldData() {
debugger;
let that = this;
that.field = []; //检查项目
that.formData.forEach((item) => {

View File

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