Browse Source

2024.11.24 - 补充排队免单详情字段

GuYun-D 4 months ago
parent
commit
f21f7cc1f0
1 changed files with 14 additions and 4 deletions
  1. 14 4
      src/views/freeQueuing/pool/components/DetailModal.vue

+ 14 - 4
src/views/freeQueuing/pool/components/DetailModal.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-dialog title="详情" :visible.sync="detailVisible" width="40%">
+  <el-dialog title="详情" :visible.sync="detailVisible" width="60%">
     <el-descriptions class="margin-top" :column="2" :size="size" border>
       <el-descriptions-item>
         <template slot="label">免单池金额</template>
@@ -14,20 +14,30 @@
 
     <el-table border :data="detailInfo.records || []">
       <el-table-column align="center" type="index" label="#" width="55"></el-table-column>
-      <el-table-column prop="orderNo" label="关联订单号" align="center" />
-      <el-table-column prop="amount" label="操作金额" align="center" />
+      <el-table-column prop="orderNo" width="160" label="关联订单号" align="center" />
+      <el-table-column prop="orderAmount" label="订单支付金额" align="center">
+        <template slot-scope="scope">
+          <span style="font-size: 14px; color: #f40">¥{{ scope.row.orderAmount || '--' }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column prop="amount" label="操作金额" align="center">
+        <template slot-scope="scope">
+          <span style="font-size: 14px; color: #f40">¥{{ scope.row.amount || '--' }}</span>
+        </template>
+      </el-table-column>
       <el-table-column prop="type" label="类型" align="center">
         <template slot-scope="scope">
           <el-tag size="mini" v-if="scope.row.type === 1">入账</el-tag>
           <el-tag type="danger" size="mini" v-else>出账(免单)</el-tag>
         </template>
       </el-table-column>
-      <el-table-column prop="freeRecordId" label="是否参与过免单结算" align="center">
+      <el-table-column width="160" prop="freeRecordId" label="是否参与过免单结算" align="center">
         <template slot-scope="scope">
           <el-tag size="mini" v-if="scope.row.freeRecordId !== 0">是</el-tag>
           <el-tag type="danger" size="mini" v-else>否</el-tag>
         </template>
       </el-table-column>
+      <el-table-column width="160" prop="createTime" label="订单创建时间" align="center" />
     </el-table>
 
     <span slot="footer" class="dialog-footer">