|
@@ -811,6 +811,7 @@ export default {
|
|
|
console.log(res)
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success('保存成功');
|
|
|
+ this.getList()
|
|
|
this.jiGang = false
|
|
|
}
|
|
|
})
|
|
@@ -828,6 +829,7 @@ export default {
|
|
|
console.log(res)
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success('提交成功');
|
|
|
+ this.getList()
|
|
|
this.jiGang = false
|
|
|
}
|
|
|
})
|
|
@@ -835,20 +837,18 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
cancellation() {
|
|
|
- this.$refs["rules"].validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- let formDatae = new window.FormData()
|
|
|
- formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
|
|
|
- formDatae.append('feesDr', JSON.stringify(this.warehouseDrList))
|
|
|
- formDatae.append('feesCr', JSON.stringify(this.warehouseCrList))
|
|
|
- revokeContainerPort(formDatae).then(res => {
|
|
|
- console.log(res)
|
|
|
- if (res.code === 200) {
|
|
|
- this.$message.success('撤销成功');
|
|
|
- }
|
|
|
- })
|
|
|
+ // let formDatae = new window.FormData()
|
|
|
+ // formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
|
|
|
+ // formDatae.append('feesDr', JSON.stringify(this.warehouseDrList))
|
|
|
+ // formDatae.append('feesCr', JSON.stringify(this.warehouseCrList))
|
|
|
+ revokeContainerPort(this.queryParams.fId).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.$message.success('撤销成功');
|
|
|
+ this.getList()
|
|
|
+ this.jiGang = false
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
calculation(row) {
|
|
|
console.log(row)
|