chenhaozhe
2026-03-13 de860ba9e13cf81da9c40870c7887509c8ccf72f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
<template>
    <view class="container">
        <view class="header">
            <view class="title">销售订单明细</view>
            <view class="sub-title">{{ HBillNo }}</view>
        </view>        
        <!-- Tab切换 -->
        <view class="tab-container">
            <view class="tabs">
                <view 
                    class="tab-item" 
                    :class="{'active': currentTab === 0}" 
                    @click="switchTab(0)"
                >
                    基本信息
                </view>
                <view 
                    class="tab-item" 
                    :class="{'active': currentTab === 1}" 
                    @click="switchTab(1)"
                >
                    审核信息
                </view>
                <view 
                    class="tab-item" 
                    :class="{'active': currentTab === 2}" 
                    @click="switchTab(2)"
                >
                    物料信息
                </view>
            </view>
            <view class="tab-indicator" :style="indicatorStyle"></view>
        </view>
        
        <scroll-view 
            scroll-y 
            class="content" 
            :style="{height: scrollHeight + 'px'}"
        >
            <!-- Tab 0: 基本信息 -->
            <view v-if="currentTab === 0" class="tab-content">
                <view class="info-card">
                    <view class="card-title">订单基本信息</view>
                    <view class="info-grid">
                        <view class="info-item" v-if="orderInfo.日期">
                            <text class="label">日期:</text>
                            <text class="value">{{ orderInfo.日期 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.单据号">
                            <text class="label">单据号:</text>
                            <text class="value">{{ orderInfo.单据号 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.客户代码">
                            <text class="label">客户代码:</text>
                            <text class="value">{{ orderInfo.客户代码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.客户">
                            <text class="label">客户:</text>
                            <text class="value">{{ orderInfo.客户 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.部门代码">
                            <text class="label">部门代码:</text>
                            <text class="value">{{ orderInfo.部门代码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.部门">
                            <text class="label">部门:</text>
                            <text class="value">{{ orderInfo.部门 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.业务员代码">
                            <text class="label">业务员代码:</text>
                            <text class="value">{{ orderInfo.业务员代码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.业务员">
                            <text class="label">业务员:</text>
                            <text class="value">{{ orderInfo.业务员 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.交货地点">
                            <text class="label">交货地点:</text>
                            <text class="value">{{ orderInfo.交货地点 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.结算方式代码">
                            <text class="label">结算方式代码:</text>
                            <text class="value">{{ orderInfo.结算方式代码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.结算方式">
                            <text class="label">结算方式:</text>
                            <text class="value">{{ orderInfo.结算方式 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.项目编码">
                            <text class="label">项目编码:</text>
                            <text class="value">{{ orderInfo.项目编码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.项目名称">
                            <text class="label">项目名称:</text>
                            <text class="value">{{ orderInfo.项目名称 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.主仓库">
                            <text class="label">主仓库:</text>
                            <text class="value">{{ orderInfo.主仓库 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.币别代码">
                            <text class="label">币别代码:</text>
                            <text class="value">{{ orderInfo.币别代码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.币别">
                            <text class="label">币别:</text>
                            <text class="value">{{ orderInfo.币别 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.汇率">
                            <text class="label">汇率:</text>
                            <text class="value">{{ orderInfo.汇率 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.主管代码">
                            <text class="label">主管代码:</text>
                            <text class="value">{{ orderInfo.主管代码 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.主管">
                            <text class="label">主管:</text>
                            <text class="value">{{ orderInfo.主管 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.定金比例">
                            <text class="label">定金比例:</text>
                            <text class="value">{{ orderInfo.定金比例 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.联系人">
                            <text class="label">联系人:</text>
                            <text class="value">{{ orderInfo.联系人 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.结算日期">
                            <text class="label">结算日期:</text>
                            <text class="value">{{ orderInfo.结算日期 }}</text>
                        </view>
                        <view class="info-item full-width" v-if="orderInfo.摘要">
                            <text class="label">摘要:</text>
                            <text class="value">{{ orderInfo.摘要 }}</text>
                        </view>
                    </view>
                </view>
            </view>
            
            <!-- Tab 1: 审核信息 -->
            <view v-if="currentTab === 1" class="tab-content">
                <view class="info-card">
                    <view class="card-title">审批流程信息</view>
                    <view class="info-grid">
                        <view class="info-item" v-if="orderInfo.制单人">
                            <text class="label">制单人:</text>
                            <text class="value">{{ orderInfo.制单人 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.制单日期">
                            <text class="label">制单日期:</text>
                            <text class="value">{{ formatDate(orderInfo.制单日期) }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.审核人">
                            <text class="label">审核人:</text>
                            <text class="value">{{ orderInfo.审核人 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.审核日期">
                            <text class="label">审核日期:</text>
                            <text class="value">{{ formatDate(orderInfo.审核日期) }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.修改人">
                            <text class="label">修改人:</text>
                            <text class="value">{{ orderInfo.修改人 }}</text>
                        </view>
                        <view class="info-item" v-if="orderInfo.修改日期">
                            <text class="label">修改日期:</text>
                            <text class="value">{{ formatDate(orderInfo.修改日期) }}</text>
                        </view>
                    </view>
                </view>
            </view>
            
            <!-- Tab 2: 物料信息 -->
            <view v-if="currentTab === 2" class="tab-content">
                <view class="material-list">
                    <view 
                        v-for="(item, index) in materialList" 
                        :key="index" 
                        class="material-card"
                    >
                        <view class="material-header">
                            <text class="material-code">{{ item.物料代码 || '物料' + (index + 1) }}</text>
                            <text class="material-name">{{ item.物料名称 }}</text>
                        </view>
                        <view class="material-info">
                            <view class="info-row">
                                <view class="info-col" v-if="item.规格型号">
                                    <text class="label">规格型号:</text>
                                    <text class="value">{{ item.规格型号 }}</text>
                                </view>
                                <view class="info-col" v-if="item.计量单位代码">
                                    <text class="label">单位代码:</text>
                                    <text class="value">{{ item.计量单位代码 }}</text>
                                </view>
                                <view class="info-col" v-if="item.计量单位">
                                    <text class="label">单位:</text>
                                    <text class="value">{{ item.计量单位 }}</text>
                                </view>
                                <view class="info-col" v-if="item.克重">
                                    <text class="label">克重:</text>
                                    <text class="value">{{ item.克重 }}</text>
                                </view>
                                <view class="info-col" v-if="item.幅宽">
                                    <text class="label">幅宽:</text>
                                    <text class="value">{{ item.幅宽 }}</text>
                                </view>
                                <view class="info-col" v-if="染色要求">
                                    <text class="label">染色要求:</text>
                                    <text class="value">{{ item.染色要求 }}</text>
                                </view>
                                <view class="info-col" v-if="白坯要求">
                                    <text class="label">白坯要求:</text>
                                    <text class="value">{{ item.白坯要求 }}</text>
                                </view>
                            </view>
                            
                            <view class="info-row">
                                <view class="info-col" v-if="item.批号">
                                    <text class="label">批号:</text>
                                    <text class="value">{{ item.批号 }}</text>
                                </view>
                                <view class="info-col" v-if="item.数量">
                                    <text class="label">数量:</text>
                                    <text class="value">{{ item.数量 }}</text>
                                </view>
                                <view class="info-col" v-if="item.生产入库数量">
                                    <text class="label">生产入库数量:</text>
                                    <text class="value">{{ item.生产入库数量 }}</text>
                                </view>
                                <view class="info-col" v-if="item.开票数量">
                                    <text class="label">开票数量:</text>
                                    <text class="value">{{ item.开票数量 }}</text>
                                </view>
                            </view>
                            
                            <view class="info-row">
                                <view class="info-col" v-if="item.关联数量">
                                    <text class="label">关联数量:</text>
                                    <text class="value">{{ item.关联数量 }}</text>
                                </view>
                                <view class="info-col" v-if="item.未关联数量">
                                    <text class="label">未关联数量:</text>
                                    <text class="value">{{ item.未关联数量 }}</text>
                                </view>
                            </view>
                            
                            <view class="info-row">
                                <view class="info-col" v-if="item.含税单价">
                                    <text class="label">含税单价:</text>
                                    <text class="value">{{ item.含税单价 }}</text>
                                </view>
                                <view class="info-col" v-if="item.折扣率">
                                    <text class="label">折扣率:</text>
                                    <text class="value">{{ item.折扣率 }}</text>
                                </view>
                                <view class="info-col" v-if="item.实际含税单价">
                                    <text class="label">实际单价:</text>
                                    <text class="value">{{ item.实际含税单价 }}</text>
                                </view>
                            </view>
                            
                            <view class="info-row">
                                <view class="info-col" v-if="item.单价">
                                    <text class="label">单价:</text>
                                    <text class="value">{{ item.单价 }}</text>
                                </view>
                                <view class="info-col" v-if="item.金额">
                                    <text class="label">金额:</text>
                                    <text class="value">{{ item.金额 }}</text>
                                </view>
                                <view class="info-col" v-if="item.销售出库审核金额">
                                    <text class="label">销售出库审核金额:</text>
                                    <text class="value">{{ item.销售出库审核金额 }}</text>
                                </view>
                                <view class="info-col" v-if="item.销售出库审核金额">
                                    <text class="label">销售出库审核金额:</text>
                                    <text class="value">{{ item.销售出库审核金额 }}</text>
                                </view>
                                <view class="info-col" v-if="item.销售退库数量">
                                    <text class="label">销售退库数量:</text>
                                    <text class="value">{{ item.销售退库数量 }}</text>
                                </view>
                                <view class="info-col" v-if="item.销售退库审核数量">
                                    <text class="label">销售退库审核数量:</text>
                                    <text class="value">{{ item.销售退库审核数量 }}</text>
                                </view>
                                <view class="info-col" v-if="item.是否下推生产订单">
                                    <text class="label">是否下推生产订单:</text>
                                    <text class="value">{{ item.是否下推生产订单 }}</text>
                                </view>
                            </view>
                            
                            <view class="info-row">
                                <view class="info-col" v-if="item.客户物料编码">
                                    <text class="label">客户物料编码:</text>
                                    <text class="value">{{ item.客户物料编码 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.客户规格型号">
                                    <text class="label">客户规格型号:</text>
                                    <text class="value">{{ item.客户规格型号 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.客户物料名称">
                                    <text class="label">客户物料名称:</text>
                                    <text class="value">{{ item.客户物料名称 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.是否取库存">
                                    <text class="label">是否取库存:</text>
                                    <text class="value">{{ item.是否取库存 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.剩余订金">
                                    <text class="label">剩余订金:</text>
                                    <text class="value">{{ item.剩余订金 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.报废数量">
                                    <text class="label">报废数量:</text>
                                    <text class="value">{{ item.报废数量 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.生产入库数量">
                                    <text class="label">生产入库数量:</text>
                                    <text class="value">{{ item.生产入库数量 }}%</text>
                                </view>
                                <!-- -->
                                <view class="info-col" v-if="item.税率">
                                    <text class="label">税率:</text>
                                    <text class="value">{{ item.税率 }}%</text>
                                </view>
                                <view class="info-col" v-if="item.税额">
                                    <text class="label">税额:</text>
                                    <text class="value">{{ item.税额 }}</text>
                                </view>
                                <view class="info-col" v-if="item.价税合计">
                                    <text class="label">价税合计:</text>
                                    <text class="value">{{ item.价税合计 }}</text>
                                </view>
                            </view>
                            
                            <view class="info-row" v-if="item.交货日期">
                                <view class="info-col full-width">
                                    <text class="label">交货日期:</text>
                                    <text class="value">{{ item.交货日期 }}</text>
                                </view>
                            </view>
                            <view class="info-row" v-if="item.投料">
                                <view class="info-col full-width">
                                    <text class="label">投料:</text>
                                    <text class="value">{{ item.投料 }}</text>
                                </view>
                            </view>
                            <view class="info-row" v-if="item.深加工">
                                <view class="info-col full-width">
                                    <text class="label">深加工:</text>
                                    <text class="value">{{ item.深加工 }}</text>
                                </view>
                            </view>
                        </view>
                    </view>
                    
                    <view v-if="materialList.length === 0" class="empty-state">
                        <uni-icons type="list" size="50" color="#ccc"></uni-icons>
                        <text class="empty-text">暂无物料信息</text>
                    </view>
                </view>
            </view>
        </scroll-view>
        
        <view class="footer">
            <button class="back-btn" @click="goBack">返回</button>
        </view>
        
        <uni-load-more v-if="loading" status="loading" :content-text="loadingText"></uni-load-more>
    </view>
</template>
 
<script>
    import { CommonUtils } from '@/utils/common.js'
    import { getUserInfo } from "../../utils/auth";
    
    export default {
        data() {
            return {
                // 参数
                linterid: '',
                HBillNo: '',
                
 
                currentTab: 0,
                scrollHeight: 0,
                loading: false,
                loadingText: {
                    contentdown: '上拉显示更多',
                    contentrefresh: '正在加载...',
                    contentnomore: '没有更多数据了'
                },
                
    
                orderInfo: {},
                materialList: [], 
                allData: [], 
            }
        },
        computed: {
            indicatorStyle() {
                const tabWidth = 100 / 3;
                return {
                    width: tabWidth + '%',
                    transform: `translateX(${this.currentTab * 100}%)`
                };
            }
        },
        onLoad(options) {
            if (options.linterid && options.HBillNo) {
                this.linterid = options.linterid;
                this.HBillNo = options.HBillNo;
                this.loadOrderDetail();
            } else {
                uni.showToast({
                    title: '参数错误',
                    icon: 'error'
                });
                setTimeout(() => {
                    uni.navigateBack();
                }, 1500);
            }
            
            // 计算滚动区域高度
            this.calcScrollHeight();
        },
        onReady() {
            
            uni.onWindowResize(() => {
                this.calcScrollHeight();
            });
        },
        methods: {
            
            calcScrollHeight() {
                const systemInfo = uni.getSystemInfoSync();
                const windowHeight = systemInfo.windowHeight;
                const query = uni.createSelectorQuery().in(this);
                query.select('.header').boundingClientRect();
                query.select('.tab-container').boundingClientRect();
                query.select('.footer').boundingClientRect();
                query.exec((res) => {
                    if (res[0] && res[1] && res[2]) {
                        const headerHeight = res[0].height;
                        const tabHeight = res[1].height;
                        const footerHeight = res[2].height;
                        const margin = 5; // 安全边距
                        
                        this.scrollHeight = windowHeight - headerHeight - tabHeight - footerHeight - margin;
                    }
                });
            },
            
            
            switchTab(index) {
                this.currentTab = index;
            },
            
            
            loadOrderDetail() {
                this.loading = true;
                
                
                const sWhere = ` and hmainid = '${this.linterid}'`;
                
                CommonUtils.doRequest2({
                    url: '/Xs_SeOrderBill/list_ByPage',
                    data: {
                        sWhere: sWhere,
                        user: getUserInfo()["Czymc"],
                        Organization:getUserInfo()["Organization"],
                        page:1,
                        size:50
                    },
                    resFunction: (res) => {
                        this.loading = false;
                        
                        if (res.data.Message === "无查看权限!") {
                            uni.showToast({
                                icon: 'none',
                                title: res.data.Message
                            });
                            return;
                        }
                        
                        if (res.data.code === "1" && res.data.data && res.data.data.length > 0) {
                            this.allData = res.data.data;
                            
                            this.orderInfo = { ...this.allData[0] };
                            
                            this.materialList = this.allData;
                            
                            
                            if (!this.orderInfo.单据号 && this.HBillNo) {
                                this.orderInfo.单据号 = this.HBillNo;
                            }
                        } else {
                            uni.showToast({
                                title: '未找到订单信息',
                                icon: 'none'
                            });
                        }
                    },
                    errFunction: (err) => {
                        this.loading = false;
                        uni.showToast({
                            title: '加载失败',
                            icon: 'error'
                        });
                        console.error('加载订单详情失败:', err);
                    }
                });
            },
            
            
            formatDate(dateStr) {
                if (!dateStr) return '';
                
                if (dateStr.length >= 10) {
                    return dateStr.substr(0, 10);
                }
                return dateStr;
            },
            
            // 返回上一页
            goBack() {
                uni.navigateBack();
            }
        }
    }
</script>
 
<style lang="scss" scoped>
    .container {
        display: flex;
        flex-direction: column;
        height: 100vh;
        background-color: #f5f5f5;
    }
    
    .header {
        padding: 30rpx;
        background: linear-gradient(135deg, #3a78ff 0%, #5a9cff 100%);
        color: white;
        text-align: center;
        
        .title {
            font-size: 36rpx;
            font-weight: bold;
            margin-bottom: 10rpx;
        }
        
        .sub-title {
            font-size: 28rpx;
            opacity: 0.9;
        }
    }
    
    .tab-container {
        background-color: white;
        position: relative;
        box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
        
        .tabs {
            display: flex;
            
            .tab-item {
                flex: 1;
                text-align: center;
                padding: 25rpx 0;
                font-size: 30rpx;
                color: #666;
                transition: all 0.3s;
                
                &.active {
                    color: #3a78ff;
                    font-weight: bold;
                }
            }
        }
        
        .tab-indicator {
            height: 4rpx;
            background-color: #3a78ff;
            transition: transform 0.3s ease;
        }
    }
    
    .content {
        flex: 1;
    }
    
    .tab-content {
        padding: 20rpx;
    }
    
    .info-card {
        background-color: white;
        border-radius: 16rpx;
        padding: 30rpx;
        margin-bottom: 20rpx;
        box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
        
        .card-title {
            font-size: 32rpx;
            font-weight: bold;
            color: #333;
            margin-bottom: 30rpx;
            padding-bottom: 15rpx;
            border-bottom: 1rpx solid #eee;
        }
        
        .info-grid {
            display: flex;
            flex-wrap: wrap;
            
            .info-item {
                width: 50%;
                margin-bottom: 25rpx;
                
                &.full-width {
                    width: 100%;
                }
                
                .label {
                    color: #666;
                    font-size: 28rpx;
                    margin-right: 10rpx;
                }
                
                .value {
                    color: #333;
                    font-size: 28rpx;
                    font-weight: 500;
                    word-break: break-all;
                }
            }
        }
    }
    
    .material-list {
        .material-card {
            background-color: white;
            border-radius: 16rpx;
            margin-bottom: 20rpx;
            padding: 30rpx;
            box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
            
            .material-header {
                display: flex;
                align-items: center;
                margin-bottom: 25rpx;
                padding-bottom: 15rpx;
                border-bottom: 1rpx solid #eee;
                
                .material-code {
                    font-size: 30rpx;
                    font-weight: bold;
                    color: #3a78ff;
                    margin-right: 20rpx;
                    background-color: #f0f7ff;
                    padding: 5rpx 15rpx;
                    border-radius: 8rpx;
                }
                
                .material-name {
                    font-size: 28rpx;
                    color: #333;
                    flex: 1;
                }
            }
            
            .material-info {
                .info-row {
                    display: flex;
                    flex-wrap: wrap;
                    margin-bottom: 15rpx;
                    
                    &:last-child {
                        margin-bottom: 0;
                    }
                    
                    .info-col {
                        width: 50%;
                        margin-bottom: 10rpx;
                        
                        &.full-width {
                            width: 100%;
                        }
                        
                        .label {
                            color: #888;
                            font-size: 26rpx;
                            margin-right: 8rpx;
                        }
                        
                        .value {
                            color: #333;
                            font-size: 26rpx;
                            font-weight: 500;
                        }
                    }
                }
            }
        }
    }
    
    .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100rpx 0;
        
        .empty-text {
            color: #999;
            font-size: 28rpx;
            margin-top: 20rpx;
        }
    }
    
    .footer {
        padding: 20rpx 30rpx;
        background-color: white;
        border-top: 1rpx solid #eee;
        
        .back-btn {
            background-color: #3a78ff;
            color: white;
            border-radius: 50rpx;
            height: 80rpx;
            line-height: 80rpx;
            font-size: 32rpx;
            
            &:active {
                background-color: #2c5fcc;
            }
        }
    }
</style>