From 9b77f9ec2c00b48c551f65b2e9d7a087004de4c0 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Thu, 12 Nov 2020 16:27:13 -0500 Subject: Noice. Product creation and updating is totally functional. --- .../src/components/admin/ProductEditCard.vue | 229 +++++++++++++-------- 1 file changed, 143 insertions(+), 86 deletions(-) (limited to 'iridescence/src/components/admin/ProductEditCard.vue') diff --git a/iridescence/src/components/admin/ProductEditCard.vue b/iridescence/src/components/admin/ProductEditCard.vue index a8117ce..aced39c 100644 --- a/iridescence/src/components/admin/ProductEditCard.vue +++ b/iridescence/src/components/admin/ProductEditCard.vue @@ -2,17 +2,38 @@
-

- {{ currentProduct.id }}: {{ currentProduct.name }} +

+ {{ old.id }}: {{ old.name }}

+
+
+ +
+
@@ -20,7 +41,7 @@ class="input" type="text" placeholder="(product category)" - v-model="newProduct.category_path" + v-model="category" />
@@ -34,7 +55,7 @@ class="input" type="text" placeholder="inventory (quantity)" - v-model="newProductQuantity" + v-model="quantity" />

@@ -62,148 +83,184 @@ class="input" type="text" placeholder="price" - v-model="newProductPrice" + v-model="price" />

-
-
- -
-
- -