瀏覽代碼

设备弹窗月份文字修改

cyy 2 年之前
父節點
當前提交
63ca16c721
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/views/component/deviceSubtableDialog.vue

+ 5 - 5
src/views/component/deviceSubtableDialog.vue

@@ -131,8 +131,8 @@ export default {
             let arr = []
             let arr = []
             for (let i = 1; i < sum; i++) {
             for (let i = 1; i < sum; i++) {
                 let mid = {value:'',label:''}
                 let mid = {value:'',label:''}
-                mid.value = '第'+i+'月'
-                mid.label = '第'+i+'月'
+                mid.value = '第'+i+'月'
+                mid.label = '第'+i+'月'
                 arr.push(mid)
                 arr.push(mid)
             }
             }
             return arr
             return arr
@@ -467,11 +467,11 @@ export default {
                 // console.log(partArr*1-1)
                 // console.log(partArr*1-1)
                 that.weekDateValue = this.weekList[partArr*1-1]
                 that.weekDateValue = this.weekList[partArr*1-1]
             }else if(content.weiHuLeiXing == '季度保养'){
             }else if(content.weiHuLeiXing == '季度保养'){
-                that.quarterDateValue = content.weiHuRiQi
+                that.quarterDateValue = content.weiHuRiQi.slice(3)
             }else if(content.weiHuLeiXing == '半年保养'){
             }else if(content.weiHuLeiXing == '半年保养'){
-                that.midyearDateValue = content.weiHuRiQi
+                that.midyearDateValue = content.weiHuRiQi.slice(3)
             }else if(content.weiHuLeiXing == '年保养'){
             }else if(content.weiHuLeiXing == '年保养'){
-                that.yearDateValue = content.weiHuRiQi
+                that.yearDateValue = content.weiHuRiQi.slice(2)
             }else{
             }else{
 
 
             }
             }