{"remainingRequest":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.mall2.baibaodun.cn/src/views/marketing/seckill/seckillList/index.vue?vue&type=template&id=06c326ec&scoped=true","dependencies":[{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/src/views/marketing/seckill/seckillList/index.vue","mtime":1720764823960},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/vue-loader/lib/loaders/templateLoader.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"divBox relative\"},[_c('el-card',{staticClass:\"box-card\"},[_c('div',{ref:\"headerBox\",staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('el-tabs',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],on:{\"tab-click\":function($event){return _vm.getList(1)}},model:{value:(_vm.tableFrom.auditStatus),callback:function ($$v) {_vm.$set(_vm.tableFrom, \"auditStatus\", $$v)},expression:\"tableFrom.auditStatus\"}},_vm._l((_vm.headeNum),function(item,index){return _c('el-tab-pane',{key:index,attrs:{\"label\":item.name,\"name\":item.type}})}),1),_vm._v(\" \"),_c('div',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],staticClass:\"container\"},[_c('el-form',{attrs:{\"size\":\"small\",\"inline\":\"\"}},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"商品名称:\"}},[_c('el-input',{staticClass:\"selWidth\",attrs:{\"placeholder\":\"请输入商品名称\",\"clearable\":\"\"},model:{value:(_vm.proName),callback:function ($$v) {_vm.proName=$$v},expression:\"proName\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":function($event){return _vm.getList(1)}},slot:\"append\"})],1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"活动名称:\"}},[_c('el-input',{staticClass:\"selWidth\",attrs:{\"placeholder\":\"请输入活动名称\",\"clearable\":\"\"},model:{value:(_vm.activityName),callback:function ($$v) {_vm.activityName=$$v},expression:\"activityName\"}},[_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":function($event){return _vm.getList(1)}},slot:\"append\"})],1)],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{staticClass:\"inline\",attrs:{\"label\":\"商品状态:\"}},[_c('el-select',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],staticClass:\"selWidth\",attrs:{\"clearable\":\"\",\"placeholder\":\"请选择\"},on:{\"change\":function($event){return _vm.getList(1)}},model:{value:(_vm.tableFrom.proStatus),callback:function ($$v) {_vm.$set(_vm.tableFrom, \"proStatus\", $$v)},expression:\"tableFrom.proStatus\"}},[_c('el-option',{attrs:{\"label\":\"上架\",\"value\":1}}),_vm._v(\" \"),_c('el-option',{attrs:{\"label\":\"下架\",\"value\":0}})],1)],1),_vm._v(\" \"),_c('el-form-item',{staticClass:\"inline\",attrs:{\"label\":\"活动状态:\"}},[_c('el-select',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],staticClass:\"selWidth\",attrs:{\"clearable\":\"\",\"placeholder\":\"请选择\"},on:{\"change\":function($event){return _vm.getList(1)}},model:{value:(_vm.tableFrom.activityStatus),callback:function ($$v) {_vm.$set(_vm.tableFrom, \"activityStatus\", $$v)},expression:\"tableFrom.activityStatus\"}},[_c('el-option',{attrs:{\"label\":\"进行中\",\"value\":1}}),_vm._v(\" \"),_c('el-option',{attrs:{\"label\":\"已结束\",\"value\":2}})],1)],1)],1)],1)],1)],1),_vm._v(\" \"),_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:add']),expression:\"['merchant:seckill:product:add']\"}],staticClass:\"mr10\",attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.onEdit(0)}}},[_vm._v(\"添加秒杀商品\")]),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableFrom.auditStatus === '3'),expression:\"tableFrom.auditStatus === '3'\"},{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:delete']),expression:\"['merchant:seckill:product:delete']\"}],attrs:{\"size\":\"small\",\"disabled\":!_vm.multipleSelection.length},on:{\"click\":_vm.batchDel}},[_vm._v(\"批量删除\")]),_vm._v(\" \"),(_vm.tableFrom.auditStatus === '2')?_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:down']),expression:\"['merchant:seckill:product:down']\"}],attrs:{\"size\":\"small\",\"disabled\":!_vm.multipleSelection.length},on:{\"click\":_vm.batchDown}},[_vm._v(\"批量下架\")]):_vm._e()],1),_vm._v(\" \"),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData.data,\"size\":\"small\",\"row-key\":\"id\",\"header-cell-style\":{ fontWeight: 'bold' }},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"reserve-selection\":true,\"width\":\"45\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"ID\",\"min-width\":\"50\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"商品图\",\"min-width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"demo-image__preview\"},[_c('el-image',{staticStyle:{\"width\":\"36px\",\"height\":\"36px\"},attrs:{\"src\":scope.row.image,\"preview-src-list\":[scope.row.image]}})],1)]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"商品名称\",\"prop\":\"name\",\"min-width\":\"180\",\"show-overflow-tooltip\":true}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"categoryName\",\"label\":\"商品分类\",\"min-width\":\"100\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"activityName\",\"label\":\"活动名称\",\"min-width\":\"150\",\"show-overflow-tooltip\":true}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"price\",\"label\":\"商品售价\",\"min-width\":\"90\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"seckillPrice\",\"label\":\"活动价\",\"min-width\":\"90\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"sort\",\"label\":\"排序\",\"min-width\":\"60\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"商品状态\",\"min-width\":\"70\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.isShow)?_c('el-tag',[_vm._v(\"上架\")]):_c('el-tag',[_vm._v(\"下架\")])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"活动状态\",\"fixed\":\"right\",\"min-width\":\"90\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.activityStatus === 0)?_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(\"未开始\")]):_vm._e(),_vm._v(\" \"),(scope.row.activityStatus === 1)?_c('el-tag',[_vm._v(\"进行中\")]):_vm._e(),_vm._v(\" \"),(scope.row.activityStatus === 2)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"已结束\")]):_vm._e()]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"审核状态\",\"fixed\":\"right\",\"min-width\":\"90\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.auditStatus === 1)?_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(\"待审核\")]):_vm._e(),_vm._v(\" \"),(scope.row.auditStatus === 2)?_c('el-tag',[_vm._v(\"审核成功\")]):_vm._e(),_vm._v(\" \"),(scope.row.auditStatus === 3)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"审核失败\")]):_vm._e()]}}])}),_vm._v(\" \"),(_vm.tableFrom.auditStatus === '3')?_c('el-table-column',{attrs:{\"prop\":\"reason\",\"label\":\"失败原因\",\"fixed\":\"right\",\"min-width\":\"120\",\"show-overflow-tooltip\":true}}):_vm._e(),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"min-width\":\"180\",\"fixed\":\"right\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleAudit(scope.row, 2)}}},[_vm._v(\"详情\")]),_vm._v(\" \"),(_vm.tableFrom.auditStatus === '2')?_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:list']),expression:\"['merchant:seckill:product:list']\"}],attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleAudit(scope.row, 3)}}},[_vm._v(\"编辑\")]):_vm._e(),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableFrom.auditStatus === '2' && scope.row.isShow),expression:\"tableFrom.auditStatus === '2' && scope.row.isShow\"},{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:down']),expression:\"['merchant:seckill:product:down']\"}],staticClass:\"mr10\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleDown(scope.row, '下架')}}},[_vm._v(\"下架\")]),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableFrom.auditStatus === '2' && !scope.row.isShow),expression:\"tableFrom.auditStatus === '2' && !scope.row.isShow\"},{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:up']),expression:\"['merchant:seckill:product:up']\"}],staticClass:\"mr10\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleDown(scope.row, '上架')}}},[_vm._v(\"上架\")]),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableFrom.auditStatus === '1'),expression:\"tableFrom.auditStatus === '1'\"},{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:withdraw']),expression:\"['merchant:seckill:product:withdraw']\"}],staticClass:\"mr10\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleWithdraw(scope.row)}}},[_vm._v(\"撤回审核\")]),_vm._v(\" \"),(_vm.tableFrom.auditStatus === '3')?_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableFrom.auditStatus === '3'),expression:\"tableFrom.auditStatus === '3'\"},{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:delete']),expression:\"['merchant:seckill:product:delete']\"}],attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")]):_vm._e(),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableFrom.auditStatus === '3'),expression:\"tableFrom.auditStatus === '3'\"},{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:add']),expression:\"['merchant:seckill:product:add']\"}],staticClass:\"mr10\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.onEdit(1, scope.row)}}},[_vm._v(\"重新提交\")])]}}])})],1),_vm._v(\" \"),_c('div',{staticClass:\"block\"},[_c('el-pagination',{attrs:{\"page-sizes\":[20, 40, 60, 80],\"page-size\":_vm.tableFrom.limit,\"current-page\":_vm.tableFrom.page,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.tableData.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.pageChange}})],1)],1),_vm._v(\" \"),_c('el-drawer',{attrs:{\"direction\":\"rtl\",\"visible\":_vm.dialogVisible,\"size\":\"1000px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event},\"close\":function($event){return _vm.close('ruleForm')}}},[_c('div',{staticClass:\"demo-drawer_title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(_vm.isShow < 3 ? '秒杀商品详情' : '秒杀商品编辑'))]),_vm._v(\" \"),_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"demo-drawer__content\"},[_c('div',{staticClass:\"description\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"活动信息\")]),_vm._v(\" \"),_c('div',{staticClass:\"acea-row\"},[_c('div',{staticClass:\"description-term sp100\"},[_c('label',{staticClass:\"name\"},[_vm._v(\"活动名称:\")]),_vm._v(_vm._s(_vm.seckillInfo.activityName)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"description-term sp100\"},[_c('label',{staticClass:\"name\"},[_vm._v(\"活动状态:\")]),_vm._v(_vm._s(_vm._f(\"activityStatusFilter\")(_vm.seckillInfo.activityStatus))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"description-term sp100\"},[_c('label',{staticClass:\"name\"},[_vm._v(\"审核状态:\")]),_vm._v(_vm._s(_vm.seckillInfo.auditStatus == 1 ? '待审核' : _vm.seckillInfo.auditStatus == 2 ? '审核通过' : '审核失败')+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"description-term sp100\"},[_c('label',{staticClass:\"name\"},[_vm._v(\"商品分类:\")]),_vm._v(_vm._s(_vm.seckillInfo.categoryName)+\"\\n \")])])]),_vm._v(\" \"),_c('el-divider'),_vm._v(\" \"),_c('div',{staticClass:\"description\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"商品信息\")]),_vm._v(\" \"),_c('div',{staticClass:\"acea-row mb20\"},[_c('div',{staticClass:\"description-term mb20\"},[_c('label',{staticClass:\"name\"},[_vm._v(\"商品名称:\")]),_vm._v(_vm._s(_vm.seckillInfo.name))]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\"}},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"tableList\",staticStyle:{\"width\":\"100%\"},attrs:{\"row-key\":\"id\",\"data\":_vm.seckillInfo.attrValue,\"size\":\"mini\",\"border\":\"\",\"default-expand-all\":\"\",\"tree-props\":{ children: 'children' }}},[_c('el-table-column',{attrs:{\"min-width\":\"140\",\"label\":\"商品信息\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"acea-row\"},[_c('div',{staticClass:\"demo-image__preview mr10\"},[_c('el-image',{staticStyle:{\"width\":\"36px\",\"height\":\"36px\"},attrs:{\"src\":scope.row.image,\"preview-src-list\":[scope.row.image]}})],1),_vm._v(\" \"),_c('div',{staticClass:\"row_title line2\"},[_vm._v(_vm._s(scope.row.sku))])])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"otPrice\",\"label\":\"售价\",\"width\":\"120\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"quotaShow\",\"label\":\"限量\",\"width\":\"80\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"quota\",\"label\":\"限量剩余\",\"width\":\"120\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"price\",\"label\":\"活动价格\",\"min-width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input-number',{staticClass:\"input_width\",attrs:{\"disabled\":_vm.isShow < 3,\"type\":\"number\",\"precision\":2,\"min\":0,\"max\":99999,\"controls\":false},model:{value:(scope.row.price),callback:function ($$v) {_vm.$set(scope.row, \"price\", $$v)},expression:\"scope.row.price\"}})]}}])})],1)],1)])]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isShow === 3),expression:\"isShow === 3\"}]},[_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:seckill:product:price']),expression:\"['merchant:seckill:product:price']\"}],staticClass:\"mb20\",attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.setPrice(_vm.seckillInfo.id, _vm.seckillInfo.attrValue)}}},[_vm._v(\"保存活动价\")])],1)],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}