schangxiang@126.com
2025-09-18 ef0360bd1befc35cc5af197a92ce462bad3af50f
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
<template>
    <view class="width height140rpx fixed transformX left50 bottom0 background_fff padding40_0">
        <button v-if="singforShow" :disabled="disabled" class=" width90  bg-blue transition"
            @click="$emit('submit')">{{singfoTitle}}</button>
        <view v-if="garmenShow" class="flex justify-around   transition">
            <button class="width70 bg-f18202 color_F2F2F2" @click="$emit('submit')">{{garmenTitle}}</button>
            <button class="width25 bg-grey" @click="$emit('reset')">重置</button>
 
        </view>
        <view v-if="subShow" class="flex justify-around transition" style="padding-top: 10rpx;">
            <button class="width95 bg-f18202" @click="$emit('submit')">{{garmenTitle}}</button>
        </view>
        <view v-if="empTytowerShow" class="flex justify-around transition">
            <button class="width25 bg-grey" @click="$emit('reset')">{{cleaningTitle}}</button>
            <button class="width70  bg-f18202 color_F2F2F2" @click="$emit('submit')">{{garmenTitle}}</button>
        </view>
        <view v-if="cleaningShow" class="flex justify-around transition">
            <button class="width45  bg-grey" @click="$emit('allsubmit')">{{allTitle}}</button>
            <button class="width45 bg-f18202 color_F2F2F2" @click="$emit('submit')">{{cleaningTitle}}</button>
        </view>
        <view v-if="printShow" class="flex justify-around transition">
            <button class="width45 bg-f18202" @click="$emit('submit')">{{garmenTitle}}</button>
            <button class="width25 bg-ffe6c9" @click="$emit('print')">打印</button>
            <button class="width25 bg-grey" @click="$emit('reset')">重置</button>
        </view>
        <view v-if="issueShow" class="flex justify-around transition">
            <button class="width25 bg-grey" @click="$emit('issue')">{{issueTitle}}</button>
            <button class="width35 bg-ffe6c9" @click="$emit('reset')">{{restTiltle}}</button>
            <button class="width30 bg-f18202 color_F2F2F2" @click="$emit('submit')">{{subTitle}}</button>
        </view>
    </view>
</template>
 
<script>
    export default {
        name: "buttonModal",
        data() {
            return {
 
            };
        },
        props: {
            singforShow: {
                type: Boolean,
                default: false
            },
            empTytowerShow: {
                type: Boolean,
                default: false
            },
            disabled: {
                type: Boolean,
                default: false
            },
            garmenShow: {
                type: Boolean,
                default: false
            },
            subShow: {
                type: Boolean,
                default: false
            },
            cleaningShow: {
                type: Boolean,
                default: false
            },
            printShow: {
                type: Boolean,
                default: false
            },
            issueShow: {
                type: Boolean,
                default: false
            },
            garmenTitle: {
                type: String,
                defaultr: '下线绑定'
            },
            singfoTitle: {
                type: String,
                default: '签收'
            },
            resetTitle: {
                type: String,
                default: '全部删除'
            },
            allTitle: {
                type: String,
                defaultr: '全部出库'
            },
            cleaningTitle: {
                type: String,
                defaultr: '出库'
            },
            issueTitle: {
                type: String,
                defaultr: '问题标记'
            },
            restTiltle: {
                type: String,
                defaultr: '重置'
            },
            subTitle: {
                type: String,
                defaultr: '确定'
            },
        }
    }
</script>
 
<style lang="scss" scoped>
.width35{
    width: 35%;
}
.width25{
    width: 25%;
}
</style>