tangning 4 ヶ月 前
コミット
26ce3cc6ff

+ 14 - 14
src/views/account/details/data.ts

@@ -249,7 +249,19 @@ export const equityColumns: BasicColumn[] = [
   },
   {
     title: '支付方式',
-    dataIndex: 'payMethod',
+    dataIndex: 'payType',
+    customRender: ({ record }) => {
+      // 支付方式 付款方式,0表示微信,1表示支付宝,2表示paypal,3表示其他,4表示货到付款
+      const obj = {
+        0: '微信',
+        1: '支付宝',
+        2: 'paypal',
+        3: '其他',
+        4: '货到付款',
+      };
+
+      return obj[record.payType] || '-';
+    },
     // slots: { customRender: 'orderType' },
     width: 80,
   },
@@ -269,19 +281,7 @@ export const equityColumns: BasicColumn[] = [
   },
   {
     title: '充值方式',
-    dataIndex: 'payType',
-    customRender: ({ record }) => {
-      // 支付方式 付款方式,0表示微信,1表示支付宝,2表示paypal,3表示其他,4表示货到付款
-      const obj = {
-        0: '微信',
-        1: '支付宝',
-        2: 'paypal',
-        3: '其他',
-        4: '货到付款',
-      };
-
-      return obj[record.payType] || '-';
-    },
+    dataIndex: 'payMethod',
     width: 100,
   },
   {

+ 5 - 5
src/views/account/overview/interesModal.vue

@@ -94,11 +94,11 @@
             return obj[record.memberLevels] || '';
           },
         },
-        {
-          title: '使用类型',
-          width: 100,
-          dataIndex: 'useTypeStr',
-        },
+        // {
+        //   title: '使用类型',
+        //   width: 100,
+        //   dataIndex: 'useTypeStr',
+        // },
         {
           title: '授权相机S/N码',
           width: 160,

+ 1 - 1
src/views/productOperation/viewKankan.vue

@@ -90,7 +90,7 @@
               },
               {
                 label: '重算',
-                disabled: record.calcStatus == 0 || record.panoStatus != 3 || (record.status == 1 && record.payStatus != 1),
+                disabled: record.calcStatus == 0 || (record.panoStatus != 3 && record.panoStatus != -1) || (record.status == 1 && record.payStatus != 1),
                 ifShow: getTypeCheckPerm('scenes-recalculate') && tableType != 3,
                 popConfirm: {
                   title: '是否重算?',