Browse Source

优化若干问题

zouzexu 3 weeks ago
parent
commit
fbf8ab3d36

+ 1 - 0
src/views/businessManagement/schoolOpen/index.vue

@@ -1,3 +1,4 @@
+
 <template>
   <div class="p-8px bg-white">
     <div class="px-4">

+ 1 - 1
src/views/businessManagement/schoolOpen/schoolOpen.data.ts

@@ -169,7 +169,7 @@ export const ScheduleArrangementColums: BasicColumn[] = [
     editComponentProps: {
       size: 'middle',
       disabled: !getIsMerchant.value,
-      min:1,
+      min:0,
     },
     editRow: true,
     editable: true,

+ 2 - 2
src/views/informationManagement/cUserInfo/cUserInfo.data.ts

@@ -110,7 +110,7 @@ export const formSchema: FormSchema[] = [
   },
   {
     label: '手机号码',
-    field: 'id',
+    field: 'phone',
     component: 'Input',
     required: true,
     componentProps: {
@@ -119,7 +119,7 @@ export const formSchema: FormSchema[] = [
   },
   {
     label: '创建时间',
-    field: 'id',
+    field: 'createTime',
     component: 'Input',
     required: true,
   },

+ 1 - 1
src/views/orderManagement/order/index.vue

@@ -148,7 +148,7 @@
         autoSubmitOnEnter: true,
         showAdvancedButton: true,
         fieldMapToNumber: [],
-        fieldMapToTime: [['time', ['startTime', 'endTime'], 'YYYY-MM-DD HH:mm:ss']],
+        fieldMapToTime: [['joinTime', ['startTime', 'endTime'], 'YYYY-MM-DD HH:mm:ss']],
       },
       inset: true,
       actionColumn: {

+ 3 - 1
src/views/orderManagement/order/order.data.ts

@@ -145,10 +145,12 @@ export const searchFormSchema: FormSchema[] = [
   },
   {
     label: '下单时间',
-    field: 'time',
+    field: 'joinTime',
     component: 'RangePicker',
     componentProps: {
       placeholder: ['开始时间', '结束时间'],
+      format: 'YYYY-MM-DD HH:mm:ss',
+      valueType: 'Date',
     },
   },
 ];

+ 1 - 1
src/views/orderManagement/refundOrder/index.vue

@@ -100,7 +100,7 @@
         autoSubmitOnEnter: true,
         showAdvancedButton: true,
         fieldMapToNumber: [],
-        fieldMapToTime: [['time', ['startTime', 'endTime'], 'YYYY-MM-DD HH:mm:ss']],
+        fieldMapToTime: [['joinTime', ['startTime', 'endTime'], 'YYYY-MM-DD HH:mm:ss']],
       },
       inset: true,
       actionColumn: {

+ 3 - 1
src/views/orderManagement/refundOrder/refundOrder.data.ts

@@ -69,10 +69,12 @@ export const searchFormSchema: FormSchema[] = [
   },
   {
     label: '下单时间',
-    field: 'time',
+    field: 'joinTime',
     component: 'RangePicker',
     componentProps: {
       placeholder: ['开始时间', '结束时间'],
+      format: 'YYYY-MM-DD HH:mm:ss',
+      valueType: 'Date',
     },
   },
 ];