spring
4 天以前 f26f29d84e0a68831a6af14dab3eec5500496d2e
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
<template>
    <view class="page">
        <view class="operation-task-info-index-bg" />
        <u-navbar title="工单详情" :background="background" :border-bottom="false" :title-bold="true" title-color="#000"
            back-icon-color="#000" />
        <view class="wrap">
            <uni-list>
                <uni-list-item title="销售订单:" :rightText="operationTaskInfo.customerOrderNo" />
                <uni-list-item title="主计划号:" :rightText="operationTaskInfo.mpsNo" />
                <uni-list-item title="零件编号:" :rightText="operationTaskInfo.partNo" />
                <uni-list-item title="零件名称:" :note="operationTaskInfo.partName" />
                <uni-list-item title="车间订单:" :rightText="operationTaskInfo.moNo" />
                <uni-list-item title="工序名称:" :rightText="operationTaskInfo.operationName" />
                <uni-list-item title="成品名称:" :note="operationTaskInfo.productName" />
                <uni-list-item title="计划数量:" :rightText="operationTaskInfo.plannedQuantity.toString()" />
            </uni-list>
        </view>
    </view>
</template>
<script>
    import content_bg from '@/static/custom/product/productBg.png'
    export default {
        components: {},
        data() {
            return {
                background: {
                    backgroundImage: `url(${content_bg})`,
                    backgroundAttachment: 'fixed',
                    backgroundSize: '100% auto',
                    backgroundRepeat: 'no-repeat',
                },
                operationTaskInfo: {}
            };
        },
        onLoad(option) {
            if (option.item) {
                this.operationTaskInfo = JSON.parse(decodeURIComponent(option.item));
            }
        },
        onShow() {
 
        },
        methods: {
        }
    };
</script>
<style lang="scss" scoped>
    .operation-task-info-index-bg {
        background-color: #F6F9FF;
        background-image: url('~@/static/custom/product/productBg.png');
        // background: linear-gradient(180deg,rgba(206,227,254,1),rgba(206,227,254,1) 20%,rgba(206,227,254,0.5) 40%,rgba(206,227,254,0.25) 60%,rgba(206,227,254,0.08) 80%,rgba(206,227,254,0));
        padding: 0 20rpx;
        background-attachment: fixed;
        background-size: 100% auto;
        background-repeat: no-repeat;
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        z-index: -1;
    }
 
    .wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 10px;
    }
 
</style>