浏览代码

no message

linwenxin 1 年之前
父节点
当前提交
7de2fb73ac
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/auxiliaryFittings/salesManagement/transaction/index.vue

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

@@ -130,6 +130,9 @@ export default {
           }
         },
         refund: {
+          conditions: ({ row, index, column }) => {
+            return row.payValue > row.retValue
+          },
           click: ({ row, index, column }) => {
             this.$prompt('退款金额', '退款', {
               confirmButtonText: '确定',