|
|
@@ -125,6 +125,7 @@ const { onShowCustomerCreate } = useDialog()
|
|
125
|
125
|
label="Pelanggan"
|
|
126
|
126
|
placeholder="pelanggan"
|
|
127
|
127
|
field="name"
|
|
|
128
|
+ param="customer"
|
|
128
|
129
|
refresh-data="customers"
|
|
129
|
130
|
v-model="form.customer"
|
|
130
|
131
|
:error="form.errors.customer_id"
|
|
|
@@ -162,13 +163,14 @@ const { onShowCustomerCreate } = useDialog()
|
|
162
|
163
|
<div class="grid">
|
|
163
|
164
|
<div class="col-12 md:col-6">
|
|
164
|
165
|
<AppAutoComplete
|
|
165
|
|
- :disabled="!form.customer?.id"
|
|
166
|
166
|
empty
|
|
167
|
167
|
label="Produk"
|
|
168
|
168
|
placeholder="produk"
|
|
169
|
169
|
field="name"
|
|
|
170
|
+ param="stock_product"
|
|
170
|
171
|
refresh-data="stockProducts"
|
|
171
|
172
|
v-model="form.product"
|
|
|
173
|
+ :disabled="!form.customer?.id"
|
|
172
|
174
|
:error="form.errors.product"
|
|
173
|
175
|
:suggestions="stockProducts"
|
|
174
|
176
|
>
|