{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/product/attr/index.vue?vue&type=template&id=6aad94aa&scoped=true","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/product/attr/index.vue","mtime":1701742078556},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/loaders/templateLoader.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.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\"},[_c('el-card',{staticClass:\"box-card\"},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:product:rule:page:list']),expression:\"['merchant:product:rule:page:list']\"}],staticClass:\"container\"},[_c('el-form',{attrs:{\"inline\":\"\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"规格搜索：\"}},[_c('el-input',{staticClass:\"selWidth\",attrs:{\"placeholder\":\"请输入商品规格\",\"clearable\":\"\"},model:{value:(_vm.keywords),callback:function ($$v) {_vm.keywords=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"keywords\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":_vm.seachList},slot:\"append\"})],1)],1)],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"acea-row\"},[_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:product:rule:save']),expression:\"['merchant:product:rule:save']\"}],attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.add}},[_vm._v(\"添加商品规格\")])],1)]),_vm._v(\" \"),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"table\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData.data,\"size\":\"mini\",\"highlight-current-row\":\"\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"ID\",\"min-width\":\"60\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"ruleName\",\"label\":\"规格名称\",\"min-width\":\"150\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"商品规格\",\"min-width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return _vm._l((scope.row.ruleValue),function(item,index){return _c('span',{key:index,staticClass:\"mr10\",domProps:{\"textContent\":_vm._s(item.value)}})})}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"商品属性\",\"min-width\":\"300\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return _vm._l((scope.row.ruleValue),function(item,index){return _c('div',{key:index,domProps:{\"textContent\":_vm._s(item.detail.join(','))}})})}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"min-width\":\"120\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:product:rule:update']),expression:\"['merchant:product:rule:update']\"}],staticClass:\"mr10\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.onEdit(scope.row)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{directives:[{name:\"hasPermi\",rawName:\"v-hasPermi\",value:(['merchant:product:rule:delete']),expression:\"['merchant:product:rule:delete']\"}],attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row.id, scope.$index)}}},[_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)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}