|
|
|
@ -335,7 +335,7 @@ const selectionChange = list => {
|
|
|
|
|
// 网页顶部搜索按钮 |
|
|
|
|
const searchChange = () => { |
|
|
|
|
// 日期处理 |
|
|
|
|
if (TopQuery.value.time.length) { |
|
|
|
|
if (TopQuery.value.time?.length) { |
|
|
|
|
queryCarn.value.startTaskTime = dayjs(TopQuery.value.time[0]).format('YYYY-MM-DD HH:mm:ss'); //开始日期 |
|
|
|
|
queryCarn.value.endTaskTime = dayjs(TopQuery.value.time[1]).format('YYYY-MM-DD HH:mm:ss'); //结束日期 |
|
|
|
|
} else { |
|
|
|
@ -429,26 +429,25 @@ function updateDictionary(targetArray, dictionaryType) {
|
|
|
|
|
// 页面初始化方法 |
|
|
|
|
const onLoad = () => { |
|
|
|
|
warehouseList.value = []; |
|
|
|
|
|
|
|
|
|
columnList.find(res => res.label == '配送类型').checkarr = []; |
|
|
|
|
columnList.find(res => res.label == '配送类型').checkarr = DeliveryTypeList.value; |
|
|
|
|
columnList.find(res => res.label == '配送种类').checkarr = []; |
|
|
|
|
columnList.find(res => res.label == '配送种类').checkarr = DeliverygenericList.value; |
|
|
|
|
columnList.find(res => res.label == '仓库').checkarr = []; |
|
|
|
|
columnList.find(res => res.label == '仓库').checkarr = warehouseList.value; |
|
|
|
|
|
|
|
|
|
console.log(columnList, 'columnList'); |
|
|
|
|
// 获取仓库 |
|
|
|
|
|
|
|
|
|
$_getMyWarehouseList().then(res => { |
|
|
|
|
console.log(res, '仓库列表'); |
|
|
|
|
if (res.data.data.length) |
|
|
|
|
if (res.data.data.length){ |
|
|
|
|
res.data.data.forEach(item => { |
|
|
|
|
warehouseList.value.push({ |
|
|
|
|
value: item.name, |
|
|
|
|
label: item.name, |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
onLoad(); |
|
|
|
|