dev
This commit is contained in:
parent
ce0e355981
commit
eca9201949
|
|
@ -12,12 +12,15 @@
|
||||||
@input="searchGoods"
|
@input="searchGoods"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<el-icon><Search /></el-icon>
|
<el-icon>
|
||||||
|
<Search/>
|
||||||
|
</el-icon>
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-cascader style="width: 180px;height: 42px" :options="allCateList" :show-all-levels="false" v-model="searchModel.cateId" clearable/>
|
<el-cascader style="width: 180px;height: 42px" :options="allCateList" :show-all-levels="false"
|
||||||
|
v-model="searchModel.cateId" clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-select
|
<el-select
|
||||||
|
|
@ -37,7 +40,8 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item style="margin-right: 0">
|
<el-form-item style="margin-right: 0">
|
||||||
<el-input placeholder="最低毛利率" v-model="searchModel.minInterestRate" style="width: 100px;height: 42px">
|
<el-input placeholder="最低毛利率" v-model="searchModel.minInterestRate"
|
||||||
|
style="width: 100px;height: 42px">
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<el-icon class="el-input__icon">%</el-icon>
|
<el-icon class="el-input__icon">%</el-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -47,22 +51,33 @@
|
||||||
</el-icon>
|
</el-icon>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-input placeholder="最高毛利率" v-model="searchModel.maxInterestRate" style="width: 100px;height: 42px">
|
<el-input placeholder="最高毛利率" v-model="searchModel.maxInterestRate"
|
||||||
|
style="width: 100px;height: 42px">
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<el-icon class="el-input__icon">%</el-icon>
|
<el-icon class="el-input__icon">%</el-icon>
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="btn">
|
|
||||||
<div @click="searchGoods">搜索</div>
|
|
||||||
<div @click="resetSearch">重置</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="btn-group">
|
||||||
<div class="right">
|
<div class="left">
|
||||||
<el-checkbox v-model="inventoryNumber" label="不看0库存" size="large" @change="searchGoods"/>
|
<el-checkbox v-model="inventoryNumber" label="不看0库存" size="large" @change="searchGoods"/>
|
||||||
<el-checkbox v-model="status" label="不看已停用" size="large" @change="searchGoods"/>
|
<el-checkbox v-model="status" label="不看已停用" size="large" @change="searchGoods"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="btn" @click="resetSearch">
|
||||||
|
<el-icon style="margin-right: 10px">
|
||||||
|
<Refresh/>
|
||||||
|
</el-icon>
|
||||||
|
重置
|
||||||
|
</div>
|
||||||
|
<div class="btn" @click="searchGoods">
|
||||||
|
<el-icon style="margin-right: 10px">
|
||||||
|
<Search/>
|
||||||
|
</el-icon>
|
||||||
|
搜索
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="addBtn">
|
<div class="addBtn">
|
||||||
<span @click="open_edit(1301,0)">新增中西成药</span>
|
<span @click="open_edit(1301,0)">新增中西成药</span>
|
||||||
|
|
@ -72,7 +87,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content_goods" ref="content">
|
<div class="content_goods" ref="content">
|
||||||
<el-table :data="tableData" style="width: 100%;height: 100%;padding: 0 24px" @row-click="openMack" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
|
<el-table :data="tableData" style="width: 100%;height: 100%;padding: 0 24px" @row-click="openMack"
|
||||||
|
:header-cell-style="{ backgroundColor: '#F1F5FB' }">
|
||||||
<el-table-column fixed prop="name" label="名称" width="200" show-overflow-tooltip>
|
<el-table-column fixed prop="name" label="名称" width="200" show-overflow-tooltip>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
{{ scope.row.name }}{{ scope.row.commonName ? "(" + scope.row.commonName + ")" : "" }}
|
{{ scope.row.name }}{{ scope.row.commonName ? "(" + scope.row.commonName + ")" : "" }}
|
||||||
|
|
@ -204,7 +220,8 @@ import Edit from "@/components/inventory/goods/Edit.vue";
|
||||||
import InventoryBatchDetail from "@/components/inventory/goods/InventoryBatchDetail.vue";
|
import InventoryBatchDetail from "@/components/inventory/goods/InventoryBatchDetail.vue";
|
||||||
import InventoryStatistics from "@/components/inventory/goods/InventoryStatistics.vue";
|
import InventoryStatistics from "@/components/inventory/goods/InventoryStatistics.vue";
|
||||||
import CloseBtn from "@/components/CloseBtn.vue";
|
import CloseBtn from "@/components/CloseBtn.vue";
|
||||||
import {Search, SemiSelect} from "@element-plus/icons-vue";
|
import {Search, SemiSelect, Refresh} from "@element-plus/icons-vue";
|
||||||
|
|
||||||
const statisticsData = ref<any>({})
|
const statisticsData = ref<any>({})
|
||||||
const inventoryNumber = ref(false)
|
const inventoryNumber = ref(false)
|
||||||
const status = ref(false)
|
const status = ref(false)
|
||||||
|
|
@ -431,7 +448,7 @@ const getStatisticsData = () => {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.top {
|
.top {
|
||||||
height: 157px;
|
height: 144px;
|
||||||
padding: 24px 24px 0;
|
padding: 24px 24px 0;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -468,6 +485,11 @@ const getStatisticsData = () => {
|
||||||
color: #4D6DE4;
|
color: #4D6DE4;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 42px;
|
line-height: 42px;
|
||||||
|
&:hover {
|
||||||
|
background: #4D6DE4;
|
||||||
|
color: #fff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -499,10 +521,34 @@ const getStatisticsData = () => {
|
||||||
.tags {
|
.tags {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-cascader .el-input) {
|
:deep(.el-cascader .el-input) {
|
||||||
height: 42px;
|
height: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-select__wrapper) {
|
:deep(.el-select__wrapper) {
|
||||||
height: 42px;
|
height: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-group {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 120px;
|
||||||
|
height: 42px;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 1px solid #979797;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-left: 24px;
|
||||||
|
cursor: pointer;
|
||||||
|
&:hover {
|
||||||
|
background: #4D6DE4;
|
||||||
|
color: #fff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue