完善oms 查询商品逻辑
This commit is contained in:
@@ -14,11 +14,35 @@
|
||||
<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.goodsSkuCode" placeholder="" clearable />
|
||||
<el-input v-model="listQuery.params.goodsCode" placeholder="" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item label="商品名称" class="searchlist">
|
||||
<el-input v-model="listQuery.params.goodsName" placeholder="" clearable />
|
||||
</el-form-item>
|
||||
<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>
|
||||
<div class="btn" style="text-align: center;">
|
||||
@@ -92,14 +116,23 @@
|
||||
size: 10,
|
||||
params: {
|
||||
createOrgSid: '',
|
||||
goodsName: '',
|
||||
goodsSkuCode: '',
|
||||
goodsCode: "", //商品编码
|
||||
goodsName: "", //商品名称
|
||||
barCode: "", //条形码
|
||||
goodsSkuCode: "", //规格编码
|
||||
title: '', //规格型号
|
||||
ownSpec: "", //具体规格
|
||||
brandName: "", //品牌
|
||||
typeName: "", //类别
|
||||
manufacturerName: "", //厂家
|
||||
manufacturerCode: "" //厂家货号
|
||||
},
|
||||
total: 0
|
||||
},
|
||||
tableData: [],
|
||||
selectedItems: [],
|
||||
randomKey: Math.random(),
|
||||
createOrgSid: ""
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -139,8 +172,19 @@
|
||||
this.listQuery.current = 1
|
||||
this.listQuery.size = 10
|
||||
this.listQuery.total = 0
|
||||
this.listQuery.params.goodsName = ''
|
||||
this.listQuery.params.goodsSkuCode = ''
|
||||
this.listQuery.params = {
|
||||
createOrgSid: this.createOrgSid,
|
||||
goodsCode: "", //商品编码
|
||||
goodsName: "", //商品名称
|
||||
barCode: "", //条形码
|
||||
goodsSkuCode: "", //规格编码
|
||||
title: '', //规格型号
|
||||
ownSpec: "", //具体规格
|
||||
brandName: "", //品牌
|
||||
typeName: "", //类别
|
||||
manufacturerName: "", //厂家
|
||||
manufacturerCode: "" //厂家货号
|
||||
}
|
||||
this.getList()
|
||||
},
|
||||
// handleSelectionChange(row) {
|
||||
@@ -157,6 +201,7 @@
|
||||
// this.listQuery.params.saleVehSids = []
|
||||
// }``
|
||||
this.listQuery.params.createOrgSid = createOrgSid
|
||||
this.createOrgSid = createOrgSid
|
||||
this.listQuery.current = 1
|
||||
this.listQuery.size = 5
|
||||
this.listQuery.total = 0
|
||||
|
||||
Reference in New Issue
Block a user