Commit 9abb4afc by 杨铁龙
parents 390ec120 fd2f9edb
Showing with 13 additions and 2 deletions
import Chat from "@/customer-service/xim"; import Chat from "@/customer-service/xim";
import { UniplatSdkExtender } from "uniplat-sdk"; import { metaRow, UniplatSdkExtender } from "uniplat-sdk";
import { import {
OperationType, OperationType,
OrderStatus, OrderStatus,
...@@ -8,7 +8,8 @@ import { ...@@ -8,7 +8,8 @@ import {
SrcPlatform, SrcPlatform,
OrderPayItem, OrderPayItem,
PaymentDetail, PaymentDetail,
UploadImageItem UploadImageItem,
OrderRowItem
} from "../model"; } from "../model";
class OrderService { class OrderService {
...@@ -136,6 +137,16 @@ class OrderService { ...@@ -136,6 +137,16 @@ class OrderService {
) )
); );
} }
public buildOrder(o: metaRow) {
return this.handler.buildRow<OrderRowItem>(o, {
status: 'Status',
no: 'OrderDocNo',
createTime: 'CreatedDate',
v: 'uniplat_version',
id: 'ID'
});
}
} }
export const orderService = new OrderService(); export const orderService = new OrderService();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment