update 出入库报表默认不查询

This commit is contained in:
18110972313 2025-05-10 10:25:22 +08:00
parent a50994c161
commit 78971372f5

View File

@ -8,7 +8,7 @@
<el-form ref="queryFormRef" :model="queryParams" label-width="60px" label-position="left"> <el-form ref="queryFormRef" :model="queryParams" label-width="60px" label-position="left">
<el-row :gutter="24" class="form-row"> <el-row :gutter="24" class="form-row">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="作业类型" prop="JobType"> <el-form-item label="作业类型" prop="RECEIVEREQUESTNAMETYPE">
<el-select multiple filterable v-model="queryParams.RECEIVEREQUESTNAMETYPE" placeholder="选择作业类型" <el-select multiple filterable v-model="queryParams.RECEIVEREQUESTNAMETYPE" placeholder="选择作业类型"
style="width: 240px" default-first-option> style="width: 240px" default-first-option>
<el-option v-for="item in state.ReceiveList" :key="item.ENUMVALUE" :label="item.DESCRIPTION" <el-option v-for="item in state.ReceiveList" :key="item.ENUMVALUE" :label="item.DESCRIPTION"
@ -245,7 +245,7 @@ onMounted(() => {
*/ */
] ]
getPRINTLIST() getPRINTLIST()
handleQuery() //handleQuery()
updateTableHeight(); updateTableHeight();
window.addEventListener('resize', handleResize); window.addEventListener('resize', handleResize);
@ -301,6 +301,11 @@ function handleQuery() {
for (let i = 0; i < state.queryParams.RECEIVEREQUESTNAMETYPE.length; i++) { for (let i = 0; i < state.queryParams.RECEIVEREQUESTNAMETYPE.length; i++) {
loactionString = loactionString + state.queryParams.RECEIVEREQUESTNAMETYPE[i] + ',' loactionString = loactionString + state.queryParams.RECEIVEREQUESTNAMETYPE[i] + ','
} }
/*
if (loactionString == '') {
loactionString = 'BarCodeToTransferIn,allocateStockIn,receiveMesShippInfo,Assign';
}
*/
let erpFactoryString = '' let erpFactoryString = ''
for (let i = 0; i < state.queryParams.ERPFACTORY.length; i++) { for (let i = 0; i < state.queryParams.ERPFACTORY.length; i++) {
erpFactoryString = erpFactoryString + state.queryParams.ERPFACTORY[i] + ',' erpFactoryString = erpFactoryString + state.queryParams.ERPFACTORY[i] + ','
@ -430,7 +435,7 @@ function exportExcel() {
function resetQuery() { function resetQuery() {
queryFormRef.value.resetFields(); queryFormRef.value.resetFields();
setDefaultDates(); setDefaultDates();
handleQuery(); //handleQuery();
} }
/** /**