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