|
@@ -28,67 +28,59 @@
|
|
|
<!-- 筛选条件 -->
|
|
|
<div class="table-page-search-wrapper">
|
|
|
<a-row>
|
|
|
- <a-col :md="20" :sm="24">
|
|
|
+ <a-col>
|
|
|
<a-form layout="inline" @keyup.enter.native="searchForm">
|
|
|
<a-row :gutter="15">
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="4" :sm="16">
|
|
|
<a-form-item label="产品编码" prop="productCode">
|
|
|
<a-input id="inventoryCheckSelfDiskList-productCode" v-model.trim="queryParam.productCode" placeholder="请输入" allowClear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="4" :sm="16">
|
|
|
<a-form-item label="产品名称" prop="productName">
|
|
|
<a-input id="inventoryCheckSelfDiskList-productName" v-model.trim="queryParam.productName" placeholder="请输入" allowClear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="4" :sm="16">
|
|
|
<a-form-item label="产品品牌">
|
|
|
<ProductBrand id="inventoryCheckSelfDiskList-productBrand" sysFlag="" v-model="queryParam.brandSn"></ProductBrand>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <template v-if="advanced">
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
- <a-form-item label="产品分类">
|
|
|
- <ProductType id="inventoryCheckSelfDiskList-productType" @change="changeProductType" v-model="productType"></ProductType>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="24" v-if="basicInfoData&&basicInfoData.warehouseFlag=='1'">
|
|
|
- <a-form-item label="仓库">
|
|
|
- <a-select id="inventoryCheckSelfDiskList-warehouseSn" allowClear placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
|
|
|
- <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
- <a-form-item label="">
|
|
|
- <a-checkbox @change="onlySeeStock" :checked="showChecked">只查看有库存</a-checkbox>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- <a-col :md="4" :sm="16" style="margin-bottom: 10px;">
|
|
|
+ <a-col :md="4" :sm="16">
|
|
|
+ <a-form-item label="产品分类">
|
|
|
+ <ProductType id="inventoryCheckSelfDiskList-productType" @change="changeProductType" v-model="productType"></ProductType>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="4" :sm="16" v-if="basicInfoData&&basicInfoData.warehouseFlag=='1'">
|
|
|
+ <a-form-item label="仓库">
|
|
|
+ <a-select id="inventoryCheckSelfDiskList-warehouseSn" allowClear placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
|
|
|
+ <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="4" :sm="16">
|
|
|
+ <a-form-item label="">
|
|
|
+ <a-checkbox @change="onlySeeStock" :checked="showChecked">只查看有库存</a-checkbox>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: right;">
|
|
|
<a-button type="primary" @click="searchForm" :disabled="disabled" id="inventoryCheckSelfDiskList-refresh">查询</a-button>
|
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="inventoryCheckSelfDiskList-reset">重置</a-button>
|
|
|
- <a @click="advanced=!advanced" style="margin-left: 5px">
|
|
|
- {{ advanced ? '收起' : '展开' }}
|
|
|
- <a-icon :type="advanced ? 'up' : 'down'"/>
|
|
|
- </a>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
</a-col>
|
|
|
- <a-col :md="2" :sm="24" style="text-align: right;">
|
|
|
+ <a-col :md="20"></a-col>
|
|
|
+ <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: right;">
|
|
|
<a-button size="small" type="primary" class="button-info" @click.stop="handleBatchAdd('batch')" id="chainTransferOutEdit-del-all-btn">批量添加</a-button>
|
|
|
- </a-col>
|
|
|
- <a-col :md="1" :sm="12" style="text-align: right;">
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
class="button-info"
|
|
|
- style="margin-left: 5px"
|
|
|
+ style="margin: 0px"
|
|
|
@click.stop="handleBatchAdd('all')"
|
|
|
id="chainTransferOutEdit-del-all-btn">全部添加</a-button>
|
|
|
</a-col>
|
|
|
-
|
|
|
</a-row>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
@@ -130,42 +122,40 @@
|
|
|
<a-col :md="24" :sm="24">
|
|
|
<a-form layout="inline" @keyup.enter.native="$refs.chooseTable.refresh(true)">
|
|
|
<a-row :gutter="15">
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="5" :sm="20">
|
|
|
<a-form-item label="产品编码" prop="productCode">
|
|
|
<a-input id="inventoryCheckSelfDiskList-productCode" v-model.trim="chooseQueryParam.productCode" placeholder="请输入" allowClear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="5" :sm="20">
|
|
|
<a-form-item label="产品名称" prop="productName">
|
|
|
<a-input id="inventoryCheckSelfDiskList-productName" v-model.trim="chooseQueryParam.productName" placeholder="请输入" allowClear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="5" :sm="20">
|
|
|
<a-form-item label="产品品牌">
|
|
|
<ProductBrand id="inventoryCheckSelfDiskList-productBrand" sysFlag="" v-model="chooseQueryParam.brandSn"></ProductBrand>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <template v-if="chooseAdvanced">
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
- <a-form-item label="产品分类">
|
|
|
- <ProductType id="inventoryCheckSelfDiskList-productType" @change="changeChooseProductType" v-model="chooseProductType"></ProductType>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="24" v-if="basicInfoData&&basicInfoData.warehouseFlag=='1'">
|
|
|
- <a-form-item label="仓库">
|
|
|
- <a-select id="inventoryCheckSelfDiskList-warehouseSn" allowClear placeholder="请选择仓库" v-model="chooseQueryParam.warehouseSn" >
|
|
|
- <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
|
|
|
+ <a-col :md="5" :sm="20">
|
|
|
+ <a-form-item label="产品分类">
|
|
|
+ <ProductType id="inventoryCheckSelfDiskList-productType" @change="changeChooseProductType" v-model="chooseProductType"></ProductType>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="5" :sm="20" v-if="basicInfoData&&basicInfoData.warehouseFlag=='1'">
|
|
|
+ <a-form-item label="仓库">
|
|
|
+ <a-select id="inventoryCheckSelfDiskList-warehouseSn" allowClear placeholder="请选择仓库" v-model="chooseQueryParam.warehouseSn" >
|
|
|
+ <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: right;">
|
|
|
<a-button type="primary" @click="$refs.chooseTable.refresh(true)" :disabled="chooseDisabled" id="inventoryCheckSelfDiskList-refresh">查询</a-button>
|
|
|
<a-button style="margin-left: 5px" @click="chooseResetSearchForm" :disabled="chooseDisabled" id="inventoryCheckSelfDiskList-reset">重置</a-button>
|
|
|
- <a @click="chooseAdvanced=!chooseAdvanced" style="margin-left: 5px">
|
|
|
+ <!-- <a @click="chooseAdvanced=!chooseAdvanced" style="margin-left: 5px">
|
|
|
{{ chooseAdvanced ? '收起' : '展开' }}
|
|
|
<a-icon :type="chooseAdvanced ? 'up' : 'down'"/>
|
|
|
- </a>
|
|
|
+ </a> -->
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
@@ -174,7 +164,6 @@
|
|
|
</div>
|
|
|
<a-row>
|
|
|
<a-col :md="20" :sm="16">
|
|
|
- <a-button size="small" type="primary" class="button-error" @click.stop="handleDel('', 'batch')" id="chainTransferOutEdit-del-all-btn">批量删除</a-button>
|
|
|
<!-- 总计 -->
|
|
|
<a-alert type="info" style="margin-bottom:10px;display: inline-block;">
|
|
|
<div slot="message">
|
|
@@ -187,6 +176,7 @@
|
|
|
</a-alert>
|
|
|
</a-col>
|
|
|
<a-col :md="4" :sm="8" style="text-align: right;">
|
|
|
+ <a-button size="small" type="primary" class="button-error" @click.stop="handleDel('', 'batch')" id="chainTransferOutEdit-del-all-btn">批量删除</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="primary"
|