|
@@ -11,7 +11,7 @@
|
|
|
</a-page-header>
|
|
|
<!-- 基础信息 -->
|
|
|
<a-card size="small" :bordered="false" class="inventoryCheckSelfDiskList-cont">
|
|
|
- <a-collapse defaultActiveKey="1">
|
|
|
+ <a-collapse>
|
|
|
<a-collapse-panel key="1" header="基础信息">
|
|
|
<a-descriptions :column="3">
|
|
|
<a-descriptions-item label="盘点类型">{{ (basicInfoData&&basicInfoData.checkTypeDictValue) || '--' }}</a-descriptions-item>
|
|
@@ -58,20 +58,15 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="3" :sm="12">
|
|
|
- <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;">
|
|
|
+ <a-col :md="8" :sm="16" style="margin-bottom: 10px;">
|
|
|
+ <a-checkbox @change="onlySeeStock" :checked="showChecked">只查看有库存</a-checkbox>
|
|
|
<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-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
</a-col>
|
|
|
- <a-col :md="19"></a-col>
|
|
|
- <a-col :md="5" :sm="20" style="margin-bottom: 10px;text-align: right;">
|
|
|
+ <a-col :md="24" :sm="20" style="margin-bottom: 10px;text-align: left;">
|
|
|
<a-button size="small" type="primary" class="button-info" @click.stop="handleBatchAdd('batch')" id="chainTransferOutEdit-del-all-btn">批量添加</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
@@ -122,34 +117,34 @@
|
|
|
<a-col :md="24" :sm="24">
|
|
|
<a-form layout="inline" @keyup.enter.native="$refs.chooseTable.refresh(true)">
|
|
|
<a-row :gutter="15">
|
|
|
- <a-col :md="5" :sm="20">
|
|
|
+ <a-col :md="4" :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="5" :sm="20">
|
|
|
+ <a-col :md="4" :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="5" :sm="20">
|
|
|
+ <a-col :md="4" :sm="20">
|
|
|
<a-form-item label="产品品牌">
|
|
|
<ProductBrand id="inventoryCheckSelfDiskList-productBrand" sysFlag="" v-model="chooseQueryParam.brandSn"></ProductBrand>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="5" :sm="20">
|
|
|
+ <a-col :md="4" :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-col :md="4" :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: center;">
|
|
|
+ <a-col :md="4" :sm="16" style="margin-bottom: 10px;">
|
|
|
<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">
|
|
@@ -164,19 +159,19 @@
|
|
|
</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">
|
|
|
总款数: <strong>{{ productTotal&&(productTotal.totalCategory || productTotal.totalCategory==0) ? productTotal.totalCategory : '--' }}</strong> ,
|
|
|
总数量: <strong>{{ productTotal&&(productTotal.stockQty || productTotal.stockQty==0) ? productTotal.stockQty : '--' }}</strong> ,
|
|
|
<div style="display: inline-block;" v-if="$hasPermissions('M_ShowAllCost')">
|
|
|
- 总成本: <strong>{{ productTotal&&(productTotal.checkCost || productTotal.checkCost==0) ? '¥'+productTotal.checkCost : '--' }}</strong>。
|
|
|
+ 总成本: <strong>{{ productTotal&&(productTotal.checkCost || productTotal.checkCost==0) ? toThousands(productTotal.checkCost) : '--' }}</strong>。
|
|
|
</div>
|
|
|
</div>
|
|
|
</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"
|