瀏覽代碼

股份分红奖励记录增加总额统计,并完善列表展示内容

sunxbiao 1 年之前
父節點
當前提交
4158456b0c
共有 1 個文件被更改,包括 372 次插入339 次删除
  1. 372 339
      src/views/accounts/caiwutongji/stock/index.vue

+ 372 - 339
src/views/accounts/caiwutongji/stock/index.vue

@@ -1,401 +1,434 @@
1 1
 <template>
2
-<div class="divBox">
2
+  <div class="divBox">
3 3
     <el-card class="box-card">
4
-        <div slot="header" class="clearfix">
5
-            <div class="container">
6
-                <el-form size="small" label-width="100px">
7
-                  <!--  <el-form-item label="时间选择:" class="width100">
8
-                        <el-radio-group v-model="tableFrom.date" type="button" class="mr20" size="small" @change="selectChange(tableFrom.date)">
9
-                            <el-radio-button v-for="(item,i) in fromList.fromTxt" :key="i" :label="item.val">{{ item.text }}</el-radio-button>
10
-                        </el-radio-group>
11
-                        <el-date-picker v-model="timeVal" value-format="yyyy/MM/dd" format="yyyy/MM/dd" size="small" type="daterange" placement="bottom-end" placeholder="自定义时间" style="width: 250px;" @change="onchangeTime" />
12
-                    </el-form-item> -->
13
-                    <el-form-item label="用户手机号:" class="width100">
14
-                        <el-input v-model="tableFrom.account" placeholder="请输入" class="selWidth" size="small">
15
-                        </el-input>
16
-                    </el-form-item>
17
-					<el-form-item label="用户姓名:" class="width100">
18
-					    <el-input v-model="tableFrom.nickname" placeholder="请输入" class="selWidth" size="small">
19
-					    </el-input>
20
-					</el-form-item>
21
-
22
-
23
-                </el-form>
24
-
25
-                <div class="bottom-button">
26
-                  <el-button size="small" @click="reset" style="width: 100px; margin-top: 20px; border: 1px solid; " >重置</el-button>
27
-                  <el-button type="primary" size="small" @click="getList(1)" style="width: 100px; margin-top: 20px;">查询</el-button>
28
-                </div>
29
-            </div>
4
+      <div slot="header" class="clearfix">
5
+        <div class="container">
6
+          <el-form size="small" label-width="100px">
7
+            <!--  <el-form-item label="时间选择:" class="width100">
8
+                  <el-radio-group v-model="tableFrom.date" type="button" class="mr20" size="small" @change="selectChange(tableFrom.date)">
9
+                      <el-radio-button v-for="(item,i) in fromList.fromTxt" :key="i" :label="item.val">{{ item.text }}</el-radio-button>
10
+                  </el-radio-group>
11
+                  <el-date-picker v-model="timeVal" value-format="yyyy/MM/dd" format="yyyy/MM/dd" size="small" type="daterange" placement="bottom-end" placeholder="自定义时间" style="width: 250px;" @change="onchangeTime" />
12
+              </el-form-item> -->
13
+            <el-form-item label="用户手机号:" class="width100">
14
+              <el-input v-model="tableFrom.account" placeholder="请输入" class="selWidth" size="small">
15
+              </el-input>
16
+            </el-form-item>
17
+            <el-form-item label="用户姓名:" class="width100">
18
+              <el-input v-model="tableFrom.nickname" placeholder="请输入" class="selWidth" size="small">
19
+              </el-input>
20
+            </el-form-item>
21
+            <el-form-item label="创建时间范围:" class="width100">
22
+              <el-date-picker
23
+                  v-model="tableFrom.dateRange"
24
+                  type="daterange"
25
+                  size="small"
26
+                  format="yyyy-MM-dd"
27
+                  value-format="yyyy-MM-dd"
28
+                  placeholder="请选择时间范围"
29
+                  class="small"
30
+                  @change="onchangeTime" />
31
+            </el-form-item>
32
+
33
+          </el-form>
34
+
35
+          <div class="bottom-button">
36
+            <el-button size="small" @click="reset" style="width: 100px; margin-top: 20px; border: 1px solid; ">重置
37
+            </el-button>
38
+            <el-button type="primary" size="small" @click="getList(1)" style="width: 100px; margin-top: 20px;">查询
39
+            </el-button>
40
+          </div>
30 41
         </div>
