Compare commits
2
Commits
f422dbaa00
...
92f981769f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92f981769f | ||
|
|
f69225dbff |
No files matched your search
@@ -57,7 +57,6 @@ const count = computed({
|
||||
const totalAmt = computed(() => {
|
||||
const { totalDays } = props.selectedDate;
|
||||
const { specificationPrice } = props.orderData;
|
||||
|
||||
return count.value * Number(specificationPrice) * totalDays;
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -3,7 +3,11 @@ import { defineStore } from "pinia";
|
||||
export const useSelectedDateStore = defineStore("selectedDate", {
|
||||
state() {
|
||||
return {
|
||||
selectedDate: {},
|
||||
selectedDate: {
|
||||
startDate: "",
|
||||
endDate: "",
|
||||
totalDays: 1,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user