jiangping
2023-08-21 2837bdd57f72e386bbf9a725e7b3a13e5eb9e930
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
<template>
    <div class="adjustment">
        <div class="box">
            <div class="adjustment_item" @click="showList.show = true">
                <span>单据类型</span>
                <div class="adjustment_item_xz">
                    <span :style="dataValue.documentTypeName ? 'color: #000' : ''">{{dataValue.documentTypeName ? dataValue.documentTypeName : '点击选择'}}</span>
                    <van-icon name="arrow" size="20" color="#999999" />
                </div>
            </div>
            <div class="adjustment_item" @click="showList.show1 = true">
                <span>入库仓库</span>
                <div class="adjustment_item_xz">
                    <span :style="dataValue.warehouseName ? 'color: #000' : ''">{{dataValue.warehouseName ? dataValue.warehouseName : '点击选择'}}</span>
                    <van-icon name="arrow" size="20" color="#999999" />
                </div>
            </div>
        </div>
        <div class="adjustment_title">入库物料清单</div>
        <van-swipe-cell v-for="(item, index) in list" :key="item.code">
            <div class="box">
                <div class="adjustment_item">
                    <span>工装器具</span>
                    <div class="adjustment_item_xz">
                        <span class="black">{{ item.code }}</span>
                    </div>
                </div>
                <div class="adjustment_item" @click="openWL(index)">
                    <span>入库物料</span>
                    <div class="adjustment_item_xz">
                        <span :style="item.wlName ? 'color: #000;' : ''">{{item.wlName ? item.wlName : '点击选择入库物料'}}</span>
                        <van-icon name="arrow" size="20" color="#999999" />
                    </div>
                </div>
                <div class="sweep">
                    <div class="sweep_box" @click="openCode('请扫描物料码', index)">
                        <img src="@/assets/icon/jianyan_ic_saoma@2x.png" alt="" />
                        <span>扫描物料</span>
                    </div>
                </div>
                <div class="adjustment_item" @click="openGX(index)" v-if="item.wlName && item.type">
                    <span>生产工序</span>
                    <div class="adjustment_item_xz">
                        <span :style="item.gxName ? 'color: #000;' : ''">{{item.gxName ? item.gxName : '点击选择'}}</span>
                        <van-icon name="arrow" size="20" color="#999999" />
                    </div>
                </div>
                <div class="adjustment_item" @click="openSX(index)" v-if="item.wlName">
                    <span>质量属性</span>
                    <div class="adjustment_item_xz">
                        <span :style="item.sxName ? 'color: #000;' : ''">{{item.sxName ? item.sxName : '点击选择'}}</span>
                        <van-icon name="arrow" size="20" color="#999999" />
                    </div>
                </div>
                <div class="adjustment_item" v-if="item.wlName">
                    <span>批次号</span>
                    <div class="adjustment_item_xz">
                        <input type="text" v-model="item.pch" placeholder="请输入" />
                    </div>
                </div>
                <div class="adjustment_item" v-if="item.wlName">
                    <span>入库数量({{ item.dw }})</span>
                    <div class="adjustment_item_xz">
                        <input type="text" @blur="numBlur(index)" v-model="item.num" placeholder="0" />
                    </div>
                </div>
            </div>
            <template #right>
                <van-button style="height: 100%;" square type="danger" text="删除" @click="dele(index)" />
            </template>
        </van-swipe-cell>
        <div class="zw"></div>
        <div class="footer">
            <div class="footer_jx" @click="openCode('请扫描工装码')">继续扫码</div>
            <div class="footer_w"></div>
            <button class="footer_tj" v-preventReClick @click="submit">提交入库</button>
        </div>
    </div>
    <!--  单据类型  -->
    <van-popup v-model:show="showList.show" position="bottom" round :style="{ height: '45%' }">
        <van-picker
            title="请选择单据类型"
            :columns="showList.columns"
            @confirm="onConfirm"
            @cancel="onCancel"
        />
    </van-popup>
    <!--  选择仓库  -->
    <Warehouse :show="showList.show1" @close="close" @value="getValue" />
    <!--  入库物料  -->
    <Material :show="showList.show2" @close="close1" @value="getValue1" />
    <!--  生产工序  -->
    <van-popup v-model:show="showList.show3" position="bottom" round :style="{ height: '45%' }">
        <van-picker
            title="请选择生产工序"
            :columns="showList.columns3"
            @confirm="onConfirm3"
            @cancel="onCancel3"
        />
    </van-popup>
    <!--  质量属性  -->
    <van-popup v-model:show="showList.show4" position="bottom" round :style="{ height: '45%' }">
        <van-picker
            title="请选择质量属性"
            :columns="showList.columns4"
            @confirm="onConfirm4"
            @cancel="onCancel4"
        />
    </van-popup>
    <!--  扫码  -->
    <v-ScanCode
        :openCode="showList.openCode"
        :infos="showList.info"
        @closePopup="closePopup"
        @onDecode="onDecode" />
