Jelajahi Sumber

【优化】添加订单号,时间精确到秒

程志平 4 tahun lalu
induk
melakukan
725c71ec18
1 mengubah file dengan 8 tambahan dan 6 penghapusan
  1. 8 6
      src/components/zhifuyichang/zhifuyichang.vue

+ 8 - 6
src/components/zhifuyichang/zhifuyichang.vue

@@ -24,16 +24,18 @@
 			<el-col :span="24" class="third-row">
 				<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"
 					highlight-current-row>
-					<el-table-column align="center" label="姓名" width="200">
+					<el-table-column align="center" label="姓名" width="160">
 						<template slot-scope="scope">{{ scope.row.user_name }}</template>
 					</el-table-column>
-					<el-table-column prop="stu_number" label="学号" align="center" width="200"></el-table-column>
-					<el-table-column prop="room" label="充值宿舍号" :formatter="formatRoom" align="center" width="200">
+					<el-table-column prop="stu_number" label="学号" align="center" width="180"></el-table-column>
+					<el-table-column prop="room" label="充值宿舍号" :formatter="formatRoom" align="center" width="190">
 					</el-table-column>
 					<el-table-column prop="account" label="金额(元)" align="center" show-overflow-tooltip>
 					</el-table-column>
+					<el-table-column prop="order_num" label="订单号" align="center" show-overflow-tooltip>
+					</el-table-column>
 					<el-table-column prop="re_time" label="时间" align="center" show-overflow-tooltip></el-table-column>
-					<el-table-column label="操作" align="center" width="380">
+					<el-table-column label="操作" align="center" width="260">
 						<template slot-scope="scope">
 							<el-button type="text" v-if="scope.row.handler_state == '未处理'"
 								@click="handleShowDialog(scope.$index, scope.row)">未处理
@@ -190,7 +192,7 @@
 						params: params
 					})
 					.then(res => {
-						// console.log(res.data.data);
+						// console.log(res.data);
 						if (typeof(res.data.rows) != 'undefined' && res.data.rows != '' && JSON.stringify(res.data) !=
 							'{}') {
 							_this.tableData = res.data.rows
@@ -215,7 +217,7 @@
 						params: params
 					})
 					.then(res => {
-						// console.log(res.data.data);
+						// console.log(res.data);
 						if (typeof(res.data.rows) != 'undefined' && res.data.rows != '' && JSON.stringify(res.data) !=
 							'{}') {
 							_this.tableData = res.data.rows