diff --git a/src/api/materialManagement/productionMaterial/mmrecordinbound.js b/src/api/materialManagement/productionMaterial/mmrecordinbound.js index c10b06a..3fc4fa5 100644 --- a/src/api/materialManagement/productionMaterial/mmrecordinbound.js +++ b/src/api/materialManagement/productionMaterial/mmrecordinbound.js @@ -4,11 +4,11 @@ import request from '@/utils/request' * 入库记录表分页查询 * @param {查询条件} data */ -export function listMmRecordInbound(query) { +export function listMmRecordInbound(data) { return request({ url: 'mes/productionMaterial/MmRecordInbound/list', - method: 'get', - params: query + method: 'post', + data: data }) } diff --git a/src/views/materialManagement/productionMaterial/MmRecordInbound.vue b/src/views/materialManagement/productionMaterial/MmRecordInbound.vue index 6c8d7b2..442684f 100644 --- a/src/views/materialManagement/productionMaterial/MmRecordInbound.vue +++ b/src/views/materialManagement/productionMaterial/MmRecordInbound.vue @@ -9,6 +9,11 @@ + + + + + @@ -24,7 +29,16 @@ - + + {{ $t('btn.search') }} @@ -49,7 +63,7 @@ header-cell-class-name="el-table-header-cell" highlight-current-row @sort-change="sortChange" - :default-sort = "{prop: 'createdTime', order: 'descending'}"> + :default-sort="{ prop: 'createdTime', order: 'descending' }"> @@ -154,7 +168,8 @@ - + + @@ -229,7 +244,7 @@ import { getMmRecordInbound } from '@/api/materialManagement/productionMaterial/mmrecordinbound.js' import { listMmTransactionType } from '@/api/materialManagement/productionMaterial/mmtransactiontype.js' -import { getMaterialOption, getLocationOption } from '@/api/materialManagement/productionMaterial/mminventory.js' +import { getMaterialOption, getLocationOption } from '@/api/materialManagement/productionMaterial/mminventory.js' const { proxy } = getCurrentInstance() const ids = ref([]) const loading = ref(false)