Explorar o código

应用管理页面新增编辑报错
支付订单新增时时间选择问题

周建 %!s(int64=2) %!d(string=hai) anos
pai
achega
4cf5954eaa

+ 0 - 8
src/views/pay/order/index.vue

@@ -1,11 +1,3 @@
-<!--
- * @Author: 周建 1348660141@qq.com
- * @Date: 2023-06-14 09:03:29
- * @LastEditors: 周建 1348660141@qq.com
- * @LastEditTime: 2023-06-14 14:21:08
- * @FilePath: \yudao-ui-admin-vue3\src\views\pay\order\index.vue
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--->
 <template>
   <ContentWrap>
     <!-- 列表 -->

+ 15 - 3
src/views/pay/order/order.data.ts

@@ -96,17 +96,26 @@ const crudSchemas = reactive<VxeCrudSchema>({
     {
       title: '订单失效时间',
       field: 'expireTime',
-      formatter: 'formatDate'
+      formatter: 'formatDate',
+      form: {
+        component: 'DatePicker'
+      }
     },
     {
       title: '支付时间',
       field: 'successTime',
-      formatter: 'formatDate'
+      formatter: 'formatDate',
+      form: {
+        component: 'DatePicker'
+      }
     },
     {
       title: '支付通知时间',
       field: 'notifyTime',
-      formatter: 'formatDate'
+      formatter: 'formatDate',
+      form: {
+        component: 'DatePicker'
+      }
     },
     {
       title: '拓展编号',
@@ -140,6 +149,9 @@ const crudSchemas = reactive<VxeCrudSchema>({
       field: 'createTime',
       formatter: 'formatDate',
       isForm: false,
+      form: {
+        component: 'DatePicker'
+      },
       search: {
         show: true,
         itemRender: {

+ 5 - 5
src/views/system/oauth2/client/client.data.ts

@@ -103,7 +103,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
       form: {
         component: 'Select',
         componentProps: {
-          options: [],
+          //   options: [],
           multiple: true,
           filterable: true,
           allowCreate: true,
@@ -118,7 +118,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
       form: {
         component: 'Select',
         componentProps: {
-          options: [],
+          // options: [],
           multiple: true,
           filterable: true,
           allowCreate: true,
@@ -133,7 +133,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
       form: {
         component: 'Select',
         componentProps: {
-          options: [],
+          // options: [],
           multiple: true,
           filterable: true,
           allowCreate: true,
@@ -148,7 +148,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
       form: {
         component: 'Select',
         componentProps: {
-          options: [],
+          // options: [],
           multiple: true,
           filterable: true,
           allowCreate: true,
@@ -163,7 +163,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
       form: {
         component: 'Select',
         componentProps: {
-          options: [],
+          // options: [],
           multiple: true,
           filterable: true,
           allowCreate: true,