|
|
|
@ -314,24 +314,48 @@
|
|
|
|
|
<!-- 搜索区域 --> |
|
|
|
|
<div v-h5uShow="!search"> |
|
|
|
|
<el-form inline label-width="80px" :model="details.oldQuery" class="el-fr-d"> |
|
|
|
|
<!-- <el-form-item label="订单号" class="el-times"> |
|
|
|
|
<el-input v-model.trim="query.orderCode" clearable></el-input> |
|
|
|
|
<el-form-item label="关键词" style="width: 100%" class="el-times"> |
|
|
|
|
<el-input |
|
|
|
|
v-model.trim="query.orderCode" |
|
|
|
|
placeholder="请输入运单/发货人/收货人/收货单位" |
|
|
|
|
clearable |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="目的网点" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
<el-select |
|
|
|
|
v-model="details.query.destinationWarehouseName" |
|
|
|
|
class="w100" |
|
|
|
|
clearable |
|
|
|
|
placeholder="请选择目的仓" |
|
|
|
|
filterable |
|
|
|
|
multiple |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="value in details.warehouseOption" |
|
|
|
|
:key="value.dictKey" |
|
|
|
|
:label="value.dictValue" |
|
|
|
|
:value="value.dictKey" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="到站" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
<el-input v-model="query.destination" clearable></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="目标品类" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
|
|
|
|
|
<el-form-item label="品类名称" class="el-times"> |
|
|
|
|
<el-input v-model="query.goodsName" clearable></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="备注" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
<el-input v-model="query.remark" clearable></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="托盘码" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-input v-model="query.taryName" clearable></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="开单时间" class="el-times"> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="query.openTime" |
|
|
|
@ -432,24 +456,24 @@
|
|
|
|
|
:model="details.newQuery" |
|
|
|
|
class="el-fr-d" |
|
|
|
|
> |
|
|
|
|
<!-- <el-form-item label="关键词" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="目的网点" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="到站" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="目标品类" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="备注" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="托盘码" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-form-item label="关键词" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="目的网点" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="到站" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="目标品类" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="备注" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="托盘码" class="el-times"> |
|
|
|
|
<el-input></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="开单时间" class="el-times"> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="item.timeQuery.createTimeArr" |
|
|
|
@ -765,6 +789,7 @@ import {
|
|
|
|
|
import { useRouter, useRoute } from 'vue-router'; |
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'; |
|
|
|
|
import { useStore } from 'vuex'; |
|
|
|
|
import { getListName } from '@/api/basicdata/basicdataVehicle'; |
|
|
|
|
import type { FormInstance, FormRules } from 'element-plus'; |
|
|
|
|
|
|
|
|
|
// 获取节点信息列表, 除开节点名称 |
|
|
|
@ -960,6 +985,7 @@ const details = reactive<any>({
|
|
|
|
|
/** 当前所在仓库 */ |
|
|
|
|
warehouseId: '', |
|
|
|
|
warehouseName: '', |
|
|
|
|
warehouseOption: [], |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
/** 始发仓数据 */ |
|
|
|
@ -1001,6 +1027,18 @@ onMounted(() => {
|
|
|
|
|
setTabelHeight(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
/** 初始化请求仓库数据 */ |
|
|
|
|
getListName({ name: '' }).then(res => { |
|
|
|
|
const { code, data } = res.data; |
|
|
|
|
if (code !== 200 || getObjType(data) !== 'array') return; |
|
|
|
|
details.warehouseOption = data.map(val => { |
|
|
|
|
return { |
|
|
|
|
dictKey: val.id, |
|
|
|
|
dictValue: val.name, |
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// 清空复选框 |
|
|
|
|
const clearSelectionList = () => { |
|
|
|
|
details.selectionList = []; |
|
|
|
@ -2566,4 +2604,8 @@ const handleSubmit = (formEl: FormInstance | undefined) => {
|
|
|
|
|
:deep(.el-tabs__item.is-active) { |
|
|
|
|
font-weight: bold; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep(.el-form-item__content) { |
|
|
|
|
width: 250px !important; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|