Commit 71e898b3 authored by jiaorz's avatar jiaorz

132

parent 55cae96a
...@@ -32,7 +32,7 @@ export function reject(obj) { ...@@ -32,7 +32,7 @@ export function reject(obj) {
}); });
} }
export function unbookunbook(obj) { export function unbook(obj) {
return fetch({ return fetch({
url: '/vehicle/vehicleInfo/unbook/4employee', url: '/vehicle/vehicleInfo/unbook/4employee',
method: 'delete', method: 'delete',
......
...@@ -1485,7 +1485,8 @@ ...@@ -1485,7 +1485,8 @@
}).then(() => { }).then(() => {
var obj = { var obj = {
vehicleBookRecordId:row.id vehicleBookRecordId:row.id
} };
debugger
unbook(obj) unbook(obj)
.then(response => { .then(response => {
if(response.code==1){ if(response.code==1){
......
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