linwenxin 1 рік тому
батько
коміт
569ce65697

+ 3 - 3
src/views/valueAddedService/orderSettleManag/index.vue

@@ -324,7 +324,7 @@ export default {
             this.formType = 0
             this.getDetail(row.id)
           }}>查看</el-button>
-          {["REFUND", "EXPIRE", "CANCEL", "WAIT"].includes(row.payStatus) ? (
+          {!["REFUND", "EXPIRE", "CANCEL", "WAIT"].includes(row.payStatus) ? (
             <el-button type="text" onClick={() => {
               this.$router.push({
                 name: "workOrderPool",
@@ -334,7 +334,7 @@ export default {
               })
             }}>服务单明细</el-button>
           ) : null}
-          {["REFUND", "EXPIRE", "CANCEL", "WAIT"].includes(row.payStatus) ? (
+          {!["REFUND", "EXPIRE", "CANCEL", "WAIT"].includes(row.payStatus) ? (
             <el-popconfirm
               title={`是否确定退款?`}
               onConfirm={() => {
@@ -347,7 +347,7 @@ export default {
               <el-button type="text" slot="reference">退款</el-button>
             </el-popconfirm>
           ) : null}
-          {["REFUND", "EXPIRE", "CANCEL", "WAIT"].includes(row.payStatus) ? (
+          {!["REFUND", "EXPIRE", "CANCEL", "WAIT"].includes(row.payStatus) ? (
             <el-button type="text" onClick={() => {
               this.formType = 1
               this.getDetail(row.id)