界面调整4

yangwl
zhaoxiaolin 5 months ago
parent 4e4befb17f
commit 76421db090

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

Loading…
Cancel
Save