|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="customer-css"> |
|
|
|
<!-- 菜单按钮区域 --> |
|
|
|
<fieldset class="customer-field" style="width: 300px; padding: 0.35em 0.75em 0.425em;"> |
|
|
|
<fieldset class="customer-field" style="width: 200px; padding: 0.35em 0.75em 0.425em;"> |
|
|
|
<legend>菜单</legend> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style=""> |
|
|
|
<el-form-item :label="''"> |
|
|
|
@ -15,12 +15,12 @@ |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.reportButton }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''"> |
|
|
|
<el-button type="primary" @click="switchOperatorModal(1)" class="customer-bun-mid" |
|
|
|
:disabled="reportButton.fqcReportButton" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.fqcReportButton }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item :label="''">--> |
|
|
|
<!-- <el-button type="primary" @click="switchOperatorModal(1)" class="customer-bun-mid"--> |
|
|
|
<!-- :disabled="reportButton.fqcReportButton"--> |
|
|
|
<!-- style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.fqcReportButton }}--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item :label="''">--> |
|
|
|
<!-- <el-button type="primary" @click="switchOperatorModal(2)" class="customer-bun-mid"--> |
|
|
|
<!-- :disabled="reportButton.reworkReportButton"--> |
|
|
|
@ -1971,11 +1971,11 @@ export default { |
|
|
|
if (val == 0) { |
|
|
|
let orderType = this.currentRow.orderType |
|
|
|
let workCenterNo = this.currentRow.workCenterNo |
|
|
|
if (orderType != 'S' || workCenterNo === 'FQC' || nextItemNo == 0) { |
|
|
|
// 验证通过 |
|
|
|
this.$message.error(this.labels.thisScheduleCantReport) |
|
|
|
return false |
|
|
|
} |
|
|
|
// if (orderType != 'S' || workCenterNo === 'FQC' || nextItemNo == 0) { |
|
|
|
// // 验证通过 |
|
|
|
// this.$message.error(this.labels.thisScheduleCantReport) |
|
|
|
// return false |
|
|
|
// } |
|
|
|
let data = { |
|
|
|
site: this.currentRow.site, |
|
|
|
resourceId: this.currentRow.resourceId, |
|
|
|
|