added submit po button function

This commit is contained in:
Jack Goh
2018-06-14 21:36:26 +08:00
parent 19d69adad2
commit 6307381c0d
+12 -3
View File
@@ -31,7 +31,7 @@
<br>
<div class="bottom clearfix" style="text-align:right;">
<el-button type="primary">Submit</el-button>
<el-button @click="uploadPo" type="primary">Submit</el-button>
</div>
<!-- upload image end -->
@@ -155,8 +155,17 @@
}
},
methods: {
uploadPo(){
this.$message({
showClose: true,
message: 'Your PO has been uploaded. We are processing the Invoice.',
type: 'success',
duration: 5000,
});
this.$router.push({
name: 'home'
})
}
}
}
</script>