禁用
This commit is contained in:
@@ -589,11 +589,7 @@
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
icon="el-icon-check"
|
||||
@click="submitTable">确定</el-button>
|
||||
<el-button :disabled="AddTableData_disable" type="primary" size="small" icon="el-icon-check" @click="submitTable">确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -770,6 +766,7 @@ export default {
|
||||
this.groupNumber = []
|
||||
this.procedureNum = []
|
||||
this.operators = []
|
||||
this.AddTableData_disable = false
|
||||
this.dialogFormVisible10 = true
|
||||
},
|
||||
formatJson(filterVal, jsonData) {
|
||||
@@ -876,6 +873,7 @@ export default {
|
||||
submitTable() {
|
||||
this.$refs['form2'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.AddTableData_disable = true
|
||||
submitTable(this.form2.工序, this.form2.质检类型, this.form2.检测数, this.form2.质检情况, this.id, this.form2.不合格数量, this.form2.不合格原因, this.form2.不合格处理, this.form2.备注, this.form2.操作工).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.dialogFormVisible10 = false
|
||||
|
||||
Reference in New Issue
Block a user