采购收货调整

This commit is contained in:
z 2025-08-27 23:10:39 +08:00
parent 672f60fbda
commit 039c303b34
4 changed files with 30 additions and 28 deletions

View File

@ -172,7 +172,7 @@
},{ },{
"path": "pages/receivingGoods/receivingGoods", "path": "pages/receivingGoods/receivingGoods",
"style": { "style": {
"navigationBarTitleText": "收货信息" "navigationBarTitleText": "采购单收货"
} }
} }
], ],

View File

@ -15,7 +15,6 @@
}>() }>()
const handleToBooking = (item : Object) => { const handleToBooking = (item : Object) => {
console.log('点击了分类', JSON.stringify(item))
if (item.auth) { if (item.auth) {
const path = item.path const path = item.path
const url = `/pages/${path}/${path}` const url = `/pages/${path}/${path}`

View File

@ -43,7 +43,6 @@
// //
const data = await getReceivingGoods(queryParams); const data = await getReceivingGoods(queryParams);
isLoading.value = false; isLoading.value = false;
dataList.value.push(...data.list); dataList.value.push(...data.list);
// //
if (queryParams.pageNo < data.totalPages) { if (queryParams.pageNo < data.totalPages) {
@ -167,10 +166,14 @@
const confirmFilter = () => { const confirmFilter = () => {
// //
searchVal.value = ''; searchVal.value = '';
queryParams.subOrDetailName=""
// //
console.log('过滤数据:', filterData);
// //
showPop.value?.close(); showPop.value?.close();
queryParams.pageNo = 1;
isFinish.value = false;
dataList.value = [];
getListData()
} }
</script> </script>
<template> <template>
@ -285,34 +288,34 @@
</scroll-view> </scroll-view>
<uni-popup class="popup" ref="showPop" :mask-click="false" type="top" background-color="#fff"> <uni-popup class="popup" ref="showPop" :mask-click="false" type="top" background-color="#fff">
<view style="margin-top: 6%;"> <view style="margin-top: 6%;">
<uni-forms :modelValue="filterData"> <uni-forms :modelValue="queryParams">
<uni-forms-item label="姓名" name="projectName"> <uni-forms-item label="项目名称" name="projectName">
<uni-easyinput type="text" v-model="filterData.projectName" placeholder="请输入项目名称" /> <uni-easyinput type="text" v-model="queryParams.projectName" placeholder="请输入项目名称" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="年龄" name="subProjectName"> <uni-forms-item label="子项目名称" name="projectSubName">
<uni-easyinput type="text" v-model="filterData.subProjectName" placeholder="请输入子项目名称" /> <uni-easyinput type="text" v-model="queryParams.projectSubName" placeholder="请输入子项目名称" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item name="supplier" label="供应商"> <uni-forms-item name="supplierName" label="供应商">
<uni-easyinput type="text" v-model="filterData.supplier" placeholder="请输入供应商" /> <uni-easyinput type="text" v-model="queryParams.supplierName" placeholder="请输入供应商" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="姓名" name="partName"> <uni-forms-item label="零件名称" name="boomName">
<uni-easyinput type="text" v-model="filterData.partName" placeholder="请输入零件名称" /> <uni-easyinput type="text" v-model="queryParams.boomName" placeholder="请输入零件名称" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="年龄" name="process"> <uni-forms-item label="工序" name="procedureName">
<uni-easyinput type="text" v-model="filterData.process" placeholder="请输入工序" /> <uni-easyinput type="text" v-model="queryParams.procedureName" placeholder="请输入工序" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item name="drawingNo" label="图号"> <uni-forms-item name="blueprintNo" label="图号">
<uni-easyinput type="text" v-model="filterData.drawingNo" placeholder="请输入图号" /> <uni-easyinput type="text" v-model="queryParams.blueprintNo" placeholder="请输入图号" />
</uni-forms-item> </uni-forms-item>
</uni-forms> </uni-forms>
</view> </view>
<view class="filter-buttons"> <view class="filter-buttons">
<view class="cancel" @click="cancelFilter">取消</view> <view class="ok" @click="confirmFilter">确认</view>
<view class="ok" @click="confirmFilter">确认</view> <view class="cancel" @click="cancelFilter">取消</view>
</view> </view>
</uni-popup> </uni-popup>
</view> </view>
</template> </template>
@ -329,7 +332,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-left: auto; /* Push the filter button to the right */ margin-left: auto; /* Push the filter button to the right */
.filter-icon { .filter-icon {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
@ -343,7 +346,7 @@
padding: 10px; padding: 10px;
border: 1px solid #ddd; border: 1px solid #ddd;
} }
.filter-buttons .ok { .filter-buttons .ok {
background-color: #007aff; background-color: #007aff;
color: white; color: white;
@ -377,8 +380,8 @@
} }
} }
.data-list { .data-list {

View File

@ -9,5 +9,5 @@
// export const serviceDomain = 'https://nxhs.cjyx.cc' // export const serviceDomain = 'https://nxhs.cjyx.cc'
// export const serviceDomain = 'https://star.hz-hl.com' // export const serviceDomain = 'https://star.hz-hl.com'
// export const serviceDomain = 'http://222.71.165.187:9010' // export const serviceDomain = 'http://222.71.165.187:9010'
export const serviceDomain = 'http://localhost:8080' // export const serviceDomain = 'http://localhost:8080'
// export const serviceDomain = 'https://nxhs.cjyx.cc' export const serviceDomain = 'https://nxhs.cjyx.cc'