31
-		<div slot="header" class="clearfix">
32
-			<el-button size="small" type="primary" @click="onAdd">添加股权分红</el-button>
33
-		</div>
34
-
35
-        <el-table :data="tableData.data" style="width: 100%" size="mini" class="table" highlight-current-row >
36
-
37
-
38
-            <el-table-column label="ID" prop="id" min-width="30" />
39
-            <el-table-column label="用户名称" prop="real_name" min-width="50" />
40
-            <!-- <el-table-column label="用户昵称" prop="nickname"  min-width="130" />
41
-            <el-table-column label="用户账号(手机号)" prop="phone"  min-width="130" /> --> 
42
-
43
-            <el-table-column label="用户姓名" prop="nickname"  min-width="50" />
44
-			<el-table-column label="份数" prop="pack"  min-width="50" />
45
-			<el-table-column label="本次佣金" prop="getcomm"  min-width="70" />
46
-			<el-table-column label="累计佣金" prop="allgetcomm"  min-width="80" />
47
-			<el-table-column
48
-			  prop="create_time"
49
-			  label="创建时间"
50
-			  min-width="100"
51
-			/>
52
-			<el-table-column
53
-			  prop="update_time"
54
-			  label="更新时间"
55
-			  min-width="100"
56
-			/>
57
-            <!-- <el-table-column label="PV变动" prop="status"  min-width="130">
58
-              <template slot-scope="scope">
59
-                <span v-if="scope.row.pm == 1">增加</span>
60
-                <span v-if="scope.row.pm == 2">扣减</span>
61
-              </template>
62
-            </el-table-column> -->
63
-			<el-table-column label="操作" min-width="100" fixed="right" align="center">
64
-			  <template slot-scope="scope">
65
-			    <el-button type="text" size="small" @click="onEdit(scope.row.id)">编辑</el-button>
66
-			    <el-button type="text" size="small" @click="handleDelete(scope.row.id, scope.$index)">删除</el-button>
67
-			  </template>
68
-			</el-table-column>
69
-        </el-table>
70
-		
71
-        <div class="block">
72
-          <el-pagination :page-sizes="[20, 40, 60, 80]" :page-size="tableFrom.limit" :current-page="tableFrom.page"
73
-            layout="total, sizes, prev, pager, next, jumper" :total="tableData.total" @size-change="handleSizeChange"
74
-            @current-change="pageChange" />
42
+      </div>
43
+      <div style="display: flex">
44
+        <div
45
+            class="jiangjintotal"
46
+            v-for="(v, k) in cardLists"
47
+            :key="k"
48
+        >
49
+          <span class="jiangjintotal-title">
50
+            {{ v.name }}
51
+          </span>
52
+          <span class="money">{{ v.count }}</span>
75 53
         </div>
