| | |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <el-form :model="form" ref="form" :rules="rules" label-width="120px" label-suffix=":" inline> |
| | | <div class="title-style"><div>SKU配置</div><div class="btn" @click="addSku">添加规格</div></div> |
| | | <el-table |
| | | :data="skiuList" |
| | |
| | | <template slot-scope="scope"> |
| | | <!-- skiuList.splice(scope.$index, 1) --> |
| | | <el-button slot="append" @click="deleteSku(scope.$index)">X</el-button> |
| | | |
| | | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-form> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | } |
| | | return newItem |
| | | }) |
| | | debugger |
| | | } else { |
| | | let tempAttr = [...attr] |
| | | attr = [] |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | this.skuAttr = attr |
| | | }, |
| | | |
| | | uploadSuccess(file, row) { |
| | | row.imgurlfull=file.imgurlfull |
| | | row.imgurl=file.imgurl |
| | |
| | | font-weight: 500; |
| | | font-size: 20px; |
| | | height: 20px; |
| | | |
| | | |
| | | line-height: 20px; |
| | | vertical-align: middle; |
| | | margin-bottom: 20px; |