|
|
@ -15,12 +15,39 @@ |
|
|
|
<div v-show="isSearchShow" class="search"> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="120px" |
|
|
|
class="tab-header"> |
|
|
|
<el-form-item label="商品编码" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.goodsCode" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="商品名称" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.goodsSpuName" placeholder="" clearable /> |
|
|
|
<el-input v-model="listQuery.params.goodsName" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="商品编码" class="searchlist"> |
|
|
|
<el-form-item label="条形码" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.barCode" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="规格编码" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.goodsSkuCode" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="规格型号" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.title" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="具体规格" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.ownSpec" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="品牌" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.brandName" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="商品类别" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.typeName" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="厂家" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.manufacturerName" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="厂家货号" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.manufacturerCode" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="库位编号" class="searchlist"> |
|
|
|
<el-input v-model="listQuery.params.warehouseRackCode" placeholder="" clearable /> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="btn" style="text-align: center;"> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleFilter" |
|
|
@ -39,9 +66,9 @@ |
|
|
|
style="width: 100%" @selection-change="handleSelectionChange"> |
|
|
|
<el-table-column width="50px" type="selection" align="center" /> |
|
|
|
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center" /> |
|
|
|
<el-table-column prop="goodsSkuTitle" label="商品名称" align="center" /> |
|
|
|
<el-table-column prop="goodsSkuCode" label="商品编码" align="center" /> |
|
|
|
<el-table-column prop="goodsSkuOwnSpec" label="规格" align="center" /> |
|
|
|
<el-table-column prop="goodsSpuName" label="商品名称" align="center" /> |
|
|
|
<el-table-column prop="goodsSpuCode" label="商品编码" align="center" /> |
|
|
|
<el-table-column prop="goodsSkuTitle" label="规格" align="center" /> |
|
|
|
<el-table-column prop="unit" label="单位" align="center" /> |
|
|
|
<el-table-column prop="warehouseAreaName" label="库区" align="center" /> |
|
|
|
<el-table-column prop="warehouseRackCode" label="库位" align="center" /> |
|
|
@ -82,12 +109,22 @@ |
|
|
|
menuUrl: this.$route.path, |
|
|
|
orgPath: window.sessionStorage.getItem('orgSidPath'), |
|
|
|
userSid: window.sessionStorage.getItem('userSid'), |
|
|
|
warehouseSid: '', |
|
|
|
goodsSkuCode: '', |
|
|
|
goodsSpuName: '', |
|
|
|
warehouseSid: "", |
|
|
|
goodsCode: "", //商品编码 |
|
|
|
goodsName: "", //商品名称 |
|
|
|
barCode: "", //条形码 |
|
|
|
goodsSkuCode: "", //规格编码 |
|
|
|
title: '', //规格型号 |
|
|
|
ownSpec: "", //具体规格 |
|
|
|
brandName: "", //品牌 |
|
|
|
typeName: "", //类别 |
|
|
|
manufacturerName: "", //厂家 |
|
|
|
manufacturerCode: "", //厂家货号 |
|
|
|
warehouseRackCode: "" //库位编号 |
|
|
|
}, |
|
|
|
total: 0, |
|
|
|
} |
|
|
|
}, |
|
|
|
warehouseSid: "" |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
@ -126,7 +163,23 @@ |
|
|
|
this.listQuery.current = 1 |
|
|
|
this.listQuery.size = 5 |
|
|
|
this.listQuery.total = 0 |
|
|
|
this.listQuery.params.goodsSkuCode = '' |
|
|
|
this.listQuery.params = { |
|
|
|
menuUrl: this.$route.path, |
|
|
|
orgPath: window.sessionStorage.getItem('orgSidPath'), |
|
|
|
userSid: window.sessionStorage.getItem('userSid'), |
|
|
|
warehouseSid: this.warehouseSid, |
|
|
|
goodsCode: "", //商品编码 |
|
|
|
goodsName: "", //商品名称 |
|
|
|
barCode: "", //条形码 |
|
|
|
goodsSkuCode: "", //规格编码 |
|
|
|
title: '', //规格型号 |
|
|
|
ownSpec: "", //具体规格 |
|
|
|
brandName: "", //品牌 |
|
|
|
typeName: "", //类别 |
|
|
|
manufacturerName: "", //厂家 |
|
|
|
manufacturerCode: "", //厂家货号 |
|
|
|
warehouseRackCode: "", //库位编号 |
|
|
|
} |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
handleSelectionChange(row) { |
|
|
@ -143,6 +196,7 @@ |
|
|
|
// this.listQuery.params.saleVehSids = [] |
|
|
|
// }`` |
|
|
|
this.listQuery.params.warehouseSid = warehouseSid |
|
|
|
this.warehouseSid = warehouseSid |
|
|
|
this.listQuery.current = 1 |
|
|
|
this.listQuery.size = 5 |
|
|
|
this.listQuery.total = 0 |
|
|
|