refactor: add agent price
This commit is contained in:
parent
0be0ce4c49
commit
5c3d2f1499
4 changed files with 5 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ export const useQuotationStore = defineStore('quotation-store', () => {
|
|||
}
|
||||
|
||||
async function editQuotation(data: QuotationPayload & { id: string }) {
|
||||
const { _count, ...payload } = data;
|
||||
const { _count, agentPrice, ...payload } = data;
|
||||
const res = await api.put(`/quotation/${data.id}`, {
|
||||
...payload,
|
||||
quotationStatus:
|
||||
|
|
|
|||
|
|
@ -371,6 +371,7 @@ export type QuotationPayload = {
|
|||
status?: Status;
|
||||
remark?: string;
|
||||
quotationStatus?: QuotationStatus;
|
||||
agentPrice?: boolean;
|
||||
};
|
||||
|
||||
export type EmployeeWorker = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue