Commit 0566cf46 by zhangxw

产品合同列表序号bug修复

1 parent 0ad66426
......@@ -15,7 +15,7 @@
<span slot="parentSelectSlot" slot-scope="scope">
<el-checkbox v-model="scope.scope.parentSelect" :disabled="parentDisabled(scope.scope)" :indeterminate="isIndeterminate(scope.scope)" @change="handleParentSelection($event, scope.scope)"></el-checkbox>
</span>
<span slot="numberSlot" slot-scope="scope">{{ scope.index + 1 }}</span>
<span slot="numberSlot" slot-scope="scope">{{ scope.index + 1 + (currentPageObj.pageNum - 1) * currentPageObj.pageSize }}</span>
<div class="sub-tabel" slot="labelRelationDetailDTOList" slot-scope="scope" v-if="scope.scope.skuPackageList && scope.scope.skuPackageList.length">
<GLTable ref="sonTableRef" :hasPage="false" :tableData="scope.scope.skuPackageList" :tableParams="sonTableParams" :hasNum="false">
<span slot="selectSlot" slot-scope="row" :data="scope.scope">
......@@ -388,7 +388,8 @@ export default {
baseData: {
skuTypeList: []
},
parentCheckedRow: []
parentCheckedRow: [],
currentPageObj: {}
}
},
......@@ -451,6 +452,8 @@ export default {
if (val.spuId == ele.spuId) this.$set(ele, 'parentSelect', true)
})
})
// 获取组件分页数据
this.currentPageObj = this.$refs['equityRef']?.page
},
editCategoryFn(row, basePackageType) {
this.categoryObj = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!