|
|
|
@ -1,8 +1,34 @@
|
|
|
|
|
<template> |
|
|
|
|
<basic-container v-loading="loadingObj.list" element-loading-text="正在加载中..."> |
|
|
|
|
<el-row v-if="details.search"> |
|
|
|
|
<el-form :inline="true" :model="Topquery" class="el-fr-d"> </el-form> |
|
|
|
|
</el-row> |
|
|
|
|
<div v-h5uShow="details.search"> |
|
|
|
|
<!-- 查询模块 --> |
|
|
|
|
<el-form :inline="true" :model="Topquery" class="header_search"> |
|
|
|
|
<el-form-item label="仓库:"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="details.query.warehouseId" |
|
|
|
|
class="w100" |
|
|
|
|
clearable |
|
|
|
|
placeholder="请选择仓库" |
|
|
|
|
filterable |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="value in warehouseList" |
|
|
|
|
:key="value.value" |
|
|
|
|
:label="value.label" |
|
|
|
|
:value="value.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- 查询按钮 --> |
|
|
|
|
<el-form-item class="el-btn"> |
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="searchChange">搜 索</el-button> |
|
|
|
|
<el-button icon="el-icon-delete" @click="searchReset">清 空</el-button> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
|
<div> |
|
|
|
|
<el-tabs type="border-card" class="top-el-tabs" v-model="tabName" @tab-change="tabchange"> |
|
|
|
@ -722,7 +748,13 @@ const searchChangeS = () => {
|
|
|
|
|
Topquery.value = {}; |
|
|
|
|
onLoad(); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const searchChange=()=>{ |
|
|
|
|
onLoad(); |
|
|
|
|
} |
|
|
|
|
// 清空 |
|
|
|
|
const searchReset=()=>{ |
|
|
|
|
onLoad(); |
|
|
|
|
} |
|
|
|
|
const areaoptions = ref([]); //地区 |
|
|
|
|
// 地区获取 |
|
|
|
|
const initialization = () => { |
|
|
|
@ -739,7 +771,7 @@ initialization();
|
|
|
|
|
|
|
|
|
|
const details = reactive({ |
|
|
|
|
/** 是否开启搜索 */ |
|
|
|
|
search: false, |
|
|
|
|
search: true, |
|
|
|
|
/** 列表 */ |
|
|
|
|
columnList: deepClone(columnList), |
|
|
|
|
query: {}, |
|
|
|
@ -779,6 +811,7 @@ const details = reactive({
|
|
|
|
|
/** 包明细 */ |
|
|
|
|
packageOrderListlVisited: false, |
|
|
|
|
}, |
|
|
|
|
warehouseOption:[], |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const { |
|
|
|
@ -793,6 +826,7 @@ const {
|
|
|
|
|
zeroAdditionalRecordingInfo, |
|
|
|
|
popUpShow, |
|
|
|
|
recorddata, |
|
|
|
|
warehouseOption, |
|
|
|
|
} = toRefs(details); |
|
|
|
|
|
|
|
|
|
// details.columnList = columnList; //菜单配置 |
|
|
|
@ -846,10 +880,13 @@ const MyWareh = () => {
|
|
|
|
|
label: item.name, |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
columnList.find(res => res.label == '仓库名称').checkarr = warehouseList.value; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MyWareh(); //获取仓库列表 |
|
|
|
|
const Setheight = () => { |
|
|
|
|
const _node = document.querySelector('.tableNode'); |
|
|
|
@ -949,7 +986,10 @@ const onLoad = val => {
|
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
onLoad(); |
|
|
|
|
const searchHide = () => {}; |
|
|
|
|
const searchHide = () => { |
|
|
|
|
return |
|
|
|
|
details.search=!details.search |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 每页多少条 |
|
|
|
|
const sizeChange = val => { |
|
|
|
|