Compare commits

...

2 Commits

Author SHA1 Message Date
Ledo
daca9ec9f8 mapper补充 2025-06-26 18:39:07 +08:00
Ledo
4871fe23a8 搜索列表时不再记忆选中情况 2025-06-26 18:39:07 +08:00
3 changed files with 6 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public interface MaterialPlanBoomMapper extends BaseMapperX<MaterialPlanBoomDO>
query.selectAll(MaterialPlanBoomDO.class) query.selectAll(MaterialPlanBoomDO.class)
// .select("mat.id as matId","mat.name as matName","mat.code as matCode","mat.spec as matSpec","mat.unit as matUnit","mat.material_type as matType") // .select("mat.id as matId","mat.name as matName","mat.code as matCode","mat.spec as matSpec","mat.unit as matUnit","mat.material_type as matType")
// .select("b.material_name as matName","m.code as matCode","b.spec as matSpec","b.unit as matUnit","b.blueprint_no as blueprintNo") // .select("b.material_name as matName","m.code as matCode","b.spec as matSpec","b.unit as matUnit","b.blueprint_no as blueprintNo")
.select("b.material_name as matName","b.spec as matSpec","b.unit as matUnit","b.blueprint_no as blueprintNo") .select("b.spec as matSpec","b.unit as matUnit","b.blueprint_no as blueprintNo")
.select("bc.`name` as compositionName","b.`composition_id` as compositionId") .select("bc.`name` as compositionName","b.`composition_id` as compositionId")
.select("ma.brief as customerBriefName,ma.project_name as projectName,ma.name as projectSubName,ma.project_id as projectId") .select("ma.brief as customerBriefName,ma.project_name as projectName,ma.name as projectSubName,ma.project_id as projectId")

View File

@ -1,7 +1,7 @@
<template> <template>
<el-card class="hl-card"> <el-card class="hl-card">
<template #header> <template #header>
<span>标准件物料需求计划</span> <span>采购订单生成</span>
</template> </template>
<ContentWrap class="borderxx"> <ContentWrap class="borderxx">
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
@ -205,7 +205,9 @@ const exportLoading = ref(false) // 导出的加载中
const getList = async () => { const getList = async () => {
loading.value = true loading.value = true
try { try {
multipleTable.value.clearSelection();
const data = await purchaseOrderMakeDetailApi.page(queryParams) const data = await purchaseOrderMakeDetailApi.page(queryParams)
list.value = data.list list.value = data.list
for (const row of list.value ) { for (const row of list.value ) {
// boomCoderemoteMethod // boomCoderemoteMethod
@ -320,6 +322,7 @@ const serachLog = (row) => {
const handleQuery = () => { const handleQuery = () => {
queryParams.pageNo = 1 queryParams.pageNo = 1
getList() getList()
} }
const opearteForm = async(type) =>{ const opearteForm = async(type) =>{
loading.value = true; loading.value = true;

View File

@ -220,6 +220,7 @@ const exportLoading = ref(false) // 导出的加载中
const getList = async () => { const getList = async () => {
loading.value = true loading.value = true
try { try {
multipleTable.value.clearSelection();
const data = await materialPlanBoomApi.getStandardBuyPage(queryParams) const data = await materialPlanBoomApi.getStandardBuyPage(queryParams)
list.value = data.list list.value = data.list
total.value = data.total total.value = data.total