|
@@ -1,6 +1,6 @@
|
|
|
import { defineStore } from 'pinia'
|
|
import { defineStore } from 'pinia'
|
|
|
import { reactive, ref } from 'vue'
|
|
import { reactive, ref } from 'vue'
|
|
|
-import { createCollection, deleteCollection, queryCollection, updateCollection, retrievalCollection } from '@/api/collection'
|
|
|
|
|
|
|
+import { createCollection, deleteCollection, queryCollection, updateCollection } from '@/api/collection'
|
|
|
import { formatDate } from '@/utils/formatDate'
|
|
import { formatDate } from '@/utils/formatDate'
|
|
|
|
|
|
|
|
export const collectionOperate = defineStore('payment', () => {
|
|
export const collectionOperate = defineStore('payment', () => {
|
|
@@ -23,7 +23,6 @@ export const collectionOperate = defineStore('payment', () => {
|
|
|
})
|
|
})
|
|
|
paymentList.length = 0
|
|
paymentList.length = 0
|
|
|
paymentList.push(...data)
|
|
paymentList.push(...data)
|
|
|
- console.log(paymentList)
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -54,7 +53,6 @@ export const collectionOperate = defineStore('payment', () => {
|
|
|
})
|
|
})
|
|
|
paymentList.length = 0
|
|
paymentList.length = 0
|
|
|
paymentList.push(...list)
|
|
paymentList.push(...list)
|
|
|
- paymentTotal.value = list.length
|
|
|
|
|
}
|
|
}
|
|
|
const changePaymentCode = (code) => {
|
|
const changePaymentCode = (code) => {
|
|
|
paymentCode.value = code
|
|
paymentCode.value = code
|