Browse Source

feat: 输入时间款的长度

tangning 2 years ago
parent
commit
9726bcd24a
1 changed files with 11 additions and 11 deletions
  1. 11 11
      src/views/account/details/data.ts

+ 11 - 11
src/views/account/details/data.ts

@@ -266,21 +266,19 @@ export const orderSearchForm: Partial<FormProps> = {
   },
   schemas: [
     {
-      field: 'ctivated',
-      label: '下单时间',
-      component: 'RangePicker',
+      field: 'orderSn',
+      label: '订单号',
+      component: 'Input',
       componentProps: {
         maxLength: 100,
-        format: 'YYYY-MM-DD',
-        valueFormat:'YYYY-MM-DD',
       },
       colProps: {
         xl: 7,
         xxl: 7,
       },
     },{
-      field: 'orderSn',
-      label: '订单号',
+      field: 'tradeNum',
+      label: '交易号',
       component: 'Input',
       componentProps: {
         maxLength: 100,
@@ -290,17 +288,19 @@ export const orderSearchForm: Partial<FormProps> = {
         xxl: 7,
       },
     },{
-      field: 'tradeNum',
-      label: '交易号',
-      component: 'Input',
+      field: 'ctivated',
+      label: '下单时间',
+      component: 'RangePicker',
       componentProps: {
         maxLength: 100,
+        format: 'YYYY-MM-DD',
+        valueFormat:'YYYY-MM-DD',
       },
       colProps: {
         xl: 7,
         xxl: 7,
       },
-    },
+    }
   ],
 };
 //下载订单