fix:wprList去掉分页,page=0

This commit is contained in:
shijing 2025-02-10 16:56:16 +08:00
parent f1ec1efa64
commit 2e3857a9b9
1 changed files with 3 additions and 2 deletions

View File

@ -173,7 +173,7 @@
<h4>关联产品</h4> <h4>关联产品</h4>
</template> </template>
<template #default> <template #default>
<scTable ref="wprTable" :data="wprList"> <scTable ref="wprTable" hidePagination :data="wprList">
<el-table-column label="产品编号" prop="number"></el-table-column> <el-table-column label="产品编号" prop="number"></el-table-column>
<el-table-column label="记录数据" prop="oinfo"> <el-table-column label="记录数据" prop="oinfo">
<template #default="scope"> <template #default="scope">
@ -279,6 +279,7 @@ export default {
material: "", material: "",
}, },
wprParams:{ wprParams:{
page:0,
wm: "" wm: ""
}, },
wmMaterial:'', wmMaterial:'',
@ -389,7 +390,7 @@ export default {
that.wprParams.wm = row.id; that.wprParams.wm = row.id;
that.wprVisibleDrawer = true; that.wprVisibleDrawer = true;
this.$API.wpm.wpr.list.req(that.wprParams).then((res) => { this.$API.wpm.wpr.list.req(that.wprParams).then((res) => {
that.wprList = res.results; that.wprList = res;
}) })
}, },
// //