{"remainingRequest":"/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":["\n<div class=\"divBox\">\n  <el-card class=\"box-card\">\n    <div slot=\"header\" class=\"clearfix\">\n      <div class=\"container\" v-hasPermi=\"['merchant:product:rule:page:list']\">\n        <el-form inline size=\"small\">\n          <el-form-item label=\"规格搜索：\">\n            <el-input v-model.trim=\"keywords\" placeholder=\"请输入商品规格\" class=\"selWidth\" clearable>\n              <el-button slot=\"append\" icon=\"el-icon-search\" @click=\"seachList\" />\n            </el-input>\n          </el-form-item>\n        </el-form>\n      </div>\n      <div class=\"acea-row\">\n        <el-button size=\"small\" type=\"primary\" @click=\"add\" v-hasPermi=\"['merchant:product:rule:save']\"\n          >添加商品规格</el-button\n        >\n        <!--<el-button size=\"small\" @click=\"handleDeleteAll\" v-hasPermi=\"['admin:product:rule:delete']\">批量删除</el-button>-->\n      </div>\n    </div>\n    <el-table\n      ref=\"table\"\n      v-loading=\"listLoading\"\n      :data=\"tableData.data\"\n      style=\"width: 100%\"\n      size=\"mini\"\n      highlight-current-row\n      @selection-change=\"handleSelectionChange\"\n    >\n      <!--<el-table-column-->\n      <!--type=\"selection\"-->\n      <!--width=\"55\"-->\n      <!--/>-->\n      <el-table-column prop=\"id\" label=\"ID\" min-width=\"60\" />\n      <el-table-column prop=\"ruleName\" label=\"规格名称\" min-width=\"150\" />\n      <el-table-column label=\"商品规格\" min-width=\"150\">\n        <template slot-scope=\"scope\">\n          <span v-for=\"(item, index) in scope.row.ruleValue\" :key=\"index\" class=\"mr10\" v-text=\"item.value\" />\n        </template>\n      </el-table-column>\n      <el-table-column label=\"商品属性\" min-width=\"300\">\n        <template slot-scope=\"scope\">\n          <div v-for=\"(item, index) in scope.row.ruleValue\" :key=\"index\" v-text=\"item.detail.join(',')\" />\n        </template>\n      </el-table-column>\n      <el-table-column label=\"操作\" min-width=\"120\" align=\"center\">\n        <template slot-scope=\"scope\">\n          <el-button\n            type=\"text\"\n            size=\"small\"\n            @click=\"onEdit(scope.row)\"\n            class=\"mr10\"\n            v-hasPermi=\"['merchant:product:rule:update']\"\n            >编辑</el-button\n          >\n          <el-button\n            type=\"text\"\n            size=\"small\"\n            @click=\"handleDelete(scope.row.id, scope.$index)\"\n            v-hasPermi=\"['merchant:product:rule:delete']\"\n            >删除</el-button\n          >\n        </template>\n      </el-table-column>\n    </el-table>\n    <div class=\"block\">\n      <el-pagination\n        :page-sizes=\"[20, 40, 60, 80]\"\n        :page-size=\"tableFrom.limit\"\n        :current-page=\"tableFrom.page\"\n        layout=\"total, sizes, prev, pager, next, jumper\"\n        :total=\"tableData.total\"\n        @size-change=\"handleSizeChange\"\n        @current-change=\"pageChange\"\n      />\n    </div>\n  </el-card>\n</div>\n",null]}