123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <template>
- <div class="app-container">
- <el-card class="box-card">
- <div slot="header" class="clearfix">
- <span>仓库每天预约提货设置</span>
- </div>
- <!-- 列表 -->
- <div class="">
- <el-table
- v-loading="listLoading"
- :data="dataList"
- element-loading-text="Loading"
- border
- fit
- highlight-current-row
- stripe
- >
- <el-table-column
- align="center"
- label="序号"
- prop="num"
- min-width="60"
- show-overflow-tooltip
- />
- <el-table-column
- align="center"
- label="仓库"
- prop="store"
- min-width="160"
- show-overflow-tooltip
- />
- <el-table-column
- align="center"
- label="预约存货类型"
- prop="type"
- min-width="160"
- show-overflow-tooltip
- />
- <el-table-column
- align="center"
- label="最大预约单量"
- prop="maxNum"
- min-width="160"
- show-overflow-tooltip
- >
- <template slot-scope="scope">
- <el-input v-model="scope.row.maxNum"></el-input>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="最大预约台数"
- prop="maxSets"
- min-width="160"
- show-overflow-tooltip
- >
- <template slot-scope="scope">
- <el-input v-model="scope.row.maxSets"></el-input>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="操作"
- min-width="160"
- show-overflow-tooltip
- >
- <el-button type="text" class="textColor" @click="editFn"
- >编辑</el-button
- >
- <el-button type="text" class="textColor">删除</el-button>
- </el-table-column>
- </el-table>
- </div>
- </el-card>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- dataList: [
- {
- num: "1",
- store: "万豪仓",
- type: "家用空调",
- maxNum: "1111",
- maxSets: "12331",
- },
- {
- num: "1",
- store: "万豪仓",
- type: "家用空调",
- maxNum: "1111",
- maxSets: "",
- },
- {
- num: "1",
- store: "万豪仓",
- type: "家用空调",
- maxNum: "1111",
- maxSets: "",
- },
- {
- num: "1",
- store: "万豪仓",
- type: "家用空调",
- maxNum: "1111",
- maxSets: "",
- },
- ],
- };
- },
- };
- </script>
- <style lang="scss" scoped>
- </style>
|