|
@@ -297,6 +297,10 @@ export default {
|
|
|
methods: {
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
+ this.resetData()
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
+ },
|
|
|
+ resetData () {
|
|
|
this.queryParam.productCode = ''
|
|
|
this.queryParam.productName = ''
|
|
|
this.queryParam.productOrigCode = ''
|
|
@@ -306,7 +310,6 @@ export default {
|
|
|
this.queryParam.productTypeSn2 = undefined
|
|
|
this.queryParam.productTypeSn3 = undefined
|
|
|
this.productType = []
|
|
|
- this.$refs.table.refresh(true)
|
|
|
},
|
|
|
// 已选产品 重置
|
|
|
chooseResetSearchForm () {
|
|
@@ -487,6 +490,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
pageInit () {
|
|
|
+ this.resetData()
|
|
|
this.chooseResetSearchForm()
|
|
|
this.getDetail()
|
|
|
this.getWarehouseList()
|