fix(生产物料): 修改出库记录查询方法和日期格式

将出库记录查询方法从get改为post以支持复杂查询参数
移除日期选择器的value-format属性,使用默认格式
This commit is contained in:
Tom
2026-01-04 15:09:01 +08:00
parent ce98268bbb
commit 95f9a2d230
2 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import request from '@/utils/request'
export function listMmRecordOutbound(query) {
return request({
url: 'mes/productionMaterial/MmRecordOutbound/list',
method: 'get',
method: 'post',
params: query
})
}

View File

@@ -26,7 +26,6 @@
start-placeholder="开始日期"
end-placeholder="结束日期"
placeholder="请选择添加时间"
value-format="YYYY-MM-DD HH:mm:ss"
align="right">
</el-date-picker>
</el-form-item>
@@ -223,7 +222,7 @@ const queryParams = reactive({
pageNum: 1,
pageSize: 10,
sort: '',
sortType: 'asc'
sortType: 'asc',
})
const columns = ref([
// { visible: true, align: 'center', type: '', prop: 'id', label: '主键ID' },