QuKatie преди 3 години
родител
ревизия
ed9ec9ea60
променени са 1 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 6 6
      src/views/maintenance/priceLibrary/detailsPage.vue

+ 6 - 6
src/views/maintenance/priceLibrary/detailsPage.vue

@@ -193,9 +193,9 @@ export default {
           {
             label: "有效期开始",
             prop: "startTime",
-            type: "datetime",
-            format: "yyyy-MM-dd hh:mm:ss",
-            valueFormat: "yyyy-MM-dd hh:mm:ss",
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd 00:00:00",
             rules: [
               {
                 required: true,
@@ -208,9 +208,9 @@ export default {
           {
             label: "有效期结束",
             prop: "endTime",
-            type: "datetime",
-            format: "yyyy-MM-dd hh:mm:ss",
-            valueFormat: "yyyy-MM-dd hh:mm:ss",
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd 23:59:59",
             rules: [
               {
                 required: true,