|
|
@ -224,6 +224,7 @@ export default { |
|
|
|
detailsList: [] |
|
|
|
} |
|
|
|
this.list = [] |
|
|
|
this.submitdisabled = false |
|
|
|
this.$refs['form_obj'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|
}, |
|
|
@ -275,7 +276,6 @@ export default { |
|
|
|
this.submitdisabled = true |
|
|
|
this.formobj.detailsList = this.list |
|
|
|
req.save(this.formobj).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
if (resp.success) { |
|
|
|
this.handleReturn('true') |
|
|
@ -298,7 +298,6 @@ export default { |
|
|
|
this.submitdisabled = true |
|
|
|
this.formobj.detailsList = this.list |
|
|
|
req.save(this.formobj).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
this.handleReturn('true') |
|
|
|
} |
|
|
@ -319,7 +318,6 @@ export default { |
|
|
|
this.submitdisabled = true |
|
|
|
this.formobj.detailsList = this.list |
|
|
|
req.submitVehicleReturn(this.formobj).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
if (resp.success) { |
|
|
|
this.handleReturn('true') |
|
|
|