|
@@ -1137,6 +1137,22 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ revokePlan(){
|
|
|
+ this.$confirm('确定要撤销该出库单吗?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ revokePlanOut(this.form.id).then(res => {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: '撤销成功!'
|
|
|
+ });
|
|
|
+ this.getDetail(res.data.data, true)
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
uploadExceed(limit, files, fileList, column) {
|
|
|
this.$message.error("超出上传限制文件数量");
|
|
|
},
|