|
|
@@ -13,7 +13,7 @@
|
|
|
v-if="type !== 'confirmdate' && data.status === '新建' "
|
|
|
style="margin:0 0 10px 10px"
|
|
|
:total="total"
|
|
|
- @onSuccess="listData();$emit('onSuccess')"
|
|
|
+ @onSuccess="listData(this.param.content.pageNumber = 1);$emit('onSuccess')"
|
|
|
@handlePullApi="handlePullApi"
|
|
|
@handleDelApi="handleDelApi"
|
|
|
idName="sa_orderitemsid"
|
|
|
@@ -698,7 +698,7 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
this.$emit('onSuccess')
|
|
|
this.deleteIds = []
|
|
|
})
|
|
|
@@ -775,7 +775,7 @@ export default {
|
|
|
"needdate": this.value1
|
|
|
},
|
|
|
})
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
},
|
|
|
setPickerOptions (val) {
|
|
|
// /* 如果设置需求日 交期不能大于需求日 */
|
|
|
@@ -851,7 +851,7 @@ export default {
|
|
|
"deliverydate": this.value2
|
|
|
},
|
|
|
})
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
},
|
|
|
selectionChange (selection) {
|
|
|
this.$emit('select',selection)
|
|
|
@@ -876,7 +876,7 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
}
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
this.$emit('onSuccess')
|
|
|
},
|
|
|
async queryStock (val) {
|
|
|
@@ -919,7 +919,7 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
this.$refs.addProduct.listData()
|
|
|
this.$emit('onSuccess')
|
|
|
})
|
|
|
@@ -943,7 +943,7 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
this.tool.showMessage(res,() => {
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
this.$refs.addProduct.listData()
|
|
|
this.$emit('onSuccess')
|
|
|
})
|
|
|
@@ -964,7 +964,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
this.$refs.addProduct.list = []
|
|
|
this.$emit('onSuccess')
|
|
|
},
|
|
|
@@ -973,7 +973,7 @@ export default {
|
|
|
mounted () {
|
|
|
this.flag = 0
|
|
|
this.siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.pageNumber = 1)
|
|
|
// this.queryStock()
|
|
|
// this.columnTitle = []
|
|
|
setTimeout(() => {
|