|
@@ -28,9 +28,6 @@
|
|
<!-- 筛选条件 -->
|
|
<!-- 筛选条件 -->
|
|
<div class="table-page-search-wrapper">
|
|
<div class="table-page-search-wrapper">
|
|
<a-row>
|
|
<a-row>
|
|
- <a-col :md="2" :sm="24" style="text-align: left;">
|
|
|
|
- <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="20" :sm="24">
|
|
<a-col :md="20" :sm="24">
|
|
<a-form layout="inline" @keyup.enter.native="searchForm">
|
|
<a-form layout="inline" @keyup.enter.native="searchForm">
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
@@ -49,11 +46,6 @@
|
|
<ProductBrand id="inventoryCheckSelfDiskList-productBrand" sysFlag="" v-model="queryParam.brandSn"></ProductBrand>
|
|
<ProductBrand id="inventoryCheckSelfDiskList-productBrand" sysFlag="" v-model="queryParam.brandSn"></ProductBrand>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :md="2" :sm="8">
|
|
|
|
- <a-form-item label="">
|
|
|
|
- <a-checkbox @change="onlySeeStock">只查看有库存</a-checkbox>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
<template v-if="advanced">
|
|
<template v-if="advanced">
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-item label="产品分类">
|
|
<a-form-item label="产品分类">
|
|
@@ -67,6 +59,11 @@
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</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>
|
|
</template>
|
|
<a-col :md="4" :sm="16" style="margin-bottom: 10px;">
|
|
<a-col :md="4" :sm="16" style="margin-bottom: 10px;">
|
|
<a-button type="primary" @click="searchForm" :disabled="disabled" id="inventoryCheckSelfDiskList-refresh">查询</a-button>
|
|
<a-button type="primary" @click="searchForm" :disabled="disabled" id="inventoryCheckSelfDiskList-refresh">查询</a-button>
|
|
@@ -80,6 +77,9 @@
|
|
</a-form>
|
|
</a-form>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="2" :sm="24" style="text-align: right;">
|
|
<a-col :md="2" :sm="24" style="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
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
@@ -88,6 +88,7 @@
|
|
@click.stop="handleBatchAdd('all')"
|
|
@click.stop="handleBatchAdd('all')"
|
|
id="chainTransferOutEdit-del-all-btn">全部添加</a-button>
|
|
id="chainTransferOutEdit-del-all-btn">全部添加</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
+
|
|
</a-row>
|
|
</a-row>
|
|
</div>
|
|
</div>
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
@@ -263,6 +264,7 @@ export default {
|
|
},
|
|
},
|
|
basicInfoData: null, // 基础信息
|
|
basicInfoData: null, // 基础信息
|
|
productTotal: null,
|
|
productTotal: null,
|
|
|
|
+ showChecked: false,
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
@@ -371,6 +373,7 @@ export default {
|
|
this.queryParam.productTypeSn3 = undefined
|
|
this.queryParam.productTypeSn3 = undefined
|
|
this.productType = []
|
|
this.productType = []
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
|
|
+ this.showChecked = false
|
|
},
|
|
},
|
|
// 添加
|
|
// 添加
|
|
handleAdd (row) {
|
|
handleAdd (row) {
|
|
@@ -584,6 +587,7 @@ export default {
|
|
},
|
|
},
|
|
// 只查看有库存
|
|
// 只查看有库存
|
|
onlySeeStock (e) {
|
|
onlySeeStock (e) {
|
|
|
|
+ this.showChecked = e.target.checked
|
|
this.queryParam.existStockFlag = e.target.checked ? 1 : null
|
|
this.queryParam.existStockFlag = e.target.checked ? 1 : null
|
|
}
|
|
}
|
|
},
|
|
},
|