This commit is contained in:
Vergil
2020-04-08 11:21:34 +08:00
parent 307598eb96
commit 0d0e0dcb6f
7 changed files with 80 additions and 54 deletions

View File

@@ -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