界面调整4

yangwl
zhaoxiaolin 5 months ago
parent 4e4befb17f
commit 76421db090

@ -260,7 +260,9 @@ export default {
dynamicValidateForm: {
domains: [{
value: ''
}]
}],
sampleAql:null,
checkLevel:null
},
//
valueOpen: false,
@ -428,6 +430,8 @@ export default {
// 使nextTick
handleResetForm() {
this.dynamicValidateForm.domains = [{ value: ''}];
this.dynamicValidateForm.sampleAql = null;
this.dynamicValidateForm.checkLevel = null;
},
//
@ -445,7 +449,6 @@ export default {
if(row.checkLevel != null ){
this.dynamicValidateForm.checkLevel = row.checkLevel;
}
const actualValue = row.actualValue;
if(actualValue !== null && actualValue !== '') {
this.dynamicValidateForm.domains = [];
@ -493,10 +496,11 @@ export default {
let values = this.dynamicValidateForm.domains;
var actualValues = values.map(item => item.value);
if(this.typeCode=='material' || this.typeCode =='product'){//
debugger
//(使)
getAutoJudge(this.quality,
this.checkLevel,
this.sampleAql,
this.dynamicValidateForm.checkLevel,
this.dynamicValidateForm.sampleAql,
actualValues,
_this.downDiff,
_this.upperDiff
@ -523,6 +527,8 @@ export default {
commitActualValueFun(recordId, actualValues,autoStatus,checkLevel,sampleAql,sampleCode,sampleQuality){
commitActualValue(recordId, actualValues,autoStatus,checkLevel,sampleAql,sampleCode,sampleQuality).then(response => {
this.dynamicValidateForm.domains = [{ value: ''}];
this.dynamicValidateForm.checkLevel = null;
this.dynamicValidateForm.sampleAql = null;
this.$modal.msgSuccess("提交成功");
this.valueOpen = false;
this.getList();

Loading…
Cancel
Save