Skip to content

Commit

Permalink
add: add interface in ts LinkReceiptSaleShipmentsDetailResp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jzow committed Nov 13, 2023
1 parent 5bec7de commit 1f8b3ca
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
24 changes: 24 additions & 0 deletions web/src/api/sale/model/shipmentsModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,30 @@ export interface AddOrUpdateReceiptSaleShipmentsReq {
files: FileData[];
}

export interface LinkReceiptSaleShipmentsDetailResp {
id: number | string | undefined;
customerId: string;
customerName: string;
accountName: string;
receiptNumber: string;
receiptDate: string;
otherReceipt: string;
operatorIds: number[];
collectOfferRate: number;
collectOfferAmount: number;
collectOfferLastAmount: number;
otherAmount: number;
thisCollectAmount: number;
thisArrearsAmount: number;
accountId: number | string;
multipleAccountIds: number[];
multipleAccountAmounts: number[];
status: number;
remark: string;
tableData: tableData[];
files: FileData[];
}

export interface SaleShipmentDetailData {
customerId: number | string;
receiptDate: string;
Expand Down
8 changes: 1 addition & 7 deletions web/src/views/purchase/order/components/ViewOrderModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ export default defineComponent({
function handleSubmit() {
closeModal();
}
function viewRefundReceipt() {
closeModal();
}
return {
receiptNumber,
otherReceipt,
Expand All @@ -138,8 +133,7 @@ export default defineComponent({
registerTable,
registerModal,
getTitle,
handleSubmit,
viewRefundReceipt
handleSubmit
};
},
});
Expand Down

0 comments on commit 1f8b3ca

Please sign in to comment.