54
+      </div>
55
+
56
+      <div slot="header" class="clearfix">
57
+        <el-button size="small" type="primary" @click="onAdd">添加股权分红</el-button>
58
+      </div>
59
+
60
+      <el-table :data="tableData.data" style="width: 100%" size="mini" class="table" highlight-current-row>
61
+
62
+
63
+        <el-table-column label="ID" prop="id" min-width="30"/>
64
+<!--        <el-table-column label="用户名称" prop="real_name" min-width="50"/>-->
65
+        <el-table-column label="用户昵称" prop="nickname"  min-width="80" />
66
+        <el-table-column label="用户账号(手机号)" prop="account"  min-width="80" />
67
+
68
+<!--        <el-table-column label="用户姓名" prop="nickname" min-width="50"/>-->
69
+        <el-table-column label="份数" prop="pack" min-width="50"/>
70
+        <el-table-column label="本次佣金" prop="getcomm" min-width="70"/>
71
+        <el-table-column label="累计佣金" prop="allgetcomm" min-width="80"/>
72
+        <el-table-column
73
+            prop="create_time"
74
+            label="创建时间"
75
+            min-width="100"
76
+        />
77
+        <el-table-column
78
+            prop="update_time"
79
+            label="更新时间"
80
+            min-width="100"
81
+        />
82
+        <!-- <el-table-column label="PV变动" prop="status"  min-width="130">
83
+          <template slot-scope="scope">
84
+            <span v-if="scope.row.pm == 1">增加</span>
85
+            <span v-if="scope.row.pm == 2">扣减</span>
86
+          </template>
87
+        </el-table-column> -->
88
+        <el-table-column label="操作" min-width="100" fixed="right" align="center">
89
+          <template slot-scope="scope">
90
+            <el-button type="text" size="small" @click="onEdit(scope.row.id)">编辑</el-button>
91
+            <el-button type="text" size="small" @click="handleDelete(scope.row.id, scope.$index)">删除</el-button>
92
+          </template>
93
+        </el-table-column>
94
+      </el-table>
95
+
96
+      <div class="block">
97
+        <el-pagination :page-sizes="[20, 40, 60, 80]" :page-size="tableFrom.limit" :current-page="tableFrom.page"
98
+                       layout="total, sizes, prev, pager, next, jumper" :total="tableData.total"
99
+                       @size-change="handleSizeChange"
100
+                       @current-change="pageChange"/>
101
+      </div>
76 102
     </el-card>
77 103
 
78 104
 
79
-</div>
105
+  </div>
80 106
 </template>
81 107
 
82 108
 <script>
83
-import {
84
-    redPointListApi,
85
-    exportOrderApi,
86
-} from "@/api/order";
109
+// import {
110
+//   redPointListApi,
111
+//   exportOrderApi,
112
+// } from "@/api/order";
87 113
 
88
-import { performanceDivvyLstApi } from '@/api/protocol'
114
+// import {performanceDivvyLstApi} from '@/api/protocol'
89 115
 
90
-import fileList from "@/components/exportFile/fileList";
91
-import cardsData from "@/components/cards/index";
92
-import {getStockListApi,stockCreateForm,stockUpdateForm,stockDelete} from "@/api/accounts";
116
+// import fileList from "@/components/exportFile/fileList";
117
+// import cardsData from "@/components/cards/index";
118
+import {getStockListApi, stockCreateForm, stockUpdateForm, stockDelete} from "@/api/accounts";
93 119
 import {roterPre} from "@/settings";
