马宇豪
2023-06-26 3d81e48c5df05117225726fa06f44c9c33f76861
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
<template>
    <el-dialog
        :visible.sync="deliverDialog"
        :close-on-click-modal="false"
        width="50%"
        :append-to-body="true"
        :title=stockName
        center
        size="medium"
    >
        <div class="app-container">
            <div class="upTitle">
                请勾选或取消勾选允许使用该仓库的批发企业,您允许使用的企业可将货物入库到该仓库。
            </div>
            <div class="table_content">
                <el-checkbox-group v-model="companyList">
                    <el-checkbox label="公司A" checked border style="display: block"></el-checkbox>
                    <el-checkbox label="公司B" border style="display: block"></el-checkbox>
                    <el-checkbox label="公司C" border disabled style="display: block"></el-checkbox>
                </el-checkbox-group>
            </div>
        </div>
        <span slot="footer" class="dialog-footer">
                <el-button @click="deliverDialog = false">取 消</el-button>
                <el-button type="primary" @click="deliverDialog = false">提 交</el-button>
            </span>
    </el-dialog>
</template>
 
<script>
    import {computePageCount} from "@/utils";
 
    export default {
        name: "deliverUsage",
        components: {},
        data(){
            return{
                tableStatus: true,
                tableKey:'',
                stockName: '仓库XXXX使用权分配',
                listLoading:false,
                companyList:[],
                deliverDialog:false,
            }
        },
        created() {
            const t = this
        },
        methods:{
            open(){
                this.deliverDialog = true
            },
        }
    }
</script>
 
<style lang="scss" scoped>
    .upTitle{
        font-size: 16px;
        margin-bottom: 20px;
    }
    /deep/ .el-checkbox{
        width: 80%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
</style>