商品管理bug
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<span style="color: #606266;" v-if="girdList.length">{{ girdList.length ? girdList[0].girdName : '' }}</span>
|
||||
<span v-else>可选范围</span>
|
||||
<i class="el-icon-arrow-up" v-if="!girdList.length"></i>
|
||||
<i class="el-icon-circle-close" v-if="girdList.length" @click.stop="girdList = [], search.rangeIds = '', search.current = 1, getList()"></i>
|
||||
<i class="el-icon-circle-close" v-if="girdList.length" @click.stop="girdList = [], search.girdId = '', search.current = 1, getList()"></i>
|
||||
</div>
|
||||
</div>
|
||||
</ai-picker>
|
||||
@@ -86,7 +86,7 @@
|
||||
current: 1,
|
||||
size: 10,
|
||||
name: '',
|
||||
rangeIds: ''
|
||||
girdId: ''
|
||||
},
|
||||
name: '',
|
||||
info: {},
|
||||
@@ -95,7 +95,7 @@
|
||||
{ prop: 'merchandiseIntegral', align: 'center', label: '单价', sortable: true },
|
||||
{ prop: 'merchandiseNumber', align: 'center', label: '数量', sortable: true },
|
||||
{
|
||||
prop: 'arriveTime',
|
||||
prop: 'exchangeNumber',
|
||||
align: 'center',
|
||||
label: '兑换量',
|
||||
sortable: true
|
||||
@@ -107,7 +107,7 @@
|
||||
formart: v => v === '0' ? '不限' : '指定网格'
|
||||
},
|
||||
{
|
||||
prop: 'arriveTime',
|
||||
prop: 'launchTime',
|
||||
align: 'center',
|
||||
label: '上架时间'
|
||||
},
|
||||
@@ -135,9 +135,11 @@
|
||||
this.girdList = e
|
||||
|
||||
if (e.length) {
|
||||
this.search.rangeIds = e[0].id
|
||||
this.search.girdId = e[0].id
|
||||
} else {
|
||||
this.search.rangeIds = ''
|
||||
this.search.girdId = ''
|
||||
|
||||
this.getList()
|
||||
}
|
||||
},
|
||||
getList () {
|
||||
|
||||
Reference in New Issue
Block a user