| | |
| | | components: { GlobalAlertWindow, UploadAvatarImage }, |
| | | data () { |
| | | let positionRule = (rule, value, callBack) => { |
| | | debugger |
| | | if (!value) { |
| | | callBack(new Error(rule.message)) |
| | | } else { |
| | |
| | | components: { GlobalAlertWindow }, |
| | | data () { |
| | | let rule = (rule, value, callBack) => { |
| | | debugger |
| | | console.log(rule, value); |
| | | callBack() |
| | | } |
| | |
| | | }, |
| | | methods: { |
| | | open (title, target) { |
| | | debugger |
| | | this.title = title |
| | | this.visible = true |
| | | this.cities = [] |
| | |
| | | :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> |
| | | </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 |
| | |
| | | components: { GlobalAlertWindow }, |
| | | data () { |
| | | let rule = (rule, value, callBack) => { |
| | | debugger |
| | | console.log(rule, value); |
| | | callBack() |
| | | } |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="parentName" label="专区名称" align="center" min-width="140px" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="goodsName" label="关联产品" align="center" min-width="100px" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="goodsNum" label="关联产品数" align="center" min-width="100px" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="sortnum" label="排序码(升序)" align="center" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="创建时间" align="center" min-width="140px"></el-table-column> |
| | | <el-table-column |
| | |
| | | approveAgree(id) { |
| | | this.$dialog.messageApprove('确定通过审核?') |
| | | .then(() => { |
| | | debugger |
| | | }) |
| | | }, |
| | | approveRefuse(id) { |
| | |
| | | <template slot-scope="{row}"> |
| | | <el-switch |
| | | v-model="row.status" |
| | | :active-value="1" |
| | | :inactive-value="0" |
| | | active-color="#13ce66" |
| | | inactive-color="#ff4949" |
| | | @change="statusChange(row)" |
| | |
| | | <el-table-column prop="labels" label="商品标签集合,多个用英文逗号隔开" min-width="100px"></el-table-column> --> |
| | | <!-- v-if="containPermissions(['business:goods:update', 'business:goods:delete'])" --> |
| | | <el-table-column |
| | | |
| | | label="操作" |
| | | min-width="120" |
| | | fixed="right" |
| | |
| | | @ApiModelProperty(value = "商品标签集合,多个用英文逗号隔开") |
| | | @ExcelColumn(name="商品标签集合,多个用英文逗号隔开") |
| | | private String labels; |
| | | @ApiModelProperty(value = "所属专区ID集合,([1],[2])") |
| | | @ExcelColumn(name="所属专区ID集合,([1],[2])") |
| | | private String zhuanquIds; |
| | | @ApiModelProperty(value = "适用品牌ID集合,([1],[2])") |
| | | @ExcelColumn(name="适用品牌ID集合,([1],[2])") |
| | | private String brandIds; |
| | | @ApiModelProperty(value = "适用品牌系列ID集合,([1],[2])") |
| | | @ExcelColumn(name="适用品牌系列ID集合,([1],[2])") |
| | | private String serialIds; |
| | | |
| | | @ApiModelProperty(value = "一级分类") |
| | | @ExcelColumn(name="一级分类") |