소스 검색

展馆预约记录表格增加核销时间字段

shaogen1995 3 달 전
부모
커밋
0aa7c53894
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      后台管理/src/pages/B2exhiLog/index.tsx
  2. 2 1
      平板二维码扫码/src/utils/tableData.ts

+ 4 - 0
后台管理/src/pages/B2exhiLog/index.tsx

@@ -131,6 +131,10 @@ function B2exhiLog() {
         )
       },
       {
+        title: '核销时间',
+        render: (item: B2tableType) => (item.status === 1 ? item.updateTime : ' -')
+      },
+      {
         title: '操作',
         render: (item: B2tableType) => (
           <>

+ 2 - 1
平板二维码扫码/src/utils/tableData.ts

@@ -20,5 +20,6 @@ export const A1tableC = [
   ['txt', '联系电话', 'phone'],
   ['txt', '人数', 'pcs'],
   ['txt', '预约日期', 'bookDate'],
-  ['txt', '预约时段', 'time']
+  ['txt', '预约时段', 'time'],
+  ['txt', '核销时间', 'updateTime']
 ]