|
@@ -63,7 +63,7 @@
|
|
|
</div>
|
|
|
<!-- 操作按钮 -->
|
|
|
<div class="table-operator" style="text-align:right;">
|
|
|
- <a-checkbox v-model="queryParam.zeroQtyFlag" id="inventoryQueryList-zeroQtyFlag" @change="handleChangeQty">仅显示有库存</a-checkbox>
|
|
|
+ <a-checkbox v-model="zeroQtyFlag" id="inventoryQueryList-zeroQtyFlag" @change="handleChangeQty">仅显示有库存</a-checkbox>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
|
<s-table
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
},
|
|
|
handleChangeQty (e) {
|
|
|
this.zeroQtyFlag = e.target.checked
|
|
|
- this.queryParam.stockFlag = e.target.checked ? '1' : '0'
|
|
|
+ this.queryParam.stockFlag = e.target.checked ? '1' : undefined
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
// 重置
|
|
@@ -189,6 +189,8 @@ export default {
|
|
|
this.queryParam.productTypeSn2 = ''
|
|
|
this.queryParam.productTypeSn3 = ''
|
|
|
this.queryParam.pricingState = undefined
|
|
|
+ this.queryParam.stockFlag = undefined
|
|
|
+ this.zeroQtyFlag = false
|
|
|
|
|
|
this.queryParam.pricingTimeBegin = undefined
|
|
|
this.queryParam.pricingTimeEnd = undefined
|