瀏覽代碼

[ADD] sale completion

Gogs 7 年之前
父節點
當前提交
2e0ada4e57
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -1,6 +1,6 @@
 <template lang="pug">
     .pos
-        form-wizard(title='' subtitle='' finishButtonText='Finalizar' color='#7c7bad' nextButtonText='Continuar' backButtonText='Volver')
+        form-wizard(title='' subtitle='' finishButtonText='Finalizar' color='#7c7bad' nextButtonText='Continuar' backButtonText='Volver' @on-complete="createSale')
             tab-content(title="Qué productos necesita?" :before-change="checkCart")
                 product-step
             tab-content(title="Quién es el cliente?" :before-change="checkCustomer")