|
|
@@ -51,17 +51,17 @@ const props = defineProps({
|
|
|
const enableqty = computed(() => props.selectedRow.buycurpositionqty - props.selectedRow.buyfrozenqty)
|
|
|
|
|
|
// 总货款
|
|
|
-const payment = (qty: number) => {
|
|
|
- return props.selectedRow.presaleprice * qty
|
|
|
-}
|
|
|
+// const payment = (qty: number) => {
|
|
|
+// return props.selectedRow.presaleprice * qty
|
|
|
+// }
|
|
|
|
|
|
// 已付定金
|
|
|
-const deposit = (qty: number) => {
|
|
|
- return payment(qty) * props.selectedRow.transferdepositratio
|
|
|
-}
|
|
|
+// const deposit = (qty: number) => {
|
|
|
+// return payment(qty) * props.selectedRow.transferdepositratio
|
|
|
+// }
|
|
|
|
|
|
// 剩余货款
|
|
|
-const available = (qty: number, discount: number) => {
|
|
|
- return payment(qty) - deposit(qty) + discount
|
|
|
-}
|
|
|
+// const available = (qty: number, discount: number) => {
|
|
|
+// return payment(qty) - deposit(qty) + discount
|
|
|
+// }
|
|
|
</script>
|