Joe преди 3 години
родител
ревизия
922b64ab91
променени са 1 файла, в които са добавени 15 реда и са изтрити 1 реда
  1. 15 1
      src/views/order/Order_Approval.vue

+ 15 - 1
src/views/order/Order_Approval.vue

@@ -150,6 +150,18 @@
             }}</span>
           </template>
         </af-table-column>
+        <af-table-column label="创建时间" align="center" prop="createdDate">
+          <template slot-scope="scope">
+            {{
+              scope.row.examinStatus == null ? '未申请' : '' + 
+              scope.row.examinStatus == '0' ? '未申请' : '' + 
+              scope.row.examinStatus == '1' ? '已申请' : '' +
+              scope.row.examinStatus == '3' ? '已驳回' : '' +
+              scope.row.examinStatus == '2' ? '退款成功' : '' + 
+              scope.row.examinStatus == '4' ? '退款失败' : '' 
+            }}
+          </template>
+        </af-table-column>
         <af-table-column
           label="操作"
           align="center"
@@ -160,6 +172,7 @@
             <el-popconfirm
               title="审核通过后立刻走退款流程,且不可撤销,是否继续"
               confirm-button-text="审核通过"
+              v-if="scope.row.examinStatus==1"
               @onConfirm="examinRefundSuccess(scope.row)"
             >
               <el-button
@@ -174,6 +187,7 @@
               title="确认驳回此退款申请,是否继续"
               confirm-button-text="确定"
               @onConfirm="examinRefundBack(scope.row)"
+              v-if="scope.row.examinStatus==1"
             >
               <el-button
                 slot="reference"
@@ -235,7 +249,7 @@ export default {
         createdDate: null,
         likeConsumer: null,
         orderNo: null,
-        examinStatus: "1", // -1 查询下面的列表: 1申请  2成功 3驳回 4 失败
+        examinStatus: "-1", // -1 查询下面的列表: 1申请  2成功 3驳回 4 失败
       },
       // 表单校验
       rules: {},