test_user 2 lat temu
rodzic
commit
ef37962f4c
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/xt_pages/outpatientTool/yidiClear.vue

+ 2 - 0
src/xt_pages/outpatientTool/yidiClear.vue Wyświetl plik

@@ -11,6 +11,7 @@
11 11
         <el-date-picker
12 12
             v-model="month"
13 13
             type="month"
14
+            value-format="yyyy-MM"
14 15
             placeholder="选择年月">
15 16
         </el-date-picker>
16 17
       </div>
@@ -93,6 +94,7 @@ export default {
93 94
   methods: {
94 95
     getYidiClear(){
95 96
       var that = this;
97
+      console.log(this.month)
96 98
       let params = {
97 99
         'year':this.month.split("-")[0],
98 100
         'month':this.month.split("-")[1],