mirror of
https://github.com/frappe/books.git
synced 2024-12-23 19:39:07 +00:00
fix: Submit button in QuickEdit
This commit is contained in:
parent
3c3473fe4e
commit
6f79916d1b
@ -13,6 +13,15 @@
|
||||
>
|
||||
<feather-icon name="check" class="text-white" />
|
||||
</Button>
|
||||
<Button
|
||||
:icon="true"
|
||||
@click="submitDoc"
|
||||
type="primary"
|
||||
v-if="meta && meta.isSubmittable && !doc.submitted && !doc._notInserted"
|
||||
class="ml-2 flex"
|
||||
>
|
||||
<feather-icon name="lock" class="text-white" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="pl-1 pr-4 pt-2 pb-4 border-b flex items-center justify-between">
|
||||
<FormControl
|
||||
@ -156,6 +165,9 @@ export default {
|
||||
insertDoc() {
|
||||
this.doc.insert();
|
||||
},
|
||||
submitDoc() {
|
||||
this.doc.submit();
|
||||
},
|
||||
routeToList() {
|
||||
this.$router.push(`/list/${this.doctype}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user