|
@@ -18,6 +18,7 @@
|
|
|
<warehouse
|
|
|
v-model="queryParam.warehouseSn"
|
|
|
isPermission
|
|
|
+ @load="loadWareHouse"
|
|
|
id="exportCheckList-warehouseSn"
|
|
|
placeholder="请选择仓库"
|
|
|
@change="getList"
|
|
@@ -114,11 +115,17 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- pageInit () {
|
|
|
- this.$refs.ruleForm.resetFields()
|
|
|
+ loadWareHouse(){
|
|
|
const defWareHouse = this.$store.state.app.defWarehouse
|
|
|
this.queryParam.checkWarehouseSn = undefined
|
|
|
this.queryParam.warehouseSn = this.isShowWarehouse ? undefined : (defWareHouse?defWareHouse.warehouseSn:undefined)
|
|
|
+ // console.log(this.queryParam.warehouseSn)
|
|
|
+ if(!this.isShowWarehouse){
|
|
|
+ this.getList(true)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ pageInit () {
|
|
|
+ this.$refs.ruleForm.resetFields()
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|