Sfoglia il codice sorgente

Merge branch 'moss_dev' of https://gogs.zfire.top/zfire-front/zfire-newmall-admin

linwenxin 1 anno fa
parent
commit
61a6326ee4

+ 2 - 15
src/views/mallManagement/order/sales_deliver_order_list/index.vue

@@ -9,6 +9,7 @@
             <el-radio-button label="">全部</el-radio-button>
             <el-radio-button label="SEND">已发货</el-radio-button>
             <el-radio-button label="REFUND">已退货</el-radio-button>
+            <el-radio-button label="REFUND_PRICE">仅退款</el-radio-button>
           </el-radio-group>
           <br><br>
         </div>
@@ -103,20 +104,6 @@ export default {
   components: { TemplatePage, geographicalPosi },
   mixins: [import_mixin,operation_mixin],
   filters: {
-    saleTypeFilter(val) {
-      const MAP = {
-        1: '商城销售',
-        2: '线下销售',
-      }
-      return MAP[val];
-    },
-    unitFilter(val) {
-      const MAP = {
-        C: '整套',
-        I: '单个'
-      }
-      return MAP[val];
-    },
   },
   data() {
     return {
@@ -234,7 +221,7 @@ export default {
         },
         refundDetail: {
           conditions: ({ row, index, column }) => {
-            return row.status == 'REFUND'
+            return row.status == 'REFUND' || row.status == 'REFUND_PRICE'
           },
           btnType: 'text',
           click: ({ row, index, column }) => {