|
@@ -310,7 +310,6 @@ export default {
|
|
days = '--'
|
|
days = '--'
|
|
}
|
|
}
|
|
return days
|
|
return days
|
|
- console.log(days, '天数')
|
|
|
|
},
|
|
},
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
@@ -325,8 +324,8 @@ export default {
|
|
this.queryParam.productTypeName = undefined
|
|
this.queryParam.productTypeName = undefined
|
|
this.queryParam.zeroQtyFlag = false
|
|
this.queryParam.zeroQtyFlag = false
|
|
this.productTypeSn = []
|
|
this.productTypeSn = []
|
|
- this.queryParam.minUnsalableDays = undefined, // 滞销天数最小值
|
|
|
|
- this.queryParam.maxUnsalableDays = undefined, // 滞销天数最大值
|
|
|
|
|
|
+ this.queryParam.minUnsalableDays = undefined // 滞销天数最小值
|
|
|
|
+ this.queryParam.maxUnsalableDays = undefined // 滞销天数最大值
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
},
|
|
},
|
|
// 合计
|
|
// 合计
|
|
@@ -357,11 +356,7 @@ export default {
|
|
handleExport () {
|
|
handleExport () {
|
|
const _this = this
|
|
const _this = this
|
|
const params = JSON.parse(JSON.stringify(this.queryParam))
|
|
const params = JSON.parse(JSON.stringify(this.queryParam))
|
|
- if (params.zeroQtyFlag) {
|
|
|
|
- params.zeroQtyFlag = '0'
|
|
|
|
- } else {
|
|
|
|
- params.zeroQtyFlag = ''
|
|
|
|
- }
|
|
|
|
|
|
+ params.zeroQtyFlag = params.zeroQtyFlag ? '0' : ''
|
|
params.productEnabledFlag = params.productEnabledFlag ? '' : '1'
|
|
params.productEnabledFlag = params.productEnabledFlag ? '' : '1'
|
|
this.exportLoading = true
|
|
this.exportLoading = true
|
|
_this.spinning = true
|
|
_this.spinning = true
|
|
@@ -432,7 +427,7 @@ export default {
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|
|
_this.setTableH()
|
|
_this.setTableH()
|
|
})
|
|
})
|
|
- // 是否默认打印原厂编码
|
|
|
|
|
|
+ // 是否默认包括禁用产品
|
|
this.queryParam.productEnabledFlag = localStorage.getItem('productEnabledFlag-' + this.$store.state.user.info.orgId) != 'false'
|
|
this.queryParam.productEnabledFlag = localStorage.getItem('productEnabledFlag-' + this.$store.state.user.info.orgId) != 'false'
|
|
},
|
|
},
|
|
setTableH () {
|
|
setTableH () {
|