<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>
|