</template>
 
<script setup lang="ts">
    import { ref, reactive, onMounted } from 'vue'
    import { useRoute, useRouter } from "vue-router"
    import { getBarcodeContent, getListByCondition } from "@/apis/WorkOrderAPI"
    import { wOutBoundForStockUp, getMaterialItem, getListByMaterialId } from '@/apis/ExWarehouse'
    import { QRCodeType, Attribute } from '@/enum'
    import { REGULAR } from '@/utils/utils'
    import { Toast } from 'vant'
    import Warehouse from '@/components/common/Warehouse.vue'
    import Material from '@/components/common/Material.vue'
 
    const route = useRoute()
    const router = useRouter()
 
    // 控制页面数据验证
    interface verification {
        info: Array<string>,
        openCode: boolean,
        show: boolean,
        columns: Array<any>,
        show1: boolean,
        show2: boolean,
        show3: boolean,
        columns3: Array<any>,
        show4: boolean,
        columns4: Array<any>
    }
 
    // 清单数据验证
    interface list {
        id: string | number,
        code: string,
        attribute: string,
        dw: string,
        wlId: string,
        wlName: string,
        wlCompany: string,
        gxId: string,
        gxName: string,
        sxId: string,
        sxName: string,
        pch: string,
        num: string,
        type: boolean // 判断有没有工序
    }
 
    // 单据类型/入库仓库数据验证
    interface ckVerification {
        warehouseName: string,
        warehouseId: string,
        documentTypeName: string,
        documentTypeId: string,
        warehouseAttribute: string
    }
 
    // 单据类型/入库仓库
    let dataValue = ref<ckVerification>({
        warehouseName: '',
        warehouseId: '',
        warehouseAttribute: '',
        documentTypeName: '库存调整',
        documentTypeId: '28'
    })
 
    // 插入物料详细索引
    let index = ref<number>()
 
    // 入库清单
    let list = ref<Array<list>>([])
 
    // 控制下拉显示/隐藏/数据
    let showList = reactive<verification>({
        info: [],
        openCode: false,
        show: false,
        // 13 客返返修入库
        // 17 客退返修入库
        // 28 库存调整
        columns: [{ text: '库存调整', id: '28' }],
        // ,{ text: '客返检验入库', id: '1' },{ text: '客退检验入库', id: '2' }],
        show1: false,
        show2: false,
        show3: false,
        columns3: [],
        show4: false,
        columns4: []
    })
 
    // 删除对应的工装
    const dele = (i: number): void => {
        if (list.value.length === 1) {
            Toast.fail({ message: "至少保留一个工装" })
            return
        }
        list.value.splice(i, 1)
    }
 
    // 提交调整入库
    const submit = () => {
        let isOpen: boolean = true
        if (!dataValue.value.documentTypeId) return Toast.fail({ message: '单据类型不能为空' })
        if (!dataValue.value.warehouseId) return Toast.fail({ message: '入库仓库不能为空' })
        list.value.forEach((element: any) => {
            if (element.type && !element.gxId) {
                isOpen = false
                return Toast.fail({message: `请完善[${element.code}]的生产工序`})
            }
            if (!element.wlId) {
                isOpen = false
                return Toast.fail({message: `请完善[${element.code}]的入库物料`})
            }
            if (!element.sxId) {
                isOpen = false
                return Toast.fail({message: `请完善[${element.code}]的质量属性`})
            }
            if (!element.num) {
                isOpen = false
                return Toast.fail({message: `请完善[${element.code}]的入库数量`})
            }
        })
        if (isOpen) {
            let woutboundInBodyBeanList: Array<any> = []
            list.value.forEach((element: any) => {
                woutboundInBodyBeanList.push({
                    appliancesId: element.id,
                    batch: element.pch,
                    materialId: element.wlId,
                    num: Number(element.num),
                    procedureId: element.gxId,
                    qualityType: Number(element.sxId),
                    unitId: element.wlCompany
                })
            })
            wOutBoundForStockUp({
                type: Number(dataValue.value.documentTypeId),
                warehouseId: Number(dataValue.value.warehouseId),
                woutboundInBodyBeanList
            }).then(res => {
                if (res.code === 200) {
                    Toast.success({ message: '创建成功', forbidClick: true, duration: 2000 })
                    setTimeout(() => {
                        router.go(-1)
                    }, 2000)
                }
            })
        }
    }
 
    // 输入数量失去焦点校验单位
    const numBlur = (i: number): void => {
        if (Number(list.value[i].wlCompany) === 0) {
            if (!REGULAR.positiveInteger.test(list.value[i].num)) {
                list.value[i].num = ''
                Toast.fail({ message: `物料[${list.value[i].code}]只能输入正整数` })
            }
        } else if (Number(list.value[i].wlCompany) === 1) {
            if (!REGULAR.number.test(list.value[i].num)) {
                list.value[i].num = ''
                Toast.fail({ message: `物料[${list.value[i].code}]只能输入整数或小数(四位)` })
            }
        }
    }
 
    // 打开质量属性选择
    const openSX = (i: number) => {
        setIndexes(i)
        if (list.value[i].attribute === Attribute.HH) {  // 混合
            showList.columns4 = [{ text: '合格', id: '0' },{ text: '不良', id: '1' },{ text: '报废', id: '2' }]
        } else if (list.value[i].attribute === Attribute.HG) {  // 合格
            showList.columns4 = [{ text: '合格', id: '0' }]
        } else if (list.value[i].attribute === Attribute.BL) {  // 不良
            showList.columns4 = [{ text: '不良', id: '1' }]
        } else if (list.value[i].attribute === Attribute.BF) {  // 报废
            showList.columns4 = [{ text: '报废', id: '2' }]
        }
        showList.show4 = true
    }
 
    // 打开工序选择
    const openGX = async (i: number) => {
        setIndexes(i)
        let res = await getListByMaterialId({
            materialId: list.value[i].wlId
        })
        if (res.code === 200) {
            showList.columns3 = []
            res.data.forEach((element: any) => {
                showList.columns3.push({ text: element.name, id: element.id })
            })
            showList.show3 = true
        }
    }
 
    const openWL = (i: number) => {
        setIndexes(i)
        showList.show2 = true
    }
 
    // 设置插入索引
    const setIndexes = (i: number): void => {
        index.value = i
    }
 
    // 打开扫码
    const openCode = (type: string, i: number): void => {
        if (type === '请扫描工装码' && !dataValue.value.warehouseId) {
            Toast.fail({ message: '请先选择入库仓库' })
            return
        }
        setIndexes(i)
        showList.info = [type]
        showList.openCode = true
    }
 
    // 获取扫码回调
    const onDecode = async (data: string[]): Promise<void> => {
        showList.openCode = false
        let res = await getBarcodeContent({
            barcode: data[0]
        })
        if (showList.info[0] === '请扫描物料码') {
            if (res.data.barcodeType === QRCodeType.WL) {
                let wl = await getMaterialItem({ materialId: res.data.id })
                if (wl.code === 200) {
                    list.value[index.value as number].wlName = wl.data.mmodelUnionName
                    list.value[index.value as number].wlId = wl.data.id
                    list.value[index.value as number].wlCompany = wl.data.umodelAttributeData
                    let gx = await getListByMaterialId({
                        materialId: wl.data.id
                    })
                    if (gx.code === 200) {
                        list.value[index.value as number].type = gx.code === 200 && gx.data.length > 0
                        if (gx.data && gx.data.length > 0) {
                            list.value[index.value as number].gxId = gx.data[0].id
                            list.value[index.value as number].gxName = gx.data[0].name
                        }
                    }
                }
            } else {
                Toast.fail({ message: '请扫描正确的物料码' })
            }
        } else if (showList.info[0] === '请扫描工装码') {
            if (res.data.barcodeType === QRCodeType.GZ) {
                let gz = await getListByCondition({ id: res.data.id })
                if (gz.code === 200) {
                    let isOpen: boolean = true
                    list.value.forEach((element: any) => {
                        if (element.id === gz.data[0].id) {
                            isOpen = false
                            Toast.fail({ message: '工装不能重复添加' })
                        }
                    })
                    if (isOpen) {
                        if (gz.data[0].status === 1) {
                            if (dataValue.value.warehouseAttribute === Attribute.HH) {
                                setData(gz.data[0], gz.data[0].smodelLabel)
                                return
                            } else if (dataValue.value.warehouseAttribute === Attribute.HG) {
                                if (gz.data[0].smodelLabel !== Attribute.HG) {
                                    Toast.fail({ message: '工装属性必须和仓库属性一致' })
                                    return
                                }
                                setData(gz.data[0], gz.data[0].smodelLabel)
                            } else if (dataValue.value.warehouseAttribute === Attribute.BL) {
                                if (gz.data[0].smodelLabel !== Attribute.BL) {
                                    Toast.fail({ message: '工装属性必须和仓库属性一致' })
                                    return
                                }
                                setData(gz.data[0], gz.data[0].smodelLabel)
                            } else if (dataValue.value.warehouseAttribute === Attribute.BF) {
                                if (gz.data[0].smodelLabel !== Attribute.BF) {
                                    Toast.fail({ message: '工装属性必须和仓库属性一致' })
                                    return
                                }
                                setData(gz.data[0], gz.data[0].smodelLabel)
                            }
                        } else {
                            Toast.fail({ message: '请扫描空的工装' })
                        }
                    }
                }
            } else {
                Toast.fail({ message: '请扫描正确的工装码' })
            }
        }
    }
 
    // 插入物料清单
    const setData = async (element: any, type: string): Promise<void> => {
        let item = {
            id: element.id,
            code: element.code,
            attribute: element.smodelLabel,
            dw: list.value[list.value.length - 1].dw,
            wlId: list.value[list.value.length - 1].wlId,
            wlName: list.value[list.value.length - 1].wlName,
            gxId: list.value[list.value.length - 1].gxId,
            gxName: list.value[list.value.length - 1].gxName,
            sxId: '',
            sxName: '',
            pch: list.value[list.value.length - 1].pch,
            num: list.value[list.value.length - 1].num,
            type: list.value[list.value.length - 1].type
        }
        if (type === Attribute.HH) {
            item.sxId = '0'
            item.sxName = '合格'
        } else if (type === Attribute.HG) {
            item.sxId = '0'
            item.sxName = '合格'
        } else if (type === Attribute.BL) {
            item.sxId = '1'
            item.sxName = '不良'
        } else if (type === Attribute.BF) {
            item.sxId = '2'
            item.sxName = '报废'
        }
        list.value.unshift(item as never)
    }
 
    // 关闭扫码
    const closePopup = () => {
        showList.openCode = false
    }
 
    // 单据类型确认
    const onConfirm = (val: any): void => {
        dataValue.value.documentTypeId = val.id
        dataValue.value.documentTypeName = val.text
        showList.show = false
    }
 
    const onCancel = (val: any): void => {
        showList.show = false
    }
 
    const close = (val: any): void => {
        showList.show1 = false
    }
 
    // 仓库确认
    const getValue = (val: any): void => {
        if (val.tmodel.label === Attribute.HH) {
            console.log('仓库是混合')
            dataValue.value.warehouseId = val.id
            dataValue.value.warehouseName = val.name
            dataValue.value.warehouseAttribute = val.tmodel.label
        } else if (list.value[0].attribute === Attribute.HG && val.tmodel.label === Attribute.HG) {
            console.log('都是合格')
            dataValue.value.warehouseId = val.id
            dataValue.value.warehouseName = val.name
            dataValue.value.warehouseAttribute = val.tmodel.label
        } else if (list.value[0].attribute === Attribute.BL && val.tmodel.label === Attribute.BL) {
            console.log('都是不良')
            dataValue.value.warehouseId = val.id
            dataValue.value.warehouseName = val.name
            dataValue.value.warehouseAttribute = val.tmodel.label
        } else if (list.value[0].attribute === Attribute.BF && val.tmodel.label === Attribute.BF) {
            console.log('都是报废')
            dataValue.value.warehouseId = val.id
            dataValue.value.warehouseName = val.name
            dataValue.value.warehouseAttribute = val.tmodel.label
        } else {
            Toast.fail({ message: '工装属性和仓库属性不一致' })
        }
        showList.show1 = false
    }
 
    const close1 = (val: any): void => {
        showList.show2 = false
    }
 
    // 物料确认
    const getValue1 = async (val: any): Promise<void> => {
        let res = await getListByMaterialId({
            materialId: val.id
        })
        if (res.code === 200) {
            list.value[index.value as number].type = res.code === 200 && res.data.length > 0
            list.value[index.value as number].wlId = val.id
            list.value[index.value as number].wlName = val.mmodelUnionName
            list.value[index.value as number].wlCompany = val.umodelAttributeData
            list.value[index.value as number].dw = val.umodelName
            showList.columns4 = []
            if (list.value[index.value as number].attribute === Attribute.HH) {  // 混合
                showList.columns4 = [{ text: '合格', id: '0' },{ text: '不良', id: '1' },{ text: '报废', id: '2' }]
            } else if (list.value[index.value as number].attribute === Attribute.HG) {  // 合格
                showList.columns4 = [{ text: '合格', id: '0' }]
            } else if (list.value[index.value as number].attribute === Attribute.BL) {  // 不良
                showList.columns4 = [{ text: '不良', id: '1' }]
            } else if (list.value[index.value as number].attribute === Attribute.BF) {  // 报废
                showList.columns4 = [{ text: '报废', id: '2' }]
            }
            if (showList.columns4.length > 0) {
                list.value[index.value as number].sxId = showList.columns4[0].id
                list.value[index.value as number].sxName = showList.columns4[0].text
            }
            let gx = await getListByMaterialId({
                materialId: val.id
            })
            if (gx.code === 200) {
                if (gx.data && gx.data.length > 0) {
                    list.value[index.value as number].gxId = gx.data[0].id
                    list.value[index.value as number].gxName = gx.data[0].name
                }
            }
        }
        showList.show2 = false
    }
 
    const onConfirm2 = (val: any): void => {
        showList.show2 = false
    }
 
    const onCancel2 = (val: any): void => {
        showList.show2 = false
    }
 
    // 工序确认
    const onConfirm3 = (val: any): void => {
        list.value[index.value as number].gxId = val.id
        list.value[index.value as number].gxName = val.text
        showList.show3 = false
    }
 
    const onCancel3 = (val: any): void => {
        showList.show3 = false
    }
 
    // 质量属性确认
    const onConfirm4 = (val: any): void => {
        list.value[index.value as number].sxId = val.id
        list.value[index.value as number].sxName = val.text
        showList.show4 = false
    }
 
    const onCancel4 = (val: any): void => {
        showList.show4 = false
    }
 
    // 获取工装信息
    const getLKLKInfo = (id: string): void => {
        getListByCondition({ id })
            .then(res => {
                if (res.code === 200) {
                    if (res.data[0].status === 1) {
                        let obj = {
                            id: res.data[0].id,
                            code: res.data[0].code,
                            attribute: res.data[0].smodelLabel,
                            dw: res.data[0].umodelName,
                            wlId: '',
                            wlName: '',
                            gxId: '',
                            gxName: '',
                            sxId: '',
                            sxName: '',
                            pch: '',
                            num: ''
                        }
                        list.value.push(obj as never)
                    } else {
                        Toast.fail({ message: '请扫描空的工装' })
                    }
                }
            })
    }
 
    onMounted(() => {
        getLKLKInfo(route.query.id as string)
    })
