采购收货调整
This commit is contained in:
parent
672f60fbda
commit
039c303b34
@ -172,7 +172,7 @@
|
|||||||
},{
|
},{
|
||||||
"path": "pages/receivingGoods/receivingGoods",
|
"path": "pages/receivingGoods/receivingGoods",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "收货信息"
|
"navigationBarTitleText": "采购单收货"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -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}`
|
||||||
|
@ -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,32 +288,32 @@
|
|||||||
</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>
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user