YY 2 سال پیش
والد
کامیت
56edbfb988

+ 1 - 1
src/views/platfinance/statistics/parts/card-4.vue

@@ -53,7 +53,7 @@ export default {
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
     async search({ skip = 0, limit = 10, ...info } = {}) {
-      let res = await this.query({ skip, limit, status: '2', type: info.time, start: info.start, end: info.end });
+      let res = await this.query({ skip, limit, status: '-2', type: info.time, start: info.start, end: info.end });
       if (this.$checkRes(res)) {
         let list = res.data.sAfterSale;
         let xAxisList = [];

+ 1 - 1
src/views/platfinance/statistics/parts/card-5.vue

@@ -53,7 +53,7 @@ export default {
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
     async search({ skip = 0, limit = 10, ...info } = {}) {
-      let res = await this.query({ skip, limit, status: '1', type: info.time, start: info.start, end: info.end });
+      let res = await this.query({ skip, limit, status: '-1', type: info.time, start: info.start, end: info.end });
       if (this.$checkRes(res)) {
         let list = res.data.sAfterSale;
         let xAxisList = [];

+ 1 - 1
src/views/platfinance/statistics/parts/card-6.vue

@@ -55,7 +55,7 @@ export default {
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
     async search({ skip = 0, limit = 10, ...info } = {}) {
-      let res = await this.query({ skip, limit, status: '3', type: info.time, start: info.start, end: info.end });
+      let res = await this.query({ skip, limit, status: '-3', type: info.time, start: info.start, end: info.end });
       if (this.$checkRes(res)) {
         let list = res.data.sAfterSale;
         let xAxisList = [];