|
|
@ -170,7 +170,7 @@ |
|
|
<el-button type="primary" size="small" @click="refreshPageData" icon="el-icon-refresh"> |
|
|
<el-button type="primary" size="small" @click="refreshPageData" icon="el-icon-refresh"> |
|
|
刷新 |
|
|
刷新 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button type="primary" size="small" @click="switchOperatorModal" icon="el-icon-user"> |
|
|
|
|
|
|
|
|
<el-button type="primary" size="small" @click="switchOperatorModal" :disabled="buttonTags.switchUser" icon="el-icon-user"> |
|
|
切换用户 |
|
|
切换用户 |
|
|
</el-button> |
|
|
</el-button> |
|
|
</div> |
|
|
</div> |
|
|
@ -3313,7 +3313,8 @@ export default { |
|
|
otherBunFlag: true, |
|
|
otherBunFlag: true, |
|
|
materialMalformedFlag: true, |
|
|
materialMalformedFlag: true, |
|
|
malformedMaterialFlag: true, |
|
|
malformedMaterialFlag: true, |
|
|
processInspectionFlag: true |
|
|
|
|
|
|
|
|
processInspectionFlag: true, |
|
|
|
|
|
switchUser: true |
|
|
}, |
|
|
}, |
|
|
dataListLoading: false, |
|
|
dataListLoading: false, |
|
|
productionStatusLoading: false, // 暂停生产/继续生产按钮 loading |
|
|
productionStatusLoading: false, // 暂停生产/继续生产按钮 loading |
|
|
@ -4383,10 +4384,11 @@ export default { |
|
|
this.buttonTags.malformedMaterialFlag = true |
|
|
this.buttonTags.malformedMaterialFlag = true |
|
|
this.buttonTags.malformedMaterialButtonFlag = true |
|
|
this.buttonTags.malformedMaterialButtonFlag = true |
|
|
this.buttonTags.processInspectionFlag = true |
|
|
this.buttonTags.processInspectionFlag = true |
|
|
|
|
|
this.buttonTags.switchUser = true |
|
|
} else { |
|
|
} else { |
|
|
//存在人员既可以合并卷 |
|
|
//存在人员既可以合并卷 |
|
|
this.buttonTags.mergeRollFlag = false; |
|
|
|
|
|
this.buttonTags.finishScheduleFlag = false; |
|
|
|
|
|
|
|
|
// this.buttonTags.mergeRollFlag = false; |
|
|
|
|
|
// this.buttonTags.finishScheduleFlag = false; |
|
|
this.buttonTags.otherBunFlag = false; |
|
|
this.buttonTags.otherBunFlag = false; |
|
|
this.buttonTags.materialMalformedFlag = false |
|
|
this.buttonTags.materialMalformedFlag = false |
|
|
this.buttonTags.malformedMaterialFlag = false |
|
|
this.buttonTags.malformedMaterialFlag = false |
|
|
@ -4448,6 +4450,22 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.buttonTags.processInspectionFlag = true; |
|
|
this.buttonTags.processInspectionFlag = true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (data.resultMap.combineRoll == 'Y') { |
|
|
|
|
|
this.buttonTags.mergeRollFlag = false; |
|
|
|
|
|
} else { |
|
|
|
|
|
this.buttonTags.mergeRollFlag = true; |
|
|
|
|
|
} |
|
|
|
|
|
if (data.resultMap.finishOrder == 'Y') { |
|
|
|
|
|
this.buttonTags.finishScheduleFlag = false; |
|
|
|
|
|
} else { |
|
|
|
|
|
this.buttonTags.finishScheduleFlag = true; |
|
|
|
|
|
} |
|
|
|
|
|
if (data.resultMap.switchUser == 'Y') { |
|
|
|
|
|
this.buttonTags.switchUser = false; |
|
|
|
|
|
} else { |
|
|
|
|
|
this.buttonTags.switchUser = true; |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
let dto = { |
|
|
let dto = { |
|
|
|