diff --git a/src/views/base/physicalReceive/components/ReceiveDealProduct.vue b/src/views/base/physicalReceive/components/ReceiveDealProduct.vue index a1ccdb0..fd3a0fc 100644 --- a/src/views/base/physicalReceive/components/ReceiveDealProduct.vue +++ b/src/views/base/physicalReceive/components/ReceiveDealProduct.vue @@ -52,7 +52,7 @@
- + @@ -90,14 +90,9 @@ -
+
{{ `موجودی کیف طلا: ${walletStore?.walletInfo?.gold ?? 0} گرم` }}
-
- {{ `موجودی کیف پول: ${usePriceWithoutType(walletStore?.walletInfo?.cash ?? 0)} ریال` }} -
-
{{ `موجودی محصول: ${getInventoryById(props?.ProductItem?.id)}` }} -
@@ -648,14 +643,14 @@ async function ok() { await createOrder({ direction: isBuy.value ? 1 : 2, product_id: props.ProductItem.id, - method: form.value.method, + method: "gold_withdraw", number: form.value.goldValue ?? 0 }) - await physicalReceiveApi({ + /*await physicalReceiveApi({ product_id: props.ProductItem.id, value: form.value.goldValue ?? 0 } - ) + )*/ await walletStore.getMyWallet() await router.push({ name: 'transactions' }) form.value = {