Revert "fix(physical-receive): use product unit and send product_id"
This reverts commit 6e898323d4.
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
<div class="flex justify-between items-center mt-2">
|
<div class="flex justify-between items-center mt-2">
|
||||||
<div>تعداد درخواستی:</div>
|
<div>تعداد درخواستی:</div>
|
||||||
<div class="flex gap-1 items-center w-40%">
|
<div class="flex gap-1 items-center w-40%">
|
||||||
<BasicInput v-model:value="val.count" :addon-before="val.product.unit"/>
|
<BasicInput v-model:value="val.count" addon-before="عدد"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -175,7 +175,6 @@ async function handelsubmit() {
|
|||||||
productsByWalletId.value = selectedProducts.value.map((val) => {
|
productsByWalletId.value = selectedProducts.value.map((val) => {
|
||||||
return {
|
return {
|
||||||
wallet_id: val.product.wallet.id,
|
wallet_id: val.product.wallet.id,
|
||||||
product_id: val.product.id,
|
|
||||||
value: val.count
|
value: val.count
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user