工艺一件保存

This commit is contained in:
zhangdingyu
2019-11-30 09:16:55 +08:00
parent d58bc1ff09
commit c83101a1ab
2 changed files with 10 additions and 1 deletions

View File

@@ -225,6 +225,8 @@ export default {
}
},
getGraphNum() { // 获取下拉图号
this.graphNumValue = ''
this.graphNum = []
this.tableData = []
this.total = 0
this.GroupNumValue = ''
@@ -402,6 +404,13 @@ export default {
console.log(this.工艺计划流水号组, this.通用件图号, this.通用件规格, this.工艺员)
save2(this.工艺计划流水号组, this.通用件图号, this.通用件规格, this.工艺员).then(response => {
console.log(response.data, 231)
if (response.data[0].结果 === 'success') {
this.$message.success('保存成功')
this.PageCurrent = 1
this.getTable()
} else {
this.$message.error('请选择工艺员')
}
})
} else {
this.$message.error('请选择工艺员')