</script>
 
<style lang="scss" scoped>
.adjustment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    .box {
        padding: 0 30px;
        background: #ffffff;
        margin-bottom: 30px;
        &:last-child {
            margin-bottom: 0 !important;
        }
        .sweep {
            padding: 20px 0 30px 0;
            .sweep_box {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                img {
                    width: 28px;
                    height: 28px;
                    margin-right: 12px;
                }
                span {
                    font-size: 28px;
                    font-weight: 400;
                    color: $nav-color;
                }
            }
        }
        .adjustment_item {
            height: 98px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1PX solid #E5E5E5;
            &:last-child {
                border-bottom: 0 !important;
            }
            span {
                font-size: 30px;
                font-weight: 400;
                color: #222222;
            }
            .adjustment_item_xz {
                display: flex;
                align-items: center;
                input {
                    text-align: right;
                    padding: 0 30px;
                    box-sizing: border-box;
                    width: 400px;
                    height: 60px;
                    border-radius: 8px;
                    font-size: 28px;
                    border: 1PX solid #CCCCCC;
                }
                input::-webkit-input-placeholder {
                    font-size: 28px;
                    font-weight: 400;
                    color: #999999;
                }
                .black {
                    color: black !important;
                }
                span {
                    font-size: 28px;
                    font-weight: 400;
                    color: #999999;
                    margin-right: 10px;
                }
            }
        }
    }
    .adjustment_title {
        padding: 40px 30px 30px 30px;
        font-size: 32px;
        font-weight: 500;
        color: #222222;
    }
    .zw {
        height: 168px;
    }
    .footer {
        position: fixed;
        bottom: 0;
        left: 30px;
        width: calc(100% - 60px);
        padding-bottom: 68px;
        display: flex;
        align-items: center;
        .footer_jx {
            flex: 1;
            height: 88px;
            background: #FFFFFF;
            box-shadow: 0 0 12px 0 rgba(0,0,0,0.0800);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            font-weight: 500;
            color: $nav-color;
        }
        .footer_w {
            width: 22px;
        }
        .footer_tj {
            border: none;
            flex: 1;
            height: 88px;
            background: $nav-color;
            box-shadow: 0 0 12px 0 rgba(0,0,0,0.0800);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            font-weight: 500;
            color: #ffffff;
        }
    }
}
</style>