linwenxin il y a 8 mois
Parent
commit
2ac3d87415

+ 3 - 1
src/views/auxiliaryFittings/salesManagement/transaction/index.vue

@@ -131,7 +131,9 @@ export default {
         },
         refund: {
           conditions: ({ row, index, column }) => {
-            return row.payValue > row.retValue
+            return (
+              row.orderType == 'S' && row.payType == 'ALLINPAY' && row.payFlag === 'YES' && row.payValue > row.retValue
+            )
           },
           click: ({ row, index, column }) => {
             this.$prompt('退款金额', '退款', {