|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<ContentWrap> |
|
|
|
<!-- 搜索工作栏 --> |
|
|
|
<Search :schema="[...PurchasereceiptRecordMain.allSchemas.searchSchema,...PurchasereceiptRecordDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" /> |
|
|
|
<Search :schema="[...PurchasereceiptRecordMain.allSchemas.searchSchema,...PurchasereceiptRecordDetail.allSchemas.searchSchema]" @search="searchList" @reset="searchList" /> |
|
|
|
</ContentWrap> |
|
|
|
|
|
|
|
<!-- 列表头部 --> |
|
|
@ -207,6 +207,18 @@ const buttonTableClick = async (val, row) => { |
|
|
|
handlePrint(row) |
|
|
|
} |
|
|
|
} |
|
|
|
const searchList = (model)=>{ |
|
|
|
let params = {...model} |
|
|
|
if(Array.isArray(params.itemType)&¶ms.itemType.length>0){ |
|
|
|
params.itemTypes = params.itemType.join(',') |
|
|
|
params.itemType = '' |
|
|
|
}else{ |
|
|
|
params.itemTypes = '' |
|
|
|
params.itemType = '' |
|
|
|
} |
|
|
|
setSearchParams(params) |
|
|
|
} |
|
|
|
|
|
|
|
// 查看质检报告 |
|
|
|
const reportHeight = ref(window.innerHeight - 120) |
|
|
|
const showQualityReport = ref(false) |
|
|
|