Commit 90f37dca authored by 11528's avatar 11528

复制刷新页面

parent ef1b9738
...@@ -391,6 +391,7 @@ export default { ...@@ -391,6 +391,7 @@ export default {
this.selectPartNum = res.rows this.selectPartNum = res.rows
this.totalMater = res.total this.totalMater = res.total
this.loadingCode = false this.loadingCode = false
this.getList()
}) })
}, },
// 删除生产模型 // 删除生产模型
......
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
}, },
// 同步物料 // 同步物料
handleMaterial() { handleMaterial() {
const type = 1 const type = '1'
onSchedule(type).then(res => { onSchedule(type).then(res => {
this.$message.success('操作成功,请稍后查看结果') this.$message.success('操作成功,请稍后查看结果')
this.getList() this.getList()
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
}, },
// 同步工单 // 同步工单
handleOrder() { handleOrder() {
const type = 2 const type = '2'
onSchedule(type).then(res => { onSchedule(type).then(res => {
this.$message.success('操作成功,请稍后查看结果') this.$message.success('操作成功,请稍后查看结果')
this.getList() this.getList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment