diff --git a/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paym.vue b/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paym.vue index 0e7a6e942..5e8040c0f 100644 --- a/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paym.vue +++ b/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paym.vue @@ -3,36 +3,41 @@
-
-
- {{ item }} -
- - -
- - - - - - - - 搜索 - 重置 - +
+
+
+ {{ item }} +
+ + +
+ + + + + + +
+ + + 搜索 + 重置 +
@@ -132,8 +137,10 @@ export default { "近一周", "近一月", "近一年", + "自定义", ], timeIndex: 0, + disabled:true, value2: [], // 查询参数 queryParams: { @@ -181,6 +188,7 @@ export default { methods: { editColor(index) { this.timeIndex = index + this.disabled = true if (this.timeList[index] == '今日') { let start = new Date(); start.setHours(0) @@ -200,6 +208,8 @@ export default { let nowDate = new Date(); let oneWeekAgo = new Date(nowDate.getFullYear() - 1, nowDate.getMonth(), nowDate.getDate()) this.value2 = [parseTime(oneWeekAgo), parseTime(nowDate)] + }else if (this.timeList[index]=='自定义'){ + this.disabled = false } this.handleQuery() }, diff --git a/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue b/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue index 81a6a36ec..b2e62d0cc 100644 --- a/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue +++ b/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue @@ -3,7 +3,8 @@
-
+
+
{{ item }} @@ -12,12 +13,14 @@ v-model="value2" type="datetimerange" range-separator="至" - style="height: 32px" + style="height: 32px;" value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="开始日期" - end-placeholder="结束日期" @click="handleQuery"> + end-placeholder="结束日期" + :disabled="disabled" + @click="handleQuery"> -
+
- - 搜索 - 重置 -
+
+ + 搜索 + 重置 +
@@ -118,8 +122,10 @@ export default { "近一周", "近一月", "近一年", + "自定义", ], timeIndex: 0, + disabled:true, value2: [], // 日期范围 dateRange: [], @@ -180,6 +186,7 @@ export default { methods: { editColor(index) { this.timeIndex = index + this.disabled = true if (this.timeList[index] == '今日') { let start = new Date(); start.setHours(0) @@ -199,6 +206,8 @@ export default { let nowDate = new Date(); let oneWeekAgo = new Date(nowDate.getFullYear() - 1, nowDate.getMonth(), nowDate.getDate()) this.value2 = [parseTime(oneWeekAgo), parseTime(nowDate)] + }else if (this.timeList[index]=='自定义'){ + this.disabled = false } this.handleQuery() }, diff --git a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue index e79d082fd..d650bc353 100644 --- a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue +++ b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue @@ -3,7 +3,8 @@
-
+
+
{{ item }} @@ -15,9 +16,11 @@ value-format="yyyy-MM-dd HH:mm:ss" style="height:32px" start-placeholder="开始日期" - end-placeholder="结束日期" @click="handleQuery"> + end-placeholder="结束日期" + :disabled="disabled" + @click="handleQuery"> -
+
- +
+
+ 搜索 重置 -
@@ -116,8 +120,10 @@ export default { "近一周", "近一月", "近一年", + "自定义", ], timeIndex: 0, + disabled:true, value2: [], // 日期范围 dateRange: [], @@ -175,6 +181,7 @@ export default { methods: { editColor(index){ this.timeIndex = index + this.disabled = true if (this.timeList[index]=='今日'){ let start = new Date(); start.setHours(0) @@ -194,6 +201,8 @@ export default { let nowDate = new Date(); let oneWeekAgo = new Date(nowDate.getFullYear() - 1, nowDate.getMonth(), nowDate.getDate()) this.value2 = [parseTime(oneWeekAgo),parseTime(nowDate)] + }else if (this.timeList[index]=='自定义'){ + this.disabled = false } this.handleQuery() }, diff --git a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue index 2cac67c44..3a9447178 100644 --- a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue +++ b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue @@ -3,7 +3,8 @@
-
+
+
{{item}}
@@ -15,9 +16,11 @@ range-separator="至" value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="开始日期" - end-placeholder="结束日期" @click="handleQuery"> + end-placeholder="结束日期" + :disabled="disabled" + @click="handleQuery"> -
+
- +
+
+ 搜索 重置 -
@@ -152,8 +156,10 @@ import {parseTime} from "@/utils/fuint"; "近一周", "近一月", "近一年", + "自定义", ], timeIndex:0, + disabled:true, value2: [], // 查询参数 queryParams: { @@ -203,6 +209,7 @@ import {parseTime} from "@/utils/fuint"; methods:{ editColor(index){ this.timeIndex = index + this.disabled = true if (this.timeList[index]=='今日'){ let start = new Date(); start.setHours(0) @@ -222,6 +229,8 @@ import {parseTime} from "@/utils/fuint"; let nowDate = new Date(); let oneWeekAgo = new Date(nowDate.getFullYear() - 1, nowDate.getMonth(), nowDate.getDate()) this.value2 = [parseTime(oneWeekAgo),parseTime(nowDate)] + }else if (this.timeList[index]=='自定义'){ + this.disabled = false } this.handleQuery() }, diff --git a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/store.vue b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/store.vue index e63b6200b..0502e4c33 100644 --- a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/store.vue +++ b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/store.vue @@ -3,7 +3,8 @@
-
+
+
{{item}}
@@ -14,9 +15,11 @@ range-separator="至" value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="开始日期" - end-placeholder="结束日期" @click="handleQuery"> + end-placeholder="结束日期" + :disabled="disabled" + @click="handleQuery"> -
+
- +
+
+ 搜索 重置 -
@@ -128,8 +132,10 @@ import {parseTime} from "@/utils/fuint"; "近一周", "近一月", "近一年", + "自定义", ], timeIndex:0, + disabled:true, value2: [], // 日期范围 dateRange: [], @@ -187,6 +193,7 @@ import {parseTime} from "@/utils/fuint"; methods:{ editColor(index){ this.timeIndex = index + this.disabled = true if (this.timeList[index]=='今日'){ let start = new Date(); start.setHours(0) @@ -206,6 +213,8 @@ import {parseTime} from "@/utils/fuint"; let nowDate = new Date(); let oneWeekAgo = new Date(nowDate.getFullYear() - 1, nowDate.getMonth(), nowDate.getDate()) this.value2 = [parseTime(oneWeekAgo),parseTime(nowDate)] + }else if (this.timeList[index]=='自定义'){ + this.disabled = false } this.handleQuery() },