DN单展示时去掉项目类别和交货限制

This commit is contained in:
彭枝刚 2025-01-07 13:30:17 +08:00
parent d618bbb61e
commit d0b1231cfb
2 changed files with 10 additions and 2 deletions

View File

@ -8,6 +8,14 @@ export function fetchList(query) {
})
}
export function fetchAllList(query) {
return request({
url: '/mom-wms/dn-order/selectAllPage',
method: 'get',
params: query
})
}
export function selectDetailByID(query) {
return request({
url: '/mom-wms/dn-order/selectDetailByID',

View File

@ -76,7 +76,7 @@
</template>
<script>
import {fetchList, selectDetailByID, updateDetailBatchById} from '@/api/wms/dn-order';
import {fetchAllList, fetchList, selectDetailByID, updateDetailBatchById} from '@/api/wms/dn-order';
import {getByCode} from '@/api/wms/data-field';
import {isBlank} from "@/util/string";
import {showLoading, hideLoading} from '@/const/loading';
@ -121,7 +121,7 @@
// 列表查询
getList(page, params) {
this.tableLoading = true;
fetchList(Object.assign({
fetchAllList(Object.assign({
current: page.currentPage,
size: page.pageSize
}, params, this.searchForm)).then(response => {