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() { fieldData() {
debugger;
let that = this; let that = this;
that.field = []; //检查项目 that.field = []; //检查项目
that.formData.forEach((item) => { that.formData.forEach((item) => {

View File

@ -939,7 +939,7 @@
{text: '镀膜', value: '镀膜'}, {text: '断膜', value: '断膜'}, {text: '汇流条制备', value: '汇流条制备'}, {text: '镀膜', value: '镀膜'}, {text: '断膜', value: '断膜'}, {text: '汇流条制备', value: '汇流条制备'},
{text: '夹层', value: '夹层'}, {text: '包边', value: '包边'}], {text: '夹层', value: '夹层'}, {text: '包边', value: '包边'}],
remark:'', remark:'',
numbers:'', numbers:null,
}; };
}, },
computed: {}, computed: {},
@ -1231,6 +1231,8 @@
that.innerIndex = index; that.innerIndex = index;
// this.outerVisible = true; // this.outerVisible = true;
that.wproduct = scope.row.id;//半成品ID that.wproduct = scope.row.id;//半成品ID
this.numbers = null;
this.remark = '';
that.listQueryrecordform.material = scope.row.material; that.listQueryrecordform.material = scope.row.material;
if (index === '3') { if (index === '3') {
that.listQueryrecordform.type = 40; that.listQueryrecordform.type = 40;
@ -1280,12 +1282,13 @@
//点击记录里的检验 //点击记录里的检验
handleInspectionRecord(scope) { handleInspectionRecord(scope) {
debugger;
let that = this; let that = this;
that.fieldList = []; that.fieldList = [];
that.recordVisible = false; that.recordVisible = false;
that.recordId = scope.row.id; that.recordId = scope.row.id;
that.recordform = scope.row.form; 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.remark = scope.row.remark?scope.row.remark:'';
that.formName = scope.row.form_.name; that.formName = scope.row.form_.name;
if (that.innerIndex !== '2') {//非复检 if (that.innerIndex !== '2') {//非复检
@ -1538,8 +1541,8 @@
params.is_testok = value.is_testok; params.is_testok = value.is_testok;
params.record_data = value.record_data; params.record_data = value.record_data;
debugger; debugger;
if(value.numbers){ if(value.number){
params.number = value.numbers; params.number = value.number;
} }
if(value.remark){ if(value.remark){
params.remark = value.remark; params.remark = value.remark;
@ -1548,15 +1551,14 @@
that.limitedPhoto = true; that.limitedPhoto = true;
}, },
checkSubmit(data) { checkSubmit(data) {
debugger;
let that = this; let that = this;
let id = that.params.id; let id = that.params.id;
let params = new Object(); let params = new Object();
params.is_testok = that.params.is_testok; params.is_testok = that.params.is_testok;
params.record_data = that.params.record_data; params.record_data = that.params.record_data;
debugger; if(this.params.number){
if(this.params.numbers){ params.number = this.params.number;
params.number = this.params.numbers;
} }
if(this.params.remark){ if(this.params.remark){
params.remark = this.params.remark; params.remark = this.params.remark;