|
@@ -373,6 +373,18 @@ export default {
|
|
|
},
|
|
|
created(){
|
|
|
if (this.searchForm.orderDate?.length < 1) {
|
|
|
+ this.getNow()
|
|
|
+ }
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.$store.dispatch("setBranchs");
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getNow() {
|
|
|
var now = new Date();
|
|
|
var startDate = new Date(
|
|
|
Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())
|
|
@@ -388,16 +400,7 @@ export default {
|
|
|
this.searchForm.orderDate = [];
|
|
|
this.searchForm.orderDate.push(startDate);
|
|
|
this.searchForm.orderDate.push(endDate);
|
|
|
- }
|
|
|
- },
|
|
|
- mounted() {
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- this.$store.dispatch("setBranchs");
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- methods: {
|
|
|
+ },
|
|
|
onClear(type) {
|
|
|
if (type == "paymentType") {
|
|
|
this.searchForm.paymentType = null;
|
|
@@ -561,7 +564,7 @@ export default {
|
|
|
search: null,
|
|
|
orderStartDate: null,
|
|
|
orderEndDate: null,
|
|
|
- paymentStatus: null,
|
|
|
+ paymentStatus: 'SUCCESS',
|
|
|
paymentType: null,
|
|
|
organId: null,
|
|
|
actualAmount: null,
|
|
@@ -573,6 +576,7 @@ export default {
|
|
|
lessActualAmount: null,
|
|
|
orderDate:[]
|
|
|
};
|
|
|
+ this.getNow()
|
|
|
this.getList();
|
|
|
},
|
|
|
},
|