|
@@ -1,5 +1,9 @@
|
|
|
<template>
|
|
|
<a-card :bordered="false" v-if="indexShow">
|
|
|
+ <a-tabs v-model:activeKey="searchFormState.warehouseType" @change="onSearch()">
|
|
|
+ <a-tab-pane key="0" tab="入库记账清单"/>
|
|
|
+ <a-tab-pane key="1" tab="出库记账清单"/>
|
|
|
+ </a-tabs>
|
|
|
<a-form ref="searchFormRef" name="advanced_search" :model="searchFormState" class="ant-advanced-search-form">
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="6">
|
|
@@ -39,7 +43,11 @@
|
|
|
</a-col>
|
|
|
<a-col :span="6" v-show="advanced">
|
|
|
<a-form-item label="记账数量" name="accountNumber">
|
|
|
- <a-input-number v-model:value="searchFormState.accountNumber" placeholder="请输入记账数量" style="width: 100%" />
|
|
|
+ <div class="account-number">
|
|
|
+ <a-input-number v-model:value="searchFormState.accountNumberMin" placeholder="请输入"/>
|
|
|
+ 至
|
|
|
+ <a-input-number v-model:value="searchFormState.accountNumberMax" placeholder="请输入"/>
|
|
|
+ </div>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="6" v-show="advanced">
|
|
@@ -140,7 +148,9 @@
|
|
|
import qyFrontlineWarehouseApi from '@/api/biz/qyFrontlineWarehouseApi'
|
|
|
import downloadUtil from "@/utils/downloadUtil";
|
|
|
const { proxy } = getCurrentInstance()
|
|
|
- const searchFormState = ref({})
|
|
|
+ const searchFormState = ref({
|
|
|
+ warehouseType: '1'
|
|
|
+ })
|
|
|
const searchFormStateReal = ref({}) // 点击搜索后备份的查询参数
|
|
|
const searchFormRef = ref()
|
|
|
const tableRef = ref()
|
|
@@ -314,3 +324,14 @@
|
|
|
const businessTypeOptions = tool.dictList('bussiness_type')
|
|
|
const measurementUnitOptions = tool.dictList('measurement unit')
|
|
|
</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+.account-number {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 6px;
|
|
|
+ >* {
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|