120
+
94 121
 export default {
95
-    components: {
96
-        cardsData,
97
-        fileList
98
-    },
99
-    data() {
100
-        return {
101
-            performanceList:[],
102
-            merSelect: [],
103
-            timeVal: '',
104
-            tableData: {
105
-                data: [],
106
-                total: 0,
107
-            },
108
-            listLoading: true,
109
-            tableFrom: {
110
-                uid: "",
111
-                date: "",
112
-                page: 1,
113
-                limit: 20,
114
-                type: "",
115
-                pm: ""
116
-            },
117
-            fromList: {
118
-                title: "选择时间",
119
-                custom: true,
120
-                fromTxt: [{
121
-                        text: "全部",
122
-                        val: ""
123
-                    },
124
-                    {
125
-                        text: "今天",
126
-                        val: "today"
127
-                    },
128
-                    {
129
-                        text: "昨天",
130
-                        val: "yesterday"
131
-                    },
132
-                    {
133
-                        text: "本周",
134
-                        val: "thisWeek"
135
-                    },
136
-                    {
137
-                        text: "上周",
138
-                        val: "lastWeek"
139
-                    },
140
-                    {
141
-                        text: "最近30天",
142
-                        val: "lately30"
143
-                    },
144
-                    {
145
-                        text: "本月",
146
-                        val: "month"
147
-                    },
148
-                    {
149
-                        text: "本年",
150
-                        val: "year"
151
-                    },
152
-                ],
153
-            },
154
-            fileVisible: false,
155
-            cardLists: [],
156
-            teamList: [],
157
-
158
-        };
159
-    },
160
-    mounted() {
161
-        this.getList(1);
122
+  components: {
123
+    // cardsData,
124
+    // fileList
125
+  },
126
+  data() {
127
+    return {
128
+      performanceList: [],
129
+      merSelect: [],
130
+      timeVal: '',
131
+      tableData: {
132
+        data: [],
133
+        total: 0,
134
+      },
135
+      listLoading: true,
136
+      tableFrom: {
137
+        uid: "",
138
+        date: "",
139
+        page: 1,
140
+        limit: 20,
141
+        type: "",
142
+        pm: ""
143
+      },
144
+      fromList: {
145
+        title: "选择时间",
146
+        custom: true,
147
+        fromTxt: [{
148
+          text: "全部",
149
+          val: ""
150
+        },
151
+          {
152
+            text: "今天",
153
+            val: "today"
154
+          },
155
+          {
156
+            text: "昨天",
157
+            val: "yesterday"
158
+          },
159
+          {
160
+            text: "本周",
161
+            val: "thisWeek"
162
+          },
163
+          {
164
+            text: "上周",
165
+            val: "lastWeek"
166
+          },
167
+          {
168
+            text: "最近30天",
169
+            val: "lately30"
170
+          },
171
+          {
172
+            text: "本月",
173
+            val: "month"
174
+          },
175
+          {
176
+            text: "本年",
177
+            val: "year"
178
+          },
179
+        ],
180
+      },
181
+      fileVisible: false,
182
+      cardLists: [],
183
+      teamList: [],
162 184
 
163
-    },
164
-    methods: {
185
+    };
186
+  },
187
+  mounted() {
188
+    this.getList(1);
165 189
 
166
-      pushToOrderList(orderIds) {
190
+  },
191
+  methods: {
167 192
 
193
+    pushToOrderList(orderIds) {
168 194
 
169
-        // accounts/extract
170 195
 
171
-        this.$router.push({
172
-          path: roterPre + "/order/list/",
173
-          query: { order_sn: orderIds },
174
-        });
175
-      },
196
+      // accounts/extract
176 197
 
177
-      tanchuang() {
178
-        this.dialogVisible = true
179
-      },
198
+      this.$router.push({
199
+        path: roterPre + "/order/list/",
200
+        query: {order_sn: orderIds},
201
+      });
202
+    },
180 203
 
181
-      selectData(name) {
182
-        if (name == '系统奖励红PV数') {
183
-          this.tableFrom.pm = '1'
184
-        } else if (name == '系统销毁红PV数') {
185
-          this.tableFrom.pm = '2'
186
-        } else if (name == '人工奖励红PV数') {
187
-          this.tableFrom.pm = '3'
188
-        } else if (name == '人工销毁红PV数') {
189
-          this.tableFrom.pm = '4'
190
-        }
204
+    tanchuang() {
205
+      this.dialogVisible = true
206
+    },
191 207
 
192
-        this.getList(1)
193
-      },
194
-	  // 添加
195
-	  onAdd() {
196
-	    this.$modalForm(stockCreateForm()).then(() => this.getList())
197
-	  },
198
-	  // 编辑
199
-	  onEdit(id) {
200
-	    this.$modalForm(stockUpdateForm(id)).then(() => this.getList())
201
-	  },
202
-	  // 删除
203
-	  handleDelete(id, idx) {
204
-	    this.$modalSure().then(() => {
205
-	      stockDelete(id).then(({ message }) => {
206
-	        this.$message.success(message)
207
-	        this.tableData.data.splice(idx, 1)
208
-	      }).catch(({ message }) => {
209
-	        this.$message.error(message)
210
-	      })
211
-	    })
212
-	  },
213
-      // 重置
214
-      reset() {
215
-        this.tableFrom ={
216
-            uid: "",
217
-            date: "",
218
-            page: 1,
219
-            limit: 20,
220
-            type: "",
221
-            pm: ""
222
-          }
223
-        this.getList();
224
-      },
225
-      exportSearchResult() {
226
-        this.tableFrom.is_excel = 1;
227
-        getPvCountApi(this.tableFrom).then(res => {
228
-            console.log( res.data)
229
-            console.log( res.data.path)
230
-            this.tableFrom.is_excel = 0;
231
-            this.$message.success('导出成功')
232
-            window.open( res.data.path)
233
-        }).catch((res) => {
234
-            this.$message.error('导出失败');
208
+    selectData(name) {
209
+      if (name === '系统奖励红PV数') {
210
+        this.tableFrom.pm = '1'
211
+      } else if (name === '系统销毁红PV数') {
212
+        this.tableFrom.pm = '2'
213
+      } else if (name === '人工奖励红PV数') {
214
+        this.tableFrom.pm = '3'
215
+      } else if (name === '人工销毁红PV数') {
216
+        this.tableFrom.pm = '4'
217
+      }
218
+
219
+      this.getList(1)
220
+    },
221
+    // 添加
222
+    onAdd() {
223
+      this.$modalForm(stockCreateForm()).then(() => this.getList())
224
+    },
225
+    // 编辑
226
+    onEdit(id) {
227
+      this.$modalForm(stockUpdateForm(id)).then(() => this.getList())
228
+    },
229
+    // 删除
230
+    handleDelete(id, idx) {
231
+      this.$modalSure().then(() => {
232
+        stockDelete(id).then(({message}) => {
233
+          this.$message.success(message)
234
+          this.tableData.data.splice(idx, 1)
235
+        }).catch(({message}) => {
236
+          this.$message.error(message)
235 237
         })
236
-      },
237
-
238
-
239
-
240
-        // 表格某一行添加特定的样式
241
-        addTdClass(val) {
242
-            if (val.row.status > 0 && val.row.paid == 1) {
243
-                for (let i = 0; i < val.row.orderProduct.length; i++) {
244
-                    if (val.row.orderProduct[i].refund_num > 0 && val.row.orderProduct[i].refund_num < val.row.orderProduct[i].product_num) {
245
-                        return "row-bg";
246
-                    }
247
-                }
248
-            } else {
249
-                return " ";
250
-            }
251
-        },
238
+      })
239
+    },
240
+    // 重置
241
+    reset() {
242
+      this.tableFrom = {
243
+        uid: "",
244
+        date: "",
245
+        page: 1,
246
+        limit: 20,
247
+        type: "",
248
+        pm: ""
249
+      }
250
+      this.getList();
251
+    },
252
+    // exportSearchResult() {
253
+    //   this.tableFrom.is_excel = 1;
254
+    //   getPvCountApi(this.tableFrom).then(res => {
255
+    //     console.log(res.data)
256
+    //     console.log(res.data.path)
257
+    //     this.tableFrom.is_excel = 0;
258
+    //     this.$message.success('导出成功')
259
+    //     window.open(res.data.path)
260
+    //   }).catch((res) => {
261
+    //     this.$message.error('导出失败');
262
+    //   })
263
+    // },
264
+
265
+
266
+    // 表格某一行添加特定的样式
267
+    addTdClass(val) {
268
+      if (val.row.status > 0 && val.row.paid === 1) {
269
+        for (let i = 0; i < val.row.orderProduct.length; i++) {
270
+          if (val.row.orderProduct[i].refund_num > 0 && val.row.orderProduct[i].refund_num < val.row.orderProduct[i].product_num) {
271
+            return "row-bg";
272
+          }
273
+        }
274
+      } else {
275
+        return " ";
276
+      }
277
+    },
252 278
 
253
-        // 导出
254
-        exportOrder() {
255
-            exportOrderApi(this.tableFrom)
256
-                .then((res) => {
257
-                    // this.$message.success(res.message);
258
-                    // this.fileVisible = true;
259
-                    // this.$refs.exportList.exportFileList();
260
-                  const h = this.$createElement;
261
-                  this.$msgbox({
262
-                    title: '提示',
263
-                    message: h('p', null, [
264
-                      h('span', null, '文件正在生成中,请稍后点击"'),
265
-                      h('span', { style: 'color: teal' }, '导出已生成列表'),
266
-                      h('span', null, '"查看~ '),
267
-                    ]),
268
-                    confirmButtonText: '我知道了',
269
-                  }).then(action => {
270
-
271
-                  });                })
272
-                .catch((res) => {
273
-                    this.$message.error(res.message);
274
-                });
275
-        },
276
-        getExportFileList() {
277
-            this.fileVisible = true;
278
-            this.$refs.exportList.exportFileList('order');
279
-        },
279
+    // // 导出
280
+    // exportOrder() {
281
+    //   exportOrderApi(this.tableFrom)
282
+    //       .then((res) => {
283
+    //         // this.$message.success(res.message);
284
+    //         // this.fileVisible = true;
285
+    //         // this.$refs.exportList.exportFileList();
286
+    //         const h = this.$createElement;
287
+    //         this.$msgbox({
288
+    //           title: '提示',
289
+    //           message: h('p', null, [
290
+    //             h('span', null, '文件正在生成中,请稍后点击"'),
291
+    //             h('span', {style: 'color: teal'}, '导出已生成列表'),
292
+    //             h('span', null, '"查看~ '),
293
+    //           ]),
294
+    //           confirmButtonText: '我知道了',
295
+    //         }).then(action => {
296
+    //
297
+    //         });
298
+    //       })
299
+    //       .catch((res) => {
300
+    //         this.$message.error(res.message);
301
+    //       });
302
+    // },
303
+    getExportFileList() {
304
+      this.fileVisible = true;
305
+      this.$refs.exportList.exportFileList('order');
306
+    },
280 307
 
281
-        handleSelectionChange(val) {
282
-            this.selectionList = val;
283
-            const data = [];
284
-            this.selectionList.map((item) => {
285
-                data.push(item.order_id);
286
-            });
287
-            this.ids = data.join(",");
288
-        },
289
-        // 选择时间
290
-        selectChange(tab) {
291
-            this.timeVal = [];
292
-            this.tableFrom.date = tab;
293
-            this.getList(1);
294
-        },
295
-        // 具体日期
296
-        onchangeTime(e) {
297
-            this.timeVal = e;
298
-            this.tableFrom.date = e ? this.timeVal.join("-") : "";
299
-            this.getList(1);
300
-        },
308
+    handleSelectionChange(val) {
309
+      this.selectionList = val;
310
+      const data = [];
311
+      this.selectionList.map((item) => {
312
+        data.push(item.order_id);
313
+      });
314
+      this.ids = data.join(",");
315
+    },
316
+    // 选择时间
317
+    selectChange(tab) {
318
+      this.timeVal = [];
319
+      this.tableFrom.date = tab;
320
+      this.getList(1);
321
+    },
322
+    // 具体日期
323
+    onchangeTime(e) {
324
+      this.timeVal = e;
325
+      this.tableFrom.date = e ? this.timeVal.join("-") : "";
326
+      this.getList(1);
327
+    },
301 328
 
302
-        // 列表
303
-        getList(num) {
304
-            this.tableFrom.page = num ? num : this.tableFrom.page;
305
-            getStockListApi(this.tableFrom).then((res) => {
306
-                this.tableData.data = res.data.list;
307
-                this.tableData.total = res.data.count;
308
-            }).catch((res) => { 
309
-                this.$message.error(res.message);
310
-            });
311
-        },
312
-        pageChange(page) {
313
-            this.tableFrom.page = page;
314
-            this.getList('');
315
-        },
316
-        handleSizeChange(val) {
317
-            this.tableFrom.limit = val;
318
-            this.getList('');
319
-        },
320
-    }
329
+    // 列表
330
+    getList(num) {
331
+      this.tableFrom.page = num ? num : this.tableFrom.page;
332
+      getStockListApi(this.tableFrom).then((res) => {
333
+        this.tableData.data = res.data.list;
334
+        this.tableData.total = res.data.count;
335
+
336
+        this.cardLists = [
337
+          {info: '', name: '本次分红总额', count: res.data.stock_getcomm},
338
+          {info: '', name: '累计分红总额', count: res.data.stock_allgetcomm},
339
+        ];
340
+      }).catch((res) => {
341
+        this.$message.error(res.message);
342
+      });
343
+    },
344
+    pageChange(page) {
345
+      this.tableFrom.page = page;
346
+      this.getList('');
347
+    },
348
+    handleSizeChange(val) {
349
+      this.tableFrom.limit = val;
350
+      this.getList('');
351
+    },
352
+  }
321 353
 };
322 354
 </script>
323 355
 
324 356
 <style lang="scss" scoped>
325 357
 .selWidth {
326
-    width: 300px;
358
+  width: 300px;
327 359
 }
328 360
 
329 361
 .el-dropdown-link {
330
-    cursor: pointer;
331
-    color: #409eff;
332
-    font-size: 12px;
362
+  cursor: pointer;
363
+  color: #409eff;
364
+  font-size: 12px;
333 365
 }
334 366
 
335 367
 .el-icon-arrow-down {
336
-    font-size: 12px;
368
+  font-size: 12px;
337 369
 }
338 370
 
339 371
 .tabBox_tit {
340
-    width: 53%;
341
-    font-size: 12px !important;
342
-    margin: 0 2px 0 10px;
343
-    letter-spacing: 1px;
344
-    padding: 5px 0;
345
-    box-sizing: border-box;
372
+  width: 53%;
373
+  font-size: 12px !important;
374
+  margin: 0 2px 0 10px;
375
+  letter-spacing: 1px;
376
+  padding: 5px 0;
377
+  box-sizing: border-box;
346 378
 }
347 379
 
348 380
 ::v-deep .row-bg {
349
-    .cell {
350
-        color: red !important;
351
-    }
381
+  .cell {
382
+    color: red !important;
383
+  }
352 384
 }
353 385
 
354 386
 .filter-item {
355
-  width:50%;
387
+  width: 50%;
356 388
 }
357 389
 
358 390
 
359 391
 .cancel-order-mark {
360
-    margin-top: 30px;
392
+  margin-top: 30px;
361 393
 
362
-    .cancel-order-select-reason {
363
-        height: 30px;
364
-    }
394
+  .cancel-order-select-reason {
395
+    height: 30px;
396
+  }
365 397
 
366
-    .canel-order-remark-input {
367
-        width: 75%;
368
-        margin-left: 35px;
369
-    }
398
+  .canel-order-remark-input {
399
+    width: 75%;
400
+    margin-left: 35px;
401
+  }
370 402
 
371 403
 
372 404
 }
373 405
 
374 406
 .bottom-button {
375
-    margin-top: 30px;
376
-    margin-left: 300px;
377
-    width: 250px;
378
-    display: flex;
379
-    justify-content: space-between;
380
-  }
407
+  margin-top: 30px;
408
+  margin-left: 300px;
409
+  width: 250px;
410
+  display: flex;
411
+  justify-content: space-between;
412
+}
381 413
 
382 414
 .cancel-button {
383
-        display: flex;
384
-        justify-content: center;
385
-        margin-top: 20px;
386
-        gap:50px;
387
-        height: 30px;
388
-        // background-color: rebeccapurple;
389
-
390
-        .confirm {
391
-          width: 70px;
392
-          // height: 30px;
393
-        }
394
-        .cacnel-item {
395
-          width: 70px;
396
-          // height: 30px;
397
-        }
398
-    }
415
+  display: flex;
416
+  justify-content: center;
417
+  margin-top: 20px;
418
+  gap: 50px;
419
+  height: 30px;
420
+  // background-color: rebeccapurple;
421
+
422
+  .confirm {
423
+    width: 70px;
424
+    // height: 30px;
425
+  }
426
+
427
+  .cacnel-item {
428
+    width: 70px;
429
+    // height: 30px;
430
+  }
431
+}
399 432
 
400 433
 .selected-kuang {
401 434
   width: 500px;