| | |
| | | |
| | | <el-button type="primary" :loading="isWorking.export" @click="bulkOperation(0)">批量上架</el-button> |
| | | <el-button type="primary" :loading="isWorking.export" @click="bulkOperation(1)">批量下架</el-button> |
| | | <el-button style="background: red;border-color:red" type="primary" :loading="isWorking.export" @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:goods:delete']">批量删除</el-button> |
| | | <el-button type="danger" :loading="isWorking.export" @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:goods:delete']">批量删除</el-button> |
| | | </ul> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | |
| | | if (res.multifileList.length > 0) { |
| | | res.multifileList.forEach(item => { |
| | | obj.multifileList.push({ fileurl: item.fileurl, name: item.name, url: res.prefixUrl + item.fileurl }) |
| | | obj.files.push({ fileurl: item.fileurl, name: item.name, url: res.prefixUrl + item.fileurl }) |
| | | obj.files.push({ fileurl: item.fileurl, name: item.name, url: res.prefixUrl + item.fileurl, response: { data: { imgaddr: item.fileurl, imgname: item.name } } }) |
| | | }) |
| | | } |
| | | this.$refs.operaGoodsWindow.open('编辑商品